LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 12-02-2008, 01:17 AM   #1
shin2011
LQ Newbie
 
Registered: Dec 2008
Posts: 10

Rep: Reputation: 0
Question rmmod error


hi,

i have problem when i do 'rmmod'. It is always fail.
But, there is one clue for this. When i did insmod, there was error.
When i was shutdown system, module was removed.
But, i want to know there is other way to remove module?

Detailed log is below.
Thanks for reading this article.
Have a nice time in here ^^



root@localhost mod_test]#
[root@localhost mod_test]# insmod mod_test.ko
insmod: error inserting 'mod_test.ko': -1 File exists
[root@localhost mod_test]# rmmod mod_test.ko
ERROR: Module mod_test is in use
[root@localhost mod_test]# rmmod -f mod_test
ERROR: Removing 'mod_test': Device or resource busy
[root@localhost mod_test]# rmmod -w mod_test
ERROR: Removing 'mod_test': Device or resource busy
[root@localhost mod_test]#

Last edited by shin2011; 12-02-2008 at 06:22 AM.
 
Old 12-02-2008, 06:47 AM   #2
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 59
You can't remove it because the system is still trying unsuccessfully to load the module. Probably because it can't be loaded.
 
Old 12-02-2008, 07:42 PM   #3
shin2011
LQ Newbie
 
Registered: Dec 2008
Posts: 10

Original Poster
Rep: Reputation: 0
Talking Thanks for reply

Quote:
Originally Posted by Junior Hacker View Post
You can't remove it because the system is still trying unsuccessfully to load the module. Probably because it can't be loaded.

My code had problem and exception occured.
So, my module couldn't load successfully. Your advice is right.
Thanks for your advice.

Bye~~
 
  


Reply

Tags
error, rmmod


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
help with insmod and rmmod jaepi Programming 21 05-28-2007 09:42 PM
rmmod: command not found ferradura Slackware 3 12-19-2006 01:42 PM
rmmod -f not working R0UTE Linux - Software 0 10-27-2004 09:12 AM
rmmod and cron issue? Manuel-H Linux - Software 1 10-23-2004 07:05 AM
Why can't I use lsmod rmmod etc JohnSharp Linux - Newbie 4 04-08-2004 10:11 AM


All times are GMT -5. The time now is 08: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