[SOLVED]WakeOnLan fails after Upgrade from 9.3 to 9.10

Status
Not open for further replies.

74m

Explorer
Joined
Jul 13, 2013
Messages
66
Hey guys,

after the upgrade mentioned above my wake on lan wont work. Im using a Intel EXPI 9301 CTBLK Pro1000 PCIe. With FreeNAS 9.3, the wake on lan worked out of the box.

Any suggestions?

Greetings
74m
 
D

dlavigne

Guest
Anything in /var/log/messages? Also, paste the output of ifconfig using Insert -> Code.
 

74m

Explorer
Joined
Jul 13, 2013
Messages
66
Hey dlavigne,

This are the last few lines from /var/log/messages immediately before the shutdown:
Code:
Apr 18 00:20:28 FreeNAS kernel: ifa_del_loopback_route: deletion failed: 48
Apr 18 00:20:28 FreeNAS Freed UMA keg (udp_inpcb) was not empty (180 items).  Lost 18 pages of memory.
Apr 18 00:20:28 FreeNAS Freed UMA keg (udpcb) was not empty (1336 items).  Lost 8 pages of memory.
Apr 18 00:20:28 FreeNAS Freed UMA keg (tcptw) was not empty (540 items).  Lost 12 pages of memory.
Apr 18 00:20:28 FreeNAS Freed UMA keg (tcp_inpcb) was not empty (180 items).  Lost 18 pages of memory.
Apr 18 00:20:28 FreeNAS Freed UMA keg (tcpcb) was not empty (81 items).  Lost 27 pages of memory.
Apr 18 00:20:28 FreeNAS hhook_vnet_uninit: hhook_head type=1, id=1 cleanup required
Apr 18 00:20:28 FreeNAS hhook_vnet_uninit: hhook_head type=1, id=0 cleanup required
Apr 18 00:20:29 FreeNAS python: dnssd_clientstub ConnectToServer: connect()-> No of tries: 2
Apr 18 00:20:29 FreeNAS python: dnssd_clientstub ConnectToServer: connect()-> No of tries: 2
Apr 18 00:20:29 FreeNAS python: dnssd_clientstub ConnectToServer: connect()-> No of tries: 2
Apr 18 00:20:30 FreeNAS python: dnssd_clientstub ConnectToServer: connect()-> No of tries: 3
Apr 18 00:20:30 FreeNAS python: dnssd_clientstub ConnectToServer: connect()-> No of tries: 3
Apr 18 00:20:30 FreeNAS python: dnssd_clientstub ConnectToServer: connect()-> No of tries: 3
Apr 18 00:20:31 FreeNAS python: dnssd_clientstub ConnectToServer: connect() failed path:/var/run/mdnsd Socket:8 Err:-1 Errno:61 Connection refused
Apr 18 00:20:31 FreeNAS python: dnssd_clientstub ConnectToServer: connect() failed path:/var/run/mdnsd Socket:4 Err:-1 Errno:61 Connection refused
Apr 18 00:20:31 FreeNAS python: dnssd_clientstub ConnectToServer: connect() failed path:/var/run/mdnsd Socket:7 Err:-1 Errno:61 Connection refused
Apr 18 00:20:32 FreeNAS python: dnssd_clientstub ConnectToServer: connect()-> No of tries: 1
Apr 18 00:20:32 FreeNAS python: dnssd_clientstub ConnectToServer: connect()-> No of tries: 1
Apr 18 00:20:32 FreeNAS python: dnssd_clientstub ConnectToServer: connect()-> No of tries: 1
Apr 18 00:20:33 FreeNAS python: dnssd_clientstub ConnectToServer: connect()-> No of tries: 2
Apr 18 00:20:33 FreeNAS python: dnssd_clientstub ConnectToServer: connect()-> No of tries: 2
Apr 18 00:20:33 FreeNAS python: dnssd_clientstub ConnectToServer: connect()-> No of tries: 2
Apr 18 00:20:34 FreeNAS python: dnssd_clientstub ConnectToServer: connect()-> No of tries: 3
Apr 18 00:20:34 FreeNAS python: dnssd_clientstub ConnectToServer: connect()-> No of tries: 3
Apr 18 00:20:34 FreeNAS python: dnssd_clientstub ConnectToServer: connect()-> No of tries: 3
Apr 18 00:20:35 FreeNAS python: dnssd_clientstub ConnectToServer: connect() failed path:/var/run/mdnsd Socket:4 Err:-1 Errno:61 Connection refused
Apr 18 00:20:35 FreeNAS python: dnssd_clientstub ConnectToServer: connect() failed path:/var/run/mdnsd Socket:7 Err:-1 Errno:61 Connection refused
Apr 18 00:20:35 FreeNAS python: dnssd_clientstub ConnectToServer: connect() failed path:/var/run/mdnsd Socket:8 Err:-1 Errno:61 Connection refused
Apr 18 00:20:36 FreeNAS rc.shutdown: 90 second watchdog timeout expired. Shutdown terminated.
Apr 18 00:20:36 FreeNAS syslog-ng[1669]: syslog-ng shutting down; version='3.6.4'
Apr 18 00:20:36 FreeNAS init: /bin/sh on /etc/rc.shutdown terminated abnormally, going to single user mode
Apr 18 00:20:36 FreeNAS wbwd0: Failed to disable watchdog: 0x86.


