Results 1 to 9 of 9
hi guys,
While inserting/executing a kernel module, I got segmentation fault/Kernal panic.
after that im not able to remove that module.
finally i need to restart the system. is there ...
- 04-22-2009 #1
Segmentation Fault/Kernal panic
hi guys,
While inserting/executing a kernel module, I got segmentation fault/Kernal panic.
after that im not able to remove that module.
finally i need to restart the system. is there any way to remove that module without restarting.
- 04-22-2009 #2
Provided you know which module it is, take a look at rmmod.
There is also modprobe -rJay
New users, read this first.
New Member FAQ
Registered Linux User #463940
I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.
- 04-22-2009 #3Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,970
If you reboot into runlevel 3 (no GUI), log in as root, and run "modprobe -r modname" you should be able to get rid of it, otherwise it means editing a bunch of configuration files for kernel startup, and you don't want to go there as yet. I assume you can still boot the system? Or does it panic trying to start up?
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 04-23-2009 #4
Hey guys..
once kernel panic or segmentation comes, then i use
rmmod modulename
but, the error comes as module busy.
if i give lsmod , then it shows module is used by 1.
but no module info which is using is not given.
- 04-23-2009 #5Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,970
Did you try the --force option? It might not work, but if the module was built with CONFIG_MODULE_FORCE_UNLOAD then this will unload it even if busy.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 04-24-2009 #6
hi guys,
i have tried both --force and modprobe -r.
# for Modprobe -r
"Device is busy" message is displayed.
#--force option
rmmod --force i gave... there is no option like --force.
- 04-24-2009 #7
I just want to clarify...
Came back no force option? (or similar)Code:rmmod -f module-name
Jay
New users, read this first.
New Member FAQ
Registered Linux User #463940
I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.
- 04-24-2009 #8thank u friend..I just want to clarify...
- 04-24-2009 #9


Reply With Quote
