[SOLVED] Can't boot after installing dkms-broadcom-wl

[SOLVED] Can't boot after installing dkms-broadcom-wl

Postby epretorious » Apr 25th, '12, 02:34

After installing Mageia 1; upgrading the all of the installed packages including gcc and the kernel (2.6.38.7-desktop-1.mga -> 2.6.38.8-desktop-10.mga), and then; installing the Broadcom driver (dkms-broadcom-wl-5.100.82.112-2.mga) the kernel panics during boot...

Code: Select all
kernel BUG at include/net/cfg80211.h:1780
invalid opcod: 0000 [#1] SMP
last sysfs file: /sys/devices/pci0000:00/0000:00:1e.0/0000:03:01.4/fw0/uevent
...
udevd-work[139]:'/sbin/modprobe -bv pci:v000014e4d00004311sv00001028...' expected exit with status 0x000b

I might have forgotten to reboot after upgrading all of the installed packages including gcc and the kernel and before installing/compiling the Broadcom driver. I can't remember - I was multitasking at the time!

The system will still boot the old kernel (2.6.38.7-desktop-1.mga) without complaint.

How can I fix this?
Last edited by epretorious on Apr 25th, '12, 04:30, edited 1 time in total.
epretorious
 
Posts: 44
Joined: Jan 6th, '12, 00:44

Re: Can't boot after installing dkms-broadcom-wl-5.100.82.11

Postby epretorious » Apr 25th, '12, 02:45

I've tried commenting-out the line in /etc/udev/rules.d/70-persistent-net that configures the Broadcom BCM4311 NIC...

Code: Select all
#PCI device 0x14e4:0x4311 (b43-pci-bridge)
# SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:1e:8c:92:26:b0", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"

...but that doesn't seem to fix the problem.
epretorious
 
Posts: 44
Joined: Jan 6th, '12, 00:44

Re: Can't boot after installing dkms-broadcom-wl-5.100.82.11

Postby epretorious » Apr 25th, '12, 03:01

I've tried using the LIVE-CD to mount the filesystem and remove the dkms-broadcom-wl-5.100.82.112-2.mga.nonfree RPM...

Code: Select all
# mount /dev/sda5 /mnt
# mount /dev/sda6 /mnt/var
# chroot /mnt
# rpm -qa | grep broadcom | xargs rpm --erase

...but that doesn't seem to fix the problem either.

In fact, the dkms module still exists...

Code: Select all
# cd /lib/modules
# find . -name 'broadcom*'
./2.6.38.8-desktop586-10.mga/kernel/drivers/net/phy/broadcom.ko.gz
./2.6.38.8-desktop586-10.mga/dkms/3rdparty/broadcom-wl
./2.6.38.7-desktop586-1.mga/kernel/drivers/net/phy/broadcom.ko.gz

Ideas? Suggestions?
epretorious
 
Posts: 44
Joined: Jan 6th, '12, 00:44

Re: Can't boot after installing dkms-broadcom-wl-5.100.82.11

Postby epretorious » Apr 25th, '12, 03:56

epretorious wrote:I've tried using the LIVE-CD to mount the filesystem and remove the dkms-broadcom-wl-5.100.82.112-2.mga.nonfree RPM... but that doesn't seem to fix the problem either. In fact, the dkms module still exists.

I was able to boot the system using the previous kernel version (2.6.38.7-desktop586-1) and delete the kernel module (/lib/modules/2.6.38.8-desktop586-10.mga/dkms/3rdparty/broadcom-wl). This allowed me to successfully boot the system using the latest kernel (2.6.38.8-desktop586-10).
epretorious
 
Posts: 44
Joined: Jan 6th, '12, 00:44

Re: Can't boot after installing dkms-broadcom-wl-5.100.82.11

Postby epretorious » Apr 25th, '12, 04:29

epretorious wrote:I've tried using the LIVE-CD to mount the filesystem and remove the dkms-broadcom-wl-5.100.82.112-2.mga.nonfree RPM... but that doesn't seem to fix the problem either. In fact, the dkms module still exists.

On a second, identical system that I had installed dkms-broadcom-wl on...

Code: Select all
[root@localhost ~]# cd /lib/modules/

[root@localhost modules]# find . -name 'broadcom*'
./2.6.38.8-desktop586-10.mga/kernel/drivers/net/phy/broadcom.ko.gz
./2.6.38.8-desktop586-10.mga/dkms/3rdparty/broadcom-wl
./2.6.38.7-desktop586-1.mga/kernel/drivers/net/phy/broadcom.ko.gz

[root@localhost modules]# rpm -qa | grep broadcom | xargs rpm --erase
+ /usr/sbin/dkms --rpm_safe_upgrade remove -m broadcom-wl -v 5.100.82.112-2.mga1.nonfree --all

-------- Uninstall Beginning --------
Module:  broadcom-wl
Version: 5.100.82.112-2.mga1.nonfree
Kernel:  2.6.38.8-desktop586-10.mga (i586)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

wl.ko.gz:
 - Uninstallation
   - Deleting from: /lib/modules/2.6.38.8-desktop586-10.mga/dkms/3rdparty/broadcom-wl/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

depmod......
DKMS: uninstall Completed.

------------------------------
Deleting module version: 5.100.82.112-2.mga1.nonfree
completely from the DKMS tree.
------------------------------
Done.

[root@localhost modules]# find . -name 'broadcom*'
./2.6.38.8-desktop586-10.mga/kernel/drivers/net/phy/broadcom.ko.gz
./2.6.38.8-desktop586-10.mga/dkms/3rdparty/broadcom-wl
./2.6.38.7-desktop586-1.mga/kernel/drivers/net/phy/broadcom.ko.gz

[root@localhost modules]# rpm -qa | grep broadcom

[root@localhost modules]#

I'd file a bug, but it's not reproducable - I've successfully removed+reinstalled the dkms-broadcom-wl RPM on the first system twice now!
epretorious
 
Posts: 44
Joined: Jan 6th, '12, 00:44

Re: [SOLVED] Can't boot after installing dkms-broadcom-wl

Postby epretorious » Apr 25th, '12, 04:32

FTR: The Broadcom 4311 WNIC works with the b43-openfwwf RPM.

Marking thread 'SOLVED'.
epretorious
 
Posts: 44
Joined: Jan 6th, '12, 00:44


Return to Networking

Who is online

Users browsing this forum: No registered users and 1 guest

cron