From owner-freebsd-current@freebsd.org Wed Nov 11 14:33:41 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 53726A2B2B6 for ; Wed, 11 Nov 2015 14:33:41 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 3A20B1537 for ; Wed, 11 Nov 2015 14:33:41 +0000 (UTC) (envelope-from david@catwhisker.org) Received: by mailman.ysv.freebsd.org (Postfix) id 369D2A2B2B5; Wed, 11 Nov 2015 14:33:41 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3521BA2B2B4 for ; Wed, 11 Nov 2015 14:33:41 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (mx.catwhisker.org [198.144.209.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D5E0F1536 for ; Wed, 11 Nov 2015 14:33:40 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.15.2/8.15.2) with ESMTP id tABEXbBm073933 for ; Wed, 11 Nov 2015 06:33:37 -0800 (PST) (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.15.2/8.15.2/Submit) id tABEXbuG073932 for current@freebsd.org; Wed, 11 Nov 2015 06:33:37 -0800 (PST) (envelope-from david) Date: Wed, 11 Nov 2015 06:33:37 -0800 From: David Wolfskill To: current@freebsd.org Subject: Wake on LAN broken (probably between r290542 - r290606)? Message-ID: <20151111143337.GN1235@albert.catwhisker.org> Reply-To: current@freebsd.org Mail-Followup-To: current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="FLFbAWqIDstwcN4K" Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Nov 2015 14:33:41 -0000 --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 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--