ifconfig: (as you can see, i'm using the em0)
Code:
FreeNAS# ifconfig
igb0: flags=8c02<BROADCAST,OACTIVE,SIMPLEX,MULTICAST> metric 0 mtu 1500
    options=403bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,VLAN_HWTSO>
    ether 00:25:90:86:cd:ba
    nd6 options=9<PERFORMNUD,IFDISABLED>
    media: Ethernet autoselect
    status: no carrier
igb1: flags=8c02<BROADCAST,OACTIVE,SIMPLEX,MULTICAST> metric 0 mtu 1500
    options=403bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,VLAN_HWTSO>
    ether 00:25:90:86:cd:bb
    nd6 options=9<PERFORMNUD,IFDISABLED>
    media: Ethernet autoselect
    status: no carrier
em0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
    options=42098<VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,VLAN_HWTSO>
    ether 68:05:ca:3d:78:ac
    inet 192.168.0.150 netmask 0xffffff00 broadcast 192.168.0.255
    nd6 options=9<PERFORMNUD,IFDISABLED>
    media: Ethernet autoselect (1000baseT <full-duplex>)
    status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
    options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
    inet6 ::1 prefixlen 128
    inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
    inet 127.0.0.1 netmask 0xff000000
    nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
    ether 02:6e:ef:8e:58:00
    nd6 options=1<PERFORMNUD>
    id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
    maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200
    root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
    member: epair1a flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
            ifmaxaddr 0 port 7 priority 128 path cost 2000
    member: epair0a flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
            ifmaxaddr 0 port 6 priority 128 path cost 2000
    member: em0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
            ifmaxaddr 0 port 3 priority 128 path cost 20000
epair0a: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
    options=8<VLAN_MTU>
    ether 02:ff:20:00:06:0a
    nd6 options=1<PERFORMNUD>
    media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
    status: active
epair1a: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
    options=8<VLAN_MTU>
    ether 02:ff:20:00:07:0a
    nd6 options=1<PERFORMNUD>
    media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
    status: active


Thanks for your help!
 

HardChargin

Dabbler
Joined
Jul 19, 2015
Messages
49
I think this has affected me also. I haven't tried the edits yet in this post or waking it yet on the latest build. Ironically, just plugging in the onboard Nvidia NIC on the same machine (only tested once), WOL just worked. So this does seem somewhat specific to the Intel NICs and 9.10.
 

74m

Explorer
Joined
Jul 13, 2013
Messages
66
I already tried to comment out the lines in your mentioned thread (the permanent one /conf/base/etc/rc.shutdown). It seemed to work one time... but maybe it wasnt WOL but rather one of my strange "reboot-instead-of-a-shutdown-bug".
However, WOL is not working with these modifications.
 
Joined
Nov 9, 2013
Messages
4
I've got exactly the same problem. Was working on 9.3 after patching the /conf/base/etc/rc.shutdown file.
I then upgraed to the 9.10, and it no longer works.
I repatched the file, rebooted twice, and still not works.
I switched back to 9.3, and it works.
So please, don't tell me to check my hardware settings, or network or so. The function works in 9.3, not in 9.10.
I suspect something changed in freenas ...
Thanks for any help.
PS even if it not recommended to shutdown freenas (I wonder why ?) I want to save power, and don't want my freenas use power when I don't need it.
 

74m

Explorer
Joined
Jul 13, 2013
Messages
66
I'm not sure, but i think something changed in FreeBSD and thereby in FreeNAS.
However, i hope we can fix this issue.

There is a similar bug ticket https://bugs.freenas.org/issues/14457
But the "complete power down" was not a cure for my WOL problem.

I think i should open a new bug ticket, if nobody has an answer in here?! :)
 

HardChargin

Dabbler
Joined
Jul 19, 2015
Messages
49
Following the instructions linked in the bug ticket @74m posted, I was also able to get WOL working on my old Intel PCI NIC (WOL had stopped working post upgrade from 9.3 to 9.10).

edit file /conf/base/etc/rc.shutdown: and comment line #/sbin/ifconfig -l | /usr/bin/xargs -n 1 -J % /sbin/ifconfig % down
 
Status
Not open for further replies.
Top