From owner-freebsd-current@FreeBSD.ORG Thu Oct 6 15:39:56 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 4A45416A41F for ; Thu, 6 Oct 2005 15:39:56 +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 0DF0B43D5A for ; Thu, 6 Oct 2005 15:39:53 +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 j96Fdr3t007464 for ; Thu, 6 Oct 2005 08:39:53 -0700 (PDT) (envelope-from lists@jnielsen.net) From: John Nielsen To: current@freebsd.org Date: Thu, 6 Oct 2005 11:39:37 -0400 User-Agent: KMail/1.8.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200510061139.37825.lists@jnielsen.net> X-Virus-Scanned: ClamAV version 0.87, clamav-milter version 0.87 on ns1.jnielsen.net X-Virus-Status: Clean Cc: Subject: 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 15:39:56 -0000 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 I saw a couple other reports and PR's with similar messages, but they all seemed to be related to BCM5705 chips on amd64. I did try the two possible workarounds I found, but neither produced any change (running a kernel without APIC and increasing the delay times in if_bge.c). Skipping (commenting out) the RX diagnostics check altogether resulted in a kernel panic (not too surprisingly). I do not suspect faulty hardware, as the behavior is the same on several different machines (and the chip works fine with Broadcom's drivers for DOS or Windows XP). What's the next step toward getting this chip working properly under FreeBSD? Has this particular chip been successfully tested with the bge driver previously? For now I will use a PCI NIC and/or the ndis driver, but I would love to see native support if possible. I'm more than happy to test patches if a driver developer would care to work with me. Are there any other details I should include in this thread or a PR? Any input will be greatly appreciated. Thanks! JN