Bug 476501 - RHEL 5.2 can not resume by wol (wake on lan) after hibernating
Summary: RHEL 5.2 can not resume by wol (wake on lan) after hibernating
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kernel
Version: 5.2
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Lenny Szubowicz
QA Contact: Red Hat Kernel QE team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-12-15 09:57 UTC by Lin Avator
Modified: 2013-08-15 12:43 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-08-15 12:43:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Lin Avator 2008-12-15 09:57:53 UTC
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-05 02:32:59 UTC
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 2.6.27.9 and it can resume by wol (wake on lan) after hibernating.

Comment 2 Matthew Garrett 2009-02-17 00:34:48 UTC
What hardware is this? What are the contents of the /sys/power/disk file?

Comment 3 Orion Poplawski 2009-02-18 21:45:11 UTC
I'm seeing the same this with a Tyan S2882 system as well.

[root@apollo ~]# cat /sys/power/disk
shutdown
[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 22:07:39 UTC
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 22:44:45 UTC
[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 20:47:27 UTC
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 21:49:51 UTC
On S2882 system with e100, I enabled everything in /proc/acpi/wakeup to no effect.

Comment 8 Orion Poplawski 2009-09-02 17:12:43 UTC
Any ideas?

Comment 11 Orion Poplawski 2011-06-22 21:34:53 UTC
This appears to be working again for me with EL6.

Comment 12 Lenny Szubowicz 2013-08-15 12:43:17 UTC
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.

                                   -Lenny.


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