At the conclusion of a shell script that is running from within a CD-R, I get the following messages:
PHP Code:
hdb: irq timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdb: DMA disabled
hdb: ATAPI reset complete
hdb: irq timeout: status=0x80 { Busy }
ide: failed opcode was: unknown
hdb: ATAPI reset complete
hdb: irq timeout: status=0x80 { Busy }
ide: failed opcode was: unknown
kernel panic - not syncing : Attempted to kill init!
hda: dma_intr: status=0x00 { }
ide: failed opcode was: unknown
hda: dma_intr: status=0x40 { DriveReady }
ide: failed opcode was: unknown
hda: recal_intr: status=0x00 { }
ide: failed opcode was: unknown
hda: dma_intr: status=0x40 { DriveReady }
ide: failed opcode was: unknown
hda: DMA disabled
ide0: reset: success
The script I am running is doing the following (which for brevity certain steps have been omitted):
PHP Code:
.
.
.
mount -t ext3 /dev/hda1 /mnt
mkdir /mnt/home
mount -t ext3 /dev/hda2 /mnt/home
.
. # write files from CD-R to /mnt and /mnt/home
. # setup grub on HDD
.
cd /mnt
pivot_root . cdrom
exec chroot . sh <dev/console >dev/console 2>&1
mount -a
sync
sync
sync
sleep 5
# eject CD-R
eject
I am running the kernel 2.6.11.1. Do any of the messages indicate that I may have performed an "illegal" instruction in the script? Could it possibly be something to do with how my kernel is configured (I don't understand the kernel panic part)?
Thank you in advance for any help that can be provided.