Operating System - HP-UX
1832907 Members
3334 Online
110048 Solutions
New Discussion

Re: Build kernel on Itanium

 
Alex Ferreira
Frequent Advisor

Build kernel on Itanium

Greetings to all and apologies for the lame question.

I need to build a new kernel on an Itanium box .Hp-UX 11.23Uia64.. What are the steps for this. No problem doing it on a hpux-11i but not had the honours of doing it on an Itanium. Any help would be mostly appreciated..
Alex
9 REPLIES 9
Dennis Handly
Acclaimed Contributor

Re: Build kernel on Itanium

You can always use sam to build your kernel.
Alex Ferreira
Frequent Advisor

Re: Build kernel on Itanium

Dennis,

Indeed I can...I prefer using the command line though...
Dennis Handly
Acclaimed Contributor

Re: Build kernel on Itanium

Then you need to look at the manual:
http://docs.hp.com/en/B2355-90950/ch03s11.html
Alex Ferreira
Frequent Advisor

Re: Build kernel on Itanium

Cheers mate,

Alex
Sandeep_Chaudhary
Trusted Contributor

Re: Build kernel on Itanium

Dont go for command line meathod. Go for SAM. It is best way. It gives u option of saving old configuration. before changing any parameter. Same things is possible with command line also but i suggest SAM
Alex Ferreira
Frequent Advisor

Re: Build kernel on Itanium

Sandeep,

did it through kcweb.. All is fine. Thank you for your reply.

Alex
Suraj K Sankari
Honored Contributor

Re: Build kernel on Itanium

Hi,

For build new kernel here is the steps.

cd /stand/build #go to /stand/build
/usr/lbin/sysadm/system_prep -s system #to build a new kernel

Create the kernel parameter system file from the running system.
vi system edit the configuration file to make necessary changes i.e. vi system and make changes

#/usr/sbin/mk_kernel -s system Build the New kernel

# cp /stand/system /stand/system.old #Backup the old system
#cp /stand/vmunix /stand/vmunix.old #Backup the old vmunix

# cp /stand/build/system /stand #Copy new system
# cp /stand/build/vmunix_test /stand/vmunix #Copy new vmunix

Shutdown the system
# shutdown -r 0 #-r is must with shutdown

or
# kctune -h msgseg=16384 #change and halt for next reboot
# kctune -h msgtql=2048 #change and halt for next reboot

# kctune -h msgmap=2050 #change and halt for next reboot

# shutdown -r -y 0 #-r is must with shutdown


Suraj
Alex Ferreira
Frequent Advisor

Re: Build kernel on Itanium

Suraj,

great reply.. I was looking for the same steps but for an hp-ux v11:23 ..Itanium..

Got no problems building a kernel on v11i..
Was having an issue with v11:23

Alex
Gokul Chandola
Trusted Contributor

Re: Build kernel on Itanium

Hi,
Use..
#kcweb

You will get graphical option to customize.
In all version.

Regards,
Gokul Chandola
There is always some scope for improvment.