iscsitarget-dkms

Magnus Löfqvist

New Member
Jan 19, 2017
3
0
1
44
Hi,

We are doing some testing with zfs, and are setting up a storage server.
As we also (in case of need) are planing to run some vm on the storage server (for rescue/recovery) we are installing it with pve, and made it member of the cluster.

But when installing iscsitarget-dkms it fails the build and it wont let me start ietd. (missing kernel module).

Some errors:
/var/lib/dkms/iscsitarget/1.4.20.3+svn502/build/kernel/iscsi.c: In function ‘cmnd_skip_pdu’:
/var/lib/dkms/iscsitarget/1.4.20.3+svn502/build/kernel/iscsi.c:492:16: error: ‘struct msghdr’ has no member named ‘msg_iov’
conn->read_msg.msg_iov = conn->read_iov;

As I google around a noticed that this was quite common. But couldent find any solution that seems to work.

Running latest PVE (4.4) and kernel 4.4.35-2-pve

Any idéas?

// Magnus
 
you need to get icsitarget source code compatible with the 4.4 kernel and build it yourself (manually or with DKMS). the -dkms packages from Debian Jessie are generally only tested / compatible with the Debian Jessie kernel (which is 3.16 based)