group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #12227
[Bug 1668808] Re: [Xenial] iscsitarget-dkms 1.4.20.3+svn502-2ubuntu4: iscsitarget kernel module failed to build [error: field ‘rx_hash’ has incomplete type]
This bug was fixed in the package iscsitarget -
1.4.20.3+svn502-2ubuntu4.1
---------------
iscsitarget (1.4.20.3+svn502-2ubuntu4.1) xenial; urgency=medium
* d/dkms.conf.in: iscsitarget has been removed from 16.10 and does not
build against kernels from that release and on. Users are
recommended to use the in-kernel iscsi_target_mod driver and tgt.
Disable the dkms build on HWE kernels for 16.04 (LP: #1668808).
-- Nishanth Aravamudan <nish.aravamudan@xxxxxxxxxxxxx> Mon, 20 Mar
2017 17:22:23 -0700
** Changed in: iscsitarget (Ubuntu Xenial)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1668808
Title:
[Xenial] iscsitarget-dkms 1.4.20.3+svn502-2ubuntu4: iscsitarget kernel
module failed to build [error: field ‘rx_hash’ has incomplete type]
Status in iscsitarget package in Ubuntu:
Invalid
Status in iscsitarget source package in Xenial:
Fix Released
Status in iscsitarget source package in Yakkety:
Invalid
Bug description:
[Impact]
* The src:iscsitarget package was removed from 16.10 (LP: #1613758).
* Therefore, the iscsitarget-dkms package is no longer tested with
16.10+ kernels to ensure it still compiles.
* The HWE stacks for 16.04 backport the 16.10+ kernels to 16.04.x.
* End users who successfully built the iscistarget driver on
16.04.0/1 kernels (4.4.0-*) will see failures with the HWE kernels.
* iscsitarget and iscsitarget-dkms packages are not technically
needed on 16.04 at all. There is an iSCSI target driver
(iscsi_target_mod) in the Ubuntu kernel and the iscistarget tooling
can be replaced with tgt.
[Test Case]
* Install iscsitarget-dkms while having the 16.04.2 headers
installed. The module build will fail (and apport if on a desktop will
attempt to submit a bug report).
* In the fixed case, iscsitarget-dkms will see the specified kernel
is not supported by the regex and will skip attempting to build.
[Regression Potential]
* Currently, the iscsitarget-dkms throws an error. The error is
actually in the use of iscsitarget-dkms at all with newer kernels, and
hopefully if end-users depend on it and see the 'skipped' message,
they will come to this bug via the changelog. I do not believe there
is any regression potential, as I have tested that 4.4.0-* kernels
still build the dkms module fine and that all other 16.04 kernel
families skip it.
---
I am unable to build the iscsitarget DKMS module on a fresh install of
Ubuntu 16.04.2 LTS. Console output is replicated here; the associated
make.log file is attached.
Setting up iscsitarget-dkms (1.4.20.3+svn502-2ubuntu4) ...
Creating symlink /var/lib/dkms/iscsitarget/1.4.20.3+svn502/source ->
/usr/src/iscsitarget-1.4.20.3+svn502
DKMS: add completed.
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area....
make KERNELRELEASE=4.8.0-39-generic -C /lib/modules/4.8.0-39-generic/build M=/var/lib/dkms/iscsitarget/1.4.20.3+svn502/build....(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.8.0-39-generic (i686)
Consult /var/lib/dkms/iscsitarget/1.4.20.3+svn502/build/make.log for more information.
Removing old iscsitarget-1.4.20.3+svn502 DKMS files...
------------------------------
Deleting module version: 1.4.20.3+svn502
completely from the DKMS tree.
------------------------------
Done.
Loading new iscsitarget-1.4.20.3+svn502 DKMS files...
First Installation: checking all kernels...
Building only for 4.8.0-39-generic
Building initial module for 4.8.0-39-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/iscsitarget-dkms.0.crash'
Error! Bad return status for module build on kernel: 4.8.0-39-generic (i686)
Consult /var/lib/dkms/iscsitarget/1.4.20.3+svn502/build/make.log for more information.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/iscsitarget/+bug/1668808/+subscriptions