LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-02-2006, 04:58 PM   #1
TheGreatGonzo
Member
 
Registered: Feb 2006
Location: Harlow (uk)
Distribution: Salckware
Posts: 31

Rep: Reputation: 15
Broadcom Ethernet Card Compiling Error On Thinkpad R40E


Help!!!

OK so I thought it was all going so well... should have known better.

I have brought a Thinkpad R40E. Installed slackware 10.2 and all hardware was detected and/or set up fine and considering I am a relative newbie I was impressed with myself.

But then I noticed that the ethernet card (eth0) was not working(!!). After a bit of hunting and web research I find that the ethernet driver is not support in the kernal (default 2.4.31). So I downloadd the source from the Broadcom site and have tried to follow the instructions to compile from source. The end result is meant to be the tg3.o kernal module. But instead when I run make I get and error. The error code is 1 and the message is "redefination of if_mii". Being a programmer (windoz sry... trying to leave the darkside... Have seen the qt/kde/pthon/ruby/mono light) I tried to go through the source code but it's beyond my limited c skills.

The package I downloaded from broadcom is the one for the BCM5700. Any help advice or howtos would be great.
 
Old 05-03-2006, 12:13 PM   #2
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Blog Entries: 2

Rep: Reputation: 30
It might be easier to use a newer kernel if you find that driver doesn't work. I'm not sure. You can simply download a 2.6 kernel from slackware.com, current. Install it with installpkg. There might be another solution.
 
Old 05-03-2006, 02:03 PM   #3
dcdbutler
Member
 
Registered: Jan 2005
Location: Boston
Distribution: slackware
Posts: 502

Rep: Reputation: 30
the tg3 module was compiled as a module during installation with my kernel for 2.4.31 (this was the bare.i kernel). Is tg3 the driver for the BCM5700? If so, you should be able to do:

# modprobe tg3

or recompile the kernel with support for the module if it's not installed already.

Cheers

[Edit: I have 2.4.26 kernel, not 2.4.31]

Last edited by dcdbutler; 05-03-2006 at 02:10 PM.
 
Old 05-18-2006, 03:36 PM   #4
TheGreatGonzo
Member
 
Registered: Feb 2006
Location: Harlow (uk)
Distribution: Salckware
Posts: 31

Original Poster
Rep: Reputation: 15
Network Card

Cheers for the advice chaps.

I'm building the courage to upgrade the kernal to a 2.6 variety at the moment. (This would be my first time!!) I might be mistaken but I tought that the kernal did not natively support the broadcom drives?? Does anyone know for sure. If it's just a case of upgrading the kernal and including the driver thats what I will do.

Cheers

Gonzo
 
Old 05-18-2006, 03:50 PM   #5
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
The 2.4.31 kernel source has tg3 driver in it. I mean, it's part of the tree, but it may not be compiled in your kernel (or as a module). 2.6 also has tg3 in the tree. Actually, according to this it's been included since 2.4.19.
 
  


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
k3b root detects DVD-ROM as reader only (Thinkpad R40e, mandriva 2006) Emmanuel_uk Linux - Laptop and Netbook 5 04-19-2006 08:19 AM
Looking for drivers for a Broadcom ethernet card. Magotari Linux - Wireless Networking 1 04-09-2006 08:53 AM
Is Slackware 10.2 and WinXP Dual Boot Possible on a Thinkpad R40e TheGreatGonzo Slackware - Installation 8 02-24-2006 03:50 AM
ACPI issue on IBM thinkpad r40e SmellyLlama SUSE / openSUSE 4 04-18-2005 08:04 AM
Ethernet card: Broadcom Corp BCM4401 rickthemick Linux - Networking 1 01-18-2005 03:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:36 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