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.
The bug is relatively simple to be solved (at least, it worked for me).
1 - apt-get install iscsitarget iscsitarget-dkms iscsitarget- 1.4.20. 3+svn499/ kernel and edit the file block-io.c
2 - You will get an error compiling the DKMS module. That's OK.
3 - go to the folder /usr/src/
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 :)