From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lukas Laukamp Subject: Re: Unable to install Precise domU PV on xen 4.2.0 Date: Tue, 02 Oct 2012 11:58:52 +0200 Message-ID: <506ABADC.5090400@laukamp.me> References: <506AB70D.90908@tiscali.it> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============9203524640479730267==" Return-path: In-Reply-To: <506AB70D.90908@tiscali.it> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: fantonifabio@tiscali.it Cc: xen-devel List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --===============9203524640479730267== Content-Type: multipart/alternative; boundary="------------040509030604050005020801" This is a multi-part message in MIME format. --------------040509030604050005020801 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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@lists.xen.org > 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 --------------040509030604050005020801 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
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@lists.xen.org
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
--------------040509030604050005020801-- --===============9203524640479730267== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============9203524640479730267==--