Hmm, it seems this can happen due to out-of-date kernels. E.g. running kernel vs installed kernel (headers).
I was able to resolve for myself by installing the latest kernel headers and reinstalling. $ apt-get install linux-headers-4.4.0-64-generic # then to trigger all the DKMS again $ apt-get install --reinstall iscsitarget-dkms Full build of all modules http://paste.ubuntu.com/24083415/ In my case I had a outdated lxd guest (4.4-0.63) and a host running 4.4-0.64 already. That caused my mismatch Is your current kernel matching the installed headers? $ dpkg -l '*linux*head*' $ uname -r Since it is DKMS actually have you headers for all installed kernels (maybe time to clean up some)? Are all kernels or just one failing? ** Changed in: iscsitarget (Ubuntu) Status: Confirmed => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1654011 Title: iscsi target not DKMS compiling for kernel 4.4.0-57 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/iscsitarget/+bug/1654011/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs