Fedora Linux Support Community & Resources Center
  #1  
Old 5th January 2012, 03:53 AM
carlmuck Offline
Registered User
 
Join Date: Jan 2012
Location: baltimore, md
Posts: 5
linuxfirefox
F16 Wake on lan not working

I'm beating my head against a small rack of computers that need to be started remotely (won't have front panel access generally) so WOL is the obvious solution. Originally the whole rack was set to be RHEL 6 (really should just have used Centos) but the workstations needed more current stuff, so Fedora was the right choice for them, servers are still RH. When all were RHEL 6.2 the entire rack could boot using WOL.

After loading F16 on the workstations they booted using WOL just fine (the first time...) but now WOL only works on them from a "suspended" state. Fully shutdown they don't respond.

The systems are Dell Precsions with Broadcom 10G ethernet cards (tg3). The driver is the same (3.119) between RH and F16 (3.1 kernel) so seems that its in the surrounding code. Problem

When up, ethtool reports Wake On Lan = g, as expected, so everything looks good. I've tried putting 'ETHTOOL_OPTS="wol g" ' in the ifcfg-em1 and wedged 'ethtool-set' into all the places in ifdown-eth where the interfaces are cleared. Even commented out the line in ifdown-eth where the device is set "down" ('ip link set dev ${DEVICE} down'). No joy all around.

The new systemd setup does a very good job of hiding the whole halt process. there's no "/etc/init.d/halt" to play around with.

Any ideas? Any one?

TIA,

carl.
Reply With Quote
  #2  
Old 5th January 2012, 10:40 PM
carlmuck Offline
Registered User
 
Join Date: Jan 2012
Location: baltimore, md
Posts: 5
linuxfirefox
Re: F16 Wake on lan not working

more on my situation.

looking directly into the /sys/class/net/em1/device/power/wakeup it is "enabled" setting ethtool -s wol d does set it to "disabled." So the system, when up, seems to be properly configured, but WOL does not work.

Looking at the device the link light is on on the card, so power is being applied, it just won't respond to the WOL. (And again WOL works for a system in "suspend" but not in "poweroff").

pointers?

carl.

---------- Post added at 10:40 PM ---------- Previous post was at 04:38 PM ----------

Curiouser and curiouser.

If I reboot and then when I get to grub, issue a halt from the grub command line, then WOL works. So there's something in the Fedora shutdown routines that is leaning heavily on the ethernet card.

Does anyone have a good approach for tracing what the heck is happening during the shutdown? I can't get any log information.

I've tried the recommendation from DBelton here for a script in /lib/systemd/system-shutdown, but it doesn't seem to run for me (I don't get any information in /dmesg.shutdown.
Reply With Quote
  #3  
Old 6th January 2012, 02:05 PM
carlmuck Offline
Registered User
 
Join Date: Jan 2012
Location: baltimore, md
Posts: 5
macossafari
Re: F16 Wake on lan not working

for those watching, a bit more info.

If I issue shutdown -H (instead of shutdown -h) telling the system to "HALT" not "POWEROFF" the system will not actually shutdown. Fedora gets to the end (apparently, the log file shows rsyslogd closing, which is usually last) but then just sits, in a powered state. If at that point I push the power button it shuts down, and then can be woken with WOL.
Reply With Quote
  #4  
Old 6th January 2012, 07:23 PM
Dutchy Online
Registered User
 
Join Date: Aug 2011
Location: ~
Posts: 1,861
linuxfirefox
Re: F16 Wake on lan not working

Most likely a driver problem even though the version hasn't changed.
What Broadcom model do you have?
Reply With Quote
  #5  
Old 6th January 2012, 07:41 PM
carlmuck Offline
Registered User
 
Join Date: Jan 2012
Location: baltimore, md
Posts: 5
linuxredhatfirefox
Re: F16 Wake on lan not working

I've got a Broadcom NetXtreme BCM5761. Its built-in to the Dell boxes I'm working with.

ACPITOOL reports that the cards are "disabled" for waking the PCI, I can't seem to get "enabled" to stick, so yes, it may be the card. I saw a couple of month old conversation about this but the mentioned patches are already in the driver. (I've pulled the source for it as well as systemd).

So right now my work-around is to reboot the box, intercept it in grub and halt from there. Very inelegant, but gets me what I need....
Reply With Quote
  #6  
Old 9th October 2012, 05:36 PM
coyrls Offline
Registered User
 
Join Date: Oct 2012
Location: UK
Posts: 1
windows_7firefox
Re: F16 Wake on lan not working

I had the same problem as you and a simmilar level of frustration. I found the solution here: http://www.techanswerguy.com/2010/02...lan-redux.html

I can't get to grips with the way halt works with systmctl and so I added the following script with chkconfig:

Code:
#!/bin/sh
# chkconfig: 123456 55 95

case "$1" in
start)
        ;;
stop)
        rmmod tg3
        ;;
status)
        echo "fix for wol on shutdown"
        ;;
*)
        echo $"Usage: $0 {start|stop|status}"
        exit 1
esac

exit 0
Reply With Quote
Reply

Tags
f16, lan, wake, working

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
F10 can't wake from suspend using WOL but can wake from shutdown jonmyatt Using Fedora 1 2nd July 2009 10:35 AM
Can't wake up TheCigarman Using Fedora 0 13th August 2008 05:18 PM
wake-on-lan kicon_kijin Hardware & Laptops 2 19th February 2008 03:47 PM
Wake On LAN bajo Servers & Networking 9 25th July 2006 12:35 PM


Current GMT-time: 14:11 (Friday, 28-04-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat