Hi,<br><br>Note: Full kernel output at end of email and Xen logs are at <a href="http://www.derf.nl/drop/xen-logs">http://www.derf.nl/drop/xen-logs</a><br><br>Details:<br><br>OS - Fedora 8<br>Arch - x86_64<br>Kernel - 2.6.21.7-2.fc8xen<br>
Packages - xen-3.1.2-2.fc8, kernel-xen-2.6.21.7-2.fc8, xen-libs-3.1.2-2.fc8<br><br>Description:<br><br>I am trying to boot a CentOS image downloaded from <a href="http://jailtime.org">jailtime.org</a>, specifically the image at:<br>
<br><a href="http://www.jailtime.org/download:centos64:v5.1">http://www.jailtime.org/download:centos64:v5.1</a><br><br>My configuration currently looks like this:<br><br>kernel = "/boot/vmlinuz-2.6.21.7-2.fc8xen"<br>
ramdisk = "/boot/initrd-2.6.21.7-2.fc8xen.img"<br>memory = 256<br>name = "centos.5-1.64"<br>vif = [ '' ]<br>disk = ['file:/var/lib/xen/images/xen/centos.5-1.64.img,sda1,w', 'file:/var/lib/xen/images/xen/centos.swap,sda2,w']<br>
root = "/dev/sda1"<br>extra = "ro enforcing=0"<br><br>Selinux is off on the dom0 host, which is Fedora 8. The seemingly relevant bit of the log is :<br><br>Loading xenblk.ko module<br>register_blkdev: cannot get major 8 for sd<br>
vbd vbd-2049: 19 xlvbd_add at /local/domain/0/backend/vbd/47/2049<br>register_blkdev: cannot get major 8 for sd<br>vbd vbd-2049: 19 xlvbd_add at /local/domain/0/backend/vbd/47/2049<br>register_blkdev: cannot get major 8 for sd<br>
vbd vbd-2050: 19 xlvbd_add at /local/domain/0/backend/vbd/47/2050<br>register_blkdev: cannot get major 8 for sd<br>vbd vbd-2050: 19 xlvbd_add at /local/domain/0/backend/vbd/47/2050<br>XENBUS: Timeout connecting to device: device/vbd/2049 (state 6)<br>
XENBUS: Timeout connecting to device: device/vbd/2050 (state 6)<br>Loading xennet.ko module<br>netfront: Initialising virtual ethernet driver.<br>netfront: device eth0 has copying receive path.<br>Loading xenbus_be.ko module<br>
Loading xenblktap.ko module<br>Creating root device.<br>Mounting root filesystem.<br>mount: could not find filesystem '/dev/root'<br>Setting up other filesystems.<br>Setting up new root fs<br>setuproot: moving /dev failed: No such file or directory<br>
no fstab.sys, mounting internal defaults<br>setuproot: error mounting /proc: No such file or directory<br>setuproot: error mounting /sys: No such file or directory<br>Switching to new root and running init.<br>unmounting old /dev<br>
unmounting old /proc<br>unmounting old /sys<br>switchroot: mount failed: No such file or directory<br>Booting has failed.<br>Kernel panic - not syncing: Attempted to kill init!<br><br>I have tried the following :<br><br> * I have create a new initrd, making sure to include the Xen block devices but the guest is still not able to boot. <br>
 * Loopback mounted to check for for the existence of /proc,/dev and /sys and those dirs are present.<br><br>Any assistance will be much appreciated!<br><br>Thanks,<br><br>Fred.<br><br>------------------------------<br>Full log output below<br>
