Operating System - HP-UX
1834827 Members
2336 Online
110070 Solutions
New Discussion

mk_kernel in 11i and 11.0

 
SOLVED
Go to solution
Antonio Prado
New Member

mk_kernel in 11i and 11.0

I need to know if when y0u change kernel parameters in 11i you can just: mk_kernel -s /standysystem -o /stand/vmunix and that would suffice to have the kernel changed, all to do is reboot the machine after it. Is it necessary to use kmupdate . When using kmtune, do we need to mk_kernel or we can just kmupdate. On 11.0 is it correct that we just need to vi /stand/system; mk_kernel -s /stand/system and reboot the system. thank you . antonio
kernel on 11i
5 REPLIES 5
Patrick Wallek
Honored Contributor

Re: mk_kernel in 11i and 11.0

For instructions on how to build a new kernel in both HP-UX 11.0 and 11i go to this document:
http://docs.hp.com/hpux/onlinedocs/B2355-90742/B2355-90742.html

Then click on the + next to "Configuring a System" to expand that chapter and then click on "Reconfiguring the Kernel".
Sanjay_6
Honored Contributor

Re: mk_kernel in 11i and 11.0

Hi Antonio,

The correct steps are,

cd /stand/build
/usr/lbin/sysadm/system_prep -s system
mk_kernel -s ./system
kmupdate /stand/build/vmunix_test
shutdown -r 0 (don't use reboot.)

Hope this helps.

Regds
Sajid_1
Honored Contributor
Solution

Re: mk_kernel in 11i and 11.0

Hi,

This document will be helpful:
http://support2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000049790715

TKB Doc ID-KBRC00001138
learn unix ..
Antonio Prado
New Member

Re: mk_kernel in 11i and 11.0

Sanjay
thanks for your help. Just a clarification, your instructions were for 11i. For 11.0 does it suffice just the mk_kernel -s /stand/system -o /stand/vmunix ???
thank you , once again.
kernel on 11i
Sajid_1
Honored Contributor

Re: mk_kernel in 11i and 11.0

hi again,

Starting from the introduction of DLKM (dynamic loadable Kernel Modules) at 11.0, the Kernel reconfiguration has been changed a littlebit. You now have new commands and functions to properly do this task. You need to do 'kmupdate' after running the mk_kernel command. Check
# man km_update for details.
Once km_update is done, you need to do a shutdown -y -r 0(not reboot!).

Check the documents, you will get more idea.
learn unix ..