Date: Thu, 27 Nov 2008 12:45:49 +0800 From: "Jia-Shiun Li" <jiashiun@gmail.com> To: "Ivan Voras" <ivoras@freebsd.org> Cc: freebsd-current@freebsd.org Subject: Re: if_le unit number change? Message-ID: <1d6d20bc0811262045r72d62a15n3b9f8629ddecee2a@mail.gmail.com> In-Reply-To: <ggjphj$10s$1@ger.gmane.org> References: <1d6d20bc0811260656t101ddb0eu35296ac973c6ba10@mail.gmail.com> <ggjphj$10s$1@ger.gmane.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Nov 26, 2008 at 11:21 PM, Ivan Voras <ivoras@freebsd.org> wrote: > 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 looked at the dmesg more closely. It turns out that the other le is the entry in /boot/device.hints for the isa version of le. Commenting it out and then le0 is back. So there are some procedures reordered? Old version initialized detected le on PCI first , then le0 in device.hints will be skipped due to conflict. New kernel loads and initializes device hints first so the detected one goes second as le1. Jia-Shiun.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1d6d20bc0811262045r72d62a15n3b9f8629ddecee2a>