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 12:34:44 +0200 Message-ID: <506AC344.7070704@laukamp.me> References: <506AB70D.90908@tiscali.it> <506ABADC.5090400@laukamp.me> <506ABCA1.5010602@tiscali.it> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6271200284332621497==" Return-path: In-Reply-To: <506ABCA1.5010602@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. --===============6271200284332621497== Content-Type: multipart/alternative; boundary="------------080009030605040603090600" This is a multi-part message in MIME format. --------------080009030605040603090600 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Am 02.10.2012 12:06, schrieb Fabio Fantoni: > Il 02/10/2012 11:58, Lukas Laukamp ha scritto: >> 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 >> >> Nessun virus nel messaggio. >> Controllato da AVG - www.avg.com >> Versione: 2012.0.2221 / Database dei virus: 2441/5303 - Data di >> rilascio: 01/10/2012 >> > Format seem necessary or give this error: > /etc/xen/PRECISE.cfg: config parsing error in disk specification: > unknown value for format: near `xvda1' in > `/mnt/vm/disks/PRECISE.disk1.xm,xvda1,rw' > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel Hello, do you also have tried to install the guest with debootstrap? Best Regards --------------080009030605040603090600 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
Am 02.10.2012 12:06, schrieb Fabio Fantoni:
Il 02/10/2012 11:58, Lukas Laukamp ha scritto:
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

Nessun virus nel messaggio.
Controllato da AVG - www.avg.com
Versione: 2012.0.2221 / Database dei virus: 2441/5303 - Data di rilascio: 01/10/2012

Format seem necessary or give this error:
/etc/xen/PRECISE.cfg: config parsing error in disk specification: unknown value for format: near `xvda1' in `/mnt/vm/disks/PRECISE.disk1.xm,xvda1,rw'


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Hello,

do you also have tried to install the guest with debootstrap?

Best Regards
--------------080009030605040603090600-- --===============6271200284332621497== 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 --===============6271200284332621497==--