Comment 2 for bug 208281

Revision history for this message
Wido den Hollander (wido) wrote :

I got it working under Hardy by downloading the newest source from the IET website.

I extracted iscsitarget.tar.bz2 in /usr/src and replaced the "kernel" and "include" directory with the directories in the latest version from the IET website.

This is how i did it:

apt-get install iscsitarget-source
cd /usr/src
wget http://dfn.dl.sourceforge.net/sourceforge/iscsitarget/iscsitarget-0.4.16.tar.gz
tar -xzf iscsitarget-0.4.16.tar.gz
tar -xjf iscsitarget.tar.bz2
cd modules/iscsitarget/
rm -r include/ kernel/
cp -a /usr/src/iscsitarget-0.4.16/kernel .
cp -a /usr/src/iscsitarget-0.4.16/include .
cd /usr/src
tar -cjf iscsitarget.tar.bz2 modules
m-a a-i iscsitarget

I know this is not THE best way, since i download a new version of IET, but it fixes it for me.

FYI, i am running the Ubuntu Hardy Beta1