Mageia 2 : broadcom wl not working

Mageia 2 : broadcom wl not working

Postby jos » May 25th, '12, 10:42

Hello all

I've been happily using Mageia 1, so I with mixed feelings (let's keep up to date - but will it work as well ?) I switched to Mageia 2. There are some issues, the most significant is that my wireless connection is not working.
I installed
urpmi dkms-broadcom-wl
and even
urpmi kernel-firmware-nonfree

but the net applet gives me the message "Unable to find network interface for selected device (using wl driver)"

Maybe it's related to another message I get during boot : "error running install command for sdhci_pci"
But I'm not familiar with the "guts" of computers...

Some more information :

Code: Select all
[root@faba jos]# modinfo wl
filename:       /lib/modules/3.3.6-desktop-2.mga2/dkms/3rdparty/broadcom-wl/wl.ko.xz
srcversion:     59B4B736A454693F5C8FC77
alias:          pci:v000014E4d00000576sv*sd*bc*sc*i*
alias:          pci:v000014E4d0000435Asv*sd*bc*sc*i*
alias:          pci:v000014E4d00004359sv*sd*bc*sc*i*
alias:          pci:v000014E4d00004358sv*sd*bc*sc*i*
alias:          pci:v000014E4d00004727sv*sd*bc*sc*i*
alias:          pci:v000014E4d00004357sv*sd*bc*sc*i*
alias:          pci:v000014E4d0000A99Dsv*sd*bc*sc*i*
alias:          pci:v000014E4d00004353sv*sd*bc*sc*i*
alias:          pci:v000014E4d0000432Dsv*sd*bc*sc*i*
alias:          pci:v000014E4d0000432Csv*sd*bc*sc*i*
alias:          pci:v000014E4d0000432Bsv*sd*bc*sc*i*
alias:          pci:v000014E4d0000432Asv*sd*bc*sc*i*
alias:          pci:v000014E4d00004329sv*sd*bc*sc*i*
alias:          pci:v000014E4d00004328sv*sd*bc*sc*i*
alias:          pci:v000014E4d00004315sv*sd*bc*sc*i*
alias:          pci:v000014E4d00004313sv*sd*bc*sc*i*
alias:          pci:v000014E4d00004312sv*sd*bc*sc*i*
alias:          pci:v000014E4d00004311sv*sd*bc*sc*i*
depends:        lib80211
vermagic:       3.3.6-desktop-2.mga2 SMP mod_unload modversions
parm:           oneonly:int
parm:           piomode:int
parm:           instance_base:int
parm:           nompc:int
parm:           name:string
[root@faba jos]# lspci
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:19.0 Ethernet controller: Intel Corporation 82567LM Gigabit Network Connection (rev 03)
00:1a.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
00:1a.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
00:1a.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 03)
00:1d.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M-E LPC Interface Controller (rev 03)
00:1f.2 IDE interface: Intel Corporation 82801IBM/IEM (ICH9M/ICH9M-E) 2 port SATA Controller [IDE mode] (rev 03)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
00:1f.5 IDE interface: Intel Corporation 82801IBM/IEM (ICH9M/ICH9M-E) 2 port SATA Controller [IDE mode] (rev 03)
03:01.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ba)
03:01.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 04)
03:01.2 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 21)
0c:00.0 Network controller: Broadcom Corporation BCM4322 802.11a/b/g/n Wireless LAN Controller (rev 01)


Any ideas ?
thanks in advance,
Jos
jos
 
Posts: 13
Joined: May 25th, '12, 10:25

Re: Mageia 2 : broadcom wl not working

Postby djennings » May 25th, '12, 12:10

Did you do a fresh install or an update from Mageia 1?
If you updated then you can boot with the old kernel which should still have the driver module for your wireless network.

See also this post
https://forums.mageia.org/en/viewtopic.php?f=25&t=2409
User avatar
djennings
 
Posts: 613
Joined: Jun 2nd, '11, 23:51
Location: Wokingham, UK

