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.
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 dfn.dl. sourceforge. net/sourceforge /iscsitarget/ iscsitarget- 0.4.16. tar.gz 0.4.16. tar.gz iscsitarget/ iscsitarget- 0.4.16/ kernel . iscsitarget- 0.4.16/ include .
cd /usr/src
wget http://
tar -xzf iscsitarget-
tar -xjf iscsitarget.tar.bz2
cd modules/
rm -r include/ kernel/
cp -a /usr/src/
cp -a /usr/src/
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