[Bug 1376800] [NEW] iscsitarget doesn't support kernel-ppa 3.14 or 3.16
Walter Huf
hufman at gmail.com
Thu Oct 2 15:28:23 UTC 2014
Public bug reported:
I'm using an updated kernel from http://kernel.ubuntu.com/~kernel-
ppa/mainline/ on Ubuntu 14.04. The DKMS (iscsitarget-dkms
1.4.20.3+svn499-0ubuntu2) fails to build for both 3.14 or 3.16, with the
following error:
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area.....
make KERNELRELEASE=3.16.3-031603-generic -C /lib/modules/3.16.3-031603-generic/build M=/var/lib/dkms/iscsitarget/1.4.20.3+svn499/build............(bad exit status: 2)
ERROR (dkms apport): kernel package linux-headers-3.16.3-031603-generic is not supported
Error! Bad return status for module build on kernel: 3.16.3-031603-generic (x86_64)
Consult /var/lib/dkms/iscsitarget/1.4.20.3+svn499/build/make.log for more information.
The log contains these messages:
...
CC [M] /var/lib/dkms/iscsitarget/1.4.20.3+svn499/build/kernel/target_disk.o
CC [M] /var/lib/dkms/iscsitarget/1.4.20.3+svn499/build/kernel/event.o
CC [M] /var/lib/dkms/iscsitarget/1.4.20.3+svn499/build/kernel/param.o
CC [M] /var/lib/dkms/iscsitarget/1.4.20.3+svn499/build/kernel/block-io.o
/var/lib/dkms/iscsitarget/1.4.20.3+svn499/build/kernel/block-io.c: In function ‘blockio_make_request’:
/var/lib/dkms/iscsitarget/1.4.20.3+svn499/build/kernel/block-io.c:90:6: error: ‘struct bio’ has no member named ‘bi_sector’
bio->bi_sector = ppos >> 9;
^
make[2]: *** [/var/lib/dkms/iscsitarget/1.4.20.3+svn499/build/kernel/block-io.o] Error 1
make[1]: *** [/var/lib/dkms/iscsitarget/1.4.20.3+svn499/build/kernel] Error 2
make: *** [_module_/var/lib/dkms/iscsitarget/1.4.20.3+svn499/build] Error 2
make: Leaving directory `/usr/src/linux-headers-3.16.3-031603-generic'
** Affects: iscsitarget (Ubuntu)
Importance: Undecided
Status: New
** Attachment added: "The build log"
https://bugs.launchpad.net/bugs/1376800/+attachment/4222526/+files/make.log
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to iscsitarget in Ubuntu.
https://bugs.launchpad.net/bugs/1376800
Title:
iscsitarget doesn't support kernel-ppa 3.14 or 3.16
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/iscsitarget/+bug/1376800/+subscriptions
More information about the Ubuntu-server-bugs
mailing list