Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 May 2002 22:29:33 -0700
From:      Darren Pilgrim <dmp@pantherdragon.org>
To:        freebsd-questions@freebsd.org
Subject:   if_fxp and if_dc modules won't stay loaded?
Message-ID:  <3CF5B8BD.E300CA7F@pantherdragon.org>

next in thread | raw e-mail | index | archive | help
When I try to load if_fxp and if_dc via /boot/loader.conf, they print
the verbose information as if they load, but when the kernel boots, it
turns out they didn't load, so I have to manually load them and re-run
the network setup scripts.

My /boot/loader.conf looks like this:
#Load NIC modules
miibus_load="YES"
if_fxp_load="YES"
if_dc_load="YES"

The order of if_fxp or if_dc makes no difference.  If I exclude the
miibus line, if_dc will load, but if_fxp will not, and miibus will
remain loaded as well.  With it included, neither if_dc nor if_fxp will
load, and miibus will remain loaded.  Both NICs probe, attach, and work
fine when I manually load the modules.

Here's the relevant dmesg output during kernel boot:
pci1: <unknown card> (vendor=0x8086, dev=0x1229) at 4.0 irq 11
pci1: <unknown card> (vendor=0x1317, dev=0x0985) at 10.0 irq 9

The first is the card that attaches to if_fxp.

Here's the relevant dmesg output when I do the manual load:
fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xd000-0xd01f mem 0xde000000-0xde0fffff,0xe0000000-0xe0000fff irq 11 at device 4.0 on pci1
fxp0: Ethernet address 00:a0:c9:1f:3b:50
nsphy0: <DP83840 10/100 media interface> on miibus0
nsphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
dc0: <ADMtek AN985 10/100BaseTX> port 0xd400-0xd4ff mem 0xde100000-0xde1003ff irq 9 at device 10.0 on pci1
dc0: Ethernet address: 00:04:5a:59:7c:a8
miibus1: <MII bus> on dc0
ukphy0: <Generic IEEE 802.3u media interface> on miibus1
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto

After the manual load and running the network scripts again, everything
works just fine.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3CF5B8BD.E300CA7F>