You are not logged in.

#1 2014-07-17 22:46:41

VictorSO
Member
Registered: 2014-07-17
Posts: 5

[SOLVED] Brcmsmac won't load automatically

Solution:

There was a line on /usr/lib/modprobe.d/broadcom-wl.conf blacklisting bcma and brcmsmac. After commenting out those lines my problem was solved.


Wireless driver won't load automatically. If I load it manually with

modprobe brcmsmac

, everything works fine.

 lspci -vnn | grep 14e4
01:00.0 Network controller [0280]: Broadcom Corporation BCM4313 802.11bgn Wireless Network Adapter [14e4:4727] (rev 01)

On my /etc/modprobe.d/modprobe.conf:

alias floppy off

blacklist fd0
blacklist floppy
blacklist ipv6
blacklist r8169

blacklist bcma
blacklist pcspkr
blacklist snd_pcsp
blacklist wl

I tried to add the driver name on /etc/modules-load.d/brcmsmac.conf, but it made no difference.

Any tips on how to troubleshoot this problem?

Last edited by VictorSO (2014-07-18 06:00:43)

Offline

#2 2014-07-17 23:05:23

eewallace
Member
Registered: 2013-06-26
Posts: 34

Re: [SOLVED] Brcmsmac won't load automatically

As noted in the wiki page about Broadcom wireless, the brcmsmac depends on the bcma module, which you have blacklisted. Try removing that blacklist line in your modprobe.conf and see it if helps.

Offline

#3 2014-07-17 23:56:36

VictorSO
Member
Registered: 2014-07-17
Posts: 5

Re: [SOLVED] Brcmsmac won't load automatically

I removed the bcma line from /etc/modprobe.d/modprobe.conf, but it made no difference after rebooting. I still had to manually load brcmsmac with modprobe.
Any other idea?

Offline

#4 2014-07-18 01:37:34

eewallace
Member
Registered: 2013-06-26
Posts: 34

Re: [SOLVED] Brcmsmac won't load automatically

Not many, but a couple things to check just to make sure your environment is basically sane:
Compare the output of 'pacman -Q linux' and 'uname -a' and make sure the kernel versions match.
Run "systemctl status systemd-modules-load" and check that it's running successfully.
Maybe run "depmod -a" to make sure your module dependencies are up to date.

Offline

#5 2014-07-18 02:16:10

VictorSO
Member
Registered: 2014-07-17
Posts: 5

Re: [SOLVED] Brcmsmac won't load automatically

Both show 3.15.5-1-ARCH.

systemd-modules-load seems to be ok too:

sudo systemctl status systemd-modules-load.service
● systemd-modules-load.service - Load Kernel Modules
   Loaded: loaded (/usr/lib/systemd/system/systemd-modules-load.service; static)
   Active: active (exited) since Thu 2014-07-17 22:54:59 BRT; 15min ago
     Docs: man:systemd-modules-load.service(8)
           man:modules-load.d(5)
  Process: 4816 ExecStart=/usr/lib/systemd/systemd-modules-load (code=exited, status=0/SUCCESS)
 Main PID: 4816 (code=exited, status=0/SUCCESS)

Jul 17 22:54:59 my_hostname systemd[1]: Starting Load Kernel Modules...
Jul 17 22:54:59 my_hostname systemd[1]: Started Load Kernel Modules.

On /etc/modules-load.d/ I only have one file, brmsmac.conf:

 
brcmsmac

Is this right?

Offline

#6 2014-07-18 02:19:47

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Brcmsmac won't load automatically

VictorSO wrote:

On /etc/modules-load.d/ I only have one file, brmsmac.conf:

 
brcmsmac

Is this right?

Typo in the file name...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2014-07-18 02:44:17

VictorSO
Member
Registered: 2014-07-17
Posts: 5

Re: [SOLVED] Brcmsmac won't load automatically

jasonwryan wrote:

Typo in the file name...

Oh, thanks! I fixed that, but It made no difference. If I'm right, the filenames on this folder won't matter, right?

Offline

#8 2014-07-18 02:54:18

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Brcmsmac won't load automatically

Well, the man page says that the file should be named after the program, so I would make sure it is spelled correctly.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#9 2014-07-18 05:08:25

eewallace
Member
Registered: 2013-06-26
Posts: 34

Re: [SOLVED] Brcmsmac won't load automatically

My understanding is that any file named /etc/modules-load.d/*.conf will be read, and that naming them after their respective programs is a convention to ensure that package-provided files in /usr/lib are properly overridden.

As for that systemctl status output, it looks fine in the sense that it didn't fail, but it also doesn't show any modules being loaded, which it should if they were (or at least, does on my system). This thread might be helpful. Try checking out the journal for any messages from systemd-modules-load.service:

journalctl -b -u systemd-modules-load

If there's anything about brcmsmac being blacklisted, or if

modprobe -b brcmsmac

fails to load the module, check for any files in /usr/lib/modprobe.d or /run/modprobe.d that might be blacklisting it.

Offline

#10 2014-07-18 06:03:21

VictorSO
Member
Registered: 2014-07-17
Posts: 5

Re: [SOLVED] Brcmsmac won't load automatically

eewallace wrote:

... check for any files in /usr/lib/modprobe.d or /run/modprobe.d that might be blacklisting it.

That was my problem! /usr/lib/modprobe.d/broadcom-wl.conf was blacklisting my brcmsmac. Thanks for helping!

Offline

#11 2014-07-18 06:14:53

eewallace
Member
Registered: 2013-06-26
Posts: 34

Re: [SOLVED] Brcmsmac won't load automatically

You're welcome. As an aside, if you haven't yet, with the blacklist gone you should be able to remove brcmsmac from modules-load.d, as well, and just let udev take care of it for you.

Offline

Board footer

Powered by FluxBB