[Pkg-xen-devel] Bug#867703: blktap-dkms: module FTBFS for Linux 4.11

Stefan Bader stefan.bader at canonical.com
Wed Jul 12 07:58:41 UTC 2017


On 08.07.2017 20:23, Andreas Beckmann wrote:
> Package: blktap-dkms
> Version: 2.0.93-0.8
> Severity: serious
> Tags: sid buster
> 
> Hi,
> 
> blktap-dkms fails to build a module for Linux 4.11:

I am not authoritative fo Debian, just wondering about of how much use the whole
of blktap/blktap-dkms still is. For Ubuntu the only real consumer seemed to be
the Xen Cloud Platform (XCP) / XAPI. Which was dropped from both Debian and
Ubuntu. In Ubuntu the Xen hypervisor packages were always compiled with
blktap1/2 disabled and at least with Debian 9 Xen 4.8 this is the same in Debian.
So the question is, is this reported because of the build failure or because
somebody is using VHD images? Feels like even upstream considers blktap as
unmaintained[1] and it seems that most practical usage would have moved to use
the formats supported by QDISK.

-Stefan

[1] https://lists.xen.org/archives/html/xen-devel/2013-08/msg02633.html
> 
>   CC [M]  /var/lib/dkms/blktap/2.0.93/build/device.o
> In file included from /var/lib/dkms/blktap/2.0.93/build/linux-blktap.h:66:0,
>                  from /var/lib/dkms/blktap/2.0.93/build/blktap.h:33,
>                  from /var/lib/dkms/blktap/2.0.93/build/ring.c:38:
> /var/lib/dkms/blktap/2.0.93/build/linux-blktap.h:119:24: warning: variably modified 'pending' at file scope
>         sizeof(((struct blktap_sring *)0)->ring[0])))
>                         ^
> /usr/src/linux-headers-4.11.0-1-common/include/xen/interface/io/ring.h:15:59: note: in definition of macro '__RD2'
>  #define __RD2(_x)  (((_x) & 0x00000002) ? 0x2         : ((_x) & 0x1))
>                                                            ^~
> /usr/src/linux-headers-4.11.0-1-common/include/xen/interface/io/ring.h:17:66: note: in expansion of macro '__RD4'
>  #define __RD8(_x)  (((_x) & 0x000000f0) ? __RD4((_x)>>4)<<4    : __RD4(_x))
>                                                                   ^~~~~
> /usr/src/linux-headers-4.11.0-1-common/include/xen/interface/io/ring.h:18:66: note: in expansion of macro '__RD8'
>  #define __RD16(_x) (((_x) & 0x0000ff00) ? __RD8((_x)>>8)<<8    : __RD8(_x))
>                                                                   ^~~~~
> /usr/src/linux-headers-4.11.0-1-common/include/xen/interface/io/ring.h:19:66: note: in expansion of macro '__RD16'
>  #define __RD32(_x) (((_x) & 0xffff0000) ? __RD16((_x)>>16)<<16 : __RD16(_x))
>                                                                   ^~~~~~
> /var/lib/dkms/blktap/2.0.93/build/linux-blktap.h:117:8: note: in expansion of macro '__RD32'
>   ((int)__RD32((BLKTAP_PAGE_SIZE -    \
>         ^~~~~~
> /var/lib/dkms/blktap/2.0.93/build/blktap.h:77:41: note: in expansion of macro 'BLKTAP_RING_SIZE'
>   struct blktap_request         *pending[BLKTAP_RING_SIZE];
>                                          ^~~~~~~~~~~~~~~~
> /var/lib/dkms/blktap/2.0.93/build/ring.c:187:14: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
>   .fault    = blktap_ring_fault,
>               ^~~~~~~~~~~~~~~~~
> /var/lib/dkms/blktap/2.0.93/build/ring.c:187:14: note: (near initialization for 'blktap_ring_vm_operations.fault')
> 
> Andreas
> 
> 
> 
> _______________________________________________
> Pkg-xen-devel mailing list
> Pkg-xen-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-xen-devel
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20170712/47f09d68/attachment.sig>


More information about the Pkg-xen-devel mailing list