amd64/184304: Broadcom NetXtreme BCM57786 Gigabit Ethernet NIC not working
Sastry Tumuluri
sas3 at tumuluri.name
Sat Nov 30 18:20:03 UTC 2013
The following reply was made to PR amd64/184304; it has been noted by GNATS.
From: Sastry Tumuluri <sas3 at tumuluri.name>
To: John Baldwin <jhb at freebsd.org>, bug-followup at freebsd.org
Cc: freebsd-amd64 at freebsd.org, freebsd-gnats-submit at freebsd.org
Subject: Re: amd64/184304: Broadcom NetXtreme BCM57786 Gigabit Ethernet NIC
not working
Date: Sat, 30 Nov 2013 23:41:56 +0530
After the following steps,
1. Apply the patch
2. make buildkernel && make installkernel
3. add the interface to /etc/rc.conf
4. reboot
The interface comes up as bge0 and it works.
Now, /var/run/dmesg.boot shows:
bge0: <Broadcom NetXtreme Gigabit Ethernet Controller, ASIC rev.
0x57766001> mem 0xb0410000-0xb041ffff, 0xb0420000-0xb042ffff irq 18 at
device 0.0 on pci1
bge0: CHIP ID 0x57766001; ASIC REV 0x57766; CHIP REV 0x577660; PCI-E
miibus0: <MII bus> on bge0
brgphy0: <BCM57765 1000BASE-T media interface> PHY 1 on miibus0
brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow
bge0: Ethernet address: aa:bb:cc:dd:ee:ff
Notes:
1. I expected to see BCM57786 (pciconf -lv shows this even now) in the
messages but there isn't any. The chip number, revision and card
references from pciconf don't seem to match with dmesg.
2. In dmesg, "brgphy0:" line refers to <BCM57765 1000BASE-T media
interface> but pciconf refers to BCM57765 as "Memory Card Reader";
not sure what the 1000BASE-T in dmesg is about.
Cheers,
==Sas3==
>> On a Slippery Road in the Name of National Security <<
http://sastrytumuluri.blogspot.com/2013/10/on-slippery-road-in-name-of-national.html
PGP Key ID: 2ACBE375B08D0A85
On Wed, Nov 27, 2013 at 12:31 AM, John Baldwin <jhb at freebsd.org> wrote:
>
> On Tuesday, November 26, 2013 3:18:17 am Sastry Tumuluri wrote:
> >
> > >Number: 184304
> > >Category: amd64
> > >Synopsis: Broadcom NetXtreme BCM57786 Gigabit Ethernet NIC not
> working
> > >Confidential: no
> > >Severity: non-critical
> > >Priority: low
> > >Responsible: freebsd-amd64
> > >State: open
> > >Quarter:
> > >Keywords:
> > >Date-Required:
> > >Class: sw-bug
> > >Submitter-Id: current-users
> > >Arrival-Date: Tue Nov 26 08:20:00 UTC 2013
> > >Closed-Date:
> > >Last-Modified:
> > >Originator: Sastry Tumuluri
> > >Release: 10.0BETA3
> > >Organization:
> > Government of Haryana
> > >Environment:
> > FreeBSD 10.0-BETA3 #0 r257580: Sun Nov 3 19:43:01 UTC 2013
> root at snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
> > >Description:
> > Laptop: Acer Aspire E1-572-54204G50Mnkk
> >
> > Ethernet NIC not recognized on boot.
> >
> > pciconf shows:
> > none2 at pci0:1:0:0: class=0x020000 card=0x07751025 chip=0x16b314e4 rev=0x01
> hdr=0x00
> > vendor = 'Broadcom Corportation'
> > device = 'NetXtreme BCM57786 Gigabit Ethernet PCIe'
> > class = network
> > subclass = ethernet
>
> Please try this but report back with the dmesg:
>
> Index: head/sys/dev/bge/if_bge.c
> ===================================================================
> --- head/sys/dev/bge/if_bge.c (revision 258648)
> +++ head/sys/dev/bge/if_bge.c (working copy)
> @@ -221,11 +221,16 @@
> { BCOM_VENDORID, BCOM_DEVICEID_BCM57760 },
> { BCOM_VENDORID, BCOM_DEVICEID_BCM57761 },
> { BCOM_VENDORID, BCOM_DEVICEID_BCM57762 },
> + { BCOM_VENDORID, BCOM_DEVICEID_BCM57764 },
> { BCOM_VENDORID, BCOM_DEVICEID_BCM57765 },
> { BCOM_VENDORID, BCOM_DEVICEID_BCM57766 },
> + { BCOM_VENDORID, BCOM_DEVICEID_BCM57767 },
> { BCOM_VENDORID, BCOM_DEVICEID_BCM57780 },
> { BCOM_VENDORID, BCOM_DEVICEID_BCM57781 },
> + { BCOM_VENDORID, BCOM_DEVICEID_BCM57782 },
> { BCOM_VENDORID, BCOM_DEVICEID_BCM57785 },
> + { BCOM_VENDORID, BCOM_DEVICEID_BCM57786 },
> + { BCOM_VENDORID, BCOM_DEVICEID_BCM57787 },
> { BCOM_VENDORID, BCOM_DEVICEID_BCM57788 },
> { BCOM_VENDORID, BCOM_DEVICEID_BCM57790 },
> { BCOM_VENDORID, BCOM_DEVICEID_BCM57791 },
> @@ -2694,6 +2699,9 @@
> case BCOM_DEVICEID_BCM5725:
> case BCOM_DEVICEID_BCM5727:
> case BCOM_DEVICEID_BCM5762:
> + case BCOM_DEVICEID_BCM57764:
> + case BCOM_DEVICEID_BCM57767:
> + case BCOM_DEVICEID_BCM57787:
> id = pci_read_config(dev,
> BGE_PCI_GEN2_PRODID_ASICREV, 4);
> break;
> @@ -2702,7 +2710,9 @@
> case BCOM_DEVICEID_BCM57765:
> case BCOM_DEVICEID_BCM57766:
> case BCOM_DEVICEID_BCM57781:
> + case BCOM_DEVICEID_BCM57782:
> case BCOM_DEVICEID_BCM57785:
> + case BCOM_DEVICEID_BCM57786:
> case BCOM_DEVICEID_BCM57791:
> case BCOM_DEVICEID_BCM57795:
> id = pci_read_config(dev,
> Index: head/sys/dev/bge/if_bgereg.h
> ===================================================================
> --- head/sys/dev/bge/if_bgereg.h (revision 258648)
> +++ head/sys/dev/bge/if_bgereg.h (working copy)
> @@ -2503,11 +2503,16 @@
> #define BCOM_DEVICEID_BCM57760 0x1690
> #define BCOM_DEVICEID_BCM57761 0x16B0
> #define BCOM_DEVICEID_BCM57762 0x1682
> +#define BCOM_DEVICEID_BCM57764 0x1642
> #define BCOM_DEVICEID_BCM57765 0x16B4
> #define BCOM_DEVICEID_BCM57766 0x1686
> +#define BCOM_DEVICEID_BCM57767 0x1683
> #define BCOM_DEVICEID_BCM57780 0x1692
> #define BCOM_DEVICEID_BCM57781 0x16B1
> +#define BCOM_DEVICEID_BCM57782 0x16B7
> #define BCOM_DEVICEID_BCM57785 0x16B5
> +#define BCOM_DEVICEID_BCM57786 0x16B3
> +#define BCOM_DEVICEID_BCM57787 0x1641
> #define BCOM_DEVICEID_BCM57788 0x1691
> #define BCOM_DEVICEID_BCM57790 0x1694
> #define BCOM_DEVICEID_BCM57791 0x16B2
>
> --
> John Baldwin
More information about the freebsd-amd64
mailing list