[Pkg-xen-devel] Bug#586772: Bug#586772: Bug#586772: blktap2 Support

Niccolò Belli darkbasic4 at gmail.com
Thu Mar 8 20:03:52 UTC 2012


Il 08/03/2012 18:47, Ian Campbell ha scritto:
> There was a breakage of the blktap userspace<->  kernel ABI at one
> point, which might stop 4.1 working with 2.6.32 era kernel wihch might
> also explain this.

That may be the problem indeed, the only reason Squeeze didn't get 
blktap2 was a stupid license issue (stupid because it has been solved 
but no one cared reverting the "disable blktap2" commit in debian).

Unfortunately I don't think backporting blktap-dkms will be an easy task:

DKMS make.log for blktap-2.0.91 for kernel 2.6.32-5-xen-amd64 (x86_64)
gio  8 mar 2012, 19.48.20, CET
make: Entering directory `/usr/src/linux-headers-2.6.32-5-xen-amd64'
   CC [M]  /var/lib/dkms/blktap/2.0.91/build/control.o
   CC [M]  /var/lib/dkms/blktap/2.0.91/build/ring.o
   CC [M]  /var/lib/dkms/blktap/2.0.91/build/device.o
/var/lib/dkms/blktap/2.0.91/build/device.c: In function 
‘blktap_device_make_request’:
/var/lib/dkms/blktap/2.0.91/build/device.c:212: error: ‘REQ_FLUSH’ 
undeclared (first use in this function)
/var/lib/dkms/blktap/2.0.91/build/device.c:212: error: (Each undeclared 
identifier is reported only once
/var/lib/dkms/blktap/2.0.91/build/device.c:212: error: for each function 
it appears in.)
/var/lib/dkms/blktap/2.0.91/build/device.c: In function 
‘blktap_device_configure’:
/var/lib/dkms/blktap/2.0.91/build/device.c:337: error: implicit 
declaration of function ‘blk_queue_max_segments’
/var/lib/dkms/blktap/2.0.91/build/device.c:345: error: implicit 
declaration of function ‘blk_queue_flush’
/var/lib/dkms/blktap/2.0.91/build/device.c:345: error: ‘REQ_FLUSH’ 
undeclared (first use in this function)
/var/lib/dkms/blktap/2.0.91/build/device.c:353: error: ‘struct 
queue_limits’ has no member named ‘discard_granularity’
/var/lib/dkms/blktap/2.0.91/build/device.c:354: error: ‘struct 
queue_limits’ has no member named ‘discard_alignment’
/var/lib/dkms/blktap/2.0.91/build/device.c:355: error: ‘struct 
queue_limits’ has no member named ‘discard_zeroes_data’
/var/lib/dkms/blktap/2.0.91/build/device.c: In function 
‘blktap_device_create’:
/var/lib/dkms/blktap/2.0.91/build/device.c:562: error: ‘struct 
queue_limits’ has no member named ‘discard_granularity’
/var/lib/dkms/blktap/2.0.91/build/device.c:562: error: implicit 
declaration of function ‘queue_discard_alignment’
/var/lib/dkms/blktap/2.0.91/build/device.c:562: error: ‘struct 
request_queue’ has no member named ‘flush_flags’
make[3]: *** [/var/lib/dkms/blktap/2.0.91/build/device.o] Error 1
make[2]: *** [_module_/var/lib/dkms/blktap/2.0.91/build] Error 2
make[1]: *** [sub-make] Error 2
make: *** [all] Error 2
make: Leaving directory `/usr/src/linux-headers-2.6.32-5-xen-amd64'


Niccolò





More information about the Pkg-xen-devel mailing list