1846661 Members
4521 Online
110256 Solutions
New Discussion

Re: modpath warning

 
SOLVED
Go to solution
Wayne Willess
Advisor

modpath warning

The following message just appeared in the syslog of one of my A500 systems running 11.0.

vmunix: WARNING: modpath: DLKM is not initialized

It also appears at boot up. Does anyone know what is it? Is it something to worry about and how do I fix it?

Thank,
Wayne
6 REPLIES 6
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: modpath warning


Typically this is an indication that the current
kernel does not match the
symbol table in /stand/dlkm.


A.) cd /stand/build

II.) /usr/lbin/sysadm/system_prep -s system

3) mk_kernel -s system

D) kmupdate /stand/build/vmunix_test

5) shutdown -r 0

If it ain't broke, I can fix that.
Uday_S_Ankolekar
Honored Contributor

Re: modpath warning

This could be due to current version of Kernel is not matching with symbolic table smtab
Try this:

# cd /stand/build
# /usr/lbin/sysadm/system_prep -s system
# mk_kernel -s system
# kmupdate /stand/build/vmunix_test
# shutdown -ry 0



-USA..
Good Luck..
Wayne Willess
Advisor

Re: modpath warning

Thanks for the reply. I will need to wait for a down time to try the fix.
It must not affect the system. Seeing as the kernel has not been changed for over a year. The /stand/vmunix file is six days newer than the /stand/dlkm file. I would think that would mean that the kernel has all the changes that are in the dlkm. Any thoughts?

Thanks,
Wayne
A. Clay Stephenson
Acclaimed Contributor

Re: modpath warning

Okay, do this:

echo "mod_initialized/D" | adb -k /stand/vmunix /dev/mem

You should see at least one line:
mod_initialized 1 if the kmupdate does not need to be done.

If it ain't broke, I can fix that.
Steven E. Protter
Exalted Contributor

Re: modpath warning

One VERY IMPORTANT addition to A Clay's message.

cd /stand
cp vmunix vmunix.back
or vmunix.prev

When you do this stuff on the command line, you have to make the backup yourself.

Your current kernel boots. That's a good thing. Make sure if this problem is bigger than we think you can still boot off a copy of the current kernel.

Take it from a guy who has shot himself in the foot many times with kernel issues.

P
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Wayne Willess
Advisor

Re: modpath warning

Clay,

Looks like I need to rebuild the kernel. This is what I got.

mod_initialized:
mod_initialized: 0

And thanks Steven for your addition. I have been there too.

Thanks,
Wayne