ich versuche auf Debian Lenny einen XEN-Server aufzusetzen, der soweit auch läuft:
Code: Alles auswählen
xm info
host : xen-server
release : 2.6.18-6-xen-amd64
version : #1 SMP Tue Aug 19 06:15:09 UTC 2008
machine : x86_64
nr_cpus : 1
nr_nodes : 1
sockets_per_node : 1
cores_per_socket : 1
threads_per_core : 1
cpu_mhz : 2411
hw_caps : 078bfbff:ebd3fbff:00000000:00000010:00002001:0000001d:0000001d
total_memory : 5118
free_memory : 4230
xen_major : 3
xen_minor : 0
xen_extra : .3-1
xen_caps : xen-3.0-x86_64 hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64
xen_pagesize : 4096
platform_params : virt_start=0xffff800000000000
xen_changeset : Tue Oct 17 22:09:52 2006 +0100
cc_compiler : gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
cc_compile_by : skx
cc_compile_domain : debian.org
cc_compile_date : Mon Oct 22 21:30:18 UTC 2007
xend_config_format : 2
Code: Alles auswählen
xm create debian -c
Ich verwende dazu die Xen-Konfigurationsdatei /etc/xen/debianTCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 8
NET: Registered protocol family 20
Registering block device major 8
netfront: device eth0 has flipping receive path.
VFS: Cannot open root device "md2" 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)
Code: Alles auswählen
kernel = "/boot/vmlinuz-2.6.18-6-xen-amd64"
memory = 128
vif = [ '' ]
disk =[ 'file:/home/xen/debian.disk,sdc1,w' ]
root = "/dev/md2 ro"
Code: Alles auswählen
proc /proc proc defaults 0 0
/dev/md1 / ext3 errors=remount-ro 0 1
/dev/md0 /boot ext3 defaults 0 2
/dev/md2 /xenvm1 ext3 defaults 0 2
/dev/md3 /xenvm2 ext3 defaults 0 2
/dev/md4 /xenvm3 ext3 defaults 0 2
/dev/md5 /xenvm4 ext3 defaults 0 2
/dev/sda2 none swap sw 0 0
/dev/sdb2 none swap sw 0 0
/dev/hda1 /backup ext3 defaults 0 2
/dev/hdb /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
Code: Alles auswählen
title Xen 3.0.3-1-amd64 / Debian GNU/Linux, kernel 2.6.18-6-xen-amd64
root (hd0,0)
kernel /xen-3.0.3-1-amd64.gz dom0_mem=800M
module /vmlinuz-2.6.18-6-xen-amd64 root=/dev/md1 ro noapic nolapic acpi=on vga=792 pnpbios=off console=tty0
module /initrd.img-2.6.18-6-xen-amd64
title Debian GNU/Linux, kernel 2.6.24-1-amd64
root (hd0,0)
kernel /vmlinuz-2.6.24-1-amd64 root=/dev/md1 ro noapic nolapic acpi=on vga=792 pnpbios=off quiet
initrd /initrd.img-2.6.24-1-amd64
title Debian GNU/Linux, kernel 2.6.24-1-amd64 (single-user mode)
root (hd0,0)
kernel /vmlinuz-2.6.24-1-amd64 root=/dev/md1 ro noapic nolapic acpi=on vga=792 pnpbios=off single
initrd /initrd.img-2.6.24-1-amd64
title Debian GNU/Linux, kernel 2.6.18-6-xen-amd64
root (hd0,0)
kernel /vmlinuz-2.6.18-6-xen-amd64 root=/dev/md1 ro noapic nolapic acpi=on vga=792 pnpbios=off quiet
initrd /initrd.img-2.6.18-6-xen-amd64
title Debian GNU/Linux, kernel 2.6.18-6-xen-amd64 (single-user mode)
root (hd0,0)
kernel /vmlinuz-2.6.18-6-xen-amd64 root=/dev/md1 ro noapic nolapic acpi=on vga=792 pnpbios=off single
initrd /initrd.img-2.6.18-6-xen-amd64
Grüsse
Nelson