[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-users] Re: blktap2 does not work
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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |