LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-21-2010, 06:58 PM   #1
bathininb
LQ Newbie
 
Registered: Oct 2010
Posts: 2

Rep: Reputation: 0
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
 
Old 10-22-2010, 11:53 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,604

Rep: Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960
Quote:
Originally Posted by bathininb View Post
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"?
 
Old 10-24-2010, 02:43 PM   #3
gdejonge
Member
 
Registered: Aug 2010
Location: Netherlands
Distribution: Kubuntu, Debian, Suse, Slackware
Posts: 317

Rep: Reputation: 73
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.
 
Old 10-24-2010, 04:40 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,965

Rep: Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622
Enabled in bios?
 
Old 10-24-2010, 05:52 PM   #5
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
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.

Last edited by jschiwal; 10-24-2010 at 05:57 PM.
 
1 members found this post helpful.
Old 10-25-2010, 10:01 AM   #6
bathininb
LQ Newbie
 
Registered: Oct 2010
Posts: 2

Original Poster
Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SATA drive detection with PCI controller ins_tech Linux - Hardware 2 11-15-2009 11:40 AM
ethernet controller detection in mandriva 2008 on dell satishpandita Mandriva 4 11-08-2008 12:34 AM
Problem with ethernet card [Marvel Yukon Ethernet controller] in Fedora 4 me4linux Linux - Hardware 3 03-28-2007 02:39 PM
Ethernet controller problem IkEcht Linux - Hardware 1 11-03-2005 05:45 PM
Redhat 9 - IDE controller detection problem, hangs on startup jpeterse Linux - Software 0 04-28-2003 01:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration