LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 02-01-2010, 06:27 PM   #1
rabbit2345
Member
 
Registered: Apr 2007
Location: 中国上海
Distribution: openSUSE 11.3
Posts: 358

Rep: Reputation: 39
can't modprobe rt3070sta module


Hi,

I have built the modules for rt3070 and successfully inserted it into the kernel. However, I can only insert the module by using insmod instead of modprobe. modprobe does not return any messages, but when I look at dmesg, nothing happened. But when I did insmod, it shows up in dmesg and I can use the card.

1. Why does modprobe not work to load the module? Isn't modprobe a frontend to insmod?

2. How can I load to module on boot? I have already listed it in /etc/modules, but I have to manually load it with insmod everytime.



thanks,
rabbit2345
 
Old 02-02-2010, 12:56 AM   #2
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
to find out what modprobe is doing, use the verbose option.

modprobe -v

(see man modprobe for details)

Specific to your questions:
1. modprobe may be protecting you, insmod is more stupid. yes.
2. you can put it in a script to run at boot, but, if you solve the modproble question this one should be solved too.
 
Old 02-02-2010, 01:46 AM   #3
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,619
Blog Entries: 29

Rep: Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896
Quote:
Originally Posted by rabbit2345
How can I load to module on boot? I have already listed it in /etc/modules, but I have to manually load it with insmod everytime.
In the following path, read "README" file and accordingly modify "boot.local".
Code:
cd /etc/init.d/
But this path is OpenSuse specific, on other distros path may be different !!

Last edited by TheIndependentAquarius; 02-02-2010 at 06:47 AM.
 
Old 02-03-2010, 11:52 AM   #4
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
Moved: This thread was moved to Linux Kernel as you requested to help your question get the exposure it deserves.
 
Old 02-03-2010, 11:00 PM   #5
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
@rabbit: have you tried any of these suggestions yet?
 
Old 02-08-2010, 09:09 PM   #6
rabbit2345
Member
 
Registered: Apr 2007
Location: 中国上海
Distribution: openSUSE 11.3
Posts: 358

Original Poster
Rep: Reputation: 39
Hey sorry for the delay, my internet totally dropped out on me for a few days.

Anyway, I did try running modprobe -v, but I get no output from the command.
However, it did begin to magically work somehow. I did not change anything yet, but now when I boot, it will automaticlly load the module. Is there a reason for this "magic"?



thank you,
rabbit2345
 
Old 02-09-2010, 12:55 AM   #7
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
The only clue would be if you had saved your boot messages and compared with the non-working one.

I can only assume that something you have not disclosed is responsible. Perhaps there was an update? Maybe the gods just took pity on you?
 
Old 02-11-2010, 06:56 PM   #8
rabbit2345
Member
 
Registered: Apr 2007
Location: 中国上海
Distribution: openSUSE 11.3
Posts: 358

Original Poster
Rep: Reputation: 39
I checked around an it looks like there was an update before it "magically started working". What an odd problem, but at least it's ok now.


thanks
rabbit2345
 
  


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
Error message: modprobe: modprobe: can't locate module nls_iso8859-1 berty800 Linux - Hardware 1 06-06-2008 09:07 AM
module.ko: make, install & used many times. Suddenly modprobe=invalid module format?? GrapefruiTgirl Linux - General 16 08-04-2007 05:40 AM
module (modprobe) bendeco13 Linux - General 2 11-05-2004 12:16 AM
modprobe: modprobe: Couldn't locate module nvnet.o/nvaudio.o xiojqwnko Linux - Newbie 2 12-08-2003 05:41 PM
modprobe: modprobe can't locate module ppp0 in redhat 7.1 while shutting down. cyberdude3k Linux - Networking 1 09-08-2003 12:01 PM


All times are GMT -5. The time now is 10:58 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration