[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Re: blktap2 does not work

  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Niccolò Belli <darkbasic4@xxxxxxxxx>
  • Date: Thu, 24 Jun 2010 00:36:14 +0200
  • Delivery-date: Wed, 23 Jun 2010 15:50:22 -0700
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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 =  [


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

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


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
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.


Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.