Operating System - HP-UX
1847474 Members
2791 Online
110265 Solutions
New Discussion

Re: modld message in syslog

 
Mina_2
New Member

modld message in syslog

Hi,
My syslog.log is full of following error message
"vmunix: NOTICE: modld: Attempt to load unregistered module"

I am not sure which module is causing this error message. Can anybody help me in finding how to get rid of this message?

Thanks
Mina
4 REPLIES 4
Dietmar Konermann
Honored Contributor

Re: modld message in syslog

Mina,

kernel modules are typically loaded using the kmadmin(1M) command. A simple "kmadmin -L bla" causes your error message.

First, try to find out who calls kmadmin. Check with ll -u when the file was accessed the last time.

To find the calling process you may temporarily replace /usr/sbin/kmadmin with a shell script that e.g. writes "ps -el" output to a file... in this list you should be able to find the calling process.

Regards...
Dietmar.
"Logic is the beginning of wisdom; not the end." -- Spock (Star Trek VI: The Undiscovered Country)
Bill McNAMARA_1
Honored Contributor

Re: modld message in syslog

use kmadmin -s
to show installed/configured modules.

modules need to be registered with the kernel before they can be loaded.

The following is a procedure:
cd /opt/YourSoft/dlkm/dlkm_name
/usr/sbin/kmadmin -U dlkm_name (UNLOAD)
/usr/sbin/kminstall -d dlkm_name (DELETE)
/usr/sbin/kmadmin ???s (STATUS)

Install DLKM ( replace $dlkm by module name )
cd /opt/YourSoft/dlkm/dlkm_name
/usr/sbin/kminstall -a dlkm_name (INSTALL)
/usr/sbin/config -M dlkm_name ???u (COMPILE, LOAD)
/usr/sbin/kmadmin -s

Is there any more information?

Try kmsystem | more
to view all drivers (static + dynamic)
on your box.

What is the content of your
/stand/dlkm/mod_register
file?

Later,

It works for me (tm)
Bill McNAMARA_1
Honored Contributor

Re: modld message in syslog

you didn't happen to install the box via ignite by any chance did you?
I'm having serious problems with ignite and dlkms...

Are you on 11i also or 11.00?

Later,
Bill
It works for me (tm)
Mina_2
New Member

Re: modld message in syslog

Thanks for your suggestions.
The kmadmin was being done by a child process of dtlogin for the module gvid_info.
kmsystem | grep gvid_info shows -
gvid_info 0.1.0 Y Y AUTO
kmadmin -Q gvid_info says-
kmadmin: gvid_info: Not found

Could not find /stand/dklm/mod_register file. We are working on 11i.