[Xen] Can't find init

Ian Pilcher i.pilcher at comcast.net
Sun Apr 2 02:35:05 UTC 2006


I'm trying to get Xen up and running on a dual-processor i686 box.  For
reference purposes, here is the grub.conf entry that I use to boot the
normal SMP kernel:

title Fedora Core (2.6.16-1.2080_FC5smp)
        root (hd3,4)
        kernel /vmlinuz-2.6.16-1.2080_FC5smp ro root=/dev/md1 \
                acpi=off apm=power-off hda=3649,255,63 \
                hde=21889,255,63 hdg=14593,255,63 hdi=14946,255,63 \
                hdk=14946,255,63 vga=775
        initrd /initrd-2.6.16-1.2080_FC5smp.img

And here is the grub.conf entry for Xen:

title Fedora Core (2.6.16-1.2080_FC5xen0)
        root (hd3,4)
        kernel /xen.gz-2.6.16-1.2080_FC5 com1=9600,8n1 acpi=off debug
        module /vmlinuz-2.6.16-1.2080_FC5xen0 ro root=/dev/md1 \
                acpi=off  apm=power-off hda=3649,255,63 \
                hde=21889,255,63 hdg=14593,255,63 hdi=14946,255,63 \
                hdk=14946,255,63 console=ttyS0,9600n8 console=tty0 \
                debug init 3
        module /initrd-2.6.16-1.2080_FC5xen0.img

Booting fails when the xen0 kernel can't find init:

md: ... autorun DONE.
Creating root device.
Mounting root filesystem.
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Setting up other filesystems.
Setting up new root fs
no fstab.sys, mounting internal defaults
Switching to new root and running init.
unmounting old /dev
unmounting old /proc
unmounting old /sys
WARNING: can't access
exec of init () failed!!!: No such file or directory
Kernel panic - not syncing: Attempted to kill init!
 [<c011c42c>] panic+0x3c/0x190
 [<c011f336>] do_exit+0x6a/0x6f4
 [<c011fa49>] sys_exit_group+0x0/0x11
 [<c0104b3d>] syscall_call+0x7/0xb
 (XEN) Domain 0 shutdown: rebooting machine.
(XEN) Reboot disabled on cmdline: require manual reset

Any ideas?  Thanks!

-- 
========================================================================
Ian Pilcher                                        i.pilcher at comcast.net
========================================================================




More information about the users mailing list