[Pkg-xen-devel] Bug#748953: blktap-dkms: Struct bio was changed in 3.14 breaking build

Antony Messerli amesserl at rackspace.com
Thu May 22 16:14:31 UTC 2014


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

The build fails on 3.14 kernel with the following error:

/var/lib/dkms/blktap/2.0.93/build/ring.c: In function ‘blktap_ring_make_tr_request’:
/var/lib/dkms/blktap/2.0.93/build/ring.c:314:32: error: ‘struct bio’ has no member named ‘bi_sector’
  breq->u.tr.sector_number = bio->bi_sector;
                                ^
Struct bio was changed by commit https://github.com/torvalds/linux/commit/4f024f3797c43cb4b73cd2c50cec728842d0e49e

Changing bio->bi_sector; to bio->bi_iter.bi_sector; allows the module to compile.

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

Kernel: Linux 3.14-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-5
ii  linux-libc-dev  3.14.4-1

Versions of packages blktap-dkms recommends:
ii  linux-headers-amd64  3.14+57

blktap-dkms suggests no packages.

-- no debconf information



More information about the Pkg-xen-devel mailing list