Author Topic: Suspend State Then Hangs, Need To Reboot Daily  (Read 7157 times)

guscpu

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
Suspend State Then Hangs, Need To Reboot Daily
« on: March 31, 2008, 01:03:54 pm »
Apart from creating a new user I have not made any changes to the setup I have since installing pdaXii13. But i now find almost on a daily basis when i switch on/ un-suspend my Z I am presented with the OS gui (openbox) but in a hanging state. How on earth do i find out what is going on or even begin to remedy this. I am using the Z to learn Linux as i see the Z as more of a toy at present.

Cheers Gus
Newcomer to Linux!
SL-C1000, Cacko 1.23

stupkid

  • Hero Member
  • *****
  • Posts: 578
    • View Profile
    • http://
Suspend State Then Hangs, Need To Reboot Daily
« Reply #1 on: March 31, 2008, 01:39:47 pm »
That is odd, I have no such problem.  I do remember something like this when I didn't set the time using the Date application that comes with Pdaxii13.  The Hardware clock under Pdaxrom is kinda funky and the date application goes about setting the time correctly.  You might want to try setting the time using the Date app, rebooting, and seeing if you still have this issue.

Zaurus SL-C3200 pdaXii13v2 5.5 / Ambicom WC1100C-CF / Socket Bluetooth Rev G


OpenMoko FreeRunner - Running Tweaked OM2008.x Image

guscpu

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
Suspend State Then Hangs, Need To Reboot Daily
« Reply #2 on: March 31, 2008, 03:43:35 pm »
Quote from: stupkid
That is odd, I have no such problem.  I do remember something like this when I didn't set the time using the Date application that comes with Pdaxii13.  The Hardware clock under Pdaxrom is kinda funky and the date application goes about setting the time correctly.  You might want to try setting the time using the Date app, rebooting, and seeing if you still have this issue.

Have given up setting the time/date as my Z often needs to be rebooted and I can't be bothered. When I reboot everything runs fine and i suspend the Z several times just to test it. The problem seems to occur when i leave it suspended for several hours. When i switch it on the gui appears but there is no response from keyboard or pen.

Another problem is when i open and close the Z a few times in succession the screen seems to have a problem re-orienting itself to landscape and portrait properly. But when it does I am often left with a portion of the lower screen with no desktop just the black and white lattice, the task bar appears but its like there is a strip of the desktop which is missing near the bottom.

Cheers
Gus
Newcomer to Linux!
SL-C1000, Cacko 1.23

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Suspend State Then Hangs, Need To Reboot Daily
« Reply #3 on: March 31, 2008, 04:42:09 pm »
Quote from: guscpu
But when it does I am often left with a portion of the lower screen with no desktop just the black and white lattice, the task bar appears but its like there is a strip of the desktop which is missing near the bottom.

Cheers
Gus
This happens to me sometimes in pdaxii13v2.
The desktop just disappears after running large programs, (such as inkscape) and there is only the cross-hatched background with no icons, etc.
I just hit ctrl+alt+esc to exit 'X'
Then restart 'X' with "startx"
This usually fixes this desktop prob.
« Last Edit: March 31, 2008, 04:43:13 pm by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

guscpu

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
Suspend State Then Hangs, Need To Reboot Daily
« Reply #4 on: March 31, 2008, 05:12:14 pm »
Quote from: Jon_J
Quote from: guscpu
But when it does I am often left with a portion of the lower screen with no desktop just the black and white lattice, the task bar appears but its like there is a strip of the desktop which is missing near the bottom.

Cheers
Gus
This happens to me sometimes in pdaxii13v2.
The desktop just disappears after running large programs, (such as inkscape) and there is only the cross-hatched background with no icons, etc.
I just hit ctrl+alt+esc to exit 'X'
Then restart 'X' with "startx"
This usually fixes this desktop prob.

Yea, what i do is go into 'Look and Feel' and change one of the settings so it ends up repainting the desktop which does sort it out.

Cheers
Newcomer to Linux!
SL-C1000, Cacko 1.23

guscpu

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
Suspend State Then Hangs, Need To Reboot Daily
« Reply #5 on: April 01, 2008, 08:42:50 am »
Quote from: guscpu
Quote from: Jon_J
Quote from: guscpu
But when it does I am often left with a portion of the lower screen with no desktop just the black and white lattice, the task bar appears but its like there is a strip of the desktop which is missing near the bottom.

Cheers
Gus
This happens to me sometimes in pdaxii13v2.
The desktop just disappears after running large programs, (such as inkscape) and there is only the cross-hatched background with no icons, etc.
I just hit ctrl+alt+esc to exit 'X'
Then restart 'X' with "startx"
This usually fixes this desktop prob.

Yea, what i do is go into 'Look and Feel' and change one of the settings so it ends up repainting the desktop which does sort it out.

Cheers


Very strange, it seems that my Z only seems to hang when its been in suspended mode for several hours??!!?

Gus
Newcomer to Linux!
SL-C1000, Cacko 1.23

stupkid

  • Hero Member
  • *****
  • Posts: 578
    • View Profile
    • http://
Suspend State Then Hangs, Need To Reboot Daily
« Reply #6 on: April 01, 2008, 11:11:36 am »
Have you tried to SSH into your Z, kill the X server, then running startx from the console?  I'm suspecting that only X is crashing not the whole OS.

Zaurus SL-C3200 pdaXii13v2 5.5 / Ambicom WC1100C-CF / Socket Bluetooth Rev G


OpenMoko FreeRunner - Running Tweaked OM2008.x Image

