Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Oct 2009 15:49:37 +0100
From:      "Johan Hendriks" <Johan@double-l.nl>
To:        "John Baldwin" <jhb@freebsd.org>
Cc:        stas@freebsd.org, bz@freebsd.org, freebsd-stable@freebsd.org
Subject:   RE: Broadcom on HP Proliant ML150G6 not detected by 8.0RC1 AMD64
Message-ID:  <57200BF94E69E54880C9BB1AF714BBCBA570E2@w2003s01.double-l.local>
References:  <57200BF94E69E54880C9BB1AF714BBCBA570C7@w2003s01.double-l.local> <200910230812.31166.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

>> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?57200BF94E69E54880C9BB1AF714BBCBA570E2>