LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Problem with Ethernet controller detection (https://www.linuxquestions.org/questions/linux-networking-3/problem-with-ethernet-controller-detection-839648/)

bathininb 10-21-2010 06:58 PM

Problem with Ethernet controller detection
 
Hi,

My machine has 3 Ethernet Controllers, one of the controller is not configurable. After issuing "dmesg" there is no message regarding this controller , however a "lspci" displays the Ethernet controller.
Is it a problem related to the device driver?
Please help me.
By the way the problematic Ethernet controller is BCM5761.

lspci

02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5761 Gigabit Ethernet PCIe (rev 10)
03:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5721 Gigabit Ethernet PCI Express (rev 21)
04:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5721 Gigabit Ethernet PCI Express (rev 21)

lsmod
tg3 107528 0

Thanks,
Bathini N B

TB0ne 10-22-2010 11:53 AM

Quote:

Originally Posted by bathininb (Post 4135293)
Hi,
My machine has 3 Ethernet Controllers, one of the controller is not configurable. After issuing "dmesg" there is no message regarding this controller , however a "lspci" displays the Ethernet controller.
Is it a problem related to the device driver?
Please help me.
By the way the problematic Ethernet controller is BCM5761.

lspci

02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5761 Gigabit Ethernet PCIe (rev 10)
03:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5721 Gigabit Ethernet PCI Express (rev 21)
04:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5721 Gigabit Ethernet PCI Express (rev 21)

lsmod
tg3 107528 0

Might help if we knew what version/distro of Linux you're using, don't you think?

And what is the output of "ifconfig -a"?

gdejonge 10-24-2010 02:43 PM

First: As TBone said some more information would be useful.
Second: The BCM5761 is supported by the tg3 driver.
Third: ethx assignment are normally controlled by udev. For this check in the /etc/udev/rules.d directory for a file called something like persistent-net.rules It will have and entry for each NIC. Something like:

Code:

# PCI device 0x10ec:0x8168 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="40:61:86:f4:5f:29", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

Check which cards are present.

jefro 10-24-2010 04:40 PM

Enabled in bios?

jschiwal 10-24-2010 05:52 PM

If it is listed in lspci but the kernel doesn't handle it, it could be that this is a device that your kernel module doesn't handle yet.

Listing the manufacture's ID for the device (lspci -n) and your kernel's version will help.

When I got my netbook, I couldn't use wireless even though I new that the atheros device uses the ath9k driver. I had to update my kernel. Then it worked. Grep'ing for the id in the kernel ath9k driver source verified that it wasn't supported yet.

/usr/src/linux/drivers/net/wireless/ath/ath9k/hw.h:#define AR9280_DEVID_PCIE 0x002a

Check the /usr/src/linux/drivers/net/tg3.c file for a line like:
{PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, PCI_DEVICE_ID_TIGON3_5761E)},

The driver and the firmware for it are supplied by the kernel.

bathininb 10-25-2010 10:01 AM

Thanks for helping me

I resolved this issue by updating the driver (tg3.ko)

service network stop

modprode tg3 eth2

modprobe -r tg3

depmod -ae

modinfo tg3 | less

service network stop


All times are GMT -5. The time now is 02:34 PM.