Bug 472589

Summary: pm-hibernate does nothing if serial console is enabled
Product: Red Hat Enterprise Linux 5 Reporter: Orion Poplawski <orion>
Component: dbusAssignee: Matthias Clasen <mclasen>
Status: CLOSED WONTFIX QA Contact: desktop-bugs <desktop-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.2CC: bgamari, orion, ovasik, pknirsch, richard, tpelka
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-25 20:48:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
strace of dbus-daemon while pm-hibernate is run
none
pm-suspend.log none

Description Orion Poplawski 2008-11-21 21:10:41 UTC
Description of problem:

Configured serial console by putting "console=ttyS0,115200" into the boot line.  pm-hibernate then runs through hibernate and thaw hooks without attempting to hibernate.  It appears that:

                remove_suspend_lock 200
                dbus-send --system --print-reply \
                    --dest=org.freedesktop.Hal \
                    --type=method_call \
                    /org/freedesktop/Hal/devices/computer \
                    org.freedesktop.Hal.Device.SystemPowerManagement.Hibernate

does not work.  No idea why.

Version-Release number of selected component (if applicable):
pm-utils-0.99.3-6.el5.19

How reproducible:
everytime

Comment 1 Phil Knirsch 2008-12-19 15:28:45 UTC
Is dbus running properly on the system?

Comment 2 Orion Poplawski 2008-12-19 20:53:26 UTC
# ps -fe | grep dbus
dbus      2132     1  0 Dec18 ?        00:00:00 dbus-daemon --system

If I run the dbus-send command by hand in my ssh session, it goes into hibernate.

Is this an authorization issue?  dbus need to be running on the console, but it isn't with the serial console enabled?

Comment 3 Orion Poplawski 2008-12-19 20:54:25 UTC
Created attachment 327496 [details]
strace of dbus-daemon while pm-hibernate is run

Comment 4 Ben Gamari 2009-01-13 15:40:53 UTC
(In reply to comment #0)
> Configured serial console by putting "console=ttyS0,115200" into the boot line.
>  pm-hibernate then runs through hibernate and thaw hooks without attempting to
> hibernate. 

Does this also happen with pm-suspend in your case?

Comment 5 Orion Poplawski 2009-01-13 17:08:40 UTC
# pm-suspend
Error: kernel cannot suspend to ram.

Comment 6 Ben Gamari 2009-01-22 05:52:54 UTC
Created attachment 329693 [details]
pm-suspend.log

It turns out running PM_DEBUG=true pm-suspend provides an interesting log file. I'm a little dead at the moment but I'll try taking a closer look at it tomorrow.

Comment 8 RHEL Program Management 2014-03-07 13:33:10 UTC
This bug/component is not included in scope for RHEL-5.11.0 which is the last RHEL5 minor release. This Bugzilla will soon be CLOSED as WONTFIX (at the end of RHEL5.11 development phase (Apr 22, 2014)). Please contact your account manager or support representative in case you need to escalate this bug.

Comment 9 Orion Poplawski 2014-03-07 14:58:17 UTC
I'm no longer using EL5

Comment 10 Ondrej Vasik 2014-06-25 20:48:03 UTC
Thanks for reply, closing WONTFIX for RHEL 5.