Broadcom & ATI Proprietary driver issue in Ubuntu 9.10
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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 & ATI Proprietary driver issue in Ubuntu 9.10
I was just curious as to what Linux was like, so I did some research and downloaded & installed Ubuntu 9.10. Everything works fine, except...
When I navigate to System/Administration/Hardware Drivers in the GUI and attempt to install my proprietary wireless driver (broadcom STA) and my ATI video card driver, I experience an issue where a crash report is generated and the system locks up, forcing me to hold the power button to reboot. After reboot, I attempt to install the broadcom driver again, and I receive an error (Driver has failed to install, check /var/log/jockey.log for details). Sometimes, one driver will successfully install, but then the other will fail, and consequently I just reinstalled Ubuntu and tried again, to no avail. The same crash happened again.
Any help would be greatly appreciated, and I am just curious if anyone else has seen this bug before...
System specs:
Dell Inspiron 1545 (Dual boot with windows 7)
64 bit system
Intel Core 2 Duo processor T6600 @ 2.2 Ghz
4 gb Ram
ATI Mobility Radeon HD 4330 video card
Dell Wireless 1510 Wireless-N WLAN Mini-Card (uses the broadcom driver)
Here it is, saved as a .txt attachment so I could upload it. It was originally a .log extension. It comes from /var/log/jockey.log, and it is pretty long, as you can see.
Could you post the output of lspci? From that log you posted, your system is trying every wireless driver under the sun, particularly some of the Atheros drivers. Also if you could post the output of lsmod from before you try to install the ATI and Broadcom drivers it might help.
Hm. The ssb driver is being loaded at boot, but is not present in the later list, so attempting to do the wl install is doing something. However, there isn't a real wireless driver in either list. Have you blacklisted b43? Also have you looked in any of the other system logs after attempting wl installation to see if there is any complaining?
I suppose as an alternative, you could download the driver from Broadcom and try to install it by hand. It isn't hard, and that should work.
I installed b43 with no complaints, but it doesn't work and also doesn't autostart when I turn on the computer, so I figured it had an error too. I tried once installing the driver manually, but I don't know how to do it... Can you get them from broadcom's website?
I installed b43 with no complaints, but it doesn't work and also doesn't autostart when I turn on the computer, so I figured it had an error too.
There are ways to force it to install at boot. Did you install the firmware for b43 or something else? Due to Broadcom's licensing, Ubuntu can distribute the b43 driver, but not the firmware that is required to make the card work. The unfortunate outcome is that Broadcom cards look like they should work because b43 is there, but they don't because there is no firmware.
Quote:
I tried once installing the driver manually, but I don't know how to do it... Can you get them from broadcom's website?
Yeah, you can get it here. The instructions for compiling and installing are in the README file, and are reasonably straight forward.
Well I installed from the website and got it working, I logged on to my wireless network here at home, and then I rebooted, and now I still have no wireless networks come up at all in the network manager... I have no idea what might have happened, but after the reboot the driver apparently stopped working. And your explanation for the b43 driver makes a lot of sense, I bet that is why mine didn't work.
I'm not sure why, but it sounds like Ubuntu just isn't recognizing your wireless card at boot time. The module is certainly still there, it just isn't loading. So you can either load it manually (modprobe wl) or I think if you add wl to your /etc/modules file, it should load at boot time.
For cards that wl supports, it generally works better than b43, so if you can solve the boot issue, wl would likely be the better choice.
No you're not in the wrong directory, but you're also not root or using sudo (which you need to be to load or unload a module). The modprobe command always looks in the tree /lib/modules/runningkernelversion for the modules, so it really doesn't matter what directory you're in when you issue the command. What does matter is that you copied the wl.ko file you created when you compiled into /lib/modules/runningkernelversion/kernel/net/wireless.
If it helps, this is a script I use whenever I need to build the wl driver (you do have to run it in the directory with the STA code):
Code:
#!/bin/bash
make -C /lib/modules/`uname -r`/build M=`pwd` clean
make -C /lib/modules/`uname -r`/build M=`pwd`
cp wl.ko /lib/modules/`uname -r`/kernel/net/wireless/wl.ko
depmod -a
The uname -r is in backticks, so it resolves at runtime, so it should install for any kernel version. By the way, the fact that modprobe isn't working may also explain why the card isn't coming up at boot.
I have been able to install the driver manually three or four times now, but every time I reboot it fails to load. To get it to run I have to uninstall it using rmmod, rebuild the file, then run these two commands:
sudo modprobe lib80211
sudo insmod wl.ko
These were both in the readme file. I also did copy over the wl.ko into the /net/wireless folder, but it didn't change anything.
sudo modprobe wl finally worked when I just ran it, maybe that will change something. I'm going to reboot and see what happens...
I have been able to install the driver manually three or four times now, but every time I reboot it fails to load.
Have you ever modified your /etc/modules file to get wl to load at boot? I think you just have to add a line with wl on it.
Quote:
sudo modprobe lib80211
sudo insmod wl.ko
Actually, if you just run modprobe wl it should load any other modules needed. The insmod will just load the module you tell it to, but modprobe will also load needed modules (which tends to make it a bit more useful).
Hm. That isn't the directory that wl should be in. I'm starting to wonder if wl isn't having a little trouble with this kernel version. Given that the morons at Broadcom are maintaining this, I wouldn't be surprised if there were some kernel changes that they haven't picked up 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.