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.
I'm trying to compile the tg3 driver from Broadcom on a Slackware (2.4.31) but I always get the following error message during compile:
Quote:
In file included from /lib/modules/2.4.31/build/include/linux/spinlock.h:6,
from /lib/modules/2.4.31/build/include/linux/module.h:12,
from tg3.c:27:
/lib/modules/2.4.31/build/include/asm/system.h: In function `__set_64bit_var':
/lib/modules/2.4.31/build/include/asm/system.h:190: warning: dereferencing type-punned pointer will break strict-aliasing
rules
/lib/modules/2.4.31/build/include/asm/system.h:190: warning: dereferencing type-punned pointer will break strict-aliasing
rules
In file included from tg3.c:77:
tg3.h: At top level:
tg3.h:234: error: redefinition of `if_mii'
/lib/modules/2.4.31/build/include/linux/mii.h:149: error: `if_mii' previously defined here
make: *** [tg3.o] Error 1
As much as I hate to try solving an issue by not solving the issue, I have to say that Broadcom does not release any info about thier drivers and all attempts to date to reverse engineering have left the users pissed.
I have a broadcom wireless adapter in my Acer Laptop, and have been using the ndiswrapper to use the windows drivers for it. It also works for non-wireless drivers as well. You can find out how to configure it at gentoo-wiki. It's really a peice of cake. Im at work right now otherwise could post my home made batch script for setting it up. If your interested let me know and I'll post it when i get home.
Thanks for the hint. I'll check the gentoo wiki. However I need the tg3 compiled for a specific reason (ZenWorks imaging kernel module). In the meantime I have tried to compile the tg3 using the 2.4.28 as well but no progress
I'll try to check out with the Broadcom support as well.
Their drivers work (kinda. At last try I had, it would only give me 'b' speeds, and no power/strength levels, but it would connect). Read their forums, too.
I was reading in this thread about something else, and tg3 popped up...
Quote:
Originally Posted by Chinaman
...I wish it worked back in Slackware-9.1 for my Broadcom Gigabit NIC ... back then I just didn't get on, until I uncommented "tg3" in /etc/rc.d/rc.modules or rebuilt the kernel afterwards.
Duh. Why didn't I think of that?
Last edited by cwwilson721; 06-26-2006 at 12:14 PM.
cwwilson thanks for your input. At the moment I am recompiling the kernel with the tg3 module and will try to use the whole new thing as my ZenWorks imaging kernel. I was just dazzled that the module supplied by Broadcom did not compile However i can try compiling it on Gentoo box and see what is going on there but if it works I will be very surprised as usually my Slak box is fit for the purpose.
Hmm, that's odd. The only problem I've ever had with a Broadcom Gigabit NIC was on an IBM server running Slack 10. I had to compile the module from the IBM drivers CD. From Slackware 10.1 and up, though, the network portion of Slack's setup automatically detects the NIC and adds the TG3 module. I'm not sure whether it actually transfers data at or near Gigabit speeds, though. All of the network switches where the server is located are still 10/100.
The card is a Broadcom NetXtreme Gigabit ethernet NIC, BTW.
Final solution: just upgraded the other system to 2.4.31 and no more problems with tg3
davidsrsb: I agree totally with you re 2.6 but unfortunatelly it is not an option for me yet.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.