From owner-freebsd-stable@FreeBSD.ORG Mon Oct 26 14:49:40 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E32B1065698; Mon, 26 Oct 2009 14:49:40 +0000 (UTC) (envelope-from Johan@double-l.nl) Received: from smtp-vbr8.xs4all.nl (smtp-vbr8.xs4all.nl [194.109.24.28]) by mx1.freebsd.org (Postfix) with ESMTP id 0117D8FC26; Mon, 26 Oct 2009 14:49:39 +0000 (UTC) Received: from w2003s01.double-l.local (double-l.xs4all.nl [80.126.205.144]) by smtp-vbr8.xs4all.nl (8.13.8/8.13.8) with ESMTP id n9QEncrd004823; Mon, 26 Oct 2009 15:49:38 +0100 (CET) (envelope-from Johan@double-l.nl) Date: Mon, 26 Oct 2009 15:49:37 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Message-ID: <57200BF94E69E54880C9BB1AF714BBCBA570E2@w2003s01.double-l.local> X-MS-Has-Attach: Content-class: urn:content-classes:message X-MS-TNEF-Correlator: Thread-Topic: Broadcom on HP Proliant ML150G6 not detected by 8.0RC1 AMD64 X-MimeOLE: Produced By Microsoft Exchange V6.5 Thread-Index: AcpT5z1eFu4cEqe6S6KPsB2ncHkASgCYn2og References: <57200BF94E69E54880C9BB1AF714BBCBA570C7@w2003s01.double-l.local> <200910230812.31166.jhb@freebsd.org> From: "Johan Hendriks" To: "John Baldwin" X-Virus-Scanned: by XS4ALL Virus Scanner Cc: stas@freebsd.org, bz@freebsd.org, freebsd-stable@freebsd.org Subject: RE: Broadcom on HP Proliant ML150G6 not detected by 8.0RC1 AMD64 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Oct 2009 14:49:40 -0000 >> Hello all >> I just installed FreeBSD 8.0RC1 AMD64 on my new HP Proliant ML150 G6 >> server. >> It fails to detect the Broadcom network interface. >>=20 >>=20 >>=20 >> Pciconf -lv gives me the following. >>=20 >> none3@pci0:4:0:0: class=3D0x020000 card=3D0x705d10c chip=3D0x165b14e4 >> rev=3D0x10 >> hdr=3D0x00 >>=20 >> vendor =3D 'Broadcom Corporation' >> class =3D network >>=20 >> Subclass =3D Ethernet >>=20 >> =20 >>=20 >> Is there something I can do, other than install an other network card? >I think you can just patch the bge(4) driver to add support for your >adapter. =20 >It looks like a BCM5723 from the PCI ID. Support for it was just added in=20 >9.0 as part of change 197832, but I suspect it might not need all the other >patches from that change. Try this diff: >Index: if_bgereg.h >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >--- if_bgereg.h (revision 197831) >+++ if_bgereg.h (revision 197832) >@@ -2101,6 +2123,7 @@ > #define BCOM_DEVICEID_BCM5720 0x1658 > #define BCOM_DEVICEID_BCM5721 0x1659 > #define BCOM_DEVICEID_BCM5722 0x165A >+#define BCOM_DEVICEID_BCM5723 0x165B > #define BCOM_DEVICEID_BCM5750 0x1676 > #define BCOM_DEVICEID_BCM5750M 0x167C > #define BCOM_DEVICEID_BCM5751 0x1677 >Index: if_bge.c >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >--- if_bge.c (revision 197831) >+++ if_bge.c (revision 197832) >@@ -170,6 +170,7 @@ > { BCOM_VENDORID, BCOM_DEVICEID_BCM5720 }, > { BCOM_VENDORID, BCOM_DEVICEID_BCM5721 }, > { BCOM_VENDORID, BCOM_DEVICEID_BCM5722 }, >+ { BCOM_VENDORID, BCOM_DEVICEID_BCM5723 }, > { BCOM_VENDORID, BCOM_DEVICEID_BCM5750 }, > { BCOM_VENDORID, BCOM_DEVICEID_BCM5750M }, > { BCOM_VENDORID, BCOM_DEVICEID_BCM5751 }, Like I said in my first answer, the device is detected with these lines. Only if I enable the device it can not boot. If I boot with the inserted em0 interface and the change in the rc.conf file the em0 into bge0 and do a /etc/netstart, the systems hangs, only a power cycle can reclaim the server. I have installed FreeBSD 9.0Current on the machine and here it works fine I saw a commit from Bjoern A. Zeeb which describe the hang, but do not know if this can be reverted back to 8.x before the release. svn commit: r198049 - head/sys/dev/bge Bjoern A. Zeeb regards, and thank you for your time. cc'ed stas@ and bz@ ( hope they do not mind, if so I am sorry) Johan Hendriks No virus found in this outgoing message. Checked by AVG - www.avg.com=20 Version: 8.5.423 / Virus Database: 270.14.32/2459 - Release Date: 10/25/09 19:57:00