Re: Mageia 2 : broadcom wl not working

Postby jos » May 29th, '12, 16:04

I updated, but the boot with the old kernel fails.

I gave the commands indicated in the other post ; "modprobe wl" doesn't seem to do anything ...

Code: Select all
[root@faba jos]# dkms status
broadcom-wl, 5.100.82.112-4.mga2.nonfree, 3.3.6-desktop-2.mga2, x86_64: installed
[root@faba jos]# lsmod | grep wl
wl                   2573484  0
lib80211               14381  1 wl
[root@faba jos]# modprobe wl
[root@faba jos]# dmesg | tail
[17121.978580] Shorewall:net2fw:DROP:IN=eth0 OUT= MAC=00:26:b9:a4:17:c4:2c:41:38:92:3b:c6:08:00 SRC=134.214.33.10 DST=134.214.32.11 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=22608 DF PROTO=TCP SPT=51776 DPT=631 WINDOW=14600 RES=0x00 SYN URGP=0
[17127.994599] Shorewall:net2fw:DROP:IN=eth0 OUT= MAC=00:26:b9:a4:17:c4:2c:41:38:92:3b:c6:08:00 SRC=134.214.33.10 DST=134.214.32.11 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=22609 DF PROTO=TCP SPT=51776 DPT=631 WINDOW=14600 RES=0x00 SYN URGP=0
[19006.244946] usb 7-4.2: USB disconnect, device number 20
[19006.431191] usb 7-4.2: new low-speed USB device number 21 using ehci_hcd
[19006.521067] usb 7-4.2: New USB device found, idVendor=413c, idProduct=3012
[19006.521070] usb 7-4.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[19006.521073] usb 7-4.2: Product: Dell USB Optical Mouse
[19006.521074] usb 7-4.2: Manufacturer: Dell
[19006.523279] input: Dell Dell USB Optical Mouse as /devices/pci0000:00/0000:00:1a.7/usb7/7-4/7-4.2/7-4.2:1.0/input/input30
[19006.523374] generic-usb 0003:413C:3012.0012: input,hidraw0: USB HID v1.11 Mouse [Dell Dell USB Optical Mouse] on usb-0000:00:1a.7-4.2/input0
jos
 
Posts: 13
Joined: May 25th, '12, 10:25

Re: Mageia 2 : broadcom wl not working

Postby jos » May 29th, '12, 17:05

More information :

Code: Select all
[root@faba jos]# lspcidrake -v | grep NET
wl              : Broadcom Corporation|BCM4322 802.11a/b/g/n Wireless LAN Controller [NETWORK_OTHER] (vendor:14e4 device:432b subv:1028 subd:000d) (rev: 01)
e1000e          : Intel Corporation|82567LM Gigabit Network Connection [NETWORK_ETHERNET] (vendor:8086 device:10f5 subv:1028 subd:0233) (rev: 03)
[root@faba jos]# rpm -qa | grep firmware
carl9170-firmware-1.9.4-1.mga2
ralink-firmware-20120421-3.mga2.nonfree
radeon-firmware-20120322-3.mga2.nonfree
rtlwifi-firmware-20120421-3.mga2.nonfree
kernel-firmware-20120219-1.mga2
kernel-firmware-nonfree-20120421-3.mga2.nonfree
bluez-firmware-1.2-6.mga1
jos
 
Posts: 13
Joined: May 25th, '12, 10:25

Re: Mageia 2 : broadcom wl not working

Postby doktor5000 » May 29th, '12, 20:49

As a general hint, there's some golden rule for unices: No message is good message. :) Most commands will give no output when they successfully completed.
So please show the output of
Code: Select all
iwconfig
and
Code: Select all
iwlist wlan0 scan
as root
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18042
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Mageia 2 : broadcom wl not working

Postby jos » May 30th, '12, 09:19

Thanks doktor !
then these are "bad" messages :

Code: Select all
[root@faba jos]# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

