OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

> Suspend Crashes, Does suspend work for you on OpenBSD?
fquindos
post May 20 2006, 11:20 AM
Post #1





Group: Members
Posts: 7
Joined: 10-May 06
Member No.: 9,826



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
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
jpmatrix
post May 12 2007, 02:17 AM
Post #2





Group: Members
Posts: 1,019
Joined: 15-February 05
From: France
Member No.: 6,477



the release version seems to be rather old on
ftp://ftp.openbsd.org/pub/OpenBSD/4.1/zaurus : march 2007

latest snapshot is may 08

i wonder if i wait for the next snapshot...
Go to the top of the page
 
+Quote Post
ZDevil
post May 12 2007, 03:42 AM
Post #3





Group: Members
Posts: 2,003
Joined: 16-April 04
From: the Netherlands && /dev/null
Member No.: 2,882



QUOTE(jpmatrix @ May 12 2007, 12:17 PM)
the release version seems to be rather old on
ftp://ftp.openbsd.org/pub/OpenBSD/4.1/zaurus  : march 2007

latest snapshot is may 08

i wonder if i wait for the next snapshot...
*



True. But interestingly the release version does seem more stable than the snapshots: it is my very first time that i get zzz, lidsuspend and the power off button ALL working! wink.gif
Still let me see if things are really stable during the weekend.
Go to the top of the page
 
+Quote Post
mathemajikian
post May 12 2007, 09:23 AM
Post #4





Group: Members
Posts: 298
Joined: 8-July 06
From: United Kingdom for now....
Member No.: 10,349



QUOTE(ZDevil @ May 12 2007, 11:42 AM)
True. But interestingly the release version does seem more stable than the snapshots: it is my very first time that i get zzz, lidsuspend and the power off button ALL working!  wink.gif
Still let me see if things are really stable during the weekend.


Last night I suspended my Z from within X using the lidsuspend option and when I resumed the device this morning the only problem was that the back light failed to turn back on. I saw a half second white flash on the screen, as if it was attempting to turn on, then a blank/black screen. I ssh'd into the Zaurus and issued wsconsctl display.back light=100 and everything returned to normal. I also used lidsuspend outside of X and got similar results. (The back light failed to turn back on) However, if I used the power on/off button in X or from the console the back light never failed to turn back on. So there is an issue with lidsuspend, but it dosn't result in complete catastrophic device lockup. Though out the day I've suspended and resumed the device via the on/off button and lidsuspend multiple times and never once had the Z lock up or produce the error you describe below:

wdc0 channel 0: reset failed for drive 0
wd0a: device timeout reading fsbn 1595200 of 1595200-0 (wd0 bn 1595201; cn 1582 tn 8 sn 41), retrying
wdc0:0:0: not ready,st=0x88<BSY,DRQ>, err=0x00.

Finally, in regards to your battery status concerns:

From the apmd manual
QUOTE
 
            -t seconds
            apmd periodically polls the APM driver for the current power
            state.  If the battery charge level changes substantially or the
            external power status changes, the new status is logged.  The
            polling rate defaults to once per 10 minutes, but may be speci-
            fied using the -t command-line flag.


Therefore to get better battery status reports add the following to rc.conf.local

apmd_flags="-t 300"

This changes the polling rate to once every 5 minutes instead of once every 10 minutes.

You might also want to check out: http://ports.openbsd.nu/x11/asapm
Go to the top of the page
 
+Quote Post
mathemajikian
post May 12 2007, 11:31 AM
Post #5





Group: Members
Posts: 298
Joined: 8-July 06
From: United Kingdom for now....
Member No.: 10,349



QUOTE(mathemajikian @ May 12 2007, 05:23 PM)
So there is an issue with lidsuspend, but it dosn't result in complete catastrophic device lockup.

Just noticed the following from 3.9 changes located here: http://www.openbsd.org/plus39.html

QUOTE
On Zaurus, allow sysctl machdep.lidsuspend=1 to cause suspend on screen closure. Opening does not yet wake it up though.

The Z wakes up it just fails to turn the back light back on.
Go to the top of the page
 
+Quote Post
gen2
post May 12 2007, 01:26 PM
Post #6





Group: Members
Posts: 60
Joined: 7-October 04
From: Left Coast, USA. Criminals Stole My Country.
Member No.: 4,926



QUOTE(mathemajikian @ May 12 2007, 07:31 PM)
QUOTE(mathemajikian @ May 12 2007, 05:23 PM)
So there is an issue with lidsuspend, but it dosn't result in complete catastrophic device lockup.

Just noticed the following from 3.9 changes located here: http://www.openbsd.org/plus39.html

QUOTE
On Zaurus, allow sysctl machdep.lidsuspend=1 to cause suspend on screen closure. Opening does not yet wake it up though.

