LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-27-2007, 10:59 PM   #1
echo2612
LQ Newbie
 
Registered: May 2007
Posts: 2

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

Code:
[root@localhost drivers]# lspci
00:00.0 Host bridge: Intel Corporation 82946GZ/PL/GL Memory Controller Hub (rev 02)
00:01.0 PCI bridge: Intel Corporation 82946GZ/PL/GL PCI Express Root Port (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82946GZ/GL Integrated Graphics Controller (rev 02)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (ICH7 Family) SATA IDE Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
04:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5786 Gigabit Ethernet PCI Express (rev 02)
0a:0a.0 Communication controller: Conexant HSF 56k Data/Fax Modem
[root@localhost drivers]#

Code:
[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]#

Code:
[root@localhost qohhar]# ifconfig
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:44 errors:0 dropped:0 overruns:0 frame:0
          TX packets:44 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3384 (3.3 KiB)  TX bytes:3384 (3.3 KiB)

[root@localhost qohhar]#
Thanks!
 
Old 05-28-2007, 09:01 PM   #2
puntjuh
Member
 
Registered: Apr 2006
Location: holland
Distribution: Gentoo / debian / suse / mint
Posts: 558

Rep: Reputation: 42
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:

THIS LINK

and scroll to tg3, and download it.

Then follow those directions!
 
Old 05-29-2007, 03:41 AM   #3
echo2612
LQ Newbie
 
Registered: May 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Thank u for the answer, and i've tried to follow ur advice, and here is the result :

Code:
[root@localhost qohhar]# modprobe tg3
[root@localhost qohhar]# lsmod
Module                  Size  Used by
tg3                   102116  0 
i915                   17664  2
drm                    62420  3 i915
snd_seq_dummy           3492  0
snd_seq_oss            31168  0
snd_seq_midi_event      6944  1 snd_seq_oss
-deleted-
[root@localhost qohhar]# ifconfig
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:52 errors:0 dropped:0 overruns:0 frame:0
          TX packets:52 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:4024 (3.9 KiB)  TX bytes:4024 (3.9 KiB)

[root@localhost qohhar]#
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]#
What should i do? Thanks.....
 
Old 08-08-2007, 09:40 AM   #4
gramofenomeno
LQ Newbie
 
Registered: Dec 2005
Location: Bogotá, Colombia, S.A.
Distribution: Mandriva, Slackware, Ubuntu
Posts: 15

Rep: Reputation: 2
Hi

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)

I appreciate a lot your help

Thanks in advance
 
Old 08-09-2007, 05:23 PM   #5
puntjuh
Member
 
Registered: Apr 2006
Location: holland
Distribution: Gentoo / debian / suse / mint
Posts: 558

Rep: Reputation: 42
Do the both of you have your kernel-sources installed?

**Sorry for the late response, i'm busy getting my work-permit for Argentina done, it's a hell of a job**
 
Old 08-10-2007, 09:21 AM   #6
gramofenomeno
LQ Newbie
 
Registered: Dec 2005
Location: Bogotá, Colombia, S.A.
Distribution: Mandriva, Slackware, Ubuntu
Posts: 15

Rep: Reputation: 2
nop, I've not installed my kernel rpms... I will try it, then I tell you what happened
 
Old 08-13-2007, 01:23 PM   #7
gramofenomeno
LQ Newbie
 
Registered: Dec 2005
Location: Bogotá, Colombia, S.A.
Distribution: Mandriva, Slackware, Ubuntu
Posts: 15

Rep: Reputation: 2
Kernel sources installed (kernel-source-stripped-2.6.17.13mdv-1-1mdv2007.1.i586.rpm)...

new problem appears:

Code:
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.
 
  


Reply



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
Mandriva 2007 Spring Grip problems skrillz2002 Mandriva 5 05-24-2007 09:15 AM
LXer: The Perfect Desktop - Mandriva 2007 Spring Free (Mandriva 2007.1) LXer Syndicated Linux News 0 05-10-2007 02:01 PM
LXer: Beryl on Mandriva 2007 Spring LXer Syndicated Linux News 0 05-09-2007 07:01 AM
LXer: Mandriva releases Mandriva Linux 2007 Spring LXer Syndicated Linux News 0 04-18-2007 11:16 PM
LXer: Mandriva Linux 2007 Spring: Here Comes The Spring LXer Syndicated Linux News 0 03-24-2007 05:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:06 PM.

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