CoW on xenppc based on blktap
on boot and also when I try to start blktapctrl later manually I get no
running blktapctrl, but this in /var/log/messages:
BLKTAPCTRL[2776]: blktapctrl: v1.0.0
BLKTAPCTRL[2776]: Found driver: [raw image (aio)]
BLKTAPCTRL[2776]: Found driver: [raw image (sync)]
BLKTAPCTRL[2776]: Found driver: [vmware image (vmdk)]
BLKTAPCTRL[2776]: Found driver: [ramdisk image (ram)]
BLKTAPCTRL[2776]: Found driver: [qcow disk (qcow)]
BLKTAPCTRL[2776]: Unable to start blktapctrl
- Add DPRINTF to code and re-install with "make install-tools"
this shows that it fails related to this
693 if ((ret = xc_find_device_number("blktap0")) < 0) {
694 DPRINTF("couldn't find device number - got '%d'\n",ret);
695 goto open_failed;
696 }
-> May 16 09:46:32 c08b01-0 BLKTAPCTRL[7045]: couldn't find device
number - got '-1'
internally using the function xc_find_device_number it searches the
directories:
/sys/class/misc/blktap0/dev
/sys/class/xen/blktap0/dev
I patched xc_linux.c to check if it really tries that and not fails
because of other unexpected reasons:
root@c08b01-0[0]:~/xen/xen-unstable.hg# cat /tmp/xc_linux.log
found sysfsdir '/sys'
try opening full sysfsdir '/sys/class/xen/blktap0/dev'
found sysfsdir '/sys'
try opening full sysfsdir '/sys/class/misc/blktap0/dev'
And it is right, these directories/files are not there ...
On my system are only a few entries in /sys/class/misc and no /sys/class/xen
root@c08b01-0[0]:/# ll /sys/class/misc/
total 0
0 drwxr-xr-x 2 root root 0 2007-05-16 11:01 evtchn
0 drwxr-xr-x 2 root root 0 2007-05-16 11:00 rtc
root@c08b01-0[0]:/# ll /sys/class/xen
ls: /sys/class/xen: No such file or directory
So, the question is - why is there no /sys/class/[xen|misc]/blktap0/dev ?
Unfortunately I have no other xenppc installation and no x86 xen
installation too.
Can someone on the list which has xenx86 and xenppc running please
cross-check if these missing directories are a local issues of my
installation/setup ?
--
Grüsse / regards,
Christian Ehrhardt
IBM Linux Technology Center, Open Virtualization
+49 7031/16-3385
Ehrhardt@xxxxxxxxxxxxxxxxxxx
Ehrhardt@xxxxxxxxxx
IBM Deutschland Entwicklung GmbH
Vorsitzender des Aufsichtsrats: Johann Weihen
Geschäftsführung: Herbert Kircher
Sitz der Gesellschaft: Böblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294
_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel
|