Broadcom Ethernet Card Compiling Error On Thinkpad R40E
SlackwareThis Forum is for the discussion of Slackware 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.
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.
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.