[Bug 212208] New: Suspend does not work
https://bugzilla.novell.com/show_bug.cgi?id=212208 Summary: Suspend does not work Product: openSUSE 10.2 Version: Alpha 5 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: bodo.bauer@novell.com QAContact: qa@suse.de When I try to suspend my system (Acer Ferrari 4000), using Logout->Suspend the Computer from the Gnome Panel, I get a popup telling me: 'The resume device configure in /etc/suspend.conf ('') does not exist. Cannot suspend to disk using userspace suspend.' I never touched that file (it's a fresh installation). (BTW, with Ubuntu 6.06 this machine flawlwssly susends to disk and RAM) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=212208 ------- Comment #1 from bodo.bauer@novell.com 2006-10-13 03:53 MST ------- Created an attachment (id=101406) --> (https://bugzilla.novell.com/attachment.cgi?id=101406&action=view) /var/log/suspend2disk.log -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=212208 ------- Comment #2 from bodo.bauer@novell.com 2006-10-13 03:58 MST ------- So I edited /etc/suspend.conf and specified the SWAP partition as resume device. Now the system hangs on suspend in a textmode screen. The last message I see is 'suspend: Snapshotting System' -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=212208 ------- Comment #3 from bodo.bauer@novell.com 2006-10-13 04:07 MST ------- Created an attachment (id=101407) --> (https://bugzilla.novell.com/attachment.cgi?id=101407&action=view) /var/log/suspend2disk.log with swap partition as resume device -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=212208 pavel@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |seife@novell.com AssignedTo|kernel- |pavel@novell.com |maintainers@forge.provo.nove| |ll.com | Status|NEW |ASSIGNED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=212208 ------- Comment #4 from pavel@novell.com 2006-10-13 04:46 MST ------- *** Bug 146584 has been marked as a duplicate of this bug. *** -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=212208 ------- Comment #5 from pavel@novell.com 2006-10-13 04:48 MST ------- Can you try "noapic" on command line, then suspend-to-disk? Do you use any binary modules (nvidia?)? Stefan, can you see why manual /etc/suspend.conf modification was needed? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=212208 ------- Comment #6 from bodo.bauer@novell.com 2006-10-13 05:59 MST ------- Using 'noapic'makes suspend (to disk) work. Resume however fails in dfferent stages. I tried 5 times and sometimes it was stuck when still in text mode, sometimes I got dfferent stages of broen graphical displays. I changed to RL 3 and did a powersave -U in the hope to get some useful information on the screen. What happend is that I got the screen I had before the suspend, but the system was frozen. Is there a log file I should attach? I looked in /var/log/* but didn't see anything useful. No serial console (no serial port) sorry. :( No binary drivers used. This is vanilla oS10.2a5. Fresh install. (BTW, in my tests with Ubuntu I used the binary ony ATI driver fglrx and could suspend to RAM or disk w/o problem. We must do something wrong that they got right...) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=212208 pavel@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Suspend does not work |Acer Ferrari needs noapic -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=212208 ------- Comment #7 from seife@novell.com 2006-10-13 07:34 MST ------- (In reply to comment #5)
Can you try "noapic" on command line, then suspend-to-disk? Do you use any binary modules (nvidia?)?
Stefan, can you see why manual /etc/suspend.conf modification was needed?
yes. There was a bug in powersaved which is long since fixed. Is also mentioned in "most annoying bugs" list on opensuse.org. JFYI: i am generating a suspend.conf (/var/lib/s2disk.conf) on-the-fly from the resume= parameter, the auto-calculated image-size (45% of total RAM or free swap, whatever is smaller) and append /etc/suspend.conf at the end for power-user-tweaks that he might have done. This did not work correctly in alpha5. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=212208 pavel@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Acer Ferrari needs noapic |Acer Ferrari needs noapic to suspend-to-disk -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=212208 ------- Comment #8 from seife@novell.com 2006-10-13 07:50 MST ------- (In reply to comment #6)
Using 'noapic'makes suspend (to disk) work. Resume however fails in dfferent stages. I tried 5 times and sometimes it was stuck when still in text mode, sometimes I got dfferent stages of broen graphical displays.
I changed to RL 3 and did a powersave -U in the hope to get some useful information on the screen. What happend is that I got the screen I had before the suspend, but the system was frozen.
if fglrx is installed, it is loaded even in RL3. Make sure you unload the module (or better, uninstall it) before trying. I'd still vote for some broken driver.
Is there a log file I should attach? I looked in /var/log/* but didn't see anything useful. No serial console (no serial port) sorry. :(
There should be something in /var/log/suspend2disk.log, but if you are using a journaling fs, then that might be lost after the crash.
No binary drivers used. This is vanilla oS10.2a5. Fresh install.
used or installed? :-)
(BTW, in my tests with Ubuntu I used the binary ony ATI driver fglrx and could suspend to RAM or disk w/o problem. We must do something wrong that they got right...)
They are unloading almost every module they can. This would, again, point to some broken driver. Trying it with init=/bin/bash as described in http://en.opensuse.org/ACPI_Suspend_debugging would be a good idea. If it works with "echo disk > /sys/power/state", then try it again with "s2disk" at the same place (after the swapon). s2disk uses the new userspace suspend method that is default since alpha 5. If this works, something in your setup, probably a loaded module, breaks suspend. Find out with trial-and-error which one it is :-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=212208 ------- Comment #9 from bodo.bauer@novell.com 2006-10-13 08:31 MST ------- fglrx is neither used no installed, so that's not it. I tryed init=/bin/bash and I have the exact same behaviour as reported in bug #146584.After resume, the disk seems to hang. A 'find /' locks the sytem up hard. So I guess it's not a loaded module.... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=212208 ------- Comment #10 from seife@novell.com 2006-10-13 10:23 MST ------- ok. Thanks for testing, Bodo. Pavel, i think Rafael's suspend-test patches would come in handy now and should be "mostly harmless" :-) Can we get them into the SUSE kernel? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=212208 ------- Comment #11 from pavel@novell.com 2006-10-25 01:49 MST ------- Hmm... I guess they should go to mainline, first... they are not too widespread so I do not know how useful suspend-test patches are... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=212208 ------- Comment #12 from seife@novell.com 2006-10-30 03:38 MST ------- Well, you could nudge Andrew a bit so they'll end up mainline sooner. Or put them into suse kernel first, and i will tell everyone how easy debugging is with those patches :-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=212208 pavel@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Normal |Minor ------- Comment #13 from pavel@novell.com 2006-11-08 14:54 MST ------- Okay, it seems that suspend-test patch is on its way to Linus. So suspend/resume works with noapic? Maybe we can just WONTFIX this... noapic does not sound that bad and we have worse problems elsewhere...? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=212208 ------- Comment #14 from pavel@novell.com 2006-11-10 05:01 MST ------- ..stefan, does it look like noapic has same issue on more than ferrari? Suspend works with apic on x60... I'd need to reproduce it locally to do some intelligent debugging. Is it likely to be broken at arima 64-bit prototype? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=212208 ------- Comment #15 from seife@novell.com 2006-11-10 05:51 MST ------- i have no idea. My arima is still running 10.1 or SLES10 :-( But i know for sure that i did not have many reports for machines needing noapic in the recent past, so the apic situation did improve. Didn't we even have a bugreport where noapic broke suspend? I have to search for that. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=212208 ------- Comment #16 from fseidel@novell.com 2006-11-12 10:16 MST ------- Created an attachment (id=104844) --> (https://bugzilla.novell.com/attachment.cgi?id=104844&action=view) patch for our cvs HEAD branch I also ran into the very same problem (with same machine) and saw this "fixed" in current upstream git kernel. After a long long bisect-ing of the upstream git tree i found a patch from Matthew Garret which makes this work perfectly (system doesnt freeze but suspends to disk just as expected). I adapted it to our HEAD branch (see this attachment) and it seems to work fine on my Acer Ferrari 4000. A testbuild for x86_64 is currently under /mounts/work/built/mbuild/neutrino-fseidel-1/x86_64/ Pavel, what do you think of this? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=212208 fseidel@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |trenn@novell.com, ak@novell.com ------- Comment #17 from fseidel@novell.com 2006-11-13 09:10 MST ------- Thomas, Andi, do you have any comments on this? Could we perhaps still include this patch for 10.2? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=212208 ------- Comment #18 from ak@novell.com 2006-11-13 09:13 MST ------- Patch is fine -- i put it into mainline for .19. No problem from my side with including it for 10.2 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=212208 ------- Comment #19 from trenn@novell.com 2006-11-13 09:24 MST ------- Frank, thanks a lot for finding that one! Damn, I saw it, thought it could fix the ferrari suspend, but never tried and forgot again... I am going to commit this to 10.2 and SP1 now. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=212208 trenn@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bodo.bauer@novell.com Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #20 from trenn@novell.com 2006-11-13 09:36 MST ------- Patch went into SP1 and 10.2 without any changes... again, thanks! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com