Bug 476501 - RHEL 5.2 can not resume by wol (wake on lan) after hibernating
RHEL 5.2 can not resume by wol (wake on lan) after hibernating
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kernel (Show other bugs)
x86_64 Linux
low Severity medium
: rc
: ---
Assigned To: Lenny Szubowicz
Red Hat Kernel QE team
Depends On:
  Show dependency treegraph
Reported: 2008-12-15 04:57 EST by Lin Avator
Modified: 2013-08-15 08:43 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-08-15 08:43:17 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Lin Avator 2008-12-15 04:57:53 EST
Description of problem:

  We have a system installed with RHEL 5.2 . If it is hibernated (enter S4 state), it can not be resumed by WOL (wake on lan). We also note the LED on NIC is off after hibernating. However, if we install Win2003 on the same system, it can well resume by WOL after hibernating.

Steps to Reproduce:
1. hibernate the system with RHEL 5.2
2. send WOL magic packet from control platform
Actual results:
  The system can not be waked up. The control platform can not send WOL magic packets to the system in interest.

Expected results:

  The system should be resumed to wake up.
Comment 1 Lin Avator 2009-02-04 21:32:59 EST
Although Bug #477186 (https://bugzilla.redhat.com/show_bug.cgi?id=477186) may be a possible duplicate of this issue, we tried with Linux kernel and it can resume by wol (wake on lan) after hibernating.
Comment 2 Matthew Garrett 2009-02-16 19:34:48 EST
What hardware is this? What are the contents of the /sys/power/disk file?
Comment 3 Orion Poplawski 2009-02-18 16:45:11 EST
I'm seeing the same this with a Tyan S2882 system as well.

[root@apollo ~]# cat /sys/power/disk
[root@apollo ~]# cat /sys/power/state
standby disk

Seems to be a lot of wake on lan / hibernate issues with the linux kernel lately.  Posted an upstream report in Bug 477186.  Not sure how much of this is hitting the RHEL kernel.

Also seeing with tg3 driver.
Comment 4 Matthew Garrett 2009-02-18 17:07:39 EST
Can you test after doing

echo -n platform >/sys/power/disk

and see if that affects the behaviour? This triggers shutdown via the ACPI S4 method rather than performing a full system shutdown. It's also worth testing /proc/acpi/wakeup - the wakeup state of the device there can be toggled by echoing the ACPI device name (the four character identifier) into the file.
Comment 5 Orion Poplawski 2009-02-18 17:44:45 EST
[root@apapane ~]# echo -n platform > /sys/power/disk
-bash: echo: write error: Invalid argument

On my tg3 (tyan S2881) system I can set platform, but it doesn't help.
Comment 6 Orion Poplawski 2009-04-21 16:47:27 EDT
Have another tg3 system (HP DL145 G3) that wont wake from lan from either shutdown or hibernate.  It will wake up if I pull the power cord and plug it back in.  With 2.6.18-128.1.6.el5 (EL 5.3).
Comment 7 Orion Poplawski 2009-06-01 17:49:51 EDT
On S2882 system with e100, I enabled everything in /proc/acpi/wakeup to no effect.
Comment 8 Orion Poplawski 2009-09-02 13:12:43 EDT
Any ideas?
Comment 11 Orion Poplawski 2011-06-22 17:34:53 EDT
This appears to be working again for me with EL6.
Comment 12 Lenny Szubowicz 2013-08-15 08:43:17 EDT
Given how long this problem has gone unresolved, it's relatively low severity, and the lifecycle stage that RHEL 5 is currently in, the problem reported will not be fixed in RHEL 5.


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