The bug is relatively simple to be solved (at least, it worked for me). 1 - apt-get install iscsitarget iscsitarget-dkms 2 - You will get an error compiling the DKMS module. That's OK. 3 - go to the folder /usr/src/iscsitarget-1.4.20.3+svn499/kernel and edit the file block-io.c 4 - go to line #90, and change this:
bio->bi_sector = ppos >> 9; to this: bio->bi_iter.bi_sector = ppos >> 9; 5 - save and close the file. 6 - dpkg-reconfigure iscsitarget-dkms 7 - it should be working by now. I've tested the module on 14.04.2 LTS, with somewhat big loads (~30Gb of transfer) and it worked pretty well. Hope it helps somebody :) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1447916 Title: iscsitarget-dkms 1.4.20.3+svn499-0ubuntu2: iscsitarget kernel module failed to build To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/iscsitarget/+bug/1447916/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
