Am 02.10.2012 11:42, schrieb Fabio
Fantoni:
Dom0 is
wheezy 64 bit, kernel 3.2.23-1 from debian repository, xen 4.2.0
compiled from source
When I try to install Precise domU PV with this xl configuration
file:
--------------------------------------------
PRECISE.cfg
----------------
name='PRECISE'
memory=1024
vcpus=2
disk=['/mnt/vm/disks/PRECISE.disk1.xm,raw,xvda1,rw',
'/mnt/vm/disks/PRECISE.disk2.xm,raw,xvda2,rw']
#disk=['/mnt/vm/disks/PRECISE.disk1.xm,raw,xvda,rw']
vif=['bridge=xenbr0']
vfb=['vnc=1,vncunused=1,vnclisten=0.0.0.0,keymap=it']
xen_platform_pci=1
#bootloader='pygrub'
#kernel = "/usr/lib/xen/boot/pv-grub-x86_64.gz"
#extra = "(hd0,0)/grub/grub.cfg"
# Only for installation
kernel="/boot/domu/precise/vmlinuz"
ramdisk="/boot/domu/precise/initrd.gz"
extra = "debian-installer/exit/always_halt=true -- quiet
console=hvc0"
--------------------------------------------
The vmlinux and initrd take from here:
http://archive.ubuntu.com/ubuntu/dists/precise-updates/main/installer-amd64/current/images/netboot/xen/
xl create /etc/xen/PRECISE.cfg
Parsing config from /etc/xen/PRECISE.cfg
libxl: error: libxl_device.c:858:device_backend_callback: unable
to disconnect device with path /local/domain/0/backend/vbd/2/51713
libxl: error: libxl_device.c:858:device_backend_callback: unable
to disconnect device with path /local/domain/0/backend/vbd/2/51714
libxl: error: libxl_create.c:933:domcreate_launch_dm: unable to
add disk devices
libxl: error: libxl_device.c:858:device_backend_callback: unable
to disconnect device with path /local/domain/0/backend/vbd/2/51713
libxl: error: libxl_blktap2.c:73:libxl__device_destroy_tapdisk:
Unable to find type aio disk /mnt/vm/disks/PRECISE.disk1.xm: No
such file or directory
libxl: error: libxl_device.c:858:device_backend_callback: unable
to disconnect device with path /local/domain/0/backend/vbd/2/51714
libxl: error: libxl.c:1465:devices_destroy_cb:
libxl__devices_destroy failed for 2
/mnt/vm/disks/PRECISE.disk1.xm exist, domU hvm with raw disks
works
Is xen bug, kernel bug or my error?
Thanks for any reply
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
Hello,
I think that the raw parameter isn't needed and is the reason for
the device connecting error. Another way to install the guest would
be to use debootstrap. This definitly works.
Best Regards
|