Slackware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
06-26-2006, 06:01 AM
|
#1
|
LQ Newbie
Registered: May 2003
Location: The Netherlands
Distribution: Salckware 8.0
Posts: 6
Rep:
|
Broadcom NIC driver compile error
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
|
Any idea what is going wrong?
Thx....
|
|
|
06-26-2006, 06:51 AM
|
#2
|
Member
Registered: Jun 2004
Location: Chicago
Distribution: Gentoo
Posts: 53
Rep:
|
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.
Last edited by J3N7iL; 06-26-2006 at 06:52 AM.
|
|
|
06-26-2006, 07:23 AM
|
#3
|
LQ Newbie
Registered: May 2003
Location: The Netherlands
Distribution: Salckware 8.0
Posts: 6
Original Poster
Rep:
|
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.
Cheers,
Dimi
|
|
|
06-26-2006, 10:50 AM
|
#4
|
Senior Member
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Rep:
|
I had the same problem. Here's the solution:
Forget broadcom. Go to serialmonkey.com.
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.
|
|
|
06-26-2006, 10:55 AM
|
#5
|
Member
Registered: Jun 2004
Location: Chicago
Distribution: Gentoo
Posts: 53
Rep:
|
Im not sure if the TG3 is wireless, I think its a gigabit LAN, could you clearify for us cyberwiz.
|
|
|
06-26-2006, 11:17 AM
|
#6
|
Senior Member
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Rep:
|
You are correct.
I'm not sure either. I saw Broadcom and Network, and assumed.
If it is wireless, or the 'rt' chipset, my post is ok.
If not, please ignore it. Then whip me.
|
|
|
06-26-2006, 12:07 PM
|
#7
|
LQ Newbie
Registered: May 2003
Location: The Netherlands
Distribution: Salckware 8.0
Posts: 6
Original Poster
Rep:
|
It's gigabit LAN. But thanks for the suggestions guys. I'll remember them in case I get stuck with the wireless version some day
|
|
|
06-26-2006, 12:12 PM
|
#8
|
Senior Member
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Rep:
|
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.
|
|
|
06-27-2006, 06:51 AM
|
#9
|
LQ Newbie
Registered: May 2003
Location: The Netherlands
Distribution: Salckware 8.0
Posts: 6
Original Poster
Rep:
|
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.
Regards,
dimi
|
|
|
06-27-2006, 10:52 AM
|
#10
|
Senior Member
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Rep:
|
Broadcom.....What can I say? I've never had any luck with them for anything....
Let us know if you resolve your issue. I'm sure there are plenty of others who are in the same boat, and need your 'paddle'...
|
|
|
06-29-2006, 01:58 AM
|
#11
|
LQ Newbie
Registered: May 2005
Location: Los Angeles, CA USA
Distribution: Slackware, Knoppix
Posts: 23
Rep:
|
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.
|
|
|
06-29-2006, 04:00 AM
|
#12
|
Member
Registered: Oct 2003
Location: Kuala Lumpur, Malaysia
Distribution: Slackware 13.37 current
Posts: 770
Rep:
|
Have you tried the 2.6 kernel, Gigabit nic support in 2.4 is patchy.
|
|
|
06-29-2006, 06:04 PM
|
#13
|
LQ Newbie
Registered: May 2003
Location: The Netherlands
Distribution: Salckware 8.0
Posts: 6
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 12:54 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.
|
Latest Threads
LQ News
|
|