boot failure-init died


 
Thread Tools Search this Thread
Operating Systems HP-UX boot failure-init died
# 1  
Old 02-21-2008
boot failure-init died

Hello.

system fails on reboot this AM.
received message about not possible for kernel to find process that caused crash.
system does memory dump succesfully, then tries to boot again.
looking further at messages during this time, i'm getting 'init died with return value 256'...system panic init died.
also says to check inits execute permission, inits location, and the root partitions location.

nothing of note done to system to cause this yesterday.

system is older hpux 10.20 version (i'm helping company liquidate, so need to laugh/gag about o/s version please.)

system keeps cycling through this process...can't get past.
any assistance appreciated.

Drew
# 2  
Old 02-21-2008
I would start by seeing if I can boot manually in single user:

boot <pri>
interact with IPL > yes
and at ISL prompt > hpux -is

If that works, then try to mount the vg00 filesystems...
Then check for any corruption in files like /etc/inittab /etc/ioctl,syscon etc... their timestamps etc...
look at
-r-xr-xr-x 1 bin bin 278528 May 20 1998 /sbin/init

If all seems normal try init 2
then init 3 ...
If things do wrong again after changing runlevel start all again but once mounted vg00 edit /etc/initta and comment out from powerf line
and change runlevel again or execute the line commented out one after the other...till you fall on the one giving trouble...

Good luck
# 3  
Old 02-21-2008
trying to boot in single user still hangs at same place.
# 4  
Old 02-21-2008
How did you go single user? I ment by single user - In maintenance mode (No disk yet...)
What model?

Last edited by vbe; 02-21-2008 at 02:00 PM..
# 5  
Old 02-21-2008
during boot, choose to go to IPL.
choose hpux -iS
with interactive IPL help.

same problem.
HPUX10.20
hp9000/800 k class server.

trying to boot from ignite tape gives me ipl error: bad LIF magic.
tape seems to be readable (cleaned drive to be sure).

gonna try & find older ignite for booting as well...
any other suggestions?
# 6  
Old 02-21-2008
Well yes...
Try again with "hpux -lm"
If this doesnt work, since you have not yet mounted any file system, we can forget about Corrupt /stand/vmunix /etc/inittab /sbin/init ...
It leaves us :Missing LIF , corrupt root filesystem and bad BRDA...(that is what comes to my mind at the moment...)

Your guess?

Mind you thinking of it - you havent tried to boot from alternate kernel:
"hpux /stand/vmunix.prev" but I woulndt think this works since tape boot was unsuccessfull


While at it - I will go and look on HP ITRC and keep you informed...
Do you have any support from HP or an account?

Last edited by vbe; 02-21-2008 at 02:24 PM..
# 7  
Old 02-21-2008
Here is something for you! From HP Technical knowledge base:

How do I fix the HPUX boot message panic: init died?

How do I fix the HPUX boot message panic: init died?
DocId:

KBRC00001547



Updated:

6/24/00 7:48:09 AM

PROBLEM

A system panics on boot with a message init died:

init died with return value 256.
Please check for init's execute permission,
init's location and the root partition's location.

panic: (display==0xb800, flags==0x0) init died


RESOLUTION

Their are various causes and possible fixes for panic "init died".

Below is a summary of possible causes:
o Corrupt LVM Boot Data Reserved Area (BDRA)
o Corrupt Root filesystem
o Corrupt Autoboot file
o Missing LIF
o Corrupt /stand/vmunix
o Corrupt /etc/inittab
o Corrupt /sbin/init

Here is a list of other documents in the ITRC you might need to help with
this recovery.

How do I fix the boot message IPL error bad LIF magic at 10.X? (KBRC00001074)
How do I fix the boot message IPL error bad LIF magic at 11.X? (KBRC00001355)
How do I boot my system from Support Media on 10.X ? (OZBEKBRC00000581)
How do I boot my system from Support Media on 11.00 ? (OZBEKBRC00000582)
How do I boot my system in single user mode or other mode ? (OZBEKBRC00000607)


1.0 We know the system panics when booting /stand/vmunix. We must
be able to boot an alternate way.

If you need specific help on booting please refer to:
How do I boot my system in single user mode or other mode ?


1.1 First try booting into Maintenance mode on the primary disk.
Boot primary disk and interact with ISL.
At the ISL prompt enter "hpux -lm"
If this works you will get a prompt.
Perform steps 2.0, 2.1, 2.3, 2.6 and 2.7


1.2 If you were unable to boot the system from step 1.1 then try booting
the alternate kernel on the primary disk.
Boot primary disk and interact with ISL.
At the ISL prompt enter "hpux /stand/vmunix.prev"
If this works the system will boot the previous kernel.
Perform steps 2.3 and 2.5


1.3 If you were unable to boot the system from step 1.2 then try
booting the alternate kernel in Maintenance mode
Boot primary disk and interact with ISL.
At the ISL prompt enter "hpux -lm /stand/vmunix.prev"
If this works you will get a prompt.
Perform steps 2.0, 2.1, 2.3, 2.5, 2.6 and 2.7


1.4 If you were unable to boot the system from step 1.3 then try booting
from the mirror (if configured) disk and do not interact with ISL.
If this works the system will boot and sync the primary disk.
Perform steps 2.1 and 2.3


1.5 If you were unable to boot the system from step 1.4 then try booting
from the mirror (if configured) disk and interact with ISL
At the ISL prompt enter "hpux -lm"
If this works you will get a prompt.
Perform steps 2.0, 2.1, 2.3, 2.6 and 2.7


1.6 If you were unable to boot the system from step 1.5 then try booting
from the alternate kernel off the mirror disk (if configured).
Boot the mirror disk and interact with ISL.
At the ISL prompt enter "hpux /stand/vmunix.prev"
If this works the system will boot the previous kernel.
Perform steps 2.3 and 2.5


1.7 If you were unable to boot the system from step 1.6 then try booting
from the alternate kernel in Maintenance mode off the mirror disk
(if configured).
Boot the mirror disk and interact with ISL.
At the ISL prompt enter "hpux -lm /stand/vmunix.prev"
If this works you will get a prompt.
Perform steps 2.0, 2.1, 2.3, 2.5, 2.6 and 2.7


1.8 If you were unable to boot the system from the above steps then
boot the "SUPPORT MEDIA" to make the corrections.

Follow the instructions on how to boot the SUPPORT media, activate
VG00 and mount the required lvols from:

How do I boot my system from Support Media on 10.X ?
How do I boot my system from Support Media on 11.00 ?

Perform steps 2.1, 2.2, 2.3, 2.4, 2.5, 2.6 and 2.7



Below are the steps to correct specific issues.

2.0 How to activate vg00
After booting "-lm" mode you will need to activate VG00, perform
a filesystem check and mount the lvols in VG00. Then we will have
the commands necessary to peform the recovery.

enter "vgchange -a y /dev/vg00" This will activate VG00

enter "fsck -y" This will perform a filesystem check of all
lvols in the fstab file. We are not concerned
about errors on any volume group besides VG00
since they were not activated they will fail.

enter "mount -a" This will perform a mount of all lvols in
the fstab file. We are not concerned about
errors on any volume group besides VG00
since they were not activated they will fail.

enter "/usr/bin/bdf" This will show the mounted lvols.

Now you have the needed HPUX commands.


2.1 How to correct the LVM Boot Data Reserved Area (BDRA)
Typically, if the BDRA is corrupt, the system will still boot in
maintenance mode, but fail to boot in single-user or multi-user mode.
To check the BDRA, you will need to boot maintenance mode or boot
from the Support CD.

Check the the Boot, Root, Swap, and Dump areas. Use lvlnboot to add
any missing information. One common problem is the missing Boot lvol.
The following example assumes JFS is used for the root filesystem
(meaning you have a seperate lvol for /stand).

enter "lvlnboot -v /dev/vg00"

This sample shows a primary boot disk and a mirror boot disk.

Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c0t6d0 (10/0.6.0) -- Boot Disk <--- Primary boot disk
/dev/dsk/c0t5d0 (10/0.5.0) -- Boot Disk <--- Mirror boot disk
Boot: lvol1 on: /dev/dsk/c0t6d0
Boot: lvol1 on: /dev/dsk/c0t5d0 <---------- Mirror boot disk
Root: lvol3 on: /dev/dsk/c0t6d0
Root: lvol3 on: /dev/dsk/c0t5d0 <---------- Mirror boot disk
Swap: lvol2 on: /dev/dsk/c0t6d0
Swap: lvol2 on: /dev/dsk/c0t5d0 <---------- Mirror boot disk
Dump: lvol2 on: /dev/dsk/c0t6d0, 0

BOOT: lvol1
When '/stand' is on a separate logical volume.
If your not sure check /etc/fstab for a seperate lvol for /stand.

ROOT: lvol3
When /stand is a seperate lvol then root is usually on lvol3.

ROOT: lvol1
When /stand is NOT a seperate lvol then root is on lvol1.

Even though the BDRA looks correct it may still be corrupt, so you
should rewrite the BDRA. The commands below will rewrite a typical
BDRA.

"lvrmboot -r /dev/vg00" Removes the info from the BDRA
"lvlnboot -b /dev/vg00/lvol1" Writes the boot info to the BDRA
"lvlnboot -r /dev/vg00/lvol3" Writes the root info to the BDRA
"lvlnboot -s /dev/vg00/lvol2" Writes the swap info to the BDRA
"lvlnboot -d /dev/vg00/lvol2" Writes the dump info to the BDRA
"lvlnboot -R /dev/vg00" Updates the BDRA
"lvlnboot -v /dev/vg00" Displays the BDRA


2.2 How to fix a Root filesystem

Depending on the corruption of the root filesystem you might have to
boot the support media and fsck the filesystem. The fsck may fix the
corruption or indicate that there is a bad block. If fsck cannot fix
the root or stand filesystem then the HPUX will have to be reinstalled.


You will need to boot the "SUPPORT MEDIA" and fsck your boot disk.

If you need specific help please refer to:
How do I boot my system from Support Media on 10.X ?
How do I boot my system from Support Media on 11.00 ?


2.3 How to correct a Autoboot file

Rewrite the the boot LIF (autoboot file).
Sometimes the AUTO string looks correct but it is corrupt and it should
be rewritten with the full information.

In this example the boot disk is at hardware address 10/0.6.0 which is
equall to /dev/dsk/c0t6d0.

enter "mkboot -a "hpux (10/0.6.0;0)/stand/vmunix" /dev/rdsk/c0t6d0"

To verify the AUTO string:
enter "lifcp /dev/rdsk/c0t6d0:AUTO -"

You should see: "hpux (10/0.6.0;0)/stand/vmunix"


2.4 How to write a missing LIF

Refer to:
How do I fix the boot message IPL error bad LIF magic at 10.X?
How do I fix the boot message IPL error bad LIF magic at 11.X?


2.5 How to replace a bad /stand/vmunix
If you were able to boot /stand/vmunix.prev then you should restore
/stand/vmunix from backup. If a backup is not available then copy
/stand/vmunix.prev to /stand/vmunix and make a new kernel.

If you were not able to boot the system disks then you will need to
boot off the Support Media. From the SUPPORT media you should recover
your /stand/vmunix from backup and reboot. The other choice would be
to load a generic kernel from the SUPPORT media, reboot and then
remake a kernel with SAM.

Refer to:
How do I boot my system from Support Media on 10.X ?
How do I boot my system from Support Media on 11.00 ?


2.6 How to replace a bad /etc/inittab
Recover /etc/inittab from backup or copy the default file from
/usr/newconfig/etc/inittab and edit the file for your system.


2.7 How to replace a bad /sbin/init
Recover /etc/init from backup and verify the permissions are
555 with bin/bin as user/group. Also /etc/init should be
symbolically linked to /sbin/init.



-----

I cant do more for you at the moment... keep us informed and good luck
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Solaris 10 boot failed init

Dear all, I have a solaris 10 in my environment (VMware virtual machine). recently I increased the harddisk size from the VMware and reboot my server. after reboot the os is unable to boot and gives the below error message. exec(/sbin/init) file not found press any key to restart ... (3 Replies)
Discussion started by: krishna001
3 Replies

2. UNIX for Dummies Questions & Answers

boot up failure unix sco after power failure

hi power went out. next day unix sco wont boot up error code 303. any help appreciated as we are clueless. (11 Replies)
Discussion started by: fredthayer
11 Replies

3. AIX

what user executes init on boot?

I have a command in init that trys to start a daemon and open a log, but a get an error error that the file access permissions do not allow the specified action. My permissions on the log file are: -rw-r--r-- 1 root system 4434 Mar 22 15:13 dsmerror.log The logfile is written to... (2 Replies)
Discussion started by: pong3d
2 Replies

4. Solaris

Solaris 10 init 0 and boot disk1 on same command line

Hello all, Fairly simple question here. I know that in Solaris 10 there is a way to tell a system running solaris 10 to init 0 and then boot disk1 all in the same command line from a SSH window. That way once you hit enter it then performs the init 0 and then does the boot disk1. ... (2 Replies)
Discussion started by: tording99z28
2 Replies

5. Boot Loaders

PXE boot not taking the init= option

Hi Experts, I am doing PXE boot for my GNU/Linux device and pxelinux.0 loads the kernel as well as initrd images I have mentioned in the config file but it looks like it is not considering the init= option. Instead it starts the default INIT program. I wanted my customized init program to be... (3 Replies)
Discussion started by: learn more
3 Replies

6. SCO

stage 1 boot failure: error loading hd (40)/boot

hi SCO Unix 5.0.6 doesn't boot due to this problem: not a directory boot not found cannot open stage 1 boot failure: error loading hd (40)/boot Knows someone howto solve it? (16 Replies)
Discussion started by: ccc
16 Replies

7. Solaris

Boot failure

I have installed Solaris 10 OS in Sun Virtual Box that uses x86 32 bit system. After an abnormal shutdown i'm getting the following message on the console when i try to boot. SunOS Release 5.10 Version Generic_127128_11 32-bit Copyright 1983-200 Sun Microsystems, Inc. All rights reserrved. Use... (3 Replies)
Discussion started by: Sesha
3 Replies

8. Linux

Boot failure

Hi all I used a dual boot operating system and it works fine for me. Now , i install a Ati radeon 9250 Agp card on my system and this results in boot failure of fedora 6. The graphics card is working fine with windows XP , i.e i have no compatibility issues.The system also refuses to boot when i... (2 Replies)
Discussion started by: joshighanshyam
2 Replies

9. HP-UX

What file contains boot up init details?

I want to get my telnetd to run on startup and was wondering where it was? im used to having it in /etc/init.d/rc.d but it is not the same in hp-ux :( thanks all (4 Replies)
Discussion started by: emplate
4 Replies

10. UNIX for Dummies Questions & Answers

WARNING - exit init (PID1) died.

Hi, Today, on one of my SCO machines, i was getting the following: PANIC : exit cannot exec /etc/init (PID1). I used two floppy boot/root disks to boot from floppy. I followed the procedures to restore the files: /usr/lib/libc.so.1 and /etc/init. When I reached the part of making... (6 Replies)
Discussion started by: BAM
6 Replies
Login or Register to Ask a Question