Operating System - HP-UX
1834015 Members
2623 Online
110063 Solutions
New Discussion

Re: vmunix: WARNING: ioctl: DLKM is not initialized

 
SOLVED
Go to solution
Carme Torca
Super Advisor

vmunix: WARNING: ioctl: DLKM is not initialized

Hi,

In the syslog of an HP-UX 11.11 system, I am seeing this message, "vmunix: WARNING: ioctl: DLKM is not initialized".
Does anyone knows what is happening? and Who I could resolve it?

Thanks a lot of!,
Carmen.

Users are not too bad ;-)
7 REPLIES 7
T G Manikandan
Honored Contributor
Solution

Re: vmunix: WARNING: ioctl: DLKM is not initialized

The current kernel is not matching the symbol table (DKLM)

you need to rebuild the kernel

Just do
#cd /stand/build
#/usr/lbin/sysadm/system_prep -s /stand/build/system

#/usr/sbin/mk_kernel -s /stand/build/system
#mv /stand/system /stand/system.prev
#mv /stand/build/system /stand/system
#kmupdate /stand/build/vmunix_test
#shutdown -r


Fabio Ettore
Honored Contributor

Re: vmunix: WARNING: ioctl: DLKM is not initialized

Hi Carmen,

I agree with TG.
Dynamic Loadable Kernel Modules (DLKM) is about kernel.
It seems that last kernel rebuilding was bad.

Rebuild the kernel (about TG's suggestion) and see what's going on.

Best regards,
Ettore
WISH? IMPROVEMENT!
Suresh Patoria
Super Advisor

Re: vmunix: WARNING: ioctl: DLKM is not initialized

Hi,

it's because of currently running kernel is bad

You need to create new kernel and boot with that kernel

Thanx
Daniel Malcor
Occasional Advisor

Re: vmunix: WARNING: ioctl: DLKM is not initialized


I see this message too. All the discussion I see is related to resolving the error message. I'm wondering if there is a real problem (that I can use to tell users that there is a need to reboot), or just an anoying error message?

Asked another way:

I see two small problems, There is an error message and there was a problem with the last kernel rebuild. But is this causing any REAL problem?
Did you check the Logs?
Kevin Liquori_1
Regular Advisor

Re: vmunix: WARNING: ioctl: DLKM is not initialized

I had this error appearing for a couple of months with no signs of any "real problem." For me it started with a manual kernel build instead of using SAM.

Kevin
jerry1
Super Advisor

Re: vmunix: WARNING: ioctl: DLKM is not initialized

I'm getting that message now. I only used
sam to build kernels.
Tried to change a kernel parm and left the box unbootable.
Had to boot with vmunix.prev.
Now I can't run sysdef without getting :

ioctl: Function is not available

I noticed during the kernel build that
the vmunix_test grows to the correct vmunix.prev size then goes down to a smaller
size. What's up with that??

27983672 /stand/vmunix
18556184 /stand/build/vmunix_test

I did a test and it boots with the smaller
kernel. ??? The error message went away
also.

The unbootable bad kernel was the same
size as this vmunix_test. ??

I don't understand why any new builds are
creating smaller kernels?

RAC_1
Honored Contributor

Re: vmunix: WARNING: ioctl: DLKM is not initialized

What the error messages means is you missed a step or two when doing re-compile. As a result DLKM is not initilized.

Check that.

echo "mod_initialized/D" | adb64 -k /stand/vmunix /dev/kmem. You should not get 0, if 0, that confirms something went wrong when kernel was re-compiled.

Repeat the whole kernel conpile procedure.

cd /stand
cp ./vmunix vmunix.prev
cp ./system ./system.prev
cp -rp dlkm dlkm.prev
cd /stand/build
system_prep -v ./system
kmtune -s kernel_tanable=value -S ./system
or vi ./system and modify kernel tunables you want to change.
mk_kernel -v -s ./system
mv ./system ../.
kmupdate
shutdown -ry 0

echo mod_initialized stuff as mentioned again after reboot.

Anil
There is no substitute to HARDWORK