[Bug 257356] New: s2ram double suspend on Thinkpad z61p
https://bugzilla.novell.com/show_bug.cgi?id=257356 Summary: s2ram double suspend on Thinkpad z61p Product: openSUSE 10.2 Version: Final Platform: x86 OS/Version: SuSE Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: atuel@us.ibm.com QAContact: qa@suse.de On a thinkpad z61p a s2ram via the hot key Fn+F4 often causes a "double suspend". Issuing the s2ram command line works fine as far as a single suspsend/resume. The first suspsend often works as it should, but subsequent suspends without a reboot in between will suspsend correctly, then resume, but then immediately trigger a second suspend. It will then resume correctly from the second suspend. To debug, I hacked up the PM scripts a bit so that the /var/log/pm-suspend.log is appended to on every suspend rater than deleted and started a new each time. Then by adding debug statements to the /etc/pm/functions scripts, I was able to ascertain that the /etc/pm/functions function pm_main was being called twice. I added echo statements to the begining of pm_main right after the exec call that redirects to the log file to state when suspend began. I also added statemtns before every major step and one at the very end before the exit to indicate completley done. In the log, I see two sequential calls to pm_main. I'm not sure whats calling pm_main, so I couldnt debug further. For now, I've hacked it such that it will only allow 1 suspend per minute, but this is hardly ideal. Here are the levels (latest from suse updates): powersave-0.15.11-0.2 pm-utils-0.20.0.20061114-5.2 suspend-0.50-6 dbus-1-1.0.0-7 hal-0.5.8_git20061106-31.1 kernel: 2.6.18.8-0.1-default s2ram -n : Machine is unknown. This machine can be identified by: sys_vendor = "LENOVO" sys_product = "9453CQU" sys_version = "ThinkPad Z61p" bios_version = "7FET91WW (2.09 )" The -f (force) parameter was added to the s2ram options in order for it to suspend even though the system is not on the white list from being so new. -- 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=257356 mhorvath@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |atuel@us.ibm.com ------- Comment #1 from mhorvath@novell.com 2007-03-29 08:31 MST ------- Please attach output of 'lshal -m' while pressing the Fn+F4 and if it's possible also immediately before the second suspend, please attach also output of 'lspci -vvn'. What version of acpid do you have? -- 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=257356 atuel@us.ibm.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|atuel@us.ibm.com | ------- Comment #2 from atuel@us.ibm.com 2007-03-30 10:06 MST ------- Running acpid-1.0.4-53 - latest that seems available throught the update streams. To get the lspci at the times you wanted I integrated it into my /etc/pm/functions along with the changes I made so the log is appended to on each suspend rather than creating an entirely new file. I will attach that file in just a second here, so please note that this log contains both suspends back to back with the lspci output at the top of each suspend. The one you asked for is in the middle of the file at the top of the second suspend. Here is the lshal -m output from the Fn+F4 through the second resume: platform_i8042_i8042_Kbd_Port_logicaldev_input condition ButtonPressed = wake-up acpi_SLPB condition ButtonPressed = sleep acpi_BAT0 property battery.voltage.current = 12440 (0x3098) usb_device_483_2016_noserial_if0 removed usb_device_483_2016_noserial_usbraw removed usb_device_483_2016_noserial removed usb_device_483_2016_noserial added usb_device_483_2016_noserial_if0 added usb_device_483_2016_noserial_usbraw added computer_logicaldev_input condition ButtonPressed = brightness-down usb_device_483_2016_noserial_usbraw removed usb_device_483_2016_noserial_if0 removed usb_device_483_2016_noserial removed usb_device_483_2016_noserial added usb_device_483_2016_noserial_if0 added usb_device_483_2016_noserial_usbraw added computer_logicaldev_input condition ButtonPressed = brightness-up -- 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=257356 ------- Comment #3 from atuel@us.ibm.com 2007-03-30 10:09 MST ------- Created an attachment (id=127891) --> (https://bugzilla.novell.com/attachment.cgi?id=127891&action=view) pm-suspsend log with append each suspend and lscpi pm-suspend.log from edits scripts to append rather than replace on each suspend and lspci at the top of each suspend. -- 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=257356 mhorvath@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |atuel@us.ibm.com ------- Comment #4 from mhorvath@novell.com 2007-04-02 07:49 MST ------- Thank you. From the logs is not clear what is causing the second suspend. Therefore, could you please attach /var/log/pm-suspend.log, /var/run/pm-suspend and try to suspend to disk "by hand" by executing 'powersave -U'? -- 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=257356 ------- Comment #5 from atuel@us.ibm.com 2007-04-02 09:26 MST ------- Created an attachment (id=128249) --> (https://bugzilla.novell.com/attachment.cgi?id=128249&action=view) pm-suspend.log via powersave -u -- 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=257356 ------- Comment #6 from atuel@us.ibm.com 2007-04-02 09:27 MST ------- Created an attachment (id=128252) --> (https://bugzilla.novell.com/attachment.cgi?id=128252&action=view) pm-suspend run with powersave -u -- 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=257356 atuel@us.ibm.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|atuel@us.ibm.com | ------- Comment #7 from atuel@us.ibm.com 2007-04-02 09:33 MST ------- Executing powersave -u (i assumed you meant little u - suspend to ram rather than big U) actually doesnt see the issue. It correctly suspended and resumed only once. Anyway, I have attached the log files requested. Note the pm-suspend.log file still contained the aforementioned hacks to the scripts to append and do lspci. -- 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=257356 ------- Comment #8 from mboman@novell.com 2007-04-02 16:03 MST ------- Even though this is on 10.2, could this be a duplicate of Bug#259666? -- 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=257356 ------- Comment #9 from atuel@us.ibm.com 2007-04-02 19:38 MST ------- It looks like the problem is more pervasive than just my z61p. I just powered up my T60 which hasnt been on since early January and it didnt show the double suspend issue. I then ran the updater on the T60 to pull down all the latest updates and it now suffers the same double suspend issue. I'm guessing the problem is in one of the recent updates (last month or two) that caused this and that update is likely in the 10.3 development stream. Sounds like Bug#259666 is a duplicate. -- 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=257356 mboman@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE ------- Comment #10 from mboman@novell.com 2007-04-03 01:18 MST ------- *** This bug has been marked as a duplicate of bug 259666 *** -- 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