LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-03-2008, 03:44 PM   #1
Daemon-
LQ Newbie
 
Registered: Feb 2008
Posts: 17

Rep: Reputation: 0
Random module loading


Hello, I'm sorry if the title is not very clear. I have the following problem in Slackware-current. I needed support for a certain wireless card (broadcom 4311) which has a good working driver in the 2.6.24 kernel series. So, I downloaded 2.6.24.3 and custom-compiled it. The driver, b43, is compiled as a module, and I put /sbin/modprobe b43 in the corresponding rc.modules. With this, each time I start up the computer, the b43 module is loaded. The problem is that it doesn't always work (LED is red and the interface is not up). If I run modprobe -r b43 and then again modprobe b43, everything works fine. And this behaviour is random, some times it works fine at startup, some times not.

What can be causing this?
I tried putting /sbin/modprobe b43 in rc.local, tried loading the modules it depends on before it, etc., but all the combinations give the same random result.
 
Old 03-03-2008, 04:40 PM   #2
raconteur
Member
 
Registered: Dec 2007
Location: Slightly left of center
Distribution: slackware
Posts: 276
Blog Entries: 2

Rep: Reputation: 44
If you are specifying the interface as wlan0 (for instance) in /etc/rc.d/rc.inet1.conf, then try adding

alias wlan0 b43

to /etc/modprobe.conf and remove the other modprobe entry you may have in rc.local.
 
Old 03-04-2008, 12:41 AM   #3
Daemon-
LQ Newbie
 
Registered: Feb 2008
Posts: 17

Original Poster
Rep: Reputation: 0
That didn't work either.

It's weird because I did the same procedure a couple of weeks ago in this same laptop (upgrade to current from fresh 12.0, upgrade to 2.6.24) and it didn't happen then..
 
Old 03-20-2008, 03:18 PM   #4
Daemon-
LQ Newbie
 
Registered: Feb 2008
Posts: 17

Original Poster
Rep: Reputation: 0
up.

Any more hints?
 
Old 03-20-2008, 06:45 PM   #5
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,597

Rep: Reputation: 125Reputation: 125
I'm not sure if it is necessary anymore, but I blacklisted the old module (bcm43xx) in /etc/modprobe.d/blacklist. This and adding b43 to /etc/rc.d/rc.modules was enough for me to get it working. I'm running a custom compiled 2.6.24.3 kernel on Slack 12.0.
 
Old 03-20-2008, 07:34 PM   #6
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 3,704

Rep: Reputation: 998Reputation: 998Reputation: 998Reputation: 998Reputation: 998Reputation: 998Reputation: 998Reputation: 998
in the latest -Current, bcm43xx has been blacklisted by default
make sure you merged the new blacklist.new

Code:
a/udev-118-i486-2.tgz: Blacklist old bcm43xx driver (b43 and b43legacy are
       the recommended drivers now).
 
Old 03-21-2008, 12:34 PM   #7
Daemon-
LQ Newbie
 
Registered: Feb 2008
Posts: 17

Original Poster
Rep: Reputation: 0
Yes, I had checked that thousands of times. bcm43xx is not even in my 2.6.24.3 custom kernel.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Random images not loading on webserver benrose111488 Linux - Software 1 02-02-2007 11:28 PM
'Invalid module format' loading simple module on Suse Linux Professional 9.1 rocketdude Linux - Distributions 3 07-28-2004 12:40 AM
Random module errors after initial bootups mahleresolution Debian 3 05-11-2004 08:51 AM
Finding Module Dependencies...(Still loading...still loading..still loading..HANG!!!) Aeudian Linux - General 3 08-11-2003 04:31 PM
Finding Module Dependencies.....(still loading....Still loading....still loading) Aeudian Linux - Newbie 1 07-28-2003 03:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration