Error when building Broadcom STA

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
mikefrank
Posts: 20
Joined: 31. Jan 2012, 03:43

Error when building Broadcom STA

Post by mikefrank »

I've searched forums, but none have the same problem.

When I execute the slackbuild, it gets part way through before I get the following error:
"make: *** /lib/modules/2.6.37.6/build: No such file or directory. Stop."

I'm new to salix, so I don't know what this mean. There is a file called build in that directory, but it's empty, 0kb.
This is salix 13.37, kernel is 2.6.37.6. broadcom 4322
Any help would be appreciated. Thanks.
mikefrank
Posts: 20
Joined: 31. Jan 2012, 03:43

Re: Error when building Broadcom STA

Post by mikefrank »

Nevermind. After a quick search on this forum, installing the kernel source made it build properly. I have no idea what it means to install the kernel source, and the error was different than the one I had, but it solved it, so thanks to thenktor, who provided the solution to the other problem.
slapt-get -u
slapt-get -i kernel-source
mikefrank
Posts: 20
Joined: 31. Jan 2012, 03:43

Re: Error when building Broadcom STA

Post by mikefrank »

NEW PROBLEM
it built and installed. It shows up in gslapt, and I confirmed wl.ko is in its place.
restarted
ifconfig -a, but only eth0 and lo show up, no wlan0.
Now I'm really lost. Everything should work now, right?
mikefrank
Posts: 20
Joined: 31. Jan 2012, 03:43

Re: Error when building Broadcom STA

Post by mikefrank »

I gave up. Need wifi for class tomorrow so I threw in the Atheros wifi card it came with, and it works without having to do anything. I'm just glad I can do a taredown, swap, and assembly in under 10 mins.

I'd still like to hear suggestions though. Maybe on the weekend I'll give it another go.
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: Error when building Broadcom STA

Post by thenktor »

I don't have a Broadcom wifi but at first you may want to check if your chipset is supported by the driver: use lspci to get info about the chipsets in your computer.
If yes you can check if the module is loaded with lsmod or try to load the module with modprobe modulename.
And one last thing: often a firmware is needed in addition to the module, e.g. http://www.salixos.org/wiki/index.php/H ... less_cards
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
mikefrank
Posts: 20
Joined: 31. Jan 2012, 03:43

Re: Error when building Broadcom STA

Post by mikefrank »

I know for sure it's supported because I used the same driver in Ubuntu, without b43 firmware, and because it lists the 4322 card as supported on the broadcom driver web page.
Is there a reason why slackware would require it to have both the broadcom driver and b43 firmware? I would have guessed that you can't have both running or they'd conflict with each other. The link you posted also says that to use b43 you have to first unload the wl (broadcom) module.
I guess that leaves the last option. I'll make sure the module is being loaded. I don't know enough about salix/slack yet, so I just assumed that it would load it automatically once it was installed (after restarting).
Thanks for your time!
User avatar
tsuren
Posts: 206
Joined: 7. Jun 2009, 17:32
Location: France

Re: Error when building Broadcom STA

Post by tsuren »

check if ubuntu uses some sort of a patch. I found it in the past that some drivers have errors in their codes.
'Tommorow is like today, just happens tomorrow.'
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: Error when building Broadcom STA

Post by thenktor »

I see, the STA is a binary driver made by Broadcom. You are right, you either have to use the STA driver or the open source b43 driver (with extra firmware). It seems your card is not supported by the b43 driver, so you have to use the STA driver.
So after installing the driver first try to load the module: modprobe wl
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
Post Reply