The Z wakes up it just fails to turn the back light back on.
*



Current testing here produces full lockup on lidsuspend, no ssh'ing in possible, no status lights a flashin. I'm running 6 partitions, sleep DOES work as advertised using # zzz -S. Unable to verify any specific link between 6 partition scheme and suspend/wake problems.

I can handle typing instead of just closing the lid. Moving on.
Go to the top of the page
 
+Quote Post

Posts in this topic
fquindos   Suspend Crashes   May 20 2006, 11:20 AM
TronDD   Same here on a 3000 with 3.9 snapshot. I've b...   May 20 2006, 04:36 PM
iamasmith   I have only had the problem with suspending where ...   May 21 2006, 11:24 AM
Sequethin   QUOTE(iamasmith @ May 21 2006, 03:24 PM)I hav...   May 24 2006, 10:28 AM
iamasmith   QUOTE(Sequethin @ May 24 2006, 06:28 PM)QUOTE...   May 24 2006, 12:44 PM
Sequethin   now in regards to a full charge... there's an ...   May 25 2006, 11:33 AM
TronDD   Yes, I see that, too. Apm almost always tells me ...   May 25 2006, 01:09 PM
Sequethin   QUOTE(TronDD @ May 25 2006, 05:09 PM)Yes, I s...   May 26 2006, 07:26 AM
fquindos   Yes, apm charge not 100% means the battery is almo...   May 26 2006, 07:56 AM
ddpbsd   Suspend was working VERY well for me until recentl...   May 27 2006, 07:54 AM
sylvain   Does anyone have some news about this crash ? or k...   Jun 16 2006, 08:49 AM
ddpbsd   I've got it working on my C3000, mostly. I...   Jun 20 2006, 04:31 AM
ddpbsd   http://marc.theaimsgroup.com/?l=openbsd-cv...82806...   Jun 20 2006, 11:12 AM
sylvain   QUOTE(ddpbsd @ Jun 20 2006, 11:12 AM)http://m...   Jun 21 2006, 09:45 AM
jpmatrix   QUOTE(sylvain @ Jun 21 2006, 07:45 PM)Yep, it...   Oct 19 2006, 04:53 AM
ddpbsd   The latest snapshot totally bails for me (booting ...   Oct 19 2006, 09:30 AM
jpmatrix   QUOTE(fquindos @ May 20 2006, 09:20 PM)Hello....   Oct 23 2006, 06:42 AM
ddpbsd   QUOTE(jpmatrix @ Oct 23 2006, 09:42 AM)well, ...   Oct 23 2006, 06:45 AM
TronDD   I had the same problem booting the 4.0 snap bsd.rd...   Oct 23 2006, 06:05 PM
jpmatrix   QUOTE(jpmatrix @ Oct 23 2006, 04:42 PM)QUOTE(...   Oct 24 2006, 04:59 AM
jpmatrix   hi yesterday night i started some compilation and ...   May 6 2007, 12:24 AM
mathemajikian   QUOTE(jpmatrix @ May 6 2007, 08:24 AM)hi yest...   May 6 2007, 02:54 AM
jpmatrix   QUOTE(mathemajikian @ May 6 2007, 12:54 PM)QU...   May 6 2007, 09:06 AM
mathemajikian   QUOTE(jpmatrix @ May 6 2007, 05:06 PM)QUOTE(m...   May 6 2007, 10:01 AM
jpmatrix   QUOTE(mathemajikian @ May 6 2007, 08:01 PM)QU...   May 6 2007, 10:36 AM
Meanie   QUOTE(jpmatrix @ May 7 2007, 04:36 AM)QUOTE(m...   May 6 2007, 10:50 AM
mathemajikian   QUOTE(jpmatrix @ May 6 2007, 06:36 PM)okay...   May 6 2007, 10:59 AM
ZDevil   I also run into issues of apm: -- closing the lid ...   May 6 2007, 01:10 AM
ZDevil   Here is what i got more than once when the Z fails...   May 6 2007, 12:39 PM
mathemajikian   QUOTE(ZDevil @ May 6 2007, 08:39 PM)Here is w...   May 6 2007, 02:15 PM
ZDevil   QUOTE(mathemajikian @ May 7 2007, 12:15 AM)Wh...   May 6 2007, 02:19 PM
mathemajikian   QUOTE(ZDevil @ May 6 2007, 10:19 PM)QUOTE(mat...   May 7 2007, 09:22 AM
ZDevil   QUOTE(mathemajikian @ May 7 2007, 07:22 PM)Al...   May 7 2007, 09:47 AM
jpmatrix   QUOTE(mathemajikian @ May 7 2007, 07:22 PM)QU...   May 7 2007, 01:35 PM
mathemajikian   QUOTE(mathemajikian @ May 7 2007, 05:22 PM)Al...   May 7 2007, 01:51 PM
jpmatrix   QUOTE(ZDevil @ May 6 2007, 10:39 PM)Here is w...   May 7 2007, 06:17 AM
ZDevil   This is what mathemajikian told me today: QUOTEFor...   May 7 2007, 06:30 AM
mathemajikian   QUOTE(ZDevil @ May 7 2007, 02:30 PM)This is w...   May 7 2007, 07:49 AM
ZDevil   Here are the results of both: CODEDisk: wd0 ge...   May 7 2007, 09:43 AM
jpmatrix   it seems i went again into an mission impossible t...   May 10 2007, 08:23 AM
ZDevil   The suspend problem doesn't go away, and actua...   May 10 2007, 11:24 AM
ZDevil   Also can someone kindly tell me explicitly how to ...   May 10 2007, 11:40 AM
mathemajikian   QUOTE(ZDevil @ May 10 2007, 07:40 PM)Also can...   May 10 2007, 12:55 PM
gen2   To add another data point here, these errors CODE...   May 12 2007, 06:35 AM
mathemajikian   CODEwd0a: aborted command reading fsbn 5397260...   May 12 2007, 09:29 AM
gen2   QUOTE(mathemajikian @ May 12 2007, 05:29 PM)C...   May 12 2007, 09:53 AM
ZDevil   Okay, just to be more precise to the symptoms: Wh...   May 10 2007, 11:58 AM
mathemajikian   QUOTE(ZDevil @ May 10 2007, 07:58 PM)Sorry fo...   May 10 2007, 12:52 PM
ZDevil   Thanks again. QUOTE(mathemajikian @ May 10 2...   May 11 2007, 02:21 AM
jpmatrix   QUOTE(ZDevil @ May 10 2007, 09:58 PM)5) And o...   May 11 2007, 02:07 AM
ZDevil   QUOTE(jpmatrix @ May 11 2007, 12:07 PM)well w...   May 11 2007, 02:17 AM
jpmatrix   QUOTE(ZDevil @ May 11 2007, 12:17 PM)QUOTE(jp...   May 11 2007, 04:15 AM
ZDevil   Thanks. Now I will reinstall the whole thing with ...   May 11 2007, 09:26 AM
jpmatrix   well well, i think we still have some resume troub...   May 11 2007, 11:50 PM
ZDevil   QUOTE(jpmatrix @ May 12 2007, 09:50 AM)well w...   May 12 2007, 12:53 AM
jpmatrix   the release version seems to be rather old on ftp:...   May 12 2007, 02:17 AM
mathemajikian   QUOTE(jpmatrix @ May 12 2007, 10:17 AM)the re...   May 12 2007, 03:14 AM
ZDevil   QUOTE(jpmatrix @ May 12 2007, 12:17 PM)the re...   May 12 2007, 03:42 AM
mathemajikian   QUOTE(ZDevil @ May 12 2007, 11:42 AM)True. Bu...   May 12 2007, 09:23 AM
mathemajikian   QUOTE(mathemajikian @ May 12 2007, 05:23 PM)S...   May 12 2007, 11:31 AM
gen2   QUOTE(mathemajikian @ May 12 2007, 07:31 PM)Q...   May 12 2007, 01:26 PM
ZDevil   Just another update: I have tried suspending with...   May 13 2007, 01:01 AM
ZDevil   More update: I've updated the kernel to 4.1-c...   May 15 2007, 08:42 AM
ZDevil   Updated to GENERIC#110 last night. Suspend by clos...   May 18 2007, 09:26 AM
jpmatrix   Great piece of news ! I think i ll be back to ...   May 20 2007, 11:31 AM
jpmatrix   well, it seems suspend/resume troubles are now gon...   Jun 4 2007, 02:04 AM
mathemajikian   QUOTE(jpmatrix @ Jun 4 2007, 10:04 AM)however...   Jun 4 2007, 03:32 AM
jpmatrix   QUOTE(mathemajikian @ Jun 4 2007, 01:32 PM)QU...   Jun 4 2007, 04:03 AM
jpmatrix   guys, i'm running into a new problem : suspend...   Jun 12 2007, 03:46 AM
jpmatrix   QUOTE(jpmatrix @ Jun 12 2007, 01:46 PM)guys, ...   Jun 16 2007, 03:49 AM
mathemajikian   QUOTE(jpmatrix @ Jun 16 2007, 12:49 PM) Q...   Oct 27 2007, 09:20 AM
gaarder   I've tried zzz -S, zzz -z, with and without sd...   Jun 12 2007, 07:39 PM
jpmatrix   QUOTE(gaarder @ Jun 13 2007, 05:39 AM)I'v...   Jun 13 2007, 03:32 AM


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 21st May 2013 - 02:23 PM