From owner-freebsd-current@FreeBSD.ORG Thu Nov 27 20:20:14 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD63B1065670; Thu, 27 Nov 2008 20:20:14 +0000 (UTC) (envelope-from marius@alchemy.franken.de) Received: from alchemy.franken.de (alchemy.franken.de [194.94.249.214]) by mx1.freebsd.org (Postfix) with ESMTP id 5EF538FC19; Thu, 27 Nov 2008 20:20:14 +0000 (UTC) (envelope-from marius@alchemy.franken.de) Received: from alchemy.franken.de (localhost [127.0.0.1]) by alchemy.franken.de (8.14.3/8.14.3/ALCHEMY.FRANKEN.DE) with ESMTP id mARJx3Xl065480; Thu, 27 Nov 2008 20:59:03 +0100 (CET) (envelope-from marius@alchemy.franken.de) Received: (from marius@localhost) by alchemy.franken.de (8.14.3/8.14.3/Submit) id mARJx2mW065479; Thu, 27 Nov 2008 20:59:02 +0100 (CET) (envelope-from marius) Date: Thu, 27 Nov 2008 20:59:02 +0100 From: Marius Strobl To: Robert Watson Message-ID: <20081127195902.GA65404@alchemy.franken.de> References: <1d6d20bc0811260656t101ddb0eu35296ac973c6ba10@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: freebsd-current@freebsd.org, Jia-Shiun Li Subject: Re: if_le unit number change? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Nov 2008 20:20:14 -0000 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. Marius