From owner-freebsd-current@FreeBSD.ORG Thu Sep 21 20:52:05 2006 Return-Path: X-Original-To: freebsd-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 72E4D16A40F for ; Thu, 21 Sep 2006 20:52:05 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F21243D46 for ; Thu, 21 Sep 2006 20:52:02 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.1/8.13.1) with ESMTP id k8LKpu9o061952; Thu, 21 Sep 2006 15:51:56 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <4512FB77.9060803@centtech.com> Date: Thu, 21 Sep 2006 15:52:07 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5.0.5 (X11/20060802) MIME-Version: 1.0 To: David Christensen References: <09BFF2FA5EAB4A45B6655E151BBDD90301FD1F42@NT-IRVA-0750.brcm.ad.broadcom.com> In-Reply-To: <09BFF2FA5EAB4A45B6655E151BBDD90301FD1F42@NT-IRVA-0750.brcm.ad.broadcom.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1920/Thu Sep 21 14:23:24 2006 on mh1.centtech.com X-Virus-Status: Clean Cc: freebsd-current@freebsd.org Subject: Re: bge/bce support for another Dell card 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, 21 Sep 2006 20:52:05 -0000 On 09/21/06 13:19, David Christensen wrote: >> We've got a brand new Dell Precision 390 (Core 2 Duo) which has a >> Broadcom NIC in it, Probably much like the one in the PowerEdge 1950, >> but cheaper and less reliable (if you can imagine that). >> It's doesn't >> seem to be supported yet on the 6-STABLE branch, and so I'm >> wondering if >> we would have better luck with -CURRENT, or if the PCI ID's >> just need to >> be mapped out, etc. > > The PowerEdge servers use the 5708 controller which is supported > by the bce driver. > >> Here's the pciconf output for that card: >> >> none2@pci4:0:0: class=0x020000 card=0x01de1028 >> chip=0x167a14e4 rev=0x02 >> hdr=0x00 >> vendor = 'Broadcom Corporation' >> class = network >> subclass = ethernet >> >> >> I see a line in the bge driver (sys/dev/bge/if_bgereg.h), like: >> >> #define BCOM_DEVICEID_BCM5754 0x167A >> >> But I believe it's a BCM5787, and when the bge driver loads, >> the system >> panics because of (excude my vagueness here - I'll get the details >> tomorrow) some kind of NMI memory checksum failure, but the device is >> fine, tests ok, and runs perfectly under other OS'es. >> >> Is that device supposed to be supported yet on -STABLE or -CURRENT? > > The 5787 has a device ID of 0x169b. The 0x167a is used on the 5754. Right you are - it's the PHYS remark in a linux boot message that mentioned 5787, sorry for the confusion. FreeBSD then correctly identifies the card, and loads the if_bge driver, but that panics the system. I tried to get a snap of the output, but the data was so garbled, it was useless. I can try again tomorrow. Anything you'd like to see in particular? Thanks! Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------