From owner-freebsd-questions Wed May 29 22:29:41 2002 Delivered-To: freebsd-questions@freebsd.org Received: from spork.pantherdragon.org (spork.pantherdragon.org [206.29.168.146]) by hub.freebsd.org (Postfix) with ESMTP id D5D2537B403 for ; Wed, 29 May 2002 22:29:36 -0700 (PDT) Received: from spark.techno.pagans (spark.techno.pagans [4.61.202.145]) by spork.pantherdragon.org (Postfix) with ESMTP id 36C54471DA for ; Wed, 29 May 2002 22:29:36 -0700 (PDT) Received: from pantherdragon.org (speck.techno.pagans [172.21.42.2]) by spark.techno.pagans (Postfix) with ESMTP id D98CCFD90 for ; Wed, 29 May 2002 22:29:33 -0700 (PDT) Message-ID: <3CF5B8BD.E300CA7F@pantherdragon.org> Date: Wed, 29 May 2002 22:29:33 -0700 From: Darren Pilgrim X-Mailer: Mozilla 4.76 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: if_fxp and if_dc modules won't stay loaded? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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: (vendor=0x8086, dev=0x1229) at 4.0 irq 11 pci1: (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: 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: on miibus0 nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto dc0: port 0xd400-0xd4ff mem 0xde100000-0xde1003ff irq 9 at device 10.0 on pci1 dc0: Ethernet address: 00:04:5a:59:7c:a8 miibus1: on dc0 ukphy0: 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