[Pkg-xen-devel] Bug#764132: fails to compile with linux-image-3.16-2-amd64
Marvin Renich
mrvn at renich.org
Sun Oct 5 17:14:48 UTC 2014
Package: blktap-dkms
Version: 2.0.91-1
Severity: normal
With both linux-image-3.2.0-4-amd64 and linux-image-3.16-2-amd64 installed,
blktap fails to compile for the 3.16-2 kernel, but succeeds for the 3.2.0-4
kernel. (Contrary to the dependency listing below, I do have the headers for
3.16-2 installed.)
I am attaching the build log.
-- System Information:
Debian Release: 7.6
APT prefers stable
APT policy: (990, 'stable'), (500, 'testing'), (200, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/4 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.19-11
ii linux-headers-3.2.0-2-amd64 [linux-headers] 3.2.19-1
ii linux-headers-3.2.0-4-amd64 [linux-headers] 3.2.60-1+deb7u3
ii linux-headers-amd64 [linux-headers] 3.2+46
ii linux-libc-dev 3.2.60-1+deb7u3
blktap-dkms recommends no packages.
blktap-dkms suggests no packages.
-- no debconf information
-------------- next part --------------
DKMS make.log for blktap-2.0.91 for kernel 3.16-2-amd64 (x86_64)
Sun Oct 5 12:54:39 EDT 2014
make: Entering directory `/usr/src/linux-headers-3.16-2-amd64'
make[1]: Entering directory `/usr/src/linux-headers-3.16-2-amd64'
CC [M] /var/lib/dkms/blktap/2.0.91/build/control.o
In file included from /var/lib/dkms/blktap/2.0.91/build/linux-blktap.h:66:0,
from /var/lib/dkms/blktap/2.0.91/build/blktap.h:32,
from /var/lib/dkms/blktap/2.0.91/build/control.c:30:
/var/lib/dkms/blktap/2.0.91/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.16-2-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.16-2-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.16-2-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.16-2-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.91/build/linux-blktap.h:117:8: note: in expansion of macro ?__RD32?
((int)__RD32((BLKTAP_PAGE_SIZE - \
^
/var/lib/dkms/blktap/2.0.91/build/blktap.h:75:41: note: in expansion of macro ?BLKTAP_RING_SIZE?
struct blktap_request *pending[BLKTAP_RING_SIZE];
^
CC [M] /var/lib/dkms/blktap/2.0.91/build/ring.o
In file included from /var/lib/dkms/blktap/2.0.91/build/linux-blktap.h:66:0,
from /var/lib/dkms/blktap/2.0.91/build/blktap.h:32,
from /var/lib/dkms/blktap/2.0.91/build/ring.c:30:
/var/lib/dkms/blktap/2.0.91/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.16-2-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.16-2-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.16-2-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.16-2-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.91/build/linux-blktap.h:117:8: note: in expansion of macro ?__RD32?
((int)__RD32((BLKTAP_PAGE_SIZE - \
^
/var/lib/dkms/blktap/2.0.91/build/blktap.h:75:41: note: in expansion of macro ?BLKTAP_RING_SIZE?
struct blktap_request *pending[BLKTAP_RING_SIZE];
^
/var/lib/dkms/blktap/2.0.91/build/ring.c: In function ?blktap_ring_map_request?:
/var/lib/dkms/blktap/2.0.91/build/ring.c:206:2: error: too few arguments to function ?do_mmap_pgoff?
addr = do_mmap_pgoff(filp, addr, len, prot, flags, pgoff);
^
In file included from /usr/src/linux-headers-3.16-2-common/include/linux/pagemap.h:7:0,
from /usr/src/linux-headers-3.16-2-common/include/linux/blkdev.h:14,
from /var/lib/dkms/blktap/2.0.91/build/ring.c:27:
/usr/src/linux-headers-3.16-2-common/include/linux/mm.h:1825:22: note: declared here
extern unsigned long do_mmap_pgoff(struct file *file, unsigned long addr,
^
/var/lib/dkms/blktap/2.0.91/build/ring.c: In function ?blktap_ring_make_tr_request?:
/var/lib/dkms/blktap/2.0.91/build/ring.c:306:32: error: ?struct bio? has no member named ?bi_sector?
breq->u.tr.sector_number = bio->bi_sector;
^
/var/lib/dkms/blktap/2.0.91/build/ring.c: In function ?blktap_ring_mmap_request?:
/var/lib/dkms/blktap/2.0.91/build/ring.c:438:19: error: ?VM_RESERVED? undeclared (first use in this function)
vma->vm_flags |= VM_RESERVED;
^
/var/lib/dkms/blktap/2.0.91/build/ring.c:438:19: note: each undeclared identifier is reported only once for each function it appears in
/var/lib/dkms/blktap/2.0.91/build/ring.c: In function ?blktap_ring_mmap_sring?:
/var/lib/dkms/blktap/2.0.91/build/ring.c:474:19: error: ?VM_RESERVED? undeclared (first use in this function)
vma->vm_flags |= VM_RESERVED;
^
make[3]: *** [/var/lib/dkms/blktap/2.0.91/build/ring.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-3.16-2-amd64'
More information about the Pkg-xen-devel
mailing list