Operating System - HP-UX
1834148 Members
2005 Online
110064 Solutions
New Discussion

Re: ioctl: Function is not available

 

ioctl: Function is not available

Hi, when I issue
sysdef command I have output
ioctl: Function is not available

I think it is problem with DLKM.
Can I resolve it with:
cd /stand/build
/usr/lbin/sysadm/system_prep -s system
mk_kernal -s system
kmupdate /stand/build/vmunix_test
shutdown -ry now

or it is something more complicated?

Best regards,

Hrvoje
3 REPLIES 3
Dietmar Konermann
Honored Contributor

Re: ioctl: Function is not available

Hi, Hrvoje!

Your approach assumes that the problem is the result of DLKM being uninitialized.

You can easily check this:

# echo mod_initialized/D | /usr/bin/adb /stand/vmunix /dev/kmem
mod_initialized:
mod_initialized: 1

If adb reports "0" then the procedure should apply to your problem.

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

Re: ioctl: Function is not available

Thank you Dietmar,

echo mod_initialized/D | /usr/bin/adb /stand/vmunix /dev/kmem
Error from elf64_getehdr(application core file)
Not an Elf file: No Elf header
mod_initialized:
mod_initialized: 0


So, it obviously mean that I should use
procedure:
cd /stand/build
/usr/lbin/sysadm/system_prep -s system
mk_kernal -s system
kmupdate /stand/build/vmunix_test
shutdown -ry now

to solve this problem.

Thank you again, 10 points are your now :-))

Best regards,

Hrvoje

Re: ioctl: Function is not available

Hi Dietmar,

by mistake I gave you only 7 points,
and I cannot update it.

Please, take my apologize.

Best regards,

Hrvoje