BCM4401-B0 card error on FreeBSD 5.2.1

Yoshinobu Inoue shin at dhcp113143.nd.net.fujitsu.co.jp
Tue Aug 24 06:36:39 PDT 2004


I also had same problem but succeeded in making BCM4401-B0 work,
thanks to following information with this dirty quick patch.

--- src/sys/dev/bfe/if_bfereg.h.orig    Wed Sep 10 03:17:22 2003
+++ src/sys/dev/bfe/if_bfereg.h Tue Aug 24 22:13:10 2004
@@ -393,7 +393,11 @@
 #define BFE_REG_PCI         0x18002000
 
 #define BCOM_VENDORID           0x14E4
+#if 0
 #define BCOM_DEVICEID_BCM4401   0x4401
+#else
+#define BCOM_DEVICEID_BCM4401   0x170c
+#endif
 
 #define PCI_SETBIT(dev, reg, x, s)  \
     pci_write_config(dev, reg, (pci_read_config(dev, reg, s) | (x)), s)


>I I just recompiled a 4.10 kernel with bfe support.
>I grab source code from  http://people.freebsd.org/~dmlb/bfe-4.8.tar.gz
>
>At boot time, I get:
>pci1: <unknown card> (vendor=0x14e4, dev=0x170c) at 14.0 irq 11
>
>When I try to insert the driver manually:
>module_register: module pci/bfe already exists!
>linker_file_sysinit "if_bfe.ko" failed to register! 17
>
>I think I'm gone go back to Linux...
>
>cheers,
>
>
>Guillaume
>
>
>Mark wrote:
>> You may have to build a kernel with the 
>> "device          bge" # gig cards
>> "device          bfe" # 10- 100 cards
>> entries to build the moduals, I would have thought they 
>> were with the base system. But I had to build a kernel
>> for the bfe modual to work.
>> 
>> Side note: The bfe entry is not in the GENERIC kernel 
>> on 4.10 but will build and work. The bge modual would not 
>> find my broadcom 4401.
>> 
>> 
>> On Mon, Jul 26, 2004 at 05:00:39PM +0200, Guillaume Goutaudier wrote:
>> 
>>>bge gives me exactly the same error message.
>>>And still nothing like "bge0: ..." in dmesg output.
>>>
>>>
>>>Try bge. 
>>>
>>>On Mon, Jul 26, 2004 at 03:11:42PM +0200, Guillaume Goutaudier wrote:
>>>
>>>>/ Hi all,
>>>
>>>/>/ 
>>>/>/ I'm trying to move from Linux to FreeBSD on my compaq nx5000 laptop.
>>>/>/ The FreeBSD version I installed is 5.2.1.
>>>/>/ 
>>>/>/ I have a problem with the integrated broadcom BCM4401-B0 NIC.
>>>/>/ 
>>>/>/ This is not a BCM4401 but a BCM4401-B0 card (PCI ID = 0x170c), and
>>>/>/ the bfe driver does not seem to work:
>>>/>/ 
>>>/>/ In the dmesg output, I don't have a single line with "bfe0: ...".
>>>/>/ Instead, all I have is:
>>>/>/ 
>>>/>/ pci1: <network, ethernet> at device 14.0 (no driver attached)
>>>/>/ 
>>>/>/ When I try to install the bfe module manually, I get:
>>>/>/ 
>>>/>/ # kldload miibus.ko
>>>/>/ interface miibus.1 already present in the KLD 'kernel'!
>>>/>/ kldload: can't load miibus.ko: file exists
>>>/>/ # kldload if_bfe.ko
>>>/>/ module_register: module pci/bfe already exists!
>>>/>/ Module pci/bfe failed to register: 17
>>>/>/ module_register: module bfe/miibus already exists!
>>>/>/ Module bfe/miibus failed to register: 17
>>>/>/ 
>>>/>/ I'm not familiar at all with *BSD drivers stuff so any help will be
>>>/>/ REALLY appreciated ...
>>>/>/ 
>>>/>/ cheers,
>>>/>/ 
>>>/>/ 
>>>/>/ Guillaume
>>>/>/ /


More information about the freebsd-questions mailing list