if_le unit number change?

Paul B. Mahol onemda at gmail.com
Wed Nov 26 09:09:59 PST 2008


On 11/26/08, Ivan Voras <ivoras at freebsd.org> wrote:
> Jia-Shiun Li wrote:
>> I use vmware to run freebsd.
>>
>> recent update of 8-current changed the unit number of the virtual
>> network interface, an emulated if_le. usually the unit number should
>> start from 0 ,namely le0. But after updating the source, le0 becomes
>> le1. This makes interface name mismatching that in rc.conf. I checked
>> the commit log but there seems nothing related in sys/dev/le. So
>> should this be caused by something else?
>
> I have the same thing, but I thought it was just my bad luck sice I'm
> working on the kernel. If it's the same thing you should notice in your
> dmesg that both "le0" and "le1" are actually "detected" (I presume
> wrongly, or at least that one of them is wrong) but ifconfig recognizes
> only "le1" and errors out at any operation with le0.

I can "reproduce" problem with 8-current (inside qemu) as guest on
(same) 8-0 CURRENT.
But I can not reproduce it with if_bfe, ndis, wlan, if_rum2 which are
not emulated.

-- 
Paul


More information about the freebsd-current mailing list