------------------------------<br><br>Using config file "./centos.5-1.64.xen3.cfg".<br>Started domain centos.5-1.64<br>                            Linux version 2.6.21.7-2.fc8xen (<a href="mailto:mockbuild@xenbuilder4.fedora.phx.redhat.com">mockbuild@xenbuilder4.fedora.phx.redhat.com</a>) (gcc version 4.1.2 20070925 (Red Hat 4.1.2-33)) #1 SMP Fri Feb 15 12:34:28 EST 2008<br>
Command line: root=/dev/sda1 ro enforcing=0<br>BIOS-provided physical RAM map:<br> Xen: 0000000000000000 - 0000000010800000 (usable)<br>end_pfn_map = 67584<br>Zone PFN ranges:<br>  DMA             0 ->    67584<br>  DMA32       67584 ->    67584<br>
  Normal      67584 ->    67584<br>early_node_map[1] active PFN ranges<br>    0:        0 ->    67584<br>No mptable found.<br>PERCPU: Allocating 26496 bytes of per cpu data<br>Built 1 zonelists.  Total pages: 63160<br>
Kernel command line: root=/dev/sda1 ro enforcing=0<br>Initializing CPU#0<br>PID hash table entries: 1024 (order: 10, 8192 bytes)<br>Xen reported: 2327.486 MHz processor.<br>Console: colour dummy device 80x25<br>Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)<br>
Inode-cache hash table entries: 16384 (order: 5, 131072 bytes)<br>Software IO TLB disabled<br>Memory: 243620k/270336k available (2265k kernel code, 18172k reserved, 1351k data, 200k init)<br>Calibrating delay using timer specific routine.. 4658.34 BogoMIPS (lpj=2329173)<br>
Security Framework v1.0.0 initialized<br>SELinux:  Initializing.<br>selinux_register_security:  Registering secondary module capability<br>Capability LSM initialized as secondary<br>Mount-cache hash table entries: 256<br>
CPU: L1 I cache: 32K, L1 D cache: 32K<br>CPU: L2 cache: 4096K<br>CPU: Physical Processor ID: 0<br>CPU: Processor Core ID: 0<br>SMP alternatives: switching to UP code<br>Freeing SMP alternatives: 28k freed<br>Brought up 1 CPUs<br>
NET: Registered protocol family 16<br>Brought up 1 CPUs<br>PCI: Fatal: No config space access function found<br>PCI: setting up Xen PCI frontend stub<br>ACPI: Interpreter disabled.<br>Linux Plug and Play Support v0.97 (c) Adam Belay<br>
pnp: PnP ACPI: disabled<br>xen_mem: Initialising balloon driver.<br>usbcore: registered new interface driver usbfs<br>usbcore: registered new interface driver hub<br>usbcore: registered new device driver usb<br>PCI: System does not support PCI<br>
PCI: System does not support PCI<br>NetLabel: Initializing<br>NetLabel:  domain hash size = 128<br>NetLabel:  protocols = UNLABELED CIPSOv4<br>NetLabel:  unlabeled traffic allowed by default<br>NET: Registered protocol family 2<br>
IP route cache hash table entries: 2048 (order: 2, 16384 bytes)<br>TCP established hash table entries: 8192 (order: 5, 196608 bytes)<br>TCP bind hash table entries: 8192 (order: 5, 131072 bytes)<br>TCP: Hash tables configured (established 8192 bind 8192)<br>
TCP reno registered<br>checking if image is initramfs... it is<br>Freeing initrd memory: 8336k freed<br>audit: initializing netlink socket (disabled)<br>audit(1204719069.778:1): initialized<br>VFS: Disk quotas dquot_6.5.1<br>
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)<br>ksign: Installing public key data<br>Loading keyring<br>io scheduler noop registered<br>io scheduler anticipatory registered<br>io scheduler deadline registered<br>
io scheduler cfq registered (default)<br>pci_hotplug: PCI Hot Plug PCI Core version: 0.5<br>rtc: IRQ 8 is not free.<br>Non-volatile memory driver v1.2<br>Linux agpgart interface v0.102 (c) Dave Jones<br>RAMDISK driver initialized: 16 RAM disks of 16384K size 4096 blocksize<br>
input: Macintosh mouse button emulation as /class/input/input0<br>Xen virtual console successfully installed as xvc0<br>Linux version 2.6.21.7-2.fc8xen (<a href="mailto:mockbuild@xenbuilder4.fedora.phx.redhat.com">mockbuild@xenbuilder4.fedora.phx.redhat.com</a>) (gcc version 4.1.2 20070925 (Red Hat 4.1.2-33)) #1 SMP Fri Feb 15 12:34:28 EST 2008<br>
Command line: root=/dev/sda1 ro enforcing=0<br>BIOS-provided physical RAM map:<br> Xen: 0000000000000000 - 0000000010800000 (usable)<br>end_pfn_map = 67584<br>Zone PFN ranges:<br>  DMA             0 ->    67584<br>  DMA32       67584 ->    67584<br>
  Normal      67584 ->    67584<br>early_node_map[1] active PFN ranges<br>    0:        0 ->    67584<br>No mptable found.<br>PERCPU: Allocating 26496 bytes of per cpu data<br>Built 1 zonelists.  Total pages: 63160<br>
