From owner-freebsd-current@FreeBSD.ORG Thu Oct 6 18:55:42 2005 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E917E16A41F; Thu, 6 Oct 2005 18:55:42 +0000 (GMT) (envelope-from lists@jnielsen.net) Received: from ns1.jnielsen.net (ns1.jnielsen.net [69.55.238.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id A453443D45; Thu, 6 Oct 2005 18:55:40 +0000 (GMT) (envelope-from lists@jnielsen.net) Received: from localhost (ns1 [69.55.238.237]) (authenticated bits=0) by ns1.jnielsen.net (8.12.9p2/8.12.9) with ESMTP id j96Itd3t043923; Thu, 6 Oct 2005 11:55:40 -0700 (PDT) (envelope-from lists@jnielsen.net) From: John Nielsen To: freebsd-current@freebsd.org Date: Thu, 6 Oct 2005 14:55:22 -0400 User-Agent: KMail/1.8.2 References: <200510061139.37825.lists@jnielsen.net> <4345605B.7030309@gneto.com> In-Reply-To: <4345605B.7030309@gneto.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200510061455.22483.lists@jnielsen.net> X-Virus-Scanned: ClamAV version 0.87, clamav-milter version 0.87 on ns1.jnielsen.net X-Virus-Status: Clean Cc: current@freebsd.org Subject: Re: Broadcom BCM5751 not attaching on IBM ThinkCentre A51 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Oct 2005 18:55:43 -0000 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: 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: 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: at device 28.5 on pci0 > pci8: on pcib8 > bge0: mem > 0x90200000-0x9020ffff irq 17 at device 0.0 on pci8 > miibus0: on bge0 > brgphy0: 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