Broadcom BCM5751 not attaching on IBM ThinkCentre A51
John Nielsen
lists at jnielsen.net
Thu Oct 6 11:55:43 PDT 2005
On Thursday 06 October 2005 13:35, Martin Nilsson wrote:
> John Nielsen wrote:
> > I have a new (several, actually) IBM ThinkCentre A51 (8131-16U and
> > 8138-14U) machine on which I'd like to run FreeBSD 6.0. The machine
> > has a "Barbados" motherboard with an integrated Broadcom BCM5751
> > gigabit NIC. Visually, the Broadcom chip identifies itself as a
> > BCM5751KFB.
> >
> > The bge driver recognizes the chip and tries to attach, but fails:
> >
> > bge0: <Broadcom BCM5751 Gigabit Ethernet, ASIC rev. 0x4101> mem
> > 0xd0000000-0xd000ffff irq 5 at device 0.0 on pci2
> > bge0: RX CPU self-diagnostics failed!
> > bge0: chip initialization failed
> > device_attach: bge0 attach returned 6
Interestingly enough, I had a chance to try the ndis driver (using
Broadcom's Windows XP driver) and it fails almost identically:
ndis0: <Broadcom NetXtreme Gigabit Ethernet> mem 0xd0000000-0xd000ffff irq
16 at device 0.0 on pci2
ndis0: NDIS API version: 5.1
ndis0: NDIS ERROR: c005000e (%)
ndis0: NDIS ERROR: c0050014 (%)
ndis0: init handler failed
device_attach: ndis0 attach returned 6
That and Martin's success with the same chip lead me to believe that the
problem may be with PCI express on this mainboard and not the BCM5751
specifically. As far as I can tell, the NIC is the only PCI-e device in
this system, and unfortunately I don't have any PCI-e expansion cards to
test with.
I'm in the process of updating the box to today's -CURRENT. I'll post what
I learn from that, if anything.
> I have a 5751 based PCI-e card working in an Intel D945GNT board here:
>
> pcib8: <ACPI PCI-PCI bridge> at device 28.5 on pci0
> pci8: <ACPI PCI bus> on pcib8
> bge0: <Broadcom BCM5751 Gigabit Ethernet, ASIC rev. 0x4001> mem
> 0x90200000-0x9020ffff irq 17 at device 0.0 on pci8
> miibus0: <MII bus> on bge0
> brgphy0: <BCM5750 10/100/1000baseTX PHY> on miibus0
> brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX,
> 1000baseTX-FDX, auto
> bge0: Ethernet address: 00:10:18:11:bc:f4
> I notice that yours have a higher ASIC rev.
>
> There is an open source Linux driver available at www.broadcom.com check
> if they are doing something special with different ASIC versions there.
I looked through the sources for both FreeBSD's driver and Broadcom's Linux
driver, but I was unable to find the link between the printed ASIC rev.
number and the code. I'm no expert programmer (expecially wrt device
drivers), so I'm obviously just missing something. Pointers?
JN
More information about the freebsd-current
mailing list