if_le unit number change?
Jia-Shiun Li
jiashiun at gmail.com
Wed Nov 26 20:45:50 PST 2008
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.
More information about the freebsd-current
mailing list