[Pkg-xen-devel] Bug#742515: blktap-dkms: blktapblktap kernel module failed to build

Antony Messerli amesserl at rackspace.com
Mon Mar 24 16:57:40 UTC 2014


Package: blktap-dkms
Version: 2.0.93-0.1
Severity: serious
Justification: fails to build from source (but built successfully in the past)

blktap fails to build on kernel 3.13 and probably older kernels as well.  According to this bug: https://bugs.launchpad.net/ubuntu/+source/blktap-dkms/+bug/1245009 VM_RESERVED is deprecated as of 3.7.  Building with the patch described in that bug allows for blktap to build properly.

Diff for reference:

--- ring.c.orig	2013-10-26 23:53:39.300000000 +0900
+++ ring.c	2013-10-26 20:35:26.301000000 +0900
@@ -39,6 +39,10 @@
   */
 #define RING_PAGES 1

+#ifndef VM_RESERVED
+# define VM_RESERVED (VM_DONTEXPAND | VM_DONTDUMP)
+#endif
+
 #define BLKTAP_INFO_SIZE_AT(_memb)	 \
  offsetof(struct blktap_device_info, _memb) +	\
  sizeof(((struct blktap_device_info*)0)->_memb)


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.13-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages blktap-dkms depends on:
ii  dkms            2.2.0.3-1.2
ii  libc6-dev       2.18-4
ii  linux-libc-dev  3.13.5-1

Versions of packages blktap-dkms recommends:
ii  linux-headers-amd64  3.13+56

blktap-dkms suggests no packages.

-- no debconf information



More information about the Pkg-xen-devel mailing list