guscpu

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
Suspend State Then Hangs, Need To Reboot Daily
« Reply #7 on: April 01, 2008, 12:31:59 pm »
Quote from: stupkid
Have you tried to SSH into your Z, kill the X server, then running startx from the console?  I'm suspecting that only X is crashing not the whole OS.



You could be right but I've not yet got to the point where i am able to connect or SSH to my Z from my laptop. That will be my next challenge, learning to use the SSH
When I have figured this out does anyone have any ideas as to why X server is not responding. Though the clock in the taskbar is running properly.
Thanks for the suggestion

Regards
Gus
Newcomer to Linux!
SL-C1000, Cacko 1.23

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Suspend State Then Hangs, Need To Reboot Daily
« Reply #8 on: April 01, 2008, 12:42:43 pm »
I don't know if this applies to you, but there has been a long standing problem in pdaXrom and the on/off button on the front edge of the Cxx00 Zauri.
I use the "Home" button to "un-suspend" or "turn on" my Zaurus C3200.
I only use the on/off button to "suspend" it.
« Last Edit: April 01, 2008, 12:43:15 pm by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

guscpu

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
Suspend State Then Hangs, Need To Reboot Daily
« Reply #9 on: April 01, 2008, 12:45:52 pm »
Incidentally when i restart the Z i get the following messages on the console...


mtd: partition "home" is out of reach -- disabled
cramfs wrong magic
FAT: bogus logical sector size 381

Are these messages something I should be concerned about and possibly contributing to my Z hanging when left in suspend mode for several hours?


Cheers
Gus
Newcomer to Linux!
SL-C1000, Cacko 1.23

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Suspend State Then Hangs, Need To Reboot Daily
« Reply #10 on: April 01, 2008, 01:01:32 pm »
Quote from: guscpu
Incidentally when i restart the Z i get the following messages on the console...


mtd: partition "home" is out of reach -- disabled
cramfs wrong magic
FAT: bogus logical sector size 381

Are these messages something I should be concerned about and possibly contributing to my Z hanging when left in suspend mode for several hours?


Cheers
Gus
I always get these two:
cramfs wrong magic
FAT: bogus logical sector size 381
They are of no concern. You may want to search for these two items. "cramfs wrong magic" is just linux making various checks, and this one isn't used on the Zaurus.
I don't know about "FAT: bogus logical sector size 381" I think it is normal, and I always get this upon rebooting.

Now onto the third item you listed.
mtd: partition "home" is out of reach -- disabled
This one could be your problem. I don't get this one. When first installing pdaXrom/pdaxii13, did you format your NAND partition to 121MB?
There is a setting in the initial install that allows you to bypass the original NAND partition limit. Did you enable this setting. I'll have to look up the exact wording. Then I'll edit this post.
EDIT:
Here is the part of the installer that I was mentioning above:
"NAND Flash utils" -> "Fix loader 64MB limit"
"Resize root partition"
Most people resize this to 121MB
« Last Edit: April 01, 2008, 01:10:14 pm by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

guscpu

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
Suspend State Then Hangs, Need To Reboot Daily
« Reply #11 on: April 10, 2008, 02:27:11 pm »
Quote from: Jon_J
Quote from: guscpu
Incidentally when i restart the Z i get the following messages on the console...


mtd: partition "home" is out of reach -- disabled
cramfs wrong magic
FAT: bogus logical sector size 381

Are these messages something I should be concerned about and possibly contributing to my Z hanging when left in suspend mode for several hours?


Cheers
Gus
I always get these two:
cramfs wrong magic
FAT: bogus logical sector size 381
They are of no concern. You may want to search for these two items. "cramfs wrong magic" is just linux making various checks, and this one isn't used on the Zaurus.
I don't know about "FAT: bogus logical sector size 381" I think it is normal, and I always get this upon rebooting.

Now onto the third item you listed.
mtd: partition "home" is out of reach -- disabled
This one could be your problem. I don't get this one. When first installing pdaXrom/pdaxii13, did you format your NAND partition to 121MB?
There is a setting in the initial install that allows you to bypass the original NAND partition limit. Did you enable this setting. I'll have to look up the exact wording. Then I'll edit this post.
EDIT:
Here is the part of the installer that I was mentioning above:
"NAND Flash utils" -> "Fix loader 64MB limit"
"Resize root partition"
Most people resize this to 121MB



Yes indeed i did resize the root partition as per the install instructions for pdaXii13. When its been on for several hours and i push the home button the Z wakes up and I can use the menu button to bring up the start menu but when I use the pen the screen and keyboard stop responding???
Newcomer to Linux!
SL-C1000, Cacko 1.23

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Suspend State Then Hangs, Need To Reboot Daily
« Reply #12 on: April 11, 2008, 01:11:44 am »
Try to re-calibrate the screen. Access this with just the keyboard, and when you finally get to the calibration part, use the stylus.
Menu --> System Tools --> Input Setup
It takes awhile to open. Once opened, navigate with just the [TAB key] to the last entry:
"Recalibrate stylus on next start of window manager" Use the spacebar to place a tick in the selection.
Now, [TAB] over to the [OK] button and hit enter.
It should close and a dialog should pop up, saying "restart?" [Yes] [No]. Tab to [Yes], hit enter, and the desktop should shut down and exit.
Next, the recalibration screen should come up, and you can try to recalibrate your screen with the stylus.
If the restart dialog doesn't come up, just hit ctrl-alt-esc to exit. Then type startx to restart. The recalibration screen should come up.

I really don't know what the problem could be, but if the above doesn't work, and no one else jumps in with a solution, I would just break down and start over with a fresh re-flash.
« Last Edit: April 11, 2008, 01:21:01 am by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers