View Issue Details

IDProjectCategoryView StatusLast Update
0008316CentOS-6kernelpublic2015-03-24 20:35
Reporterhenny 
PrioritynormalSeveritymajorReproducibilityalways
Status newResolutionopen 
Product Version 
Target VersionFixed in Version 
Summary0008316: tg3 driver can't probe Broadcom ethernet chip
DescriptionKernel versions after

2.6.32-431.29.2.el6.x86_64

can't probe the Broadcom ethernet chip on my server, resulting in no network access.

Output from lspci:

02:00.0 Ethernet controller: Broadcom Corporation NetLink BCM57780 Gigabit Ethernet PCIe (rev 01)

Relevant kernel log:
Feb 9 21:44:07 zulu442 kernel: tg3.c:v3.137 (May 11, 2014)
Feb 9 21:44:07 zulu442 kernel: tg3 0000:02:00.0: mdiobus_reg failed (0xfffffffb)
Feb 9 21:44:07 zulu442 kernel: tg3 0000:02:00.0: Problem fetching invariants of
chip, aborting
Feb 9 21:44:07 zulu442 kernel: tg3: probe of 0000:02:00.0 failed with error -5
Steps To ReproduceInstall a kernel version higher then 2.6.32-431.29.2.el6.x86_64 on the mentioned hardware and boot.
TagsNo tags attached.

Activities

toracat

toracat

2015-03-19 17:19

manager   ~0022552

Last edited: 2015-03-23 17:00

View 2 revisions

The version of tg3 in CentOS 6.5 kernels (-431) is 3.132 while that in 6.6 kernels (-504) is 3.137. You may want to try a couple of things. (1) Use ELRepo's tg3 driver (kmod-tg3-3.136h-1.el6.elrepo) that provides tg3 version 3.136h. (2) Try the latest kernel 2.6.32-504.12.2.el6 which has fix(es) for the tg3 driver. And make sure you have the latest firmware.

henny

henny

2015-03-22 21:18

reporter   ~0022564

With kernel 2.6.32-504.12.2.el6:

Mar 22 21:31:31 zulu442 kernel: tg3.c:v3.137 (May 11, 2014)
Mar 22 21:31:31 zulu442 kernel: tg3 0000:02:00.0: mdiobus_reg failed (0xfffffffb)
Mar 22 21:31:31 zulu442 kernel: tg3 0000:02:00.0: Problem fetching invariants of chip, aborting
Mar 22 21:31:31 zulu442 kernel: tg3: probe of 0000:02:00.0 failed with error -5

Same problem as with all -504 kernels i tried.


Kernel 2.6.32-431.29.2.el6 + kmod-tg3-3.136h-1.el6.elrepo works(unsurprisingly) and loads tg3 in v3.136h.

Kernel 2.6.32-504.12.2.el6 + kmod-tg3-3.136h-1.el6.elrepo does not help, same error message from the kernel:

Mar 22 22:06:13 zulu442 kernel: tg3.c:v3.137 (May 11, 2014)
Mar 22 22:06:13 zulu442 kernel: tg3 0000:02:00.0: mdiobus_reg failed (0xfffffffb)
Mar 22 22:06:13 zulu442 kernel: tg3 0000:02:00.0: Problem fetching invariants of chip, aborting
Mar 22 22:06:13 zulu442 kernel: tg3: probe of 0000:02:00.0 failed with error -5

But it does not load the tg3 v3.316h. Is this expected?
toracat

toracat

2015-03-23 17:10

manager   ~0022568

You are right about elrepo's tg3 v3.316h not working with -504 kernels. It was built against the -358 kernel and works up to -431 kernels.

It is unfortunate that the latest kernel does not fix the issue.
toracat

toracat

2015-03-23 17:28

manager   ~0022569

There is one other thing you can try/test. Install kernel-ml from ELRepo. It gives you the latest stable kernel from kernel.org that runs on RHEL/CentOS/SL.
henny

henny

2015-03-23 20:31

reporter   ~0022571

I tried the kernel-ml 3.19.2-1.el6.elrepo.x86_64, it has the same problem:

Mar 23 21:00:59 zulu442 kernel: tg3.c:v3.137 (May 11, 2014)
Mar 23 21:00:59 zulu442 kernel: tg3 0000:02:00.0: mdiobus_reg failed (0xfffffffb)
Mar 23 21:00:59 zulu442 kernel: tg3 0000:02:00.0: Problem fetching invariants of chip, aborting
Mar 23 21:00:59 zulu442 kernel: tg3: probe of 0000:02:00.0 failed with error -5
toracat

toracat

2015-03-23 20:59

manager   ~0022572

Hmm, what is your NIC's vendor:device IDs?

lspci -nn
wicked

wicked

2015-03-24 03:31

reporter   ~0022573

AFAIK, this is a known limitation/bug in the tg3 driver or the broadcom phylib thingy. Basicly, the tg3 driver requires broadcom driver to be loaded beforehand but nothing loads broadcom driver automatically so the result is lots of networkless systems. :(

Please, see https://bugzilla.redhat.com/show_bug.cgi?id=525966 or https://bugzilla.kernel.org/show_bug.cgi?id=15400 for details and workaround that has worked for me previously.
henny

henny

2015-03-24 20:35

reporter   ~0022585

Output of lspci -nn:

02:00.0 Ethernet controller [0200]: Broadcom Corporation NetLink BCM57780 Gigabit Ethernet PCIe [14e4:1692] (rev 01)

I also tried to boot kernel 2.6.32-504.12.2.el6 and this /etc/rc.local:

modprobe -r tg3
modprobe broadcom
modprobe tg3

But that simply triggers the tg3 probing error twice. So that workaround does not work for me.

Issue History

Date Modified Username Field Change
2015-03-18 19:38 henny New Issue
2015-03-19 17:19 toracat Note Added: 0022552
2015-03-22 21:18 henny Note Added: 0022564
2015-03-23 17:00 toracat Note Edited: 0022552 View Revisions
2015-03-23 17:10 toracat Note Added: 0022568
2015-03-23 17:28 toracat Note Added: 0022569
2015-03-23 20:31 henny Note Added: 0022571
2015-03-23 20:59 toracat Note Added: 0022572
2015-03-24 03:31 wicked Note Added: 0022573
2015-03-24 20:35 henny Note Added: 0022585