[Fedora-xen] Fedora 8 - Guest can't find rootfs.

Friedrich Clausen fred at derf.nl
Wed Mar 5 12:34:42 UTC 2008


Hi,

Note: Full kernel output at end of email and Xen logs are at
http://www.derf.nl/drop/xen-logs

Details:

OS - Fedora 8
Arch - x86_64
Kernel - 2.6.21.7-2.fc8xen
Packages - xen-3.1.2-2.fc8, kernel-xen-2.6.21.7-2.fc8, xen-libs-3.1.2-2.fc8

Description:

I am trying to boot a CentOS image downloaded from jailtime.org,
specifically the image at:

http://www.jailtime.org/download:centos64:v5.1

My configuration currently looks like this:

kernel = "/boot/vmlinuz-2.6.21.7-2.fc8xen"
ramdisk = "/boot/initrd-2.6.21.7-2.fc8xen.img"
memory = 256
name = "centos.5-1.64"
vif = [ '' ]
disk = ['file:/var/lib/xen/images/xen/centos.5-1.64.img,sda1,w',
'file:/var/lib/xen/images/xen/centos.swap,sda2,w']
root = "/dev/sda1"
extra = "ro enforcing=0"

Selinux is off on the dom0 host, which is Fedora 8. The seemingly relevant
bit of the log is :

Loading xenblk.ko module
register_blkdev: cannot get major 8 for sd
vbd vbd-2049: 19 xlvbd_add at /local/domain/0/backend/vbd/47/2049
register_blkdev: cannot get major 8 for sd
vbd vbd-2049: 19 xlvbd_add at /local/domain/0/backend/vbd/47/2049
register_blkdev: cannot get major 8 for sd
vbd vbd-2050: 19 xlvbd_add at /local/domain/0/backend/vbd/47/2050
register_blkdev: cannot get major 8 for sd
vbd vbd-2050: 19 xlvbd_add at /local/domain/0/backend/vbd/47/2050
XENBUS: Timeout connecting to device: device/vbd/2049 (state 6)
XENBUS: Timeout connecting to device: device/vbd/2050 (state 6)
Loading xennet.ko module
netfront: Initialising virtual ethernet driver.
netfront: device eth0 has copying receive path.
Loading xenbus_be.ko module
Loading xenblktap.ko module
Creating root device.
Mounting root filesystem.
mount: could not find filesystem '/dev/root'
Setting up other filesystems.
Setting up new root fs
setuproot: moving /dev failed: No such file or directory
no fstab.sys, mounting internal defaults
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
Switching to new root and running init.
unmounting old /dev
unmounting old /proc
unmounting old /sys
switchroot: mount failed: No such file or directory
Booting has failed.
Kernel panic - not syncing: Attempted to kill init!

I have tried the following :

 * I have create a new initrd, making sure to include the Xen block devices
but the guest is still not able to boot.
 * Loopback mounted to check for for the existence of /proc,/dev and /sys
and those dirs are present.

Any assistance will be much appreciated!

Thanks,

Fred.

------------------------------
Full log output below
------------------------------

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

----------------------
End full log
----------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-xen/attachments/20080305/a43cbfdd/attachment.htm>


More information about the Fedora-xen mailing list