[Bug 589294] New: suspend / hibernate doesn't work
http://bugzilla.novell.com/show_bug.cgi?id=589294 http://bugzilla.novell.com/show_bug.cgi?id=589294#c0 Summary: suspend / hibernate doesn't work Classification: openSUSE Product: openSUSE 11.3 Version: Milestone 3 Platform: i386 OS/Version: Linux Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: s.assmann@gmx.de QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.0) Gecko/20100115 SUSE/3.6.0-1.8 Firefox/3.6 Neither suspend or hibernate works on my system, using the KDE sleep and hibernate buttons (worked with 11.2). Screen goes blank but nothing else happens. When the mouse is moved the screensaver asks for the unlock password. /var/log/pm-powersave.log /usr/lib/pm-utils/power.d/iwl-pm false: success. /usr/lib/pm-utils/power.d/sata-pm false: success. /usr/lib/pm-utils/power.d/sched-powersave false: **sched policy powersave OFF success. /usr/lib/pm-utils/power.d/sound-pm false: **set power mode for sound driver to 0 seconds success. /usr/lib/pm-utils/power.d/wol false: success. No additional messages in /var/log/messages lspci -nn 00:00.0 Host bridge [0600]: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller [8086:2590] (rev 03) 00:01.0 PCI bridge [0604]: Intel Corporation Mobile 915GM/PM Express PCI Express Root Port [8086:2591] (rev 03) 00:1c.0 PCI bridge [0604]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 [8086:2660] (rev 03) 00:1d.0 USB Controller [0c03]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 [8086:2658] (rev 03) 00:1d.1 USB Controller [0c03]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 [8086:2659] (rev 03) 00:1d.2 USB Controller [0c03]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 [8086:265a] (rev 03) 00:1d.3 USB Controller [0c03]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 [8086:265b] (rev 03) 00:1d.7 USB Controller [0c03]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller [8086:265c] (rev 03) 00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev d3) 00:1e.2 Multimedia audio controller [0401]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller [8086:266e] (rev 03) 00:1e.3 Modem [0703]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Modem Controller [8086:266d] (rev 03) 00:1f.0 ISA bridge [0601]: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge [8086:2641] (rev 03) 00:1f.1 IDE interface [0101]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller [8086:266f] (rev 03) 00:1f.3 SMBus [0c05]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller [8086:266a] (rev 03) 01:00.0 VGA compatible controller [0300]: ATI Technologies Inc M26 [Radeon Mobility X700] [1002:5652] 03:05.0 Ethernet controller [0200]: Broadcom Corporation NetXtreme BCM5788 Gigabit Ethernet [14e4:169c] (rev 03) 03:07.0 Network controller [0280]: Intel Corporation PRO/Wireless 2200BG [Calexico2] Network Connection [8086:4220] (rev 05) 03:09.0 CardBus bridge [0607]: Ricoh Co Ltd RL5c476 II [1180:0476] (rev b3) 03:09.1 FireWire (IEEE 1394) [0c00]: Ricoh Co Ltd R5C552 IEEE 1394 Controller [1180:0552] (rev 08) 03:09.2 SD Host controller [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter [1180:0822] (rev 17) 03:09.3 System peripheral [0880]: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter [1180:0592] (rev 08) Reproducible: Always Steps to Reproduce: 1. suspend / hibernate 2. 3. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=589294
http://bugzilla.novell.com/show_bug.cgi?id=589294#c
yang xiaoyu
http://bugzilla.novell.com/show_bug.cgi?id=589294
http://bugzilla.novell.com/show_bug.cgi?id=589294#c1
Holger Macht
http://bugzilla.novell.com/show_bug.cgi?id=589294
http://bugzilla.novell.com/show_bug.cgi?id=589294#c2
Stefan Assmann
http://bugzilla.novell.com/show_bug.cgi?id=589294
http://bugzilla.novell.com/show_bug.cgi?id=589294#c3
Holger Macht
http://bugzilla.novell.com/show_bug.cgi?id=589294
http://bugzilla.novell.com/show_bug.cgi?id=589294#c4
Stefan Assmann
http://bugzilla.novell.com/show_bug.cgi?id=589294
http://bugzilla.novell.com/show_bug.cgi?id=589294#c5
Holger Macht
Well I don't see any power devil lurking around, but I didn't use the buttons
With powerdevil I mean the battery plasma applet/icon in your system tray.
on my laptop to suspend. Instead I tried the sleep/hibernate buttons inside the KDE start menu. As a DAU I expect these to be configured appropriately out of the box :)
Sure ;-)
Coming back to your question: sassmann@linux-xvs9:~> powersave -u If 'powersave' is not a typo you can use command-not-found to lookup the package that contains it, like this: cnf powersave sassmann@linux-xvs9:~> cnf powersave powersave: command not found
SNAFU ;-)
Ok, it got removed from Factory without my knowledge. There's no proper command line tool but only a lengthy d-bus call to get the same functionality: For suspend to ram: $ dbus-send --system --print-reply --dest=org.freedesktop.Hal \ /org/freedesktop/Hal/devices/computer \ org.freedesktop.Hal.Device.SystemPowerManagement.Suspend int32:0 For suspend to disk: $ dbus-send --system --print-reply --dest=org.freedesktop.Hal \ /org/freedesktop/Hal/devices/computer \ org.freedesktop.Hal.Device.SystemPowerManagement.Hibernate If that still fails, try pm-suspend/pm-hibernate as root. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=589294
http://bugzilla.novell.com/show_bug.cgi?id=589294#c6
--- Comment #6 from Stefan Assmann
line tool but only a lengthy d-bus call to get the same functionality:
For suspend to ram:
$ dbus-send --system --print-reply --dest=org.freedesktop.Hal \ /org/freedesktop/Hal/devices/computer \ org.freedesktop.Hal.Device.SystemPowerManagement.Suspend int32:0
This worked but only with sudo! Otherwise I get sassmann@linux-xvs9:~> dbus-send --system --print-reply --dest=org.freedesktop.Hal \
/org/freedesktop/Hal/devices/computer \ org.freedesktop.Hal.Device.SystemPowerManagement.Suspend int32:0
Error org.freedesktop.Hal.Device.UnknownError: error: org.freedesktop.Hal.Error: Could not determine whether caller is privileged org.freedesktop.Hal.Device.Error S2RAM works!
For suspend to disk:
$ dbus-send --system --print-reply --dest=org.freedesktop.Hal \ /org/freedesktop/Hal/devices/computer \ org.freedesktop.Hal.Device.SystemPowerManagement.Hibernate
same here, the command only executes as root! However I get the funky new sleeping penguin splashscreen and the progress bar goes up to 3/4 and then the system freezes. :( After rebooting I couldn't get my network to run anymore with networkmanger. The applet only show "Network not managed" or something like that and no more networking options are available. I needed to switch to ifup-method to gain network again :-/
If that still fails, try pm-suspend/pm-hibernate as root.
-- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=589294
http://bugzilla.novell.com/show_bug.cgi?id=589294#c7
--- Comment #7 from Stefan Assmann
http://bugzilla.novell.com/show_bug.cgi?id=589294
http://bugzilla.novell.com/show_bug.cgi?id=589294#c8
Stefan Assmann
http://bugzilla.novell.com/show_bug.cgi?id=589294
http://bugzilla.novell.com/show_bug.cgi?id=589294#c9
Holger Macht
sassmann@linux-xvs9:~> dbus-send --system --print-reply --dest=org.freedesktop.Hal \
/org/freedesktop/Hal/devices/computer \ org.freedesktop.Hal.Device.SystemPowerManagement.Suspend int32:0
Error org.freedesktop.Hal.Device.UnknownError: error: org.freedesktop.Hal.Error: Could not determine whether caller is privileged org.freedesktop.Hal.Device.Error
This seems to be a general permission problem (same for suspend to disk, shouldn't matter). You can create a new bug for this including your ck-list-sessions output. Also a separate one for the not working menu entries, in case you're using KDE4, what I hope ;-)
S2RAM works!
Good.
For suspend to disk: same here, the command only executes as root! However I get the funky new sleeping penguin splashscreen and the progress bar goes up to 3/4 and then the system freezes. :(
Please set "splash = n" in /etc/suspend.conf and try again. Anything useful on the screen when it freezes? Also your dmesg could unveil some error...
After rebooting I couldn't get my network to run anymore with networkmanger. The applet only show "Network not managed" or something like that and no more networking options are available. I needed to switch to ifup-method to gain network again :-/
Hm, that's very strange. Is this reproducible? BTW. What system is this? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=589294
http://bugzilla.novell.com/show_bug.cgi?id=589294#c10
--- Comment #10 from Stefan Assmann
(In reply to comment #6)
sassmann@linux-xvs9:~> dbus-send --system --print-reply --dest=org.freedesktop.Hal \
/org/freedesktop/Hal/devices/computer \ org.freedesktop.Hal.Device.SystemPowerManagement.Suspend int32:0
Error org.freedesktop.Hal.Device.UnknownError: error: org.freedesktop.Hal.Error: Could not determine whether caller is privileged org.freedesktop.Hal.Device.Error
This seems to be a general permission problem (same for suspend to disk, shouldn't matter). You can create a new bug for this including your ck-list-sessions output. Also a separate one for the not working menu entries, in case you're using KDE4, what I hope ;-)
S2RAM works!
Good.
For suspend to disk: same here, the command only executes as root! However I get the funky new sleeping penguin splashscreen and the progress bar goes up to 3/4 and then the system freezes. :(
Please set "splash = n" in /etc/suspend.conf and try again. Anything useful on the screen when it freezes? Also your dmesg could unveil some error...
S2Disk works now, regardless of splash = y/n. Maybe it's some interaction problem with NetworkManager, but that is busted on my Snap3 now. I'll re-test with Milestone 4.
After rebooting I couldn't get my network to run anymore with networkmanger. The applet only show "Network not managed" or something like that and no more networking options are available. I needed to switch to ifup-method to gain network again :-/
Hm, that's very strange. Is this reproducible?
We'll see with Snap4 ;-)
BTW. What system is this?
It's an old Samsung X20 notebook. Let's leave this bug open until Milestone 4 and keep the needinfo on me so I won't forget. Thanks Holger :) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=589294
http://bugzilla.novell.com/show_bug.cgi?id=589294#c11
--- Comment #11 from Stefan Assmann
http://bugzilla.novell.com/show_bug.cgi?id=589294
http://bugzilla.novell.com/show_bug.cgi?id=589294#c12
--- Comment #12 from Stefan Assmann
http://bugzilla.novell.com/show_bug.cgi?id=589294
http://bugzilla.novell.com/show_bug.cgi?id=589294#c13
Stefan Behlert
http://bugzilla.novell.com/show_bug.cgi?id=589294
http://bugzilla.novell.com/show_bug.cgi?id=589294#c14
Holger Macht
https://bugzilla.novell.com/show_bug.cgi?id=589294
https://bugzilla.novell.com/show_bug.cgi?id=589294#c15
Holger Macht
https://bugzilla.novell.com/show_bug.cgi?id=589294
https://bugzilla.novell.com/show_bug.cgi?id=589294#c16
--- Comment #16 from Stefan Assmann
https://bugzilla.novell.com/show_bug.cgi?id=589294
https://bugzilla.novell.com/show_bug.cgi?id=589294#c17
Hendrik Maryns
/org/freedesktop/Hal/devices/computer \ org.freedesktop.Hal.Device.SystemPowerManagement.Hibernate
method return sender=:1.0 -> dest=:1.145 reply_serial=2 int32 1 Does nothing (as root). I have network problems after suspend also, but they are also after a reboot the same day, so I rather assume something’s wrong with my router. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=589294
https://bugzilla.novell.com/show_bug.cgi?id=589294#c18
--- Comment #18 from Hendrik Maryns
https://bugzilla.novell.com/show_bug.cgi?id=589294
https://bugzilla.novell.com/show_bug.cgi?id=589294#c19
Holger Macht
participants (1)
-
bugzilla_noreply@novell.com