if_le unit number change?

Marius Strobl marius at alchemy.franken.de
Thu Nov 27 12:20:14 PST 2008

On Thu, Nov 27, 2008 at 09:36:48AM +0000, Robert Watson wrote:
> On Wed, 26 Nov 2008, 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?
> >
> >The kernels dated 11/5 & 11/26.
> Just ran into an identical problem with HEAD on VMWare here as well.  It 
> appears to work fine as le1, which is reassuring, but the unit numbering 
> change is worrying.  I may get a chance to do some binary searching today, 
> but we'll see.

I think the reason is that since r185059 the isa(4) hints (in this
case the default one for le0) are now also applied to acpi(4).
Even previously reserving the device unit number corresponding to
the hint (i.e. le0 for hint.le.0.at="isa") regardless of whether
it's actually present and enabled or not was the expected beaviour
AFAICT, although limited to the presence of a ISA bus.


More information about the freebsd-current mailing list