Re: r228700 can't dhclient em0

From: Doug Barton <dougb_at_FreeBSD.org>
Date: Tue, 20 Dec 2011 00:38:53 -0800
On 12/19/2011 05:24, Dimitry Andric 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:
>>
>>
>> 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:30:10:9b
>>          nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
>>          media: Ethernet autoselect (100baseTX<full-duplex>)
>>          status: active
>> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST>  metric 0 mtu 16384
>>          options=3<RXCSUM,TXCSUM>
>>          nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
>>
>>
>> Interestingly, some of the options are different in that version, vs.
>> the working version:
>>
>> em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST>  metric 0 mtu
>> 1500
>>     options=219b<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=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
>>     media: Ethernet autoselect (100baseTX<full-duplex>)
>>     status: active
> 
> 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...

I tried replacing both ifconfig and dhclient with the versions that were
built along with the new kernel, and that didn't work.

The traditional (and documented) upgrade process for many years has been
to boot the new kernel, make sure it's Ok, then update world. Obviously
something different is needed this time, so it needs an UPDATING entry
(assuming that all this is not just a bug).


Doug

-- 

		[^L]

	Breadth of IT experience, and depth of knowledge in the DNS.
	Yours for the right price.  :)  http://SupersetSolutions.com/
Received on Tue Dec 20 2011 - 07:38:54 UTC

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