1846732 Members
3988 Online
110256 Solutions
New Discussion

sysdef problems

 
Brandon Moore
New Member

sysdef problems

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

Anyone have any ideas?
4 REPLIES 4
S.K. Chan
Honored Contributor

Re: sysdef problems

At some point in time you or someone else might have NOT run "kmupdate" after rebuilding a new kernel. Hence the mismatch in kernel vs what's in /stand/dlkm (ie the dynamic-loadable-kenel-module table). I myself sometimes forgot and "sysdef" will then failed to work. To fix..
# cd /stand/build
# /usr/lbin/sysadm/system_prep -s system
# /usr/sbin/mk_kernel -s ./system
# /usr/sbin/kmupdate /stand/build/vmunix_test
Unfortunately you got to "shutdown -r" for this to be effective (or for the kernel to match up with the dlkm table).
Brandon Moore
New Member

Re: sysdef problems

The kmupdate was run and it was verified that sysdef worked...I am still having the problem...
RAC_1
Honored Contributor

Re: sysdef problems

seems that kmupdate was not executed.

1 sys_prep -v -s ./stand/build/system
2 mk_kernel -s ./stand/build/system
3 kmupdate
4 shutdown -ry 0

Hope this helps
There is no substitute to HARDWORK
S.K. Chan
Honored Contributor

Re: sysdef problems

You mean sysdef has been working since the last time your server rebooted and now it doesn't work, even though you did not do any kernel rebuilding since the last reboot ?