Bug 472589 - pm-hibernate does nothing if serial console is enabled
Summary: pm-hibernate does nothing if serial console is enabled
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: dbus
Version: 5.2
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Matthias Clasen
QA Contact: desktop-bugs@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-11-21 21:10 UTC by Orion Poplawski
Modified: 2014-06-25 20:48 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-25 20:48:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
strace of dbus-daemon while pm-hibernate is run (43.36 KB, text/plain)
2008-12-19 20:54 UTC, Orion Poplawski
no flags Details
pm-suspend.log (51.06 KB, text/plain)
2009-01-22 05:52 UTC, Ben Gamari
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.