[root@faba jos]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:26:B9:A4:17:C4 
          inet addr:134.214.32.11  Bcast:134.214.35.255  Mask:255.255.252.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2551 errors:0 dropped:0 overruns:0 frame:0
          TX packets:584 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:664478 (648.9 KiB)  TX bytes:146468 (143.0 KiB)
          Interrupt:22 Memory:f6ae0000-f6b00000

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:6 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:320 (320.0 b)  TX bytes:320 (320.0 b)

[root@faba jos]# iwlist wlan0 scan
wlan0     Interface doesn't support scanning.
jos
 
Posts: 13
Joined: May 25th, '12, 10:25

Re: Mageia 2 : broadcom wl not working

Postby doktor5000 » May 30th, '12, 23:28

Ok, please show the output of
Code: Select all
cat /etc/udev/rules.d/70-persistent-net.rules
and
Code: Select all
cat /etc/modprobe.conf
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18042
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Mageia 2 : broadcom wl not working

Postby jos » May 31st, '12, 09:14

I did change /etc/modprobe.conf once to remove the "--first-time" options (as was recommended in another post), but without success

Code: Select all
[jos@faba ~]$ 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 (00:26:b9:a4:17:c4)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:26:b9:a4:17:c4", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

# PCI device 0x14e4:0x432b (wl)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="c4:17:fe:16:d5:e5", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
[jos@faba ~]$ cat /etc/modprobe.conf
options snd-ac97-codec power_save=1
install scsi_hostadapter /sbin/modprobe ahci; /sbin/modprobe ata_piix; /bin/true
install usb-interface /sbin/modprobe ehci_hcd; /sbin/modprobe uhci_hcd; /bin/true
options ipv6 disable=1
#remove sdhci_pci /sbin/modprobe -r mmc_block; /sbin/modprobe -r --ignore-remove sdhci_pci
remove sdhci_pci /sbin/modprobe -r mmc_block; /sbin/modprobe --first-time -r --ignore-remove sdhci_pci
#install sdhci_pci /sbin/modprobe --ignore-install sdhci_pci && { /sbin/modprobe mmc_block; /bin/true; }
install sdhci_pci /sbin/modprobe --first-time --ignore-install sdhci_pci && { /sbin/modprobe mmc_block; /bin/true; }
alias pci:v000014E4d0000432Bsv00001028sd0000000Dbc02sc80i00 ssb
#alias pci:v000014E4d0000432Bsv00001028sd0000000Dbc02sc80i00 ssb
alias eth1 ssb



Some more :
Code: Select all
[jos@faba ~]$ dmesg | grep eth1
[   48.779731] Loading kernel module for a network device with CAP_SYS_MODULE (deprecated).  Use CAP_NET_ADMIN and alias netdev-eth1 instead
[   48.790879] Loading kernel module for a network device with CAP_SYS_MODULE (deprecated).  Use CAP_NET_ADMIN and alias netdev-eth1 instead
[   56.024852] Loading kernel module for a network device with CAP_SYS_MODULE (deprecated).  Use CAP_NET_ADMIN and alias netdev-eth1 instead
[   86.301692] Loading kernel module for a network device with CAP_SYS_MODULE (deprecated).  Use CAP_NET_ADMIN and alias netdev-eth1 instead
[   86.303997] Loading kernel module for a network device with CAP_SYS_MODULE (deprecated).  Use CAP_NET_ADMIN and alias netdev-eth1 instead
[   86.306261] Loading kernel module for a network device with CAP_SYS_MODULE (deprecated).  Use CAP_NET_ADMIN and alias netdev-eth1 instead
[   86.307985] Loading kernel module for a network device with CAP_SYS_MODULE (deprecated).  Use CAP_NET_ADMIN and alias netdev-eth1 instead
[   86.309675] Loading kernel module for a network device with CAP_SYS_MODULE (deprecated).  Use CAP_NET_ADMIN and alias netdev-eth1 instead
[jos@faba ~]$ dmesg | grep wl
[   92.849029] wl: module license 'unspecified' taints kernel.


