cancel
Showing results for 
Search instead for 
Did you mean: 

rebuilding new kernel

 
himacs
Super Advisor

rebuilding new kernel

Hi Admins,

Please tell me how too build new kernel

uname -a
HP-UX UAEMFQDD B.11.23 U ia64 0224364636 unlimited-user license


Regards
himacs
4 REPLIES
boukari
Frequent Advisor

Re: rebuilding new kernel

HI

Try to build it with SAM
# sam
and look for the branch to build kernel else if don't work
run mk_kernel manually and create the kernel

Good luck
BCS SW/HW GSC Engineer (L1)
IEEE Student Member
LPI 3 CORE & High Availability
VCP Vshpere 5 Datacenter
Novell CLA and Data Center specialist Certified
.....
Microsoft Partner & Microsoft student Partner
boukari
Frequent Advisor

Re: rebuilding new kernel

Hi
See that
http://h30499.www3.hp.com/t5/System-Administration/mk-kernel-error/m-p/4064688#M306459

BCS SW/HW GSC Engineer (L1)
IEEE Student Member
LPI 3 CORE & High Availability
VCP Vshpere 5 Datacenter
Novell CLA and Data Center specialist Certified
.....
Microsoft Partner & Microsoft student Partner
himacs
Super Advisor

Re: rebuilding new kernel

Hi Boukari,

Thanks for the replies.
B.11.23 integrity

Actually we had upgraded FC card driver.After rebooting swlist shows the latest driver version but fcmsutil doesnot.So we have opened a case with HP support and according to them kernel rebuild was not proper.Now we are in process of rebuilding the kernel.i know the command is mk_kernel and wanted to know how it exactly works.I surfed in man page but did not get much details.

Regards
himacs
Manix
Honored Contributor

Re: rebuilding new kernel

#cd /stand
#cp vmunix vmunix.old
#cp system system.old
#cd build

#this is the changed line.
#/usr/lbin/sysadm/system_prep -s system ( will be created in pwd i.e. build )

Edit system file and make changes here as per requirement. I mean addition/Deletion of devices ( if needed ).
Then
#mk_kernel -s system
For more information see the man page of mk_kernel

Now one new kernel will be created in /stand/build directory. Copy this to original location
#cd /stand/build
#cp vmunix_test /stand/vmunix
#cp system /stand

http://h20000.www2.hp.com/bc/docs/support/SupportManual/c02261186/c02261186.pdf
HP-UX been always lovable - Mani Kalra