Date: Mon, 19 Dec 2011 08:36:06 -0800 From: Garrett Cooper <yanegomi@gmail.com> To: Dimitry Andric <dim@FreeBSD.org> Cc: freebsd-current <freebsd-current@FreeBSD.org>, Doug Barton <dougb@FreeBSD.org> Subject: Re: r228700 can't dhclient em0 Message-ID: <C6AC40B9-6276-4CCB-9C51-0CE1B38D584F@gmail.com> In-Reply-To: <4EEF3B22.8010401@FreeBSD.org> References: <4EEF0124.4000902@FreeBSD.org> <4EEF3B22.8010401@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Dec 19, 2011, at 5:24 AM, Dimitry Andric <dim@FreeBSD.org> wrote: > On 2011-12-19 10:17, Doug Barton wrote: >> I updated to r228700 from 228122 and dhclient exits immediately saying >> that em0 doesn't exist. However ifconfig seems to disagree: >>=20 >>=20 >> em0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1= 500 >>=20 >> options=3D4219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WO= L_MAGIC,VLAN_HWTSO> >> ether 00:24:e8:30:10:9b >> nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> >> media: Ethernet autoselect (100baseTX<full-duplex>) >> status: active >> lo0: flags=3D8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 >> options=3D3<RXCSUM,TXCSUM> >> nd6 options=3D21<PERFORMNUD,AUTO_LINKLOCAL> >>=20 >>=20 >> Interestingly, some of the options are different in that version, vs. >> the working version: >>=20 >> em0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1= 500 >> options=3D219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,= WOL_MAGIC> >> ether 00:24:e8:30:10:9b >> inet 172.17.198.245 netmask 0xffff0000 broadcast 172.17.255.255 >> nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> >> media: Ethernet autoselect (100baseTX<full-duplex>) >> status: active >=20 > I saw this too, when my kernel and userland were out of sync (e.g. just > after installing a new kernel, and before installworld). I suspect it > is caused by the changes in r228571, which cause old ifconfig and > dhclient to not recognize any interfaces. I'm not 100% sure though. This makes sense because the structs that describe addresses changed recentl= y. -Garrett=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C6AC40B9-6276-4CCB-9C51-0CE1B38D584F>