1846140 Members
4558 Online
110254 Solutions
New Discussion

Kernel rebuild problem

 
Paddy O'Connell
Frequent Advisor

Kernel rebuild problem

Hi, i made some changes and rebuild a kernel and on reboot the system will not boot.

Server is HPUX 11i on a RP5405

i get the below error.

Boot
: disk(0/0/1/1.2.0.0.0.0.0;0)/stand/vmunix
disk(0/0/1/1.2.0.0.0.0.0;0)/stand/vmunix: cannot open, or not executable

i modified the maxusers from 32 to 64, to basicially increase the nproc value which is a forumla of maxusers.

If i boot hpux -is i get the same as above

If i boot hpux /stand/vmunix.prev i get the same as above as well.

Any ideas how i can get this back?

Thanks
Paddy
10 REPLIES 10
Hanwant Verma_1
Regular Advisor

Re: Kernel rebuild problem

In case of a bad kernel, reatrt the systme and wait for the following message

Processor is tarting the autoboot process.
To discontinue press a key within 10 seconds.

As soon as this message appears, press a key to enter the processor dependent code (PDC) menu.

Main Menu: Enter command or menu > boot pri
Iteract with ISL ( Y or N) ?> Y
ISL>

Now, at the ISL prompt use the hpux command to boot from the old kernel.

ISL> hpux /stand/vmunix.old

Thanks
Hanwant
Robert-Jan Goossens
Honored Contributor

Re: Kernel rebuild problem

Paddy,

Try to boot your system with "boot -lq"

Check

lvlnboot -r /dev/vg00/lvol1 (or whatever your root logical volume is)

lvlnboot -s /dev/vg00/lvol2 (or whatever your swap logical volume is)

lvlnboot -d /dev/vg00/lvol2 (or whatever your dump logicalvolume is)

lvlnboot -R -v /dev/vg00

shutdown -r

Regards,
Robert-Jan
RAC_1
Honored Contributor

Re: Kernel rebuild problem

Have ignite backups ready?? Looks like to time to re-install.

Froom isl prompt, can you do ls?

From pdc, does disk show up in sea ipl??
There is no substitute to HARDWORK
Raj D.
Honored Contributor

Re: Kernel rebuild problem

Paddy,

If at ISL > hpux /stand/vmunix.prev not working , try hpux -lq [ hope you have mirrored root disk]

Have u taken another backup of vmunix .. then u can try from that file..

hth,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
Rajesh SB
Esteemed Contributor

Re: Kernel rebuild problem

Hi,

While boot time enter the PDC and IPL.
From IPL just verify the existence of both kernels under stand.

ISL> hpux ll /stand

Also verify the boot path is correct, any chance changed.

PDC> sear

Wish you good luck.

Regards,
Rajesh
Trond Haugen
Honored Contributor

Re: Kernel rebuild problem

Normally it's vmunix.prev from ISL
ISL> hpux /stand/vmunix.prev

In my view tuning the MAXUSERS is a very crude way of tuning the kernel. There is no knowing which other parameters are changed too. I ALWAYS reccomend having no equations in the system file and thus tuning only one paramter at a time.

Regards,
Trond
Regards,
Trond Haugen
LinkedIn
Paddy O'Connell
Frequent Advisor

Re: Kernel rebuild problem

I've tried ISL> hpux /stand/vmunix.old but i get the same error.

i've done ser ipl from the PDC and can confirm it sees both disks and the paths are correct.

hpux -lq gives me the same error as above.

However i've found it will boot with hpux -lm, it did a dump and is rebooting now.
Steven E. Protter
Exalted Contributor

Re: Kernel rebuild problem

I would next:

Try booting with a Core OS CD. You can try a recovery shell or just boot and see what the system looks like.

cd in drive

boot
interupt at 10 second prompt
sea

See if all the hardware is present

bo p6

if p6 is your cdrom, you can usually tell by the hardware path.

If that fails, it may be Ignite time.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Hanwant Verma_1
Regular Advisor

Re: Kernel rebuild problem

assign points please

hanwant
Mahesh Kumar Malik
Honored Contributor

Re: Kernel rebuild problem

Hi Paddy

Boot the server from backup copy of kernel

ISL>hpux /stand/vmunix.prev

Review the changes required and rebuild the kernel

Regards
Mahesh