Re: if_le unit number change?

From: Jia-Shiun Li <jiashiun_at_gmail.com>
Date: Thu, 27 Nov 2008 12:45:49 +0800
On Wed, Nov 26, 2008 at 11:21 PM, Ivan Voras <ivoras_at_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.
Received on Thu Nov 27 2008 - 03:45:50 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:38 UTC