Date: Wed, 11 Nov 2015 06:33:37 -0800 From: David Wolfskill <david@catwhisker.org> To: current@freebsd.org Subject: Wake on LAN broken (probably between r290542 - r290606)? Message-ID: <20151111143337.GN1235@albert.catwhisker.org>
next in thread | raw e-mail | index | archive | help
--FLFbAWqIDstwcN4K Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable My build machine ("freebeast") spends most of the time powered off. One of my "always on" machines has a crontab entry for 23:47 to use /usr/local/bin/wol (from ports/net/wol) to wake it up in time to do some periodinc "daily" things, update its local mirror of the SVN repos, and update it ports working copy; after I've updated stable/10 & head on it, I set it to boot from the stable/10 slice & power it off -- and the cycle repeats. At least, that's what happened with this machine's predecessor for several years, and with this one since its deployment several months ago, until yesterday morning. Yesterday morning, the machine did not power on; I figured someone had managed to manually power it off (vs. "shutdown -p"), took evasive action, and resumed normal operations. Upon a recurrence this morning -- and after the evasive action & resumption of normal operations, I decided to test a bit. The machine was last running: FreeBSD 11.0-CURRENT #1897 r290667M/290668:1100089: Wed Nov 11 04:45:58 PS= T 2015 root@freebeast.catwhisker.org:/common/S4/obj/usr/src/sys/GENERIC= amd64 I manually ran the /sur/local/bin/wol command... and Nothing Happened. Went over to the machine; no lights. Manualy turned it on (booting FreeBSD 10.2-STABLE #1851 r290668M/290668:1002501: Wed Nov 11 04:20:05 PST= 2015 root@freebeast.catwhisker.org:/common/S1/obj/usr/src/sys/GENERIC = amd64 -- just to be clear); once it came up, "shutdown -p now". After seeing =2E.. acpi0: Powering system off on serial console, re-issued /usr/local/bin/wol; machine came right up. OK. So /usr/local/bin/wol itself seems to be working, and freebeast's hardware also seems OK. Checking the log of builds for head on that machine, the last several entries are: FreeBSD 11.0-CURRENT #1892 r290439M/290439:1100086: Fri Nov 6 05:12:44 PS= T 2015 root@freebeast.catwhisker.org:/common/S4/obj/usr/src/sys/GENERIC= amd64 FreeBSD 11.0-CURRENT #1893 r290486M/290488:1100087: Sat Nov 7 07:48:26 PS= T 2015 root@freebeast.catwhisker.org:/common/S4/obj/usr/src/sys/GENERIC= amd64 FreeBSD 11.0-CURRENT #1894 r290542M/290542:1100089: Sun Nov 8 06:19:02 PS= T 2015 root@freebeast.catwhisker.org:/common/S4/obj/usr/src/sys/GENERIC= amd64 FreeBSD 11.0-CURRENT #1895 r290606M/290609:1100089: Mon Nov 9 04:44:14 PS= T 2015 root@freebeast.catwhisker.org:/common/S4/obj/usr/src/sys/GENERIC= amd64 FreeBSD 11.0-CURRENT #1896 r290647M/290647:1100089: Tue Nov 10 04:37:17 PS= T 2015 root@freebeast.catwhisker.org:/common/S4/obj/usr/src/sys/GENERIC= amd64 FreeBSD 11.0-CURRENT #1897 r290667M/290668:1100089: Wed Nov 11 04:45:58 PS= T 2015 root@freebeast.catwhisker.org:/common/S4/obj/usr/src/sys/GENERIC= amd64 and since I'm pretty sure I would have recalled had the "wake on LAN" failed on Monday (and I don't recall that), it seems likely that some change made that day (thus, a commit between r290542 - r290606) is what would have done it. But a quick perusal of <https://docs.freebsd.org/mail/current/svn-src-head.html> doesn't show anything especially like a "smoking gun" -- to me, anyway. Can anyone else confirm or refute my observations? Or suggest a hint? I'll try narrowing it down myself, but I need to do it during times I'm at home (so I can manually power the machine back up when it fails to respond to WoL), so it may be a few days before I can accomplish much that way. Peace, david --=20 David H. Wolfskill david@catwhisker.org Those who would murder in the name of God or prophet are blasphemous coward= s. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --FLFbAWqIDstwcN4K Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJWQ1HBXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4RThEMDY4QTIxMjc1MDZFRDIzODYzRTc4 QTY3RjlDOERFRjQxOTNCAAoJEIpn+cje9Bk7kJAP/32C4Ju/mU5IaWugvxY7G87Z jNdPaLslal9DwNKjJw7NZG4SBFw9PKPof9uZMaG279oYGC2k68DecUcLgOfGDKTq arVImciuT4bByXjklOZmZokPC0HvnE4huwfzEW/d0B9R6pfC5JWCWXNeQQb/3lEa Hba4CMf4CnkO2lXbUgHd5WFjysyUY8dPb6WU7ddlHmPP+eh36gAUY1sJF3gsRGcs eIKKg8n/TB023P4vPb/XV/+yhypcHf6/J8KT/zfG+h3jeNQGXv3efG0cQKDRFwDt h4+WoOrGXDws/2Zk7meo2Viq8lzuMuljNBJVqgWn+dP2MLFTZc4YipMG2Z7nYwvM dMdMcvFIVAyczC0LVQ5JQH35xyi+E9OGHgm3jVCRyiUns3E5wLXR/uWCEt5OoioU RmhKMjJt6P/Qh5I24l91HminqZj9NsaJbpRyNzGc/V7Pajue2szEU8bOSFoOa8W4 b1whGQQxHQC8AA8p4GYmbf5K4IbTaRWKq/7JjIS4X6P3EfpFK09G2OQoVzPL4deJ gRUi0LQ1VbqO9eTCca0P99Ned3u1NIsyIrqNZez9wb7QUyDhyIw1EzDWClEbHUl1 8w5TW609RiPdM1SZg/i3HIIHaMpriZLpLDpdbX/KkTKkIUYtqsnRhXkJUG2jqE5b 6evsTG7U4OhkGsCJZCoN =tZyP -----END PGP SIGNATURE----- --FLFbAWqIDstwcN4K--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20151111143337.GN1235>