Operating System - HP-UX
1834149 Members
2143 Online
110064 Solutions
New Discussion

kcmodule modname=uninstall doesn't work

 
SOLVED
Go to solution
Ury Segal
Occasional Contributor

kcmodule modname=uninstall doesn't work

Hi,

I have a strange problem with kcmodule.
I try to use it to remove a module from a
11.23 Itanium system. It says the module will
be removed next reboot, but after a reboot it
is still there.

I run:

/usr/sbin/kcmodule -h -K modname=uninstall

And I get:

Module State Cause Notes

modname (now) loaded explicit loadable, unloadable

(next boot) unused

However, after next reboot it comes up LOADED!

I tired it dozens of times with all kind of
flags (=unused instead of =uninstall for
example). Nothing helps. The module stays in.

If anyone has any idea how to get rid of this
module, please let me know.

2 REPLIES 2
Ramesh S
Esteemed Contributor
Solution

Re: kcmodule modname=uninstall doesn't work

Hi Ury

->Some modules do not support all of the possible states.To see which states a module supports, run

# kcmodule -v modulename

-> what was the return value 0,1 or 2?

->I would suggest you to check the kclog as well.To see the last five entries for module changes:

# kclog -t module 5

Thanks & Regards

Ramesh
Ury Segal
Occasional Contributor

Re: kcmodule modname=uninstall doesn't work

Thank you for your answer.

Since I wrote the module, and loaded and unloaded it many many times on 11.23, both PA-RISC and Itanium, I know it is unloadable.

This is just one machine that gives me trouble.
I will try to examine the module log and maybe post it here. Thanks!