From owner-freebsd-current@freebsd.org Fri Feb 10 13:30:02 2017 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 9FF90CD81AC for ; Fri, 10 Feb 2017 13:30:02 +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 8ABD2C16 for ; Fri, 10 Feb 2017 13:30:02 +0000 (UTC) (envelope-from david@catwhisker.org) Received: by mailman.ysv.freebsd.org (Postfix) id 86679CD81A8; Fri, 10 Feb 2017 13:30:02 +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 8609DCD81A6 for ; Fri, 10 Feb 2017 13:30:02 +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 5CD89C15 for ; Fri, 10 Feb 2017 13:30:01 +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 v1ADTs7N077946 for ; Fri, 10 Feb 2017 13:29:54 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.15.2/8.15.2/Submit) id v1ADTsRw077945 for current@freebsd.org; Fri, 10 Feb 2017 05:29:54 -0800 (PST) (envelope-from david) Date: Fri, 10 Feb 2017 05:29:54 -0800 From: David Wolfskill To: current@freebsd.org Subject: dhclient fails: can't open and lock /var/db/dhclient.leases.wlan0: Bad file descriptor Message-ID: <20170210132954.GE1523@albert.catwhisker.org> Mail-Followup-To: David Wolfskill , current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="BBpm95f3IOry5CQh" Content-Disposition: inline User-Agent: Mutt/1.7.2 (2016-11-26) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 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: Fri, 10 Feb 2017 13:30:02 -0000 --BBpm95f3IOry5CQh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable This was head @r313544; previous successful build/smoke test was @r313467 (yesterday). Here's an excerpt from a typescript I made of some "poking around"; subsequent to that, I was able to set the IP address, netmask, and broadcast address on the NIC (wlano), then set the default route, and once that was done, I was able to use the network: wlan0: flags=3D8843 metric 0 mtu 15= 00 ether 00:24:d6:7a:03:ce inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255=20 nd6 options=3D29 media: IEEE 802.11 Wireless Ethernet MCS mode 11ng status: associated ssid lmdhw-net channel 1 (2412 MHz 11g ht/20) bssid 04:18:d6:22:22:= 1f regdomain FCC country US authmode WPA2/802.11i privacy ON deftxkey UNDEF AES-CCM 2:128-bit txpower 30 bmiss 10 scanvalid 60 protmode CTS ampdulimit 64k ampdudensity 8 -amsdutx amsdurx shortgi -stbc -ldpc wme roaming MANUAL groups: wlan=20 (12.0-C)[4] pgrep dhclient (12.0-C)[5] dhclient wlan0 dhclient: /etc/dhclient-enter-hooks invoked with reason PREINIT dhclient: Leaving hostname set to=20 dhclient: /etc/dhclient-exit-hooks invoked with reason PREINIT dhclient: reason was PREINIT; no action taken dhclient: Exiting /etc/dhclient-exit-hooks (PREINIT) with exit_status 0 can't open and lock /var/db/dhclient.leases.wlan0: Bad file descriptor exiting. (12.0-C)[6] ls -lTio /var/db/dhclient.leases* 883105 ---------- 1 root wheel - 4017 Jan 4 09:18:10 2017 /var/db/dhcli= ent.leases.em0 883280 ---------- 1 root wheel - 856 Aug 11 04:52:54 2015 /var/db/dhcli= ent.leases.lagg0 883344 ---------- 1 root wheel - 3333 Jan 20 21:19:10 2015 /var/db/dhcli= ent.leases.vboxnet0 883108 ---------- 1 root wheel - 1993 Feb 10 04:30:13 2017 /var/db/dhcli= ent.leases.wlan0 883079 ---------- 1 root wheel - 2013 Jan 19 11:52:07 2017 /var/db/dhcli= ent.leases.wlan1 Moving /var/db/dhclient.leases.wlan0 aside did not change the behavior. Stable/11 shows the iwn(4) device as: g1-252(11.0-S)[4] pciconf -lv | grep -A 3 iwn iwn0@pci0:3:0:0: class=3D0x028000 card=3D0x13218086 chip=3D0x4232808= 6 rev=3D0x00 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'WiFi Link 5100' class =3D network g1-252(11.0-S)[5]=20 File system for /var is a fairly vanilla UFS2+SU. I suppose I could have tried ktrace (had I thought of it before switching back to the stable/11 slice). Peace, david --=20 David H. Wolfskill david@catwhisker.org How could one possibly "respect" a misogynist, racist, bullying con-man??!? See http://www.catwhisker.org/~david/publickey.gpg for my public key. --BBpm95f3IOry5CQh Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAEBCgBmBQJYncBSXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRDQ0I3Q0VGOTE3QTgwMUY0MzA2NEQ3N0Ix NTM5Q0M0MEEwNDlFRTE3AAoJEBU5zECgSe4XEfkIAJkbuOXFjkfzsZsjNWrzcOOr Id9IE/NI7zshi2Icmu6/8rorAIj0AnNxHuuof7CAbi3ddgmx7MgCjvzUAe61Srd8 XuqJFEJjOyU0Wl00rSj2k1FZ1f2bImwrlqnwfaqXGoqFBTs9FNUHMhCpIgsZNXhi XSGwHr6ctGG9z7ot0Gclb5vS13mPc27NFZG6Gzd/dKWUCWb76xQsOFPM5ogKOreo fvypnO+olL5dDr8c77UeGtlpJ2BDQCnQVSsPvxPMh2WRlFmT4VZbjEsQkJIX8/zN RaCAOguhLLS6IgFR5XzJpD3wSCOKE2O6F22GpL9nhEKFyb+3/xtXW6jwTrhwiLg= =IWjn -----END PGP SIGNATURE----- --BBpm95f3IOry5CQh--