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]# |
You can't remove it because the system is still trying unsuccessfully to load the module. Probably because it can't be loaded.
|
Thanks for reply
Quote:
My code had problem and exception occured. So, my module couldn't load successfully. Your advice is right. Thanks for your advice. Bye~~ |
All times are GMT -5. The time now is 10:41 AM. |