[Bug 230668] New: Suspend to disk only work once
https://bugzilla.novell.com/show_bug.cgi?id=230668 Summary: Suspend to disk only work once Product: openSUSE 10.2 Version: RC 5 Platform: i686 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: michael.eschweiler@t-online.de QAContact: qa@suse.de I installed openSUSE 10.2 on an Acer Travelmate 10.2. After a standard installation I tried to use the suspend features but until now without luck (see bug no. 230123 for suspend to ram). Suspend to disk I only can use one time after booting: I choose suspend to disk and the laptop goes down. After pushing the power button the machine comes up again (about 90 sec.) and I can continue where I had been before. When I try to send the laptop to sleep once more from the x-server (kde) it changes to a terminal (as the first time) but then it freezes, the last message is Hibernation preparing suspend and that's all. The only thing I can do is to shut down the laptop pushing the power button. After this I edited /etc/pm/config setting HIBERNATE_METHOD="userspace" (as s2disk is installed) but there was no difference. At the second suspend to disk the system crashes... -- 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=230668 ------- Comment #1 from michael.eschweiler@t-online.de 2006-12-22 16:33 MST ------- Created an attachment (id=110986) --> (https://bugzilla.novell.com/attachment.cgi?id=110986&action=view) pm-suspend.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=230668 ------- Comment #2 from michael.eschweiler@t-online.de 2006-12-22 16:33 MST ------- Created an attachment (id=110987) --> (https://bugzilla.novell.com/attachment.cgi?id=110987&action=view) hwinfo of the laptop -- 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=230668 chrubis@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |kernel-maintainers@forge.provo.novell.com |screening@forge.provo.novell| |.com | -- 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=230668 ------- Comment #3 from michael.eschweiler@t-online.de 2007-01-06 03:12 MST ------- Sorry, the laptop is an Acer Travelmate 661. -- 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=230668 gregkh@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|kernel- |pavel@novell.com |maintainers@forge.provo.nove| |ll.com | -- 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=230668 pavel@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |seife@novell.com Status|NEW |ASSIGNED ------- Comment #4 from pavel@novell.com 2007-01-12 16:17 MST ------- Try suspending from single user mode (or init=/bin/bash). -- 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=230668 ------- Comment #5 from michael.eschweiler@t-online.de 2007-01-13 10:37 MST ------- With init=/bin/bash it works, the laptop resumes correctly the third and forth time, but at runlevel 3 it doesn't: After the first s2disk the laptop awakes but at the second try to do s2disk the laptop hangs up at: suspend: Snapshotting system suspend: Snapshotting systen _ -- 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=230668 ------- Comment #6 from pavel@novell.com 2007-01-15 14:21 MST ------- Try loading all the modules you use in full multiuser to init=/bin/bash... I expect it to break. Then you can binary-search for module that breaks it. -- 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=230668 ------- Comment #7 from michael.eschweiler@t-online.de 2007-01-15 15:02 MST ------- Sorry, but I don't know how to 'binary-search'. Could you please explain me how to do 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=230668 pavel@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |michael.eschweiler@t-online.de ------- Comment #8 from pavel@novell.com 2007-01-16 05:20 MST ------- http://en.wikipedia.org/wiki/Binary_search ..just experiment with modules, to see which one breaks it. binary search is one possible way of doing that, or you can just load module, suspend twice, load another module, suspend twice, ... until you find the one breaking it. -- 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=230668 ------- Comment #9 from michael.eschweiler@t-online.de 2007-01-21 04:10 MST ------- Sorry for the delay. Well, I tried loading the modules one by one at init=/bin/bash but I couldn't find any problem. The system suspended correctly even after having loaded all the modules used at runlevel 3. I tried the whole procedure two times controlling if every module was loaded with lsmod but they were all loaded and it worked always. The only thing what I observed was that the wlan wasn't initialized correctly (the led continued dark). So as a last test at runlevel 3 I deleted the corresponding module (rmmod ipw2100) but without luck: At the second s2disk the system freezes. What else can I do? -- 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=230668 seife@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|michael.eschweiler@t- | |online.de | ------- Comment #10 from seife@novell.com 2007-01-21 09:55 MST ------- To be honest: i have no real clue :-). You could try if the kernel method works better (/etc/pm/config:HIBERNATE_METHOD), but this would probably still be more of a coincidence... Note that you need the pm-utils online update for HIBERNATE_METHOD=kernel to work. -- 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=230668 ------- Comment #11 from pavel@novell.com 2007-01-25 05:23 MST ------- #9: That's very strange. It is possible, that normal service (not kernel module) causes problem. Perhaps it is possible to start only some services, manually, to see what the difference is? Or perhaps X windows make the difference? -- 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=230668 ------- Comment #12 from michael.eschweiler@t-online.de 2007-01-25 06:10 MST ------- #10: Note that you need the pm-utils online update for HIBERNATE_METHOD=kernel to work. I did all the available updates, which should be the 'lowest' version to work? #11: I thought of the processes, too. I stopped some few but I hadn't time enough for more. On the other side every trial in vane causes a crash and despite using a journaling file system I am a little bit afraid of ending up with an unuseable system. I tried s2disk in runlevel 3 (no x-windows) and in runlevel 5 (with x-windows) and there is no difference. -- 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=230668 ------- Comment #13 from pavel@novell.com 2007-01-27 04:05 MST ------- suspend is careful to do sync; so your data should be safe. -- 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=230668 ------- Comment #14 from michael.eschweiler@t-online.de 2007-01-29 16:39 MST ------- Yes, but not when suspend crashes. When the second trial of s2disk crashed at the next boot I always get the message that my file-system isn't clean and the journals are replayed. Nevertheless I tried s2disk in runlevel 3 after having killed some processes but I still didn't find the right one... -- 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=230668 pavel@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Suspend to disk only work |Suspend to disk only work once (from multiuser |once |mode, works ok in init=/bin/bash) ------- Comment #15 from pavel@novell.com 2007-01-31 06:26 MST ------- Can you rmmod everything in runlevel 3, and see what happens? -- 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=230668 pavel@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |michael.eschweiler@t-online.de -- 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=230668 ------- Comment #16 from michael.eschweiler@t-online.de 2007-02-06 00:36 MST ------- I tried it several times: First I stopped the daemons (etc/init.d/daemonname stop) and tried to stop processes (via kill -9 ...), but many processes (e.g. ipw2100/0) remained active. Nevertheless, then I tried to remove modules but after removing the first or second the machine crashes. The first time I began with ipv6 and the machine crashed imediately. Even after removing acerhk, a module which IMHO is only needed with the x-server (for special keys) the laptop stopped unexpectedly. -- 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=230668 ------- Comment #17 from seife@novell.com 2007-02-06 05:44 MST ------- (In reply to comment #16)
after removing the first or second the machine crashes. The first time I began with ipv6 and the machine crashed imediately. Even after removing acerhk, a
ipv6 cannot be unloaded, but it is almost surely not the reason for this failure.
module which IMHO is only needed with the x-server (for special keys) the laptop stopped unexpectedly.
Acerhk is a module that we do not ship IIRC. I'd suggest you reproduce this bug without acerhk being loaded, it could very well be a bug in acerhk (usually there is a reason why these modules are not in the mainline 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=230668 ------- Comment #18 from michael.eschweiler@t-online.de 2007-02-06 05:59 MST -------
ipv6 cannot be unloaded, but it is almost surely not the reason for this failure. Ok, I'll try others (as I'm not a professional, it's not so easy to know which modules are appropriate for rmmod). Acerhk is a module that we do not ship IIRC. I'd suggest you reproduce this bug without acerhk being loaded, it could very well be a bug in acerhk (usually there is a reason why these modules are not in the mainline kernel ;-). Ok, but 1. I only recently installed acerhk, that means that most experience with s2disk (and s2ram) I made without the acerhk-module. 2. On init=/bin/bash I loaded acerhk too and this didn't influence in the correct suspend and resume. Nevertheless I'll give some more tries without acerhk.
-- 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=230668 ------- Comment #19 from michael.eschweiler@t-online.de 2007-02-18 13:33 MST ------- Finally I found it: It's the module ehci_hcd. After removing it suspend to disk works as it should (as often as I tried even with runlevel 5). Eventually I loaded this module after the first s2disk with the consequence that I could keep on suspending several times without problems. When removed the module and installed it directly (before the first s2disk), the suspend to disk stopped at the second try (same as without removing the module at all). (All this I tried with and without acerhk and it always worked in the same way.) Trying around I found another curious side-effect (at init=/bin/bash and runlevel 3 - I still didn't try it in runlevel 5): After s2disk the reboot doesn't work any more: The system shuts down but there is no 'soft'-power off power on in order reboot. The system simply stops and doesn't power off the laptop. - But I suppose that this shouldn't be treated here ... -- 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=230668 pavel@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|pavel@novell.com |gregkh@novell.com Status|NEEDINFO |NEW Info Provider|michael.eschweiler@t- | |online.de | Summary|Suspend to disk only work |Suspend to disk only work once if ehci_hcd is |once (from multiuser mode, |loaded |works ok in init=/bin/bash) | ------- Comment #20 from pavel@novell.com 2007-02-19 04:01 MST ------- That reboot problem should go in as separate bugzilla entry... but it is likely to be nasty one to debug. (You could try reproducing it with latest mainline and asking intel acpi people...) Greg, I'm afraid this one is for you... I know very little about ehci. -- 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=230668 gregkh@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |michael.eschweiler@t-online.de ------- Comment #21 from gregkh@novell.com 2007-05-21 10:44 MST ------- Michael, does the latest 10.3 alpha kernel releases solve this suspend issue for you? -- 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=230668 ------- Comment #22 from michael.eschweiler@t-online.de 2007-05-31 15:16 MST ------- Sorry for the delay - I had to travel to Venezuela (for work) and only returned yesterday. I'll try the 10.3 alpha kernel as soon as possible but before trying it I have a question: My laptop has a broken DSDT which I fixed and integrated in the initrd (see bug 232403). I suppose I have to do the same with the OSS 10.3 (integrating the fixed DSDT in the initrd)or am I wrong? -- 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=230668#c23
--- Comment #23 from Michael Eschweiler
https://bugzilla.novell.com/show_bug.cgi?id=230668
Stefan Seyfried
https://bugzilla.novell.com/show_bug.cgi?id=230668#c24
Greg Kroah-Hartman
participants (1)
-
bugzilla_noreply@novell.com