Operating System - HP-UX
1833771 Members
2126 Online
110063 Solutions
New Discussion

New Kernel does not boot, C3000, Hpux 11i, 11.11

 
Hakan Eren
Occasional Advisor

New Kernel does not boot, C3000, Hpux 11i, 11.11

I build a new kernel w/o changing any parameter:
cd /stand/build
/usr/lbin/sysadm/system_prep -s system
/usr/sbin/mk_kernel -s /stand/build/system
mv /stand/system /stand/system.old
mv /stand/vmunix /stand/vmunix.old
cp /stand/build/system /stand
cp /stand/build/vmunix_test /stand/vmunix
kmupdate /stand/build/vmunix_test
cd
shutdown -ry 0

I reboot. It does not start. So I have to start with the backup kernel. Is it possible to debug or to find out what the problem is.
thanks.
hi
4 REPLIES 4
Adisuria Wangsadinata_1
Honored Contributor

Re: New Kernel does not boot, C3000, Hpux 11i, 11.11

Hi there,

Here is the steps to build the kernel on HP-UX 11.X :

1. Change directories to /stand/build.
# cd /stand/build

2. Create a new system file from the running kernel.
# /usr/lbin/sysadm/system_prep -s /stand/build/system

NOTE: HP-UX 11i introduces dynamic tunables to HP-UX. The system_prep command will not currently capture dynamic tunable information, since this commands reads values directly from the kernel. For HP-UX 11i systems using dyanmic tunables the /stand/system file should be copied to /stand/build and used as the kernel template. kmtune, the command used to query and alter dynamic kernel tunables, will update the /stand/system file by default anytime a dynamic tunable is changed. See the kmtune(1m) and 11.11 Release Notes manpage for more information.

3. Edit the kernel with the planned changes.
# vi /stand/build/system

4. Build the new kernel.
# /usr/sbin/mk_kernel -s /stand/build/system

5. Move the old system and vmunix files so if anything goes wrong, the system can be booted from the old kernel.
# mv /stand/system /stand/system.prev

6. Move the new system file and new kernel into place, ready to be used when
rebooting the system.
# mv /stand/build/system /stand/system << NOTE
# kmupdate /stand/build/vmunix_test

NOTE: The kmupdate command will move the /stand/vmunix kernel to /stand/vmunix.prev and the newly created kernel to /stand/vmunix as part of the shutdown process.

7. Reboot the system off the new kernel.
# shutdown -r

More information is available in the HP-UX System Administration Tasks manual. man manuals will give you ordering information and part numbers.

Most HP documentation is avaialable online at: http://www.docs.hp.com

Hope this info help you.

Best Regards,
AW
now working, next not working ... that's unix
Hakan Eren
Occasional Advisor

Re: New Kernel does not boot, C3000, Hpux 11i, 11.11

thanks. Have you read my post? I am already
doing everything you say.
hi
Norman_21
Honored Contributor

Re: New Kernel does not boot, C3000, Hpux 11i, 11.11

If you already booted using the old kernel. Try rebuilding the Kernel using SAM this time.

Also, during the boot process interrupt it when you see the Press any key in 10 seconds>go to the ISL prompt>
bo pri
Interact with ISL > Yes
ISL>hpux ll /stand/*

to list the current kernels in the /stand directory. then try to boot off the new one.
Go here and check your system for available patches!
http://europe-support3.external.hp.com/estaff/bin/doc.pl/screen=estaffDocs/distrib_redir=2+1069998086|*?File=welcome%2Fsnf3_new_tools.htm&Log=SCR%3DHOME_SCREEN

Hope this help!


"Attitudes are contagious, is yours worth catching"/ My first point was given by SEP on January 31, 2003
Adisuria Wangsadinata_1
Honored Contributor

Re: New Kernel does not boot, C3000, Hpux 11i, 11.11

Hi there,

Refer you to check the software fileset on your system, make sure all with 'configured' status :

# swlist -l fileset -a state

Also better you verify the software on your system with command below :

# swverify -v \*

Check on /var/adm/sw/swagent.log and makre sure there's no error found.

Hope this informaiton can help you.

Best Regards,
AW
now working, next not working ... that's unix