Unfortunately, the googling I did on "CAP_SYS_MODULE (deprecated)" suggested I recompile kernel modules, something I'm afraid of ...
jos
 
Posts: 13
Joined: May 25th, '12, 10:25

Re: Mageia 2 : broadcom wl not working

Postby DifferentialPrime » May 31st, '12, 18:05

I'm watching this thread closely. I have the exact same problem as jos. (Same error messages, output, etc.)
DifferentialPrime
 
Posts: 7
Joined: Jun 1st, '11, 21:31
Location: Armpit of Texas

Re: Mageia 2 : broadcom wl not working

Postby doktor5000 » May 31st, '12, 21:43

Quite weird, as the udev rule shows eth1 to be the interface which uses wl driver, but modprobe.conf says to use ssb driver.
You also did some manual modifications of modprobe.conf, mind to tell why you did this?

If you do something like that, it's hard to help if you do any changes to the system and don't tell what you have done exactly.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18042
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Mageia 2 : broadcom wl not working

Postby jos » May 31st, '12, 21:50

doktor5000 wrote:You also did some manual modifications of modprobe.conf, mind to tell why you did this?


jos wrote:I did change /etc/modprobe.conf once to remove the "--first-time" options (as was recommended in another post), but without success


That was the only thing I did, I copied the lines, commented the old one (by putting a #, assuming this was how to comment), and removed the "--first-time" option, as was suggested somewhere else (on this forum, I believe). But no success, so I commented the changed lines, and uncommented the old ones - that's the trace you see in my modprobe.conf file.
I'm totally uncapable of inventing something sensible in such files, so anything else than commenting or uncommenting is out of my competence ...
jos
 
Posts: 13
Joined: May 25th, '12, 10:25

Re: Mageia 2 : broadcom wl not working

Postby jos » May 31st, '12, 21:59

I found it : http://www.mail-archive.com/mageia-dev@ ... 15399.html

This conversation (which got a bit out of hand, I believe) suggested to remove the "first-time" option, but it was because of the "error running install command for sdhci_pci" I keep getting during boot.
I also noted that, during boot, my computer tells me that it's using a "Legacy USB proc system" or something ... is there a link between udev, sdhci_pci, USB, and wireless ?
I don't know, it's all like, erm, "magic", "mageia" to me ? :)
jos
 
Posts: 13
Joined: May 25th, '12, 10:25

Re: Mageia 2 : broadcom wl not working

Postby doktor5000 » May 31st, '12, 22:32

Well, you also copied and commented the second-to-last line, which is the PCI alias for the SSB driver, why?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18042
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Mageia 2 : broadcom wl not working

Postby jos » May 31st, '12, 23:53

Ah, I was wondering if I should have mentioned this ... I edited the file with vi, and copied-pasted two lines instead of one ... I didn't want to delete anything, so I just commented it ...

Yes, I'm playing with tools that are too dangerous for me, maybe DifferentialPrime can show his/her modprobe.conf if he/she didn't mess around with it ?
jos
 
Posts: 13
Joined: May 25th, '12, 10:25

Re: Mageia 2 : broadcom wl not working

Postby jos » Jun 1st, '12, 14:51

Thanks for the help, doktor5000 ... I have to tell I'm trying CentOS at the moment, I feel a bit too old-fashioned for mageia
(see viewtopic.php?f=7&t=2638&p=19587#p19438 ... I hope this link works, I didn't see a permanent or universal link ...)

wireless works, it's not straigthforward, but I found the recipe on the internet ...

Cheers !
jos
jos
 
Posts: 13
Joined: May 25th, '12, 10:25

Re: Mageia 2 : broadcom wl not working

Postby doktor5000 » Jun 2nd, '12, 19:18

Well, just use whatever works best for you, even if that's not Mageia. You know, you're still a bit Mageian after all, as being pragmatic is also one of Mageia's core values ;)
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18042
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Networking

Who is online

Users browsing this forum: No registered users and 1 guest

cron