Author Topic: Suspend Crashes  (Read 70305 times)

ddpbsd

  • Newbie
  • *
  • Posts: 7
    • View Profile
Suspend Crashes
« Reply #15 on: October 19, 2006, 01:30:11 pm »
The latest snapshot totally bails for me (booting bsd.rd).  Looks like it may (and I don't know what I'm doing ) be related to recent disklabel work.

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Suspend Crashes
« Reply #16 on: October 23, 2006, 10:42:40 am »
Quote
Hello. I have consistent crashes when suspending for more than a few minutes. It doesn't matter if I click the power button, use "apm -S", "zzz" or close the lid with lidsuspend=1. Pressing the power button after it has been suspended for a short while works, but I get console messages saying, for example

wd0e: aborted command writing fsbn 5248 of 5248-5251 (wd0 bn 1562608; cn ...
wd0: soft error (corrected)

However, if I let the Zaurus sleep for 15 - 30 minutes, after pressing the power button the disk drive (green led) comes up, but the display remains black and the keyboard doesn't work. I need to do a reset.

Does anyone have any suggestion? Does it work for you?

By the way, I have a 3200 and an OpenBSD 3.9 snapshot. It also happened with 3.9-release and a prerelease snapshot.

Thank you,
Francisco
[div align=\"right\"][a href=\"index.php?act=findpost&pid=127887\"][{POST_SNAPBACK}][/a][/div]

well,
i've just tried to suspend with my 4.0beta-slc3000 and :
-apm -S : does nothing (!!)
-zzz : error message = cannot connect to apmd
-power button : works! then i waited for 1 minute then i tried to switch on the Z and i 'd the same wd0 error messsage like you but it worked! right now i'm trying to suspend it for 1 hour and i'll see if it switchs on again

see you soon
(hope!)

ps: apm tells me "91% batt remaining" .... the zaurus is not power connected.
« Last Edit: October 23, 2006, 10:44:01 am by jpmatrix »
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

ddpbsd

  • Newbie
  • *
  • Posts: 7
    • View Profile
Suspend Crashes
« Reply #17 on: October 23, 2006, 10:45:14 am »
Quote
well,
i've just tried to suspend with my 4.0beta-slc3000 and :
-apm -S : does nothing (!!)
-zzz : error message = cannot connect to apmd
-power button : works! then i waited for 1 minute then i tried to switch on the Z and i 'd the same wd0 error messsage like you but it worked! right now i'm trying to suspend it for 1 hour and i'll see if it switchs on again

see you soon
(hope!)

ps: apm tells me "91% batt remaining" .... the zaurus is not power connected.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=144572\"][{POST_SNAPBACK}][/a][/div]
If apmd is not running the zzz command will not work.  I haven't tried apmd with the snap I'm running, but after reinstalling (3.9 then updating to the latest snap) suspend is finally working for me again...

TronDD

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
Suspend Crashes
« Reply #18 on: October 23, 2006, 10:05:31 pm »
I had the same problem booting the 4.0 snap bsd.rd.  I ended up going to 3.9 release.  Guess I'll try 4.0 again now.

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Suspend Crashes
« Reply #19 on: October 24, 2006, 08:59:41 am »
Quote
Quote
Hello. I have consistent crashes when suspending for more than a few minutes. It doesn't matter if I click the power button, use "apm -S", "zzz" or close the lid with lidsuspend=1. Pressing the power button after it has been suspended for a short while works, but I get console messages saying, for example

wd0e: aborted command writing fsbn 5248 of 5248-5251 (wd0 bn 1562608; cn ...
wd0: soft error (corrected)

However, if I let the Zaurus sleep for 15 - 30 minutes, after pressing the power button the disk drive (green led) comes up, but the display remains black and the keyboard doesn't work. I need to do a reset.

Does anyone have any suggestion? Does it work for you?

By the way, I have a 3200 and an OpenBSD 3.9 snapshot. It also happened with 3.9-release and a prerelease snapshot.

Thank you,
Francisco
[div align=\"right\"][a href=\"index.php?act=findpost&pid=127887\"][{POST_SNAPBACK}][/a][/div]

well,
i've just tried to suspend with my 4.0beta-slc3000 and :
-apm -S : does nothing (!!)
-zzz : error message = cannot connect to apmd
-power button : works! then i waited for 1 minute then i tried to switch on the Z and i 'd the same wd0 error messsage like you but it worked! right now i'm trying to suspend it for 1 hour and i'll see if it switchs on again

see you soon
(hope!)

ps: apm tells me "91% batt remaining" .... the zaurus is not power connected.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=144572\"][{POST_SNAPBACK}][/a][/div]

hello again
i woke up my 4.0 openbsd zaurus this morning and it sent me en error message then it felt into debug mode !!!
i found a "boot reboot" command to reboot, i didn't find a 'quit' command...
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Suspend Crashes
« Reply #20 on: May 06, 2007, 04:24:40 am »
hi
yesterday night i started some compilation and i turned off the screen via this command:

wsconsctl display.backlight=0

this morning i could not find any way to resume the Zaurus... it ended up with  hard battery removal...any idea?
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Suspend Crashes
« Reply #21 on: May 06, 2007, 05:10:06 am »
I also run into issues of apm:
-- closing the lid (with the setting in /etc/sysctl.conf): fails to resume; screen remains dark; but it is surely on because Ctrl-Alt-BS will kill X.
-- pressing the power button to suspend: [EDITED: just tested again. it seems to work now. need more testing ...    ]
-- It seems running apmd and suspending with "zzz" works fine so far, although it did fail a couple of times also.

About apm:
How can i check the exact percentage of battery power? i type apm and it keeps saying the battery is 100% all the time both with and without AC.

Thanks!  
« Last Edit: May 06, 2007, 05:19:27 am by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

mathemajikian

  • Sr. Member
  • ****
  • Posts: 301
    • View Profile
    • http://exit3.i-55.com/~xikon/openbsdzaurus.html
Suspend Crashes
« Reply #22 on: May 06, 2007, 06:54:13 am »
Quote
hi
yesterday night i started some compilation and i turned off the screen via this command:

wsconsctl display.backlight=0
this morning i could not find any way to resume the Zaurus... it ended up with hard battery removal...any idea?
Did you reissue the following command?

wsconsctl display.backlight=100
« Last Edit: May 06, 2007, 06:56:23 am by mathemajikian »

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Suspend Crashes
« Reply #23 on: May 06, 2007, 01:06:08 pm »
Quote
Quote
hi
yesterday night i started some compilation and i turned off the screen via this command:

wsconsctl display.backlight=0
this morning i could not find any way to resume the Zaurus... it ended up with hard battery removal...any idea?
Did you reissue the following command?

wsconsctl display.backlight=100
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160586\"][{POST_SNAPBACK}][/a][/div]

do you mean i've to type that command each type i typed the =0 one ??? isn't it automatic as you type any key or use the stylus?
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

mathemajikian

  • Sr. Member
  • ****
  • Posts: 301
    • View Profile
    • http://exit3.i-55.com/~xikon/openbsdzaurus.html
Suspend Crashes
« Reply #24 on: May 06, 2007, 02:01:45 pm »
Quote
Quote
Quote
hi
yesterday night i started some compilation and i turned off the screen via this command:

wsconsctl display.backlight=0
this morning i could not find any way to resume the Zaurus... it ended up with hard battery removal...any idea?
Did you reissue the following command?

wsconsctl display.backlight=100
do you mean i've to type that command each type i typed the =0 one ??? isn't it automatic as you type any key or use the stylus?
wsconsctl display.backlight=0 turns the LCD back light off. To turn the back light back on you'll have to issue the inverse command wsconsctl display.backlight=100. Pressing random keys or tapping the LCD screen with the stylus will not result in the LCD back light turning back on.

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Suspend Crashes
« Reply #25 on: May 06, 2007, 02:36:26 pm »
Quote
Quote
Quote
Quote
hi
yesterday night i started some compilation and i turned off the screen via this command:

wsconsctl display.backlight=0
this morning i could not find any way to resume the Zaurus... it ended up with hard battery removal...any idea?
Did you reissue the following command?

wsconsctl display.backlight=100
do you mean i've to type that command each type i typed the =0 one ??? isn't it automatic as you type any key or use the stylus?
wsconsctl display.backlight=0 turns the LCD back light off. To turn the back light back on you'll have to issue the inverse command wsconsctl display.backlight=100. Pressing random keys or tapping the LCD screen with the stylus will not result in the LCD back light turning back on.
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]


okay!
so that should be specified in that tip&tricks pages :

[a href=\"http://exit3.i-55.com/%7Exikon/zaurustipsandtricks.html]http://exit3.i-55.com/%7Exikon/zaurustipsandtricks.html[/url]
http://planetofidiots.com/zaurus/#afterboot
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Suspend Crashes
« Reply #26 on: May 06, 2007, 02:50:25 pm »
Quote
Quote
Quote
Quote
Quote
hi
yesterday night i started some compilation and i turned off the screen via this command:

wsconsctl display.backlight=0
this morning i could not find any way to resume the Zaurus... it ended up with hard battery removal...any idea?
Did you reissue the following command?

wsconsctl display.backlight=100
do you mean i've to type that command each type i typed the =0 one ??? isn't it automatic as you type any key or use the stylus?
wsconsctl display.backlight=0 turns the LCD back light off. To turn the back light back on you'll have to issue the inverse command wsconsctl display.backlight=100. Pressing random keys or tapping the LCD screen with the stylus will not result in the LCD back light turning back on.
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]


okay!
so that should be specified in that tip&tricks pages :

[a href=\"http://exit3.i-55.com/%7Exikon/zaurustipsandtricks.html]http://exit3.i-55.com/%7Exikon/zaurustipsandtricks.html[/url]
http://planetofidiots.com/zaurus/#afterboot
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160631\"][{POST_SNAPBACK}][/a][/div]

that makes sense, it sounds logical, but isn't very user friendly
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

mathemajikian

  • Sr. Member
  • ****
  • Posts: 301
    • View Profile
    • http://exit3.i-55.com/~xikon/openbsdzaurus.html
Suspend Crashes
« Reply #27 on: May 06, 2007, 02:59:05 pm »
Quote
okay! so that should be specified in that tip&tricks pages :

http://exit3.i-55.com/%7Exikon/zaurustipsandtricks.html
http://planetofidiots.com/zaurus/#afterboot

Done.

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Suspend Crashes
« Reply #28 on: May 06, 2007, 04:39:53 pm »
Here is what i got more than once when the Z fails to resume:

Code: [Select]
wdc0:0:0:  not ready, st = 0x88, err = 0x00
wdc0 channel 0: reset failed for drive 0
wd0f : device timeout reading fsbn 156672 of 156672-0 (wd0 bn 7791264 cn 7729 tn 6 sn 54)

It seems that resuming in X works better than in console. Maybe i am wrong.

Also does the close-lip-to-suspend thing involve both suspend and turning off the lcd?
« Last Edit: May 06, 2007, 04:45:22 pm by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

mathemajikian

  • Sr. Member
  • ****
  • Posts: 301
    • View Profile
    • http://exit3.i-55.com/~xikon/openbsdzaurus.html
Suspend Crashes
« Reply #29 on: May 06, 2007, 06:15:21 pm »
Quote
Here is what i got more than once when the Z fails to resume:

Code: [Select]
wdc0:0:0:  not ready, st = 0x88, err = 0x00
wdc0 channel 0: reset failed for drive 0
wd0f : device timeout reading fsbn 156672 of 156672-0 (wd0 bn 7791264 cn 7729 tn 6 sn 54)

It seems that resuming in X works better than in console. Maybe i am wrong.

Also does the close-lip-to-suspend thing involve both suspend and turning off the lcd?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160638\"][{POST_SNAPBACK}][/a][/div]
What does your /etc/fstab look like? Have you enable the microdrives cache?
« Last Edit: May 06, 2007, 06:15:40 pm by mathemajikian »