Onboard Eth Card unrecognized by Mandriva 2007 spring
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Onboard Eth Card unrecognized by Mandriva 2007 spring
Hi....
I relatively new in using linux. I have a Lenovo 3000H, with onboard ethernet card : NetLink BCM5786 (Broadcom Corporation).
I try to install mandriva 2007 spring, unfortunately... it seems that the card doesn't recognized by the system.
What i've tried is below... and i have no more idea to solve the problem.
[root@localhost drivers]# ethtool eth0
Settings for eth0:
Cannot get device settings: No such device
Cannot get wake-on-lan settings: No such device
Cannot get message level: No such device
Cannot get link status: No such device
No data available
[root@localhost drivers]#
This driver uses the tg3 module as seen on the broadcom site. So check wether tg3 has been loaded:
Code:
lsmod
If it hasn't do:
Code:
modprobe tg3
If you don't get an error try ifconfig again, if you do get an error like unable to find module, you need to recompile your kernel with tg3 support OR use the following:
than i tried to download the driver given in the link, and installed it.
here what happened :
Code:
Installation Manual :
Installing Source RPM Package
=============================
The following are general guidelines for installing the driver.
1. Install the source RPM package:
rpm -ivh tg3-<version>.src.rpm
2. CD to the RPM path and build the binary driver for your kernel:
cd /usr/src/{redhat,OpenLinux,turbo,packages,rpm ..}
rpm -bb SPECS/tg3.spec
Code:
Installation process and result :
[root@localhost Driver]# rpm -ivh tg3-3.71b-1.src.rpm
1:tg3 ########################################### [100%]
[root@localhost Driver]#
[root@localhost Driver]# cd /usr/src/rpm
[root@localhost rpm]# rpm -bb SPECS/tg3.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1989
+ umask 022
+ cd /usr/src/rpm/BUILD
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /usr/src/rpm/BUILD
+ rm -rf tg3-3.71b
+ /usr/bin/bzip2 -dc /usr/src/rpm/SOURCES/tg3-3.71b.tar.bz2
+ tar -xvvf -
drwxr-xr-x root/root 0 2006-12-15 20:19 tg3-3.71b/
-rw-r--r-- root/root 360330 2006-12-15 20:19 tg3-3.71b/tg3.c
-rw-r--r-- root/root 97560 2006-12-15 20:19 tg3-3.71b/tg3.h
-rw-r--r-- root/root 3440 2006-12-15 20:19 tg3-3.71b/tg3.4
-rw-r--r-- root/root 15153 2006-12-15 20:19 tg3-3.71b/LICENSE
-rw-r--r-- root/root 10323 2006-12-15 20:19 tg3-3.71b/README.TXT
-rw-r--r-- root/root 114255 2006-12-15 20:19 tg3-3.71b/ChangeLog
-rw-r--r-- root/root 2714 2006-12-15 20:19 tg3-3.71b/Makefile
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd tg3-3.71b
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.24175
+ umask 022
+ cd /usr/src/rpm/BUILD
+ cd tg3-3.71b
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ value=
+ '[' -z '' ']'
++ uname -r
+ KVER=2.6.17-13mdv
+ make KVER=2.6.17-13mdv
make -C SUBDIRS=/usr/src/rpm/BUILD/tg3-3.71b modules
make: *** SUBDIRS=/usr/src/rpm/BUILD/tg3-3.71b: No such file or directory. Stop.
make: *** [default] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.24175 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.24175 (%build)
[root@localhost rpm]#
I have the same problem with a Lenovo ThinkCentre (BR2 9632).
The lspci is the same as echo2612's output... when I do lsmod, the tg3 module appears in the same way sowed by him... when I download the tg3's rpm I have the same problem (No such file or directory)
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.58154
+ umask 022
+ cd /usr/src/rpm/BUILD
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /usr/src/rpm/BUILD
+ rm -rf tg3-3.71b
+ /usr/bin/bzip2 -dc /usr/src/rpm/SOURCES/tg3-3.71b.tar.bz2
+ tar -xvvf -
drwxr-xr-x root/root 0 2006-12-15 20:19 tg3-3.71b/
-rw-r--r-- root/root 360330 2006-12-15 20:19 tg3-3.71b/tg3.c
-rw-r--r-- root/root 97560 2006-12-15 20:19 tg3-3.71b/tg3.h
-rw-r--r-- root/root 3440 2006-12-15 20:19 tg3-3.71b/tg3.4
-rw-r--r-- root/root 15153 2006-12-15 20:19 tg3-3.71b/LICENSE
-rw-r--r-- root/root 10323 2006-12-15 20:19 tg3-3.71b/README.TXT
-rw-r--r-- root/root 114255 2006-12-15 20:19 tg3-3.71b/ChangeLog
-rw-r--r-- root/root 2714 2006-12-15 20:19 tg3-3.71b/Makefile
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd tg3-3.71b
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.58154
+ umask 022
+ cd /usr/src/rpm/BUILD
+ cd tg3-3.71b
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ value=
+ '[' -z '' ']'
++ uname -r
+ KVER=2.6.17-13mdv
+ make KVER=2.6.17-13mdv
make -C /lib/modules/2.6.17-13mdv/build SUBDIRS=/usr/src/rpm/BUILD/tg3-3.71b modules
make[1]: se ingresa al directorio `/usr/src/linux-2.6.17-13mdv'
WARNING: Symbol version dump /usr/src/linux-2.6.17-13mdv/Module.symvers
is missing; modules will have no dependencies and modversions.
CC [M] /usr/src/rpm/BUILD/tg3-3.71b/tg3.o
In file included from /usr/src/rpm/BUILD/tg3-3.71b/tg3.c:85:
/usr/src/rpm/BUILD/tg3-3.71b/tg3.h:333: error: redefinition of ‘netif_tx_lock’
include/linux/netdevice.h:908: error: previous definition of ‘netif_tx_lock’ was here
/usr/src/rpm/BUILD/tg3-3.71b/tg3.h: In function ‘netif_tx_lock’:
/usr/src/rpm/BUILD/tg3-3.71b/tg3.h:334: error: ‘struct net_device’ has no member named ‘xmit_lock’
/usr/src/rpm/BUILD/tg3-3.71b/tg3.h: At top level:
/usr/src/rpm/BUILD/tg3-3.71b/tg3.h:339: error: redefinition of ‘netif_tx_unlock’
include/linux/netdevice.h:928: error: previous definition of ‘netif_tx_unlock’ was here
/usr/src/rpm/BUILD/tg3-3.71b/tg3.h: In function ‘netif_tx_unlock’:
/usr/src/rpm/BUILD/tg3-3.71b/tg3.h:341: error: ‘struct net_device’ has no member named ‘xmit_lock’
/usr/src/rpm/BUILD/tg3-3.71b/tg3.c: In function ‘tg3_start_xmit’:
/usr/src/rpm/BUILD/tg3-3.71b/tg3.c:3957: error: ‘SKB_GSO_TCPV6’ undeclared (first use in this function)
/usr/src/rpm/BUILD/tg3-3.71b/tg3.c:3957: error: (Each undeclared identifier is reported only once
/usr/src/rpm/BUILD/tg3-3.71b/tg3.c:3957: error: for each function it appears in.)
make[2]: *** [/usr/src/rpm/BUILD/tg3-3.71b/tg3.o] Error 1
make[1]: *** [_module_/usr/src/rpm/BUILD/tg3-3.71b] Error 2
make[1]: se sale del directorio `/usr/src/linux-2.6.17-13mdv'
make: *** [default] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.58154 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.58154 (%build)
Last edited by gramofenomeno; 08-13-2007 at 01:33 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.