Operating System - HP-UX
1826349 Members
3307 Online
109692 Solutions
New Discussion

Re: rp3440 not booting after kernel change

 
billieperez
Occasional Advisor

rp3440 not booting after kernel change

Hello,

I have an rp3440 lab machine running hp-ux 11.11 with 4GB of memory. I made some kernel changes (based on a production server that has 16GB memory) and am not able to boot my system, in regular or single user mode nor am I able to put the previous kernel back. When I try to boot the system without intervention this is the error I get:


Boot
: disk(0/1/1/0.0.0.0.0.0.0;0)/stand/vmunix
11210752 + 2306048 + 8556280 start 0x1fece8

alloc_pdc_pages: Relocating PDC from 0xfffffff0f0c00000 to 0x3f900000.

Firmware Version 45.44

Duplex Console IO Dependent Code (IODC) revision 1

Stored message buffer up to panic:
kernel ran out of memory allocating structure file

System Panic:

linkstamp: Tue Jul 24 14:12:56 EDT 2007
_release_version: @(#) $Revision: vmunix: vw: -proj selectors: CUPI80_BL2000_1108 -c 'Vw for CUPI80_BL 2000_1108 build' -- cupi80_bl2000_1108 'CUPI80_BL2000_1108' Wed Nov 8 19:24:56 PST 2000 $
panic: Kernel requires more memory

PC-Offset Stack Trace (read across, top of stack is 1st):
0x002115d8 0x00202ab4 0x002860ec
0x00285664 0x00285604 0x00202b7c
0x0026e7b4 0x0047ba6c 0x00204f34
0x001ff2b4
End Of Stack

*** A system crash has occurred. (See the above messages for details.)
*** The system is now preparing to dump physical memory to disk, for use
*** in debugging the crash.

ERROR: Your system crashed before I/O and dump configuration was complete.
A crash dump cannot be taken under these circumstances without
special configuration. Contact your HP support representative.


When I try and boot to put the previous kernel back I get this:

Main Menu: Enter command or menu > bo pri isl
Interact with IPL (Y, N, or Cancel)?> y

Booting...
Boot IO Dependent Code (IODC) revision 1


HARD Booted.

ISL Revision A.00.43 Apr 12, 2000

ISL> hpux -is /stand/vmunix.prev

Boot
: disk(0/1/1/0.0.0.0.0.0.0;0)/stand/vmunix.prev
disk(0/1/1/0.0.0.0.0.0.0;0)/stand/vmunix.prev: cannot open, or not executable
Exec failed: No such file or directory

Any ideas on where to go from here? Besides a reinstall? And I don't have an ignite image.

Thanks for any info!
13 REPLIES 13
Torsten.
Acclaimed Contributor

Re: rp3440 not booting after kernel change

List your /stand contents and see what is there:

ISL> hpux -ls

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
billieperez
Occasional Advisor

Re: rp3440 not booting after kernel change

it says the only options are hpux -ls and hpux -lq

ISL> hpux -ls
Only options are -lm, -lq
Torsten.
Acclaimed Contributor

Re: rp3440 not booting after kernel change

Sorry, without "-":

ISL> hpux ls
or ll

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Anshumali
Esteemed Contributor

Re: rp3440 not booting after kernel change

Use the above command and see what backup you have under /stand If you are lucky, you should be able to boot from the previously saved kernel. If there is nothing which you can use, try your Latest Ignite...
Dreams are not which you see while sleeping, Dreams are which doesnt allow you to sleep while you are chasing for them!!
billieperez
Occasional Advisor

Re: rp3440 not booting after kernel change

ok, here it is


ISL> hpux ls

Ls
: disk(0/1/1/0.0.0.0.0.0.0;0)/.
lost+found system kernrel ioconfig bootconf
.kminstall_lock system.d build vmunix rootconf
krs_lkg krs krs_tmp vmunix.prev dlkm
system.prev dlkm.vmunix.prev vmunix.prev1 system.prev1

Torsten.
Acclaimed Contributor

Re: rp3440 not booting after kernel change

Make sure to have an ignite backup next time.

If you don't have a backup kernel, use the recovery option from the install CD to install a new kernel with default settings as your last resort.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Anshumali
Esteemed Contributor

Re: rp3440 not booting after kernel change

vmunix.prev1????
Dreams are not which you see while sleeping, Dreams are which doesnt allow you to sleep while you are chasing for them!!
billieperez
Occasional Advisor

Re: rp3440 not booting after kernel change

I thought that the backup kernel is there though, vmunix.prev - so I'm not sure why when I use hpux -is /stand/vmunix.prev it's saying no such file or directory.
Torsten.
Acclaimed Contributor

Re: rp3440 not booting after kernel change

Try to boot "vmunix.prev1".

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Torsten.
Acclaimed Contributor

Re: rp3440 not booting after kernel change

And check the size of the files with
hpux ll
to ensure they are >0

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Anshumali
Esteemed Contributor

Re: rp3440 not booting after kernel change

Lets hope they are >0
i forgot to read he doesnt have Ignite.
Bill, you have to go with the default kernel if your vmunix.prev1 is also a corrupted one.
Please never modify kernel without proper backup/failback plans.
Dreams are not which you see while sleeping, Dreams are which doesnt allow you to sleep while you are chasing for them!!
billieperez
Occasional Advisor

Re: rp3440 not booting after kernel change

ok, thanks for the help thus far. Here's where I am. I meant to put in hpux -is /stand/vmunix.prev1, but forgot the one and it actually worked when I used hpux -is /stand/vmunix.prev -- same thing I used before but this time it recognized it. However it only got so far and put me in single user mode --

Starting the STREAMS daemons-phase 1
Checking root file system.
file system is clean - log replay is not required
Root check done.
Create STCP device files
Starting the STREAMS daemons-phase 2
$Revision: vmunix: vw: -proj selectors: CUPI80_BL2000_1108 -c 'Vw for CUPI80_BL2000_1108 build' -- cupi80_bl2000_1108 'CUPI80_BL200 0_1108' Wed Nov 8 19:24:56 PST 2000 $
Memory Information:
physical page size = 4096 bytes, logical page size = 4096 bytes
Physical: 4192256 Kbytes, lockable: 3149488 Kbytes, available: 3628812 Kbytes

/sbin/ioinitrc:
insf: Installing special files for ipmi instance 0 address 16
/sbin/krs_sysinit:
Kernel specific KRS file: /stand/krs/_stand_vmunix.prev.krs was not loaded.

INIT: Overriding default level with level 's'

INIT: SINGLE USER MODE

INIT: Running /sbin/sh

It looks like there is no /stand/krs/_stand_vumnix.prev.krs -- I was able to verify this by looking in the directory --
anyway to get around this?? and yes, next time I will make an ignite backup first :)
Anshumali
Esteemed Contributor

Re: rp3440 not booting after kernel change

may be
init 3
Take all your kernel parameters listings.
Put the disk, install default. Make the changes which were stable.
Dreams are not which you see while sleeping, Dreams are which doesnt allow you to sleep while you are chasing for them!!