WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Re: blktap2 does not work

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Re: blktap2 does not work
From: Niccolò Belli <darkbasic4@xxxxxxxxx>
Date: Thu, 24 Jun 2010 00:36:14 +0200
Delivery-date: Wed, 23 Jun 2010 15:50:22 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=Fc0vw1gIkuRgAdIVajgnFQulVLSre+BOUo0U+TYfAsM=; b=SEIcRnkU2hrELhGbddQ4ec7IZRNOcrS1hSlBOKLrKEa34Ow+WBkd05aAn9SY7CmORt ktMrUOSOcVq5vlv+UT1vlIibhgccbie7m+6bKUYf4dhlc7a+raFvf7QoHTyNzoDmuz4X tS7Oq4her9x2gfEprm1x1ying2dsGFnijQdZw=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=Hvf355hHIBNCG1BSJnIDCN/8qIk7UZ/XWTs3kRsUEXNhSh1+nQi6GH1r1F9Q19w9Jz rq3sWM2HWrD9M+Pbv28zOJnwg48GGg96DWU5WK2Ft2YijeodEXdUrx4Cp85eQRYInyds xb7/0OqGWwZyjW5R0Tu9Se+tFghgaekGt3FaU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTinnOy8J7mO_-znExIziN6XDWxQO2WsyBkB62_7a@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTinnOy8J7mO_-znExIziN6XDWxQO2WsyBkB62_7a@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
2010/6/23 eXeC001er <execooler@xxxxxxxxx>:
> blktap2 works in current xen-testing-4.x and xen-unstable, but you should be
> use tap2:tapdisk:aio:...... (I do not know why it is not displayed in the
> documentation, but the code works the way).

I saw there is no CONFIG_XEN_BLKDEV_TAP2 in the 2.6.32 xen git kernel,
only CONFIG_XEN_BLKDEV_TAP (which builds blktap.ko).

This is my latest config:

memory = 1000

vif = ['bridge=eth0']

disk =  [
      'tap2:tapdisk:aio:/srv/xen/webserver.img,sda,w',
      'file:/root/debian.iso,hdc:cdrom,r',
      ]

boot="cd"

#HVM
#device_model = '/usr/lib/xen/bin/qemu-dm'
#kernel = "/usr/lib/xen/boot/hvmloader"
#builder='hvm'

#PV
kernel = "/usr/lib/xen/boot/pv-grub-x86_64.gz"
extra = "(hd0,0)/boot/grub/grub.cfg"

sdl=0
vnc=1
vnclisten="0.0.0.0"
vncpasswd=''



If I do not load blktap module, using tap2:tapdisk:aio it complains
about missing blktap2 driver:

Error: Failed to create device.
   stdout: didn't find blktap-control in /proc/misc
   stderr:
Check that target "/srv/xen/webserver.img" exists and that blktap2
driver installed in dom0.


Using tap:tapdisk:aio it does not complain about the missing driver,
but the debian installer does not find any disk at all.

Using xvda,w instead of sda,w does not work too: the debian installer
does not find any disk.

I load the debian installer using HVM, but as soon as it comes to
install the bootloader (both grub and grub2) it complains about not
being able to install it. I also noticed it cannot set the partition
as bootable!

Without a bootloader I have to swtich to PV, but it freezes just
before the login prompt:

INIT: Entering runlevel: 2
Using makefile-style concurrent boot in runlevel 2.
Starting enhanced syslogd: rsyslogd.
Starting ACPI services...RTNETLINK1 answers: No such file or directory
acpid: error talking to the kernel via netlink
.
Starting periodic command scheduler: cron.
Running scripts in rc2.d/ took 0 seconds.

Darkbasic

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users