Bug 8809 - New kernel breaks wl driver
Summary: New kernel breaks wl driver
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 2
Hardware: i586 Linux
Priority: Normal critical
Target Milestone: ---
Assignee: Thomas Backlund
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-25 09:45 CET by Robert Wood
Modified: 2013-11-23 16:15 CET (History)
3 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments
dmseg (123.26 KB, text/plain)
2013-01-25 23:53 CET, Robert Wood
Details

Description Robert Wood 2013-01-25 09:45:46 CET
Description of problem:

With the latest 3.4 kernel update, the wifi no longer works. If you try to install dkms-broadcom-wl, it adds all the stuff it needs, looks like it's installing and then just gets to the end and says unable to install wl. 

I really suspect it's something to do with the kernel, but if I try and install the driver from source, which I had to do on previous versions of Mageia to get it to work reliably, it tells me:

t tells me /lib/modules/'uname-r' is missing 

(even though I have installed the kernel source   

The most frustrating thing is now I can't even boot back into kernel 3.3.8, it now tells me it can't find the network interface, even with my old driver. The on;y way I can get on line is by tethering to my Android phone. :~/

Version-Release number of selected component (if applicable):

Kernel  3.3.8-server-2.mga2

wl driver 5.100.82.112-4.mga2.nonfree

Although non-free makes no sense now it;s open source, surely?! 

How reproducible:

Always does the same

Steps to Reproduce:
1. Install kernel 3.3.8-server-2.mga2
2. Find Broadcom wifi interface no longer connects
Sander Lepik 2013-01-25 09:49:40 CET

CC: (none) => sander.lepik, tmb

Comment 1 Thomas Backlund 2013-01-25 10:46:24 CET
(In reply to comment #0)
> Description of problem:
> 
> With the latest 3.4 kernel update, the wifi no longer works. If you try to
> install dkms-broadcom-wl, it adds all the stuff it needs, looks like it's
> installing and then just gets to the end and says unable to install wl. 
> 
> I really suspect it's something to do with the kernel, but if I try and install
> the driver from source, which I had to do on previous versions of Mageia to get
> it to work reliably, it tells me:
> 
> t tells me /lib/modules/'uname-r' is missing 
> 
> (even though I have installed the kernel source   
> 

You dont need the source, you need the kernel-*-devel matching your kernel if you use dkms

> The most frustrating thing is now I can't even boot back into kernel 3.3.8, it
> now tells me it can't find the network interface, even with my old driver. The
> on;y way I can get on line is by tethering to my Android phone. :~/
> 
> Version-Release number of selected component (if applicable):
> 
> Kernel  3.3.8-server-2.mga2
> 
> wl driver 5.100.82.112-4.mga2.nonfree
> 
> Although non-free makes no sense now it;s open source, surely?! 
> 

broadcom-wl driver is not free, hence the .nonfree

And in this case the breakage happends since you dont have Nonfree Updates enabled.

Had that media been available, the update would have installed the:
dkms-broadcom-wl-5.100.82.112-6.mga2.nonfree that is fixed so it builds
with 3.4 series kernels.

Here is a link to the fixed broadcom-wl so you can donwload and install it manually:
http://mirrors.kernel.org/mandriva/distrib/2/i586/media/nonfree/updates/dkms-broadcom-wl-5.100.82.112-6.mga2.nonfree.i586.rpm

Status: NEW => RESOLVED
Resolution: (none) => INVALID

Comment 2 Robert Wood 2013-01-25 20:22:03 CET
I'm afraid that does not fix the problem. What is really bizarre is that when I changed the repositories to give me access to the updated non free, the system told me kernel 3.4.24 was available - which I was sure was already installed but seemd to disappear. 

So it installed that kernel (3.4), the wl dkms and the nvidia driver, but it still tells me "unable to find the network interface for selected device (using wl driver). 

I am completely confused as to what happened with the 3.4 kernel. There is 100% definitely an issue with Broadcom drivers now though.

Status: RESOLVED => REOPENED
Resolution: INVALID => (none)

Comment 3 Robert Wood 2013-01-25 21:49:02 CET
I'm afraid that does not fix the problem. What is really bizarre is that when I changed the repositories to give me access to the updated non free, the system told me kernel 3.4.24 was available - which I was sure was already installed but seemd to disappear. 

So it installed that kernel (3.4), the wl dkms and the nvidia driver, but it still tells me "unable to find the network interface for selected device (using wl driver). 

I am completely confused as to what happened with the 3.4 kernel. There is 100% definitely an issue with Broadcom drivers now though.
Comment 4 Sander Lepik 2013-01-25 22:45:11 CET
wl driver on 3.4.24 is working fine for me, just like it did before. Tho' I'm using NetworkManager to manage my connections.
Comment 5 Robert Wood 2013-01-25 23:32:40 CET
Well it's totally crapped up here! 

I went into Control Centre rather than Network Centre and saw that As well as what I was trying to set up, there was another.

The two interfaces were called:

: Broadcom Corporation BCM43224 802.11a/b/g/n
wlan0: wlan0

Please note the : before Broadcom on the first entry. The first one said unable to find the network interface for selected device (using
wl driver).", but the second did not, so I thought. Great. 

However, that doesn't connect at all. So this is without any doubt borked after then latest round of updates. 

I have tried approximately 6,567 different things, such as uninstalling the drivers from the repository, reinstalling, uninstalling again, trying to install from source (how can this be non-free if I cave the source code btw?), rebooting stacks of times and nothing works at all. 

I don't know whether this extra interface is screwed up, but I know Wobo is having exactly the same problems, so this definitely needs investigating. What can I do and what information can I give you to track it down?
Comment 6 Thomas Backlund 2013-01-25 23:36:03 CET
Can you probvide the following info (as root):


rpm -qa |grep kernel


rpm -qa |grep broadcom


dkms status
Comment 7 Robert Wood 2013-01-25 23:39:46 CET
Sure! 

rpm -qa |grep kernel
kernel-server-devel-3.4.24-3.mga2-1-1.mga2
kernel-firmware-nonfree-20121030-1.mga2.nonfree
kernel-server-3.4.24-3.mga2-1-1.mga2
kernel-server-devel-3.3.8-2.mga2-1-1.mga2
kernel-server-3.3.8-2.mga2-1-1.mga2
kernel-firmware-20120219-1.mga2
kernel-server-3.3.6-2.mga2-1-1.mga2
kernel-server-devel-latest-3.4.24-3.mga2
kernel-userspace-headers-3.4.24-3.mga2
broadcom-wl-kernel-server-latest-5.100.82.112-38.mga2.nonfree
kernel-server-devel-3.3.6-2.mga2-1-1.mga2
kernel-source-3.4.24-3.mga2-1-1.mga2
broadcom-wl-kernel-3.4.24-server-3.mga2-5.100.82.112-38.mga2.nonfree


rpm -qa |grep broadcom
dkms-broadcom-wl-5.100.82.112-6.mga2.nonfree
broadcom-wl-kernel-server-latest-5.100.82.112-38.mga2.nonfree
broadcom-wl-kernel-3.4.24-server-3.mga2-5.100.82.112-38.mga2.nonfree


dkms status
broadcom-wl, 5.100.82.112-6.mga2.nonfree, 3.4.24-server-3.mga2, i586: installed
nvidia, 310.19, 3.3.8-server-2.mga2, i586: installed
nvidia, 310.19, 3.4.24-server-3.mga2, i586: installed
nvidia, 310.19, 3.3.6-server-2.mga2, i586: installed
nvidia-current, 295.71-1.mga2.nonfree, 3.3.8-server-2.mga2, i586: installed
nvidia-current, 295.71-1.mga2.nonfree, 3.4.24-server-3.mga2, i586: installed
broadcom-wl, 5.100.82.112-6.mga2.nonfree, 3.4.24-server-3.mga2, i586: installed-binary from 3.4.24-server-3.mga2
Comment 8 Thomas Backlund 2013-01-25 23:45:00 CET
ok, seems ok.
have you rebooted after you installed dkms ?

can you also provide the following:

lsmod

and attach capture of dmesg, by doing dmesg > dmesg.txt
Comment 9 Robert Wood 2013-01-25 23:53:12 CET
Created attachment 3438 [details]
dmseg
Comment 10 Robert Wood 2013-01-25 23:54:05 CET
lsmod
Module                  Size  Used by
wl                   2438716  0 
lib80211               14041  1 wl
nfsd                  207733  13 
exportfs               12843  1 nfsd
nfs                   244445  0 
nfs_acl                12734  2 nfs,nfsd
auth_rpcgss            35465  2 nfs,nfsd
fscache                59502  1 nfs
lockd                  65540  2 nfs,nfsd
sunrpc                188971  14 nfs,nfsd,auth_rpcgss,lockd,nfs_acl
af_packet              30686  8 
arc4                   12474  2 
brcmsmac              522911  0 
cordic                 12519  1 brcmsmac
crc8                   12782  1 brcmsmac
brcmutil               14356  1 brcmsmac
bcma                   26204  1 brcmsmac
mac80211              389059  1 brcmsmac
cfg80211              165295  2 brcmsmac,mac80211
rfcomm                 57544  8 
bnep                   18868  2 
dm_mirror              21655  0 
dm_region_hash         16013  1 dm_mirror
dm_log                 18112  2 dm_region_hash,dm_mirror
dm_mod                 71926  2 dm_log,dm_mirror
nls_utf8               12494  1 
nls_cp437              12752  1 
vfat                   17209  1 
fat                    55310  1 vfat
nvidia               8570297  31 
snd_hda_codec_hdmi     31504  4 
uvcvideo               66916  0 
videobuf2_vmalloc      12885  1 uvcvideo
videobuf2_memops       13405  1 videobuf2_vmalloc
btusb                  19041  0 
videobuf2_core         27900  1 uvcvideo
videodev               90991  1 uvcvideo
bluetooth             259933  24 bnep,btusb,rfcomm
media                  20528  2 uvcvideo,videodev
snd_hda_codec_cirrus    23167  1 
rfkill                 20903  3 cfg80211,bluetooth
bcm5974                17094  0 
snd_hda_intel          32341  5 
rndis_host             14088  0 
snd_hda_codec         109537  3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_cirrus
joydev                 17162  0 
cdc_ether              14001  1 rndis_host
i2c_i801               17507  0 
tg3                   130313  0 
snd_hwdep              13277  1 snd_hda_codec
usbnet                 26859  2 rndis_host,cdc_ether
i2c_core               29837  3 i2c_i801,nvidia,videodev
snd_pcm                88811  3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
coretemp               13241  0 
mii                    13655  1 usbnet
applesmc               18812  0 
snd_page_alloc         14037  2 snd_pcm,snd_hda_intel
iTCO_wdt               17653  0 
apple_bl               13426  0 
intel_ips              18047  0 
apple_gmux             12656  0 
libphy                 27825  1 tg3
snd_timer              24503  1 snd_pcm
iTCO_vendor_support    13503  1 iTCO_wdt
evdev                  17446  7 
input_polldev          13649  1 applesmc
snd                    62407  17 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec,snd_hda_intel,snd_hda_codec_cirrus
soundcore              14600  1 snd
cpufreq_ondemand       13453  4 
cpufreq_conservative    13496  0 
crc32c_intel           12747  0 
cpufreq_powersave      12555  0 
aesni_intel            18135  0 
acpi_cpufreq           14207  1 
aes_i586               16996  1 aesni_intel
aes_generic            38024  2 aesni_intel,aes_i586
cryptd                 15580  1 aesni_intel
mperf                  12604  1 acpi_cpufreq
battery                13552  0
ac                     12743  0
freq_table             14370  2 cpufreq_ondemand,acpi_cpufreq
processor              30483  1 acpi_cpufreq
nvram                  13958  0
ipv6                  286886  0
autofs4                37366  3
ext4                  429197  4
crc16                  12596  2 ext4,bluetooth
jbd2                   76316  1 ext4
hid_apple              13046  0
usbhid                 47304  0
hid                    77577  2 usbhid,hid_apple
firewire_ohci          35480  0
uhci_hcd               31496  0
ehci_hcd               55338  0
sr_mod                 21873  0
video                  18688  1 apple_gmux
usbcore               177508  10 btusb,uhci_hcd,uvcvideo,rndis_host,ehci_hcd,usbhid,usbnet,bcm5974,cdc_ether
sd_mod                 44067  7
firewire_core          56921  1 firewire_ohci
crc_t10dif             12508  1 sd_mod
crc_itu_t              12628  1 firewire_core
button                 13562  0
usb_common             12526  1 usbcore
ahci                   25497  0
libahci                25806  1 ahci
ata_piix               26398  7
libata                183691  3 ahci,libahci,ata_piix
scsi_mod              185946  3 libata,sd_mod,sr_mod
Comment 11 Robert Wood 2013-01-25 23:55:25 CET
Oh, yes, rebooted many times. :(
Comment 12 Thomas Backlund 2013-01-26 00:08:57 CET
(In reply to comment #10)

OK, here is your problem:

when wl is in use, theese should not be:

> brcmsmac              522911  0 
> bcma                   26204  1 brcmsmac

Do you have a file:

/etc/modprobe.d/blacklist-broadcom-wl.conf


and does it contain:

blacklist brcm80211
blacklist b43
blacklist ssb
blacklist bcma



hm, and there is a packaging bug... it misses a blacklist for "brcmsmac"


so if you edit the /etc/modprobe.d/blacklist-broadcom-wl.conf

and add the line:
blacklist brcmsmac

and reboot, does the wl driver work again ?

Status: REOPENED => ASSIGNED
Assignee: bugsquad => tmb

Comment 13 Robert Wood 2013-01-26 00:19:07 CET
I did have the file, I amended it to say:

blacklist brcm80211
blacklist b43
blacklist ssb
blacklist bcma
blacklist brcmsmac

Rebooted.

But it makes no difference

lsmod
Module                  Size  Used by
nfsd                  207733  13 
exportfs               12843  1 nfsd
nfs                   244445  0 
nfs_acl                12734  2 nfs,nfsd
auth_rpcgss            35465  2 nfs,nfsd
fscache                59502  1 nfs
lockd                  65540  2 nfs,nfsd
sunrpc                188971  14 nfs,nfsd,auth_rpcgss,lockd,nfs_acl
af_packet              30686  3 
arc4                   12474  2 
brcmsmac              522911  0 
cordic                 12519  1 brcmsmac
crc8                   12782  1 brcmsmac
brcmutil               14356  1 brcmsmac
bcma                   26204  1 brcmsmac
mac80211              389059  1 brcmsmac
cfg80211              165295  2 brcmsmac,mac80211
rfcomm                 57544  8 
bnep                   18868  2 
dm_mirror              21655  0 
dm_region_hash         16013  1 dm_mirror
dm_log                 18112  2 dm_region_hash,dm_mirror
dm_mod                 71926  2 dm_log,dm_mirror
nls_utf8               12494  1 
nls_cp437              12752  1 
vfat                   17209  1 
fat                    55310  1 vfat
nvidia               8570297  31 
snd_hda_codec_hdmi     31504  4 
uvcvideo               66916  0 
videobuf2_vmalloc      12885  1 uvcvideo
videobuf2_memops       13405  1 videobuf2_vmalloc
videobuf2_core         27900  1 uvcvideo
videodev               90991  1 uvcvideo
bcm5974                17094  0 
media                  20528  2 uvcvideo,videodev
btusb                  19041  0 
bluetooth             259933  24 bnep,btusb,rfcomm
rfkill                 20903  3 cfg80211,bluetooth
snd_hda_codec_cirrus    23167  1 
rndis_host             14088  0 
snd_hda_intel          32341  5 
snd_hda_codec         109537  3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_cirrus
cdc_ether              14001  1 rndis_host
joydev                 17162  0 
usbnet                 26859  2 rndis_host,cdc_ether
mii                    13655  1 usbnet
snd_hwdep              13277  1 snd_hda_codec
snd_pcm                88811  3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
tg3                   130313  0 
coretemp               13241  0 
snd_page_alloc         14037  2 snd_pcm,snd_hda_intel
i2c_i801               17507  0 
apple_bl               13426  0 
intel_ips              18047  0 
apple_gmux             12656  0 
crc32c_intel           12747  0 
snd_timer              24503  1 snd_pcm
aesni_intel            18135  0 
snd                    62407  17 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec,snd_hda_intel,snd_hda_codec_cirrus
soundcore              14600  1 snd
libphy                 27825  1 tg3
i2c_core               29837  3 i2c_i801,nvidia,videodev
applesmc               18812  0 
iTCO_wdt               17653  0 
evdev                  17446  7 
input_polldev          13649  1 applesmc
iTCO_vendor_support    13503  1 iTCO_wdt
aes_i586               16996  1 aesni_intel
aes_generic            38024  2 aesni_intel,aes_i586
cryptd                 15580  1 aesni_intel
battery                13552  0
ac                     12743  0
cpufreq_ondemand       13453  4
cpufreq_conservative    13496  0
cpufreq_powersave      12555  0
acpi_cpufreq           14207  1
mperf                  12604  1 acpi_cpufreq
freq_table             14370  2 cpufreq_ondemand,acpi_cpufreq
processor              30483  1 acpi_cpufreq
nvram                  13958  0
ipv6                  286886  0
autofs4                37366  3
hid_apple              13046  0
usbhid                 47304  0
hid                    77577  2 usbhid,hid_apple
ext4                  429197  4
crc16                  12596  2 ext4,bluetooth
jbd2                   76316  1 ext4
ehci_hcd               55338  0
sd_mod                 44067  7
sr_mod                 21873  0
crc_t10dif             12508  1 sd_mod
uhci_hcd               31496  0
usbcore               177508  10 btusb,uhci_hcd,uvcvideo,rndis_host,ehci_hcd,usbhid,usbnet,bcm5974,cdc_ether
firewire_ohci          35480  0
firewire_core          56921  1 firewire_ohci
crc_itu_t              12628  1 firewire_core
usb_common             12526  1 usbcore
video                  18688  1 apple_gmux
button                 13562  0
ahci                   25497  0
libahci                25806  1 ahci
ata_piix               26398  7
libata                183691  3 ahci,libahci,ata_piix
scsi_mod              185946  3 libata,sd_mod,sr_mod
Comment 14 Robert Wood 2013-01-26 11:09:00 CET
Actually, wl is no longer install is it?
Comment 15 Sander Lepik 2013-01-26 16:41:24 CET
(In reply to comment #14)
> Actually, wl is no longer install is it?

What is the output of "rpm -qa |grep broadcom"?
Comment 16 Robert Wood 2013-01-26 18:03:55 CET
rpm -qa |grep broadcom
dkms-broadcom-wl-5.100.82.112-6.mga2.nonfree
broadcom-wl-kernel-server-latest-5.100.82.112-38.mga2.nonfree
broadcom-wl-kernel-3.4.24-server-3.mga2-5.100.82.112-38.mga2.nonfree

I meant to say it's no longer in use, sorry. Was posting it in a rush as I was being ushered out of the door! It's installed according to MCC, but it's not being used according to lsmod. Que?!
Comment 17 Robert Wood 2013-01-26 18:30:17 CET
What's even more ridiculous is that if I uninstall all the wl stuff, reboot and attempt to connect, it doesn't tell me there drivers aren't installed, but tries to connect and fails, it does not tell me there are no drivers installed.

rpm -qa |grep broadcom

returns blank now. 

Something is royally ****ed up here; I have had no end of problems with Mageia 2 on the laptop - I really regret "upgrading" from M1 which was really excellent.
Comment 18 Robert Wood 2013-01-26 18:32:19 CET
Is it possible it's something to do with Network Centre showing two wireless interfaces when I only have one, as described in comment 5?
Comment 19 Sander Lepik 2013-01-26 18:39:09 CET
What is the output of those commands:

cat /etc/modprobe.d/blacklist-broadcom-wl.conf

lsmod
Comment 20 Robert Wood 2013-01-27 10:41:46 CET
I've tried uninstalling, reinstalling and rebooting a few more times. Still nothing. wl still is not being used. Makes no difference whether I try with wl-broadcom-dkms installed or not as to what error messages come up.

I would still like to know whether the fact it thinks there are two wlan interfaces is important. 

cat /etc/modprobe.d/blacklist-broadcom-wl.conf
blacklist brcm80211
blacklist b43
blacklist ssb
blacklist bcma
blacklist brcmsmac


rpm -qa |grep broadcom
dkms-broadcom-wl-5.100.82.112-6.mga2.nonfree

lsmod
Module                  Size  Used by
nfsd                  207733  13 
exportfs               12843  1 nfsd
nfs                   244445  0 
nfs_acl                12734  2 nfs,nfsd
auth_rpcgss            35465  2 nfs,nfsd
fscache                59502  1 nfs
lockd                  65540  2 nfs,nfsd
sunrpc                188971  14 nfs,nfsd,auth_rpcgss,lockd,nfs_acl
af_packet              30686  4 
arc4                   12474  2 
brcmsmac              522911  0 
cordic                 12519  1 brcmsmac
crc8                   12782  1 brcmsmac
brcmutil               14356  1 brcmsmac
bcma                   26204  1 brcmsmac
mac80211              389059  1 brcmsmac
cfg80211              165295  2 brcmsmac,mac80211
rfcomm                 57544  8 
bnep                   18868  2 
dm_mirror              21655  0 
dm_region_hash         16013  1 dm_mirror
dm_log                 18112  2 dm_region_hash,dm_mirror
dm_mod                 71926  2 dm_log,dm_mirror
nls_utf8               12494  1 
nls_cp437              12752  1 
vfat                   17209  1 
fat                    55310  1 vfat
snd_hda_codec_hdmi     31504  4 
nvidia               8570297  31 
snd_hda_codec_cirrus    23167  1 
snd_hda_intel          32341  5 
snd_hda_codec         109537  3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_cirrus
snd_hwdep              13277  1 snd_hda_codec
snd_pcm                88811  3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_page_alloc         14037  2 snd_pcm,snd_hda_intel
snd_timer              24503  1 snd_pcm
snd                    62407  17 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec,snd_hda_intel,snd_hda_codec_cirrus
btusb                  19041  0 
bluetooth             259933  24 bnep,btusb,rfcomm
cpufreq_ondemand       13453  4 
rndis_host             14088  0 
cdc_ether              14001  1 rndis_host
bcm5974                17094  0 
joydev                 17162  0 
rfkill                 20903  3 cfg80211,bluetooth
soundcore              14600  1 snd
tg3                   130313  0 
usbnet                 26859  2 rndis_host,cdc_ether
iTCO_wdt               17653  0 
uvcvideo               66916  0 
videobuf2_vmalloc      12885  1 uvcvideo
videobuf2_memops       13405  1 videobuf2_vmalloc
videobuf2_core         27900  1 uvcvideo
videodev               90991  1 uvcvideo
coretemp               13241  0 
crc32c_intel           12747  0 
cpufreq_conservative    13496  0 
aesni_intel            18135  0 
cpufreq_powersave      12555  0 
media                  20528  2 uvcvideo,videodev
i2c_i801               17507  0 
mii                    13655  1 usbnet
libphy                 27825  1 tg3
i2c_core               29837  3 i2c_i801,nvidia,videodev
iTCO_vendor_support    13503  1 iTCO_wdt
applesmc               18812  0 
aes_i586               16996  1 aesni_intel
aes_generic            38024  2 aesni_intel,aes_i586
acpi_cpufreq           14207  1 
nvram                  13958  0
cryptd                 15580  1 aesni_intel
mperf                  12604  1 acpi_cpufreq
evdev                  17446  7
apple_bl               13426  0
intel_ips              18047  0
apple_gmux             12656  0
freq_table             14370  2 cpufreq_ondemand,acpi_cpufreq
input_polldev          13649  1 applesmc
processor              30483  1 acpi_cpufreq
battery                13552  0
ac                     12743  0
ipv6                  286886  0
autofs4                37366  3
hid_apple              13046  0
usbhid                 47304  0
hid                    77577  2 usbhid,hid_apple
ext4                  429197  4
crc16                  12596  2 ext4,bluetooth
jbd2                   76316  1 ext4
uhci_hcd               31496  0
sd_mod                 44067  7
sr_mod                 21873  0
firewire_ohci          35480  0
crc_t10dif             12508  1 sd_mod
firewire_core          56921  1 firewire_ohci
ehci_hcd               55338  0
crc_itu_t              12628  1 firewire_core
usbcore               177508  10 btusb,uhci_hcd,uvcvideo,rndis_host,ehci_hcd,usbhid,usbnet,bcm5974,cdc_ether
usb_common             12526  1 usbcore
video                  18688  1 apple_gmux
button                 13562  0
ahci                   25497  0
libahci                25806  1 ahci
ata_piix               26398  7
libata                183691  3 ahci,libahci,ata_piix
scsi_mod              185946  3 libata,sd_mod,sr_mod
Comment 21 Sander Lepik 2013-01-27 10:56:06 CET
The second interface is caused by bcma module, which should be blacklisted.

Can you confirm that it's not included in your initrd:

lsinitrd-dracut /boot/initrd.img |grep '\(bcma\|brc\)'
Comment 22 Robert Wood 2013-01-27 11:04:48 CET
Hopefully I understand what you are asking me to do here. :)

I typed:

lsinitrd-dracut /boot/initrd.img |grep '\(bcma\|brc\)'

And it returns blank. ie Nothing is listed.
Comment 23 Thomas Backlund 2013-01-27 11:19:25 CET
Hm,
I wonder if there is any other reference to the "unwanted" drivers...

Can you do:

grep -R brcmsmac /etc/modprobe*
grep -R bcma /etc/modbprobe*

also check
/etc/udev/rules.d/70-persistent-net.rules

and remove any reference (besides the ones in the blacklist)
Comment 24 Robert Wood 2013-01-27 11:26:15 CET
When you say remove any references, what references need removing please?! 

grep -R brcmsmac /etc/modprobe*
/etc/modprobe.conf:alias wlan0 brcmsmac
/etc/modprobe.d/01_mga-config.conf:alias wlan0 brcmsmac
/etc/modprobe.d/blacklist-broadcom-wl.conf:blacklist brcmsmac

grep -R bcma /etc/modbprobe*
grep: /etc/modbprobe*: No such file or directory

cat /etc/udev/rules.d/70-persistent-net.rules
# This file was automatically generated by the /lib/udev/write_net_rules
# program, run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and change only the value of the NAME= key.

# Drakx-net rule for eth0 (10:9a:dd:4f:ae:4d)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="10:9a:dd:4f:ae:4d", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

# Drakx-net rule for usb0 (02:51:6c:36:66:69)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="02:51:6c:36:66:69", ATTR{type}=="1", KERNEL=="usb*", NAME="usb0"

# PCI device 0x14e4:/sys/devices/pci0000:00/0000:00:1c.1/0000:03:00.0 (wl)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="c8:bc:c8:ec:e8:62", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"

# PCI device 0x14e4:/sys/devices/pci0000:00/0000:00:1c.0/0000:02:00.0 (tg3)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:10:18:00:00:00", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth2"

# PCI device 0x14e4:/sys/devices/pci0000:00/0000:00:1c.1/0000:03:00.0/bcma0:0 (bcma-pci-bridge)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="c8:bc:c8:ec:e8:62", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"
Comment 25 Thomas Backlund 2013-01-27 11:37:24 CET
(In reply to comment #24)
> When you say remove any references, what references need removing please?! 
> 

ok, this explains why it loads despite blacklist...


> grep -R brcmsmac /etc/modprobe*
> /etc/modprobe.conf:alias wlan0 brcmsmac


remove the line "alias wlan0 brcmsmac"

> 
> cat /etc/udev/rules.d/70-persistent-net.rules



remove theese lines (I know it's the wl, but clean out reference for now):

> # PCI device 0x14e4:/sys/devices/pci0000:00/0000:00:1c.1/0000:03:00.0 (wl)
> SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
> ATTR{address}=="c8:bc:c8:ec:e8:62", ATTR{dev_id}=="0x0", ATTR{type}=="1",
> KERNEL=="eth*", NAME="eth1"
> 


remove theese lines:

> # PCI device 0x14e4:/sys/devices/pci0000:00/0000:00:1c.1/0000:03:00.0/bcma0:0
> (bcma-pci-bridge)
> SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
> ATTR{address}=="c8:bc:c8:ec:e8:62", ATTR{dev_id}=="0x0", ATTR{type}=="1",
> KERNEL=="wlan*", NAME="wlan0"


then recreate initrd with:

dracut -f

then reboot, and try to reconfigure the wireless
Comment 26 Robert Wood 2013-01-27 11:48:27 CET
That's made things worse I'm afraid. Now I only have one wifi interface, but it's the : Broadcom one which is "unable to find network interface (using wl driver)."
Comment 27 Robert Wood 2013-01-28 01:10:12 CET
Thanks for trying to help on this. In the end I have gone back to Mandriva. In all honesty Mageia 2 is a disaster on this laptop. Mageia 1 was great and I really regret upgrading to M2, had there been longer term support for M1 I'd've stuck with it. 

I'm still running Mageia on my desktop and will probably come back to it on the laptop when support of Mnandriva 2011 runs out.
Comment 28 José Jorge 2013-02-04 11:32:44 CET
(In reply to comment #27)
> Thanks for trying to help on this. In the end I have gone back to Mandriva. In
> all honesty Mageia 2 is a disaster on this laptop. Mageia 1 was great and I

Did you upgrade to MGA2 from MGA1? This explains the whole problem : 

> /etc/modprobe.conf:alias wlan0 brcmsmac

is a bad configuration left from MGA1. I suspect if you try a Live media with MGA2, WiFi will have no problems.

CC: (none) => lists.jjorge

Comment 29 Robert Wood 2013-02-04 11:36:49 CET
No, it was a fresh install. ie I always format my /boot and / partitions, installing in those freshly formatted partitions, but leave /opt and /home untouched. 

I find the upgrading method never works reliably.
Comment 30 Manuel Hiebel 2013-10-22 12:19:05 CEST
This message is a reminder that Mageia 2 is nearing its end of life.
Approximately one month from now Mageia will stop maintaining and issuing updates for Mageia 2. At that time this bug will be closed as WONTFIX (EOL) if it remains open with a Mageia 'version' of '2'.

Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Mageia version prior to Mageia 2's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Mageia 2 is end of life.  If you would still like to see this bug fixed and are able to reproduce it against a later version of Mageia, you are encouraged to click on "Version" and change it against that version of Mageia.

Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Mageia release includes newer upstream software that fixes bugs or makes them obsolete.

-- 
The Mageia Bugsquad
Comment 31 Manuel Hiebel 2013-11-23 16:15:44 CET
Mageia 2 changed to end-of-life (EOL) status on ''22 November''. Mageia 2 is no
longer maintained, which means that it will not receive any further security or
bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of Mageia
please feel free to click on "Version" change it against that version of Mageia
and reopen this bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

--
The Mageia Bugsquad

Status: ASSIGNED => RESOLVED
Resolution: (none) => OLD


Note You need to log in before you can comment on or make changes to this bug.