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

Re: unable to unload dlkm

 

unable to unload dlkm

Hi all.

On 7 (of 8 similar) systems I've unloaded and unregistered a dlkm (random, by Jos Visser) without problems.
However, on 1 system I get an error that I can't get past.
+++++++++++
# kmadmin -s
Name ID Status Type
===============================================

random 3 LOADED WSIO

# kmadmin -U random
kmadmin: random: Device busy
++++++++++++

the device file itself (/dev/random & /dev/urandom) were not present more on the system
I've recreated the device files but this didn't change anything.

/dev/random is used by ssh daemon and all is functioning fine.
On all other systems the steps I took above (kmadmin -U x ;kmmodreg -U random) did the job.

HPUX 11.00

Any help would be much appreciated.
Emiel
3 REPLIES 3
Florian Heigl (new acc)
Honored Contributor

Re: unable to unload dlkm

I'd say that even though the device files were missing (btw: why?) there is still a handle to /dev/urandom opened by sshd.

try if You can unload it after stopping all sshd's (both daemon and sessions, that is)
yesterday I stood at the edge. Today I'm one step ahead.

Re: unable to unload dlkm

Yes, I would like to try this but unfortunatly I can't stop this daemon now because the system is in use (not a test machine)
I've been reading in several man pages but it doesn't look like there's an option that would force the unload...

Re: unable to unload dlkm

kill -1 of sshd pid did not free the device..

btw, no idea why the device files were removed.