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
ZDevil
post May 10 2007, 11:58 AM
Post #2





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



Okay, just to be more precise to the symptoms:

When suspending in console (both zzz and closing the lid), resume will produce a very short white flash on the screen, followed by screen black out. Typing "wsconsctl display.backlight=100" doesn't work at all.
After waiting a while i see the green light on, which i guess is the system trying desparately to resume the microdrive, but keeps failing (sometimes i see the error message of failing to reset wdc0 blah, but most of the time just everything in the dark).

When suspending in X, resume usually can bring the screen back, but then the system freezes. After a while the screen goes dark and the green LED turns on, which probably also indicate the harddrive reset failure ...


***

So here i would really appreciate clear answers to the questions ( the more i read the documentation and the tips pages, the more i seem to get confused, just because things do not work as described )
Sorry for getting a bit paranoid now because i am beginning to get a bit frustrated after spending two weeks without getting a stable enough system working.

1) Which version is actually more preferred? The snapshots (which I've been trying to get working but always got errors) or the "official" releases (from the 4.1 dir)?

2) What should I put in /etc/fstab about wd0 if I install the snaphot in one big partition?

3) Should writecacheenable be enabled or not?

4) About swapfile: is it fine to set up swapfile after installing *everything* (including all the distribution sets) in one big partition?

5) And of course, what is the source of the suspend trouble? Frankly, I have already tested a few dozen times (believe me) trying to exhaust all the possibilities: with/without memory cards mounted, with/without cards inserted, with/without AC, with/without disk cache, with/without turning on mechdep.lidsuspend in /etc/sysctl.conf ...

This post has been edited by ZDevil: May 10 2007, 12:10 PM
Go to the top of the page
 
+Quote Post
mathemajikian
post May 10 2007, 12:52 PM
Post #3





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



QUOTE(ZDevil @ May 10 2007, 07:58 PM)
Sorry for getting a bit paranoid now because i am beginning to get a bit frustrated after spending two weeks without getting a stable enough system working.


QUOTE
1) Which version is actually more preferred? The snapshots (which I've been trying to get working but always got errors) or the "official" releases (from the 4.1 dir)?


Releases are generally preferred. Snapshots = -current which is the bleeding edge, and as stated before there can be a lot of bleeding involved!

QUOTE
2) What should I put in /etc/fstab about wd0 if I install the snaphot in one big partition?


If your swap file is on this partition then you can't put in softdep. Other than that you should be fine.

QUOTE
3) Should writecacheenable be enabled or not?


Your choice.

QUOTE
4) About swapfile: is it fine to set up swapfile after installing *everything* (including all the distribution sets) in one big partition?


I don't see any problems with this, but thats just me.

QUOTE
5) And of course, what is the source of the suspend trouble? Frankly, I have already tested a few dozen times (believe me) trying to exhaust all the possibilities: with/without memory cards mounted, with/without cards inserted, with/without AC, with/without disk cache, with/without turning on mechdep.lidsuspend in /etc/sysctl.conf ...


Try this:

use zzz -z suspend and see if it still fails to resume, if so then try zzz -S standby and see what happens.

zzz -z suspend puts the Z in a deep sleep whereas zzz -S standby puts the Z in a light sleep.

If that doesn't work then use shutdown -hp now until the problem is corrected. If you can't wait then convert back to a penguin distribution.
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: 16th September 2014 - 01:25 AM