Hello All.
I have been attempting to get a Xen guest to boot on a Dell 2650 running FC5.
The machine has a 205GB hardware RAID disk controlled by a Dell PERC 3/Di rev 1. The
machine is fully updated via yum to all the stock repos. It's running the Xen package
from
Fedora.org
Here is the fstab file for the host domain (Domain-0):
------------------------------------------------------------------------
/dev/sda2 / ext3 defaults 1 1
/dev/sda1 /boot ext3 defaults 1 2
devpts /dev/pts devpts gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
/dev/sda3 swap swap defaults 0 0
------------------------------------------------------------------------
Here is the output of fdisk -l
------------------------------------------------------------------------
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 1033 8193150 83 Linux
/dev/sda3 1034 1294 2096482+ 82 Linux swap / Solaris
/dev/sda4 1295 26770 204635970 5 Extended
/dev/sda5 1295 26770 204635938+ 83 Linux
------------------------------------------------------------------------
I have attempted to use LVM-backed VBDs as instructed here:
http://tx.downloads.xensource.com/downloads/docs/user/#SECTION03330000000...
Here is my config file for the LVM-backed VBD named, psdev0
------------------------------------------------------------------------
def vmid_check(var, val):
val = int(val)
if val <= 0:
raise ValueError
return val
xm_vars.var('vmid',
use="Virtual machine id. Integer greater than 0.",
check=vmid_check)
xm_vars.check()
kernel = "/boot/vmlinuz-2.6.17-1.2187_FC5xen0"
ramdisk = "/boot/initrd-2.6.17-1.2187_FC5xen0.img"
memory = 256
name = "VM%d" % vmid
vcpus = 2
vif = [ '' ]
disk = [ 'phy:vg/psdev0,sda1,w' ]
dhcp="dhcp"
root = "/dev/sda1"
------------------------------------------------------------------------
"xm info" has this to say about the running Domain-0:
------------------------------------------------------------------------
[root@xiamen xen]# xm info
host :
xiamen.cinteractive.com
release : 2.6.17-1.2187_FC5xen0
version : #1 SMP Mon Sep 11 02:05:21 EDT 2006
machine : i686
nr_cpus : 4
nr_nodes : 1
sockets_per_node : 2
cores_per_socket : 1
threads_per_core : 2
cpu_mhz : 2790
hw_caps : 00000000:00000000:bfebfbff:00000000:00000000:00000080:00004400
total_memory : 3840
free_memory : 3674
xen_major : 3
xen_minor : 0
xen_extra : -unstable
xen_caps : xen-3.0-x86_32
platform_params : virt_start=0xfc000000
xen_changeset : unavailable
cc_compiler : gcc version 4.1.1 20060525 (Red Hat 4.1.1-1)
cc_compile_by : brewbuilder
cc_compile_domain :
build.redhat.com
cc_compile_date : Mon Sep 11 01:13:36 EDT 2006
Here's what I see when I run, "xm create -c psdev0 vmid=1"
----------------------------------------------------------------------------
i8042.c: No controller found.
mice: PS/2 mouse device common for all mice
md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: bitmap version 4.39
TCP bic registered
Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI No-Shortcut mode
XENBUS: Device with no driver: device/vbd/2049
XENBUS: Device with no driver: device/vif/0
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
VFS: Cannot open root device "sda1" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
No matter what I set the root= option to be, the result is the same.
Oh, one last config file: my grub.conf from Domain-0
----------------------------------------------------------------------------
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title XenCore (2.6.17-1.2187_FC5xen0)
root (hd0,0)
kernel /xen.gz-2.6.17-1.2187_FC5
module /vmlinuz-2.6.17-1.2187_FC5xen0 ro root=/dev/sda2 ro console=tty0
module /initrd-2.6.17-1.2187_FC5xen0.img
title Fedora Core (2.6.17-1.2187_FC5smp)
root (hd0,0)
kernel /vmlinuz-2.6.17-1.2187_FC5smp ro root=LABEL=/
initrd /initrd-2.6.17-1.2187_FC5smp.img
title Fedora Core (2.6.15-1.2054_FC5smp)
root (hd0,0)
kernel /vmlinuz-2.6.15-1.2054_FC5smp ro root=LABEL=/
initrd /initrd-2.6.15-1.2054_FC5smp.img
Any advice would be welcome.