Bug 226763 - Wake on lan (WOL_MAGIC) stopped working with re nic
Summary: Wake on lan (WOL_MAGIC) stopped working with re nic
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 11.1-STABLE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-net (Nobody)
Keywords: regression
Depends on:
Reported: 2018-03-19 19:35 UTC by Koen Martens
Modified: 2018-03-20 11:19 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Koen Martens 2018-03-19 19:35:37 UTC
Yesterday I upgraded this box from 10.3-RELEASE to 11.1-RELEASE. With 10.3-RELEASE, wake on lan worked perfectly. I had enabled it with 'ifconfig re0 wol_magic', then after doing 'poweroff' i could wake the box with the 'wakeonlan' command from an linux (ubuntu) box. Sadly, after the upgrade to 11.1-RELEASE this no longer worked.

# uname -a
FreeBSD xendi 11.1-RELEASE-p8 FreeBSD 11.1-RELEASE-p8 #0: Tue Mar 13 17:07:05 UTC 2018     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
# dmesg | grep re0
re0: <RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet> port 0xd800-0xd8ff mem 0xf6eff000-0xf6efffff,0xf6ee0000-0xf6eeffff irq 17 at device 0.0 on pci2
re0: Using 1 MSI-X message
re0: Chip rev. 0x3c000000
re0: MAC rev. 0x00400000
miibus0: <MII bus> on re0
re0: Using defaults for TSO: 65518/35/2048
re0: Ethernet address: 00:26:18:f0:e0:3f
re0: netmap queues/slots: TX 1/256, RX 1/256
re0: link state changed to DOWN
re0: link state changed to UP
# ifconfig -m re0
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	ether 00:26:18:f0:e0:3f
	hwaddr 00:26:18:f0:e0:3f
	inet netmask 0xffffff00 broadcast 
	media: Ethernet autoselect (1000baseT <full-duplex>)
	status: active
	supported media:
		media autoselect mediaopt flowcontrol
		media autoselect
		media 1000baseT mediaopt full-duplex,flowcontrol,master
		media 1000baseT mediaopt full-duplex,flowcontrol
		media 1000baseT mediaopt full-duplex,master
		media 1000baseT mediaopt full-duplex
		media 1000baseT mediaopt master
		media 1000baseT
		media 100baseTX mediaopt full-duplex,flowcontrol
		media 100baseTX mediaopt full-duplex
		media 100baseTX
		media 10baseT/UTP mediaopt full-duplex,flowcontrol
		media 10baseT/UTP mediaopt full-duplex
		media 10baseT/UTP
		media none