Re: "ifconfig create" breaks between r238227 - r238290?

From: Brandon Gooch <jamesbrandongooch_at_gmail.com>
Date: Tue, 10 Jul 2012 20:38:25 -0500
On Mon, Jul 9, 2012 at 8:19 AM, David Wolfskill <david_at_catwhisker.org> wrote:
> Just finished updating from r238227 to r238290 on the "head" slice of my
> laptop, and was unable to make use of the wlan(4) NIC; I captured the
> following via cut/paste from ttyv0:
>
> ...
> Setting hostname: localhost.
> Starting dhclient.
> em0: no link .............. giving up
> /etc/rc.d/dhclient: WARNING: failed to start dhclient
> Starting wpa_supplicant.
> ioctl[SIOCG80211, op 98, len 32]: Invalid argument
> /etc/rc.d/wpa_supplicant: WARNING: failed to start wpa_supplicant
> Starting dhclient.
> dhclient: /etc/dhclient-enter-hooks invoked with reason PREINIT
> dhclient: Setting hostname from localhost to null string
> ifconfig: ioctl (SIOCAIFADDR): Invalid argument
> 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
> wlan0: not found
> exiting.
> /etc/rc.d/dhclient: WARNING: failed to start dhclient
> Starting Network: lo0 em0 iwn0 fwe0 fwip0.
> 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 0x5
>         inet 127.0.0.1 netmask 0xff000000
>         nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
> em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
>         options=4219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL
> _MAGIC,VLAN_HWTSO>
>         ether 00:24:e8:9c:11:0f
>         nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
>         media: Ethernet autoselect
>         status: no carrier
> iwn0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 2290
>         ether 00:21:6a:26:34:c0
>         nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
>         media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
>         status: no carrier
> fwe0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
>         options=8<VLAN_MTU>
>         ether 4a:4f:c0:37:06:01
>         nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
>         ch 1 dma -1
> fwip0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
>         lladdr 4a.4f.c0.0.10.37.6.1.a.2.ff.fe.0.0.0.0
>         nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
> Starting devd.
> ifconfig: create: bad value
> Starting wpa_supplicant.
> ioctl[SIOCG80211, op 98, len 32]: Invalid argument
> /etc/rc.d/wpa_supplicant: WARNING: failed to start wpa_supplicant
> Starting dhclient.
> dhclient: /etc/dhclient-enter-hooks invoked with reason PREINIT
> dhclient: Leaving hostname set to
> ifconfig: ioctl (SIOCAIFADDR): Invalid argument
> 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
> wlan0: not found
> exiting.
> /etc/rc.d/dhclient: WARNING: failed to start dhclient
> Starting Network: iwn0.
> iwn0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 2290
>         ether 00:21:6a:26:34:c0
>         nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
>         media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
>         status: no carrier
> ifconfig: create: bad value
> Starting wpa_supplicant.
> ioctl[SIOCG80211, op 98, len 32]: Invalid argument
> /etc/rc.d/wpa_supplicant: WARNING: failed to start wpa_supplicant
> ....
>
> Yesterday, I had updated to:
>
> FreeBSD g1-227.catwhisker.org 10.0-CURRENT FreeBSD 10.0-CURRENT #614 238227M: Sun Jul  8 06:47:51 PDT 2012     root_at_g1-227.catwhisker.org:/usr/obj/usr/src/sys/CANARY  i386
>
> and things seemed OK -- I was certainly able to use the NIC.  :-}
>
> uname output from this morning:
>
> FreeBSD  10.0-CURRENT FreeBSD 10.0-CURRENT #615 238290M: Mon Jul  9 05:39:15 PDT 2012     root_at_g1-227.catwhisker.org:/usr/obj/usr/src/sys/CANARY  i386
>
>
> I glanced through the list of commits to head in that range, but
> didn't note anything glaringly obvious (yet).
>
> I hadn't tried a wired NIC on the laptop; I can, if there's anything
> likely to be of value in doing so.
>
> I've attached a copy of the associated dmesg.boot.
>
> Peace,
> david
> --
> David H. Wolfskill                              david_at_catwhisker.org
> Depriving a girl or boy of an opportunity for education is evil.
>
> See http://www.catwhisker.org/~david/publickey.gpg for my public key.

Same thing here, and I tracked it down to r238279:

http://svnweb.freebsd.org/base?view=revision&revision=238279

Not yet sure why though, looking info it...

-Brandon
Received on Tue Jul 10 2012 - 23:38:26 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:28 UTC