All of lore.kernel.org
 help / color / mirror / Atom feed
* blktap-dkms fails to build on Debian Jessie with 3.13 Kernel
@ 2014-03-21 15:28 Antony Messerli
  2014-03-21 16:04 ` Ian Campbell
  0 siblings, 1 reply; 2+ messages in thread
From: Antony Messerli @ 2014-03-21 15:28 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 5369 bytes --]

When trying to install blktap-dkms on Debian Jessie, the module fails to build (Ubuntu seems to have bugs tracking this already, https://launchpad.net/ubuntu/+source/blktap-dkms/+bugs):

Unpacking blktap-dkms (2.0.93-0.1) ...
Setting up blktap-dkms (2.0.93-0.1) ...
Loading new blktap-2.0.93 DKMS files...
First Installation: checking all kernels...
Building only for 3.13-1-amd64
Building initial module for 3.13-1-amd64
Error! Bad return status for module build on kernel: 3.13-1-amd64 (x86_64)
Consult /var/lib/dkms/blktap/2.0.93/build/make.log for more information.

DKMS make.log for blktap-2.0.93 for kernel 3.13-1-amd64 (x86_64)
Fri Mar 21 15:24:20 UTC 2014
make: Entering directory `/usr/src/linux-headers-3.13-1-amd64'
  CC [M]  /var/lib/dkms/blktap/2.0.93/build/control.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/control.c:30:
/var/lib/dkms/blktap/2.0.93/build/linux-blktap.h:119:24: warning: variably modified ‘pending’ at file scope [enabled by default]
        sizeof(((struct blktap_sring *)0)->ring[0])))
                        ^
/usr/src/linux-headers-3.13-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-3.13-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-3.13-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-3.13-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];
                                         ^
  CC [M]  /var/lib/dkms/blktap/2.0.93/build/ring.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:31:
/var/lib/dkms/blktap/2.0.93/build/linux-blktap.h:119:24: warning: variably modified ‘pending’ at file scope [enabled by default]
        sizeof(((struct blktap_sring *)0)->ring[0])))
                        ^
/usr/src/linux-headers-3.13-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-3.13-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-3.13-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-3.13-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: In function ‘blktap_ring_mmap_request’:
/var/lib/dkms/blktap/2.0.93/build/ring.c:439:19: error: ‘VM_RESERVED’ undeclared (first use in this function)
  vma->vm_flags |= VM_RESERVED;
                   ^
/var/lib/dkms/blktap/2.0.93/build/ring.c:439:19: note: each undeclared identifier is reported only once for each function it appears in
/var/lib/dkms/blktap/2.0.93/build/ring.c: In function ‘blktap_ring_mmap_sring’:
/var/lib/dkms/blktap/2.0.93/build/ring.c:475:19: error: ‘VM_RESERVED’ undeclared (first use in this function)
  vma->vm_flags |= VM_RESERVED;
                   ^
make[3]: *** [/var/lib/dkms/blktap/2.0.93/build/ring.o] Error 1
make[2]: *** [_module_/var/lib/dkms/blktap/2.0.93/build] Error 2
make[1]: *** [sub-make] Error 2
make: *** [all] Error 2
make: Leaving directory `/usr/src/linux-headers-3.13-1-amd64’

Thanks,

Ant

[-- Attachment #1.2: Type: text/html, Size: 9064 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: blktap-dkms fails to build on Debian Jessie with 3.13 Kernel
  2014-03-21 15:28 blktap-dkms fails to build on Debian Jessie with 3.13 Kernel Antony Messerli
@ 2014-03-21 16:04 ` Ian Campbell
  0 siblings, 0 replies; 2+ messages in thread
From: Ian Campbell @ 2014-03-21 16:04 UTC (permalink / raw)
  To: Antony Messerli; +Cc: xen-devel

On Fri, 2014-03-21 at 15:28 +0000, Antony Messerli wrote:
> When trying to install blktap-dkms on Debian Jessie,

blktap is essentially unmaintained here.

The blktap-dkms stuff even more so as it is actually based on the XCP
"blktap 2.5" fork which was never part of mainline.

Given the XCP provinence you might have better luck on the xenserver.org
lists.

The mainline supported option here is to not use blktap but instead to
use qdisk, which xl will do for you by default.

Ian.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-03-21 16:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-21 15:28 blktap-dkms fails to build on Debian Jessie with 3.13 Kernel Antony Messerli
2014-03-21 16:04 ` Ian Campbell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.