Kernel command line: root=/dev/sda1 ro enforcing=0<br>Initializing CPU#0<br>PID hash table entries: 1024 (order: 10, 8192 bytes)<br>Xen reported: 2327.486 MHz processor.<br>Console: colour dummy device 80x25<br>Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)<br>
Inode-cache hash table entries: 16384 (order: 5, 131072 bytes)<br>Software IO TLB disabled<br>Memory: 243620k/270336k available (2265k kernel code, 18172k reserved, 1351k data, 200k init)<br>Calibrating delay using timer specific routine.. 4658.34 BogoMIPS (lpj=2329173)<br>
Security Framework v1.0.0 initialized<br>SELinux:  Initializing.<br>selinux_register_security:  Registering secondary module capability<br>Capability LSM initialized as secondary<br>Mount-cache hash table entries: 256<br>
CPU: L1 I cache: 32K, L1 D cache: 32K<br>CPU: L2 cache: 4096K<br>CPU: Physical Processor ID: 0<br>CPU: Processor Core ID: 0<br>SMP alternatives: switching to UP code<br>Freeing SMP alternatives: 28k freed<br>Brought up 1 CPUs<br>
NET: Registered protocol family 16<br>Brought up 1 CPUs<br>PCI: Fatal: No config space access function found<br>PCI: setting up Xen PCI frontend stub<br>ACPI: Interpreter disabled.<br>Linux Plug and Play Support v0.97 (c) Adam Belay<br>
pnp: PnP ACPI: disabled<br>xen_mem: Initialising balloon driver.<br>usbcore: registered new interface driver usbfs<br>usbcore: registered new interface driver hub<br>usbcore: registered new device driver usb<br>PCI: System does not support PCI<br>
PCI: System does not support PCI<br>NetLabel: Initializing<br>NetLabel:  domain hash size = 128<br>NetLabel:  protocols = UNLABELED CIPSOv4<br>NetLabel:  unlabeled traffic allowed by default<br>NET: Registered protocol family 2<br>
IP route cache hash table entries: 2048 (order: 2, 16384 bytes)<br>TCP established hash table entries: 8192 (order: 5, 196608 bytes)<br>TCP bind hash table entries: 8192 (order: 5, 131072 bytes)<br>TCP: Hash tables configured (established 8192 bind 8192)<br>
TCP reno registered<br>checking if image is initramfs... it is<br>Freeing initrd memory: 8336k freed<br>audit: initializing netlink socket (disabled)<br>audit(1204719069.778:1): initialized<br>VFS: Disk quotas dquot_6.5.1<br>
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)<br>ksign: Installing public key data<br>Loading keyring<br>io scheduler noop registered<br>io scheduler anticipatory registered<br>io scheduler deadline registered<br>
io scheduler cfq registered (default)<br>pci_hotplug: PCI Hot Plug PCI Core version: 0.5<br>rtc: IRQ 8 is not free.<br>Non-volatile memory driver v1.2<br>Linux agpgart interface v0.102 (c) Dave Jones<br>RAMDISK driver initialized: 16 RAM disks of 16384K size 4096 blocksize<br>
input: Macintosh mouse button emulation as /class/input/input0<br>Xen virtual console successfully installed as xvc0<br>Event-channel device installed.<br>usbcore: registered new interface driver hiddev<br>usbcore: registered new interface driver usbhid<br>
drivers/usb/input/hid-core.c: v2.6:USB HID core driver<br>PNP: No PS/2 controller found. Probing ports directly.<br>i8042.c: No controller found.<br>mice: PS/2 mouse device common for all mice<br>TCP bic registered<br>Initializing XFRM netlink socket<br>
NET: Registered protocol family 1<br>NET: Registered protocol family 17<br>XENBUS: Device with no driver: device/vbd/2049<br>XENBUS: Device with no driver: device/vbd/2050<br>XENBUS: Device with no driver: device/vif/0<br>
XENBUS: Device with no driver: device/console/0<br>drivers/rtc/hctosys.c: unable to open rtc device (rtc0)<br>Freeing unused kernel memory: 200k freed<br>Write protecting the kernel read-only data: 981k<br>Red Hat nash version 6.0.19 starting<br>
Mounting proc filesystem<br>Mounting sysfs filesystem<br>Creating /dev<br>Creating initial device nodes<br>Setting up hotplug.<br>Creating block device nodes.<br>Loading ehci-hcd.ko module<br>Loading ohci-hcd.ko module<br>
Loading uhci-hcd.ko module<br>USB Universal Host Controller Interface driver v3.0<br>Loading mbcache.ko module<br>Loading jbd.ko module<br>Loading ext3.ko module<br>Loading scsi_mod.ko module<br>SCSI subsystem initialized<br>
Loading sd_mod.ko module<br>Loading libata.ko module<br>Loading ahci.ko module<br>Waiting for driver initialization.<br>Loading ata_generic.ko module<br>Loading usb-storage.ko module<br>Initializing USB Mass Storage driver...<br>
usbcore: registered new interface driver usb-storage<br>USB Mass Storage support registered.<br>Waiting for driver initialization.<br>stabilized: stat /proc/bus/usb/devices: No such file or directory<br>Loading xenblk.ko module<br>
register_blkdev: cannot get major 8 for sd<br>vbd vbd-2049: 19 xlvbd_add at /local/domain/0/backend/vbd/47/2049<br>register_blkdev: cannot get major 8 for sd<br>vbd vbd-2049: 19 xlvbd_add at /local/domain/0/backend/vbd/47/2049<br>
register_blkdev: cannot get major 8 for sd<br>vbd vbd-2050: 19 xlvbd_add at /local/domain/0/backend/vbd/47/2050<br>register_blkdev: cannot get major 8 for sd<br>vbd vbd-2050: 19 xlvbd_add at /local/domain/0/backend/vbd/47/2050<br>
XENBUS: Timeout connecting to device: device/vbd/2049 (state 6)<br>XENBUS: Timeout connecting to device: device/vbd/2050 (state 6)<br>Loading xennet.ko module<br>netfront: Initialising virtual ethernet driver.<br>netfront: device eth0 has copying receive path.<br>
Loading xenbus_be.ko module<br>Loading xenblktap.ko module<br>Creating root device.<br>Mounting root filesystem.<br>mount: could not find filesystem '/dev/root'<br>Setting up other filesystems.<br>Setting up new root fs<br>
setuproot: moving /dev failed: No such file or directory<br>no fstab.sys, mounting internal defaults<br>setuproot: error mounting /proc: No such file or directory<br>setuproot: error mounting /sys: No such file or directory<br>
Switching to new root and running init.<br>unmounting old /dev<br>unmounting old /proc<br>unmounting old /sys<br>switchroot: mount failed: No such file or directory<br>Booting has failed.<br>Kernel panic - not syncing: Attempted to kill init!<br>
<br>----------------------<br>End full log<br>----------------------<br><br>