iscsitarget-dkms fails to build on 14.04
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | iscsitarget (Ubuntu) |
High
|
Stefan Bader | ||
| | Trusty |
High
|
Stefan Bader | ||
Bug Description
#aptitude install iscsitarget iscsitarget-dkms
[...]
-------
Deleting module version: 1.4.20.3+svn499
completely from the DKMS tree.
-------
Done.
Entpacken von iscsitarget-dkms (1.4.20.
Trigger für ureadahead (0.100.0-16) werden verarbeitet ...
Trigger für man-db (2.6.7.1-1ubuntu1) werden verarbeitet ...
iscsitarget (1.4.20.
* iscsitarget not enabled in "/etc/default/
iscsitarget-dkms (1.4.20.
Creating symlink /var/lib/
DKMS: add completed.
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area....
make KERNELRELEASE=
Error! Bad return status for module build on kernel: 3.19.0-25-generic (x86_64)
Consult /var/lib/
#cat /var/lib/
DKMS make.log for iscsitarget-
Mo 10. Aug 23:28:38 CEST 2015
make: Verzeichnis »/usr/src/
LD /var/lib/
LD /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
/var/lib/
/var/lib/
conn-
^
/var/lib/
conn-
^
/var/lib/
/var/lib/
conn-
^
/var/lib/
conn-
^
/var/lib/
conn-
^
/var/lib/
/var/lib/
conn-
^
/var/lib/
conn-
^
/var/lib/
/var/lib/
case SERVICE_ACTION_IN:
^
/var/lib/
make[2]: *** [/var/lib/
make[1]: *** [/var/lib/
make: *** [_module_
make: Verzeichnis »/usr/src/
#lsb_release -rd
Description: Ubuntu 14.04.3 LTS
Release: 14.04
#apt-cache policy iscsitarget-dkms
iscsitarget-dkms:
Installiert: 1.4.20.
Installations
Versionstabelle:
*** 1.4.20.
500 http://
100 /var/lib/
| description: | updated |
| description: | updated |
| tags: | added: hwe-dkms |
| zoff99 (zoff) wrote : | #2 |
is there any workaround until this is fixed?
| zoff99 (zoff) wrote : | #3 |
if you replace all
"struct msghdr"
with
"struct user_msghdr"
it will compile, but it won't work ...
| Robie Basak (racb) wrote : | #4 |
Unless you specifically need an HWE kernel (default with 14.04.3), you could downgrade to the 14.04.1 kernel and then it might work. See https:/
| Stefan Bader (smb) wrote : | #5 |
Could you try updating the HWE kernel. This should be fixed in 3.19.0-26* onwards.
| zoff99 (zoff) wrote : | #6 |
i am running:
3.19.0-25-generic #26~14.04.1-Ubuntu
are you iscsi target is working with 3.19.0-26 ? can you give the source of your information?
| Stefan Bader (smb) wrote : | #7 |
Right you are runnint 3.19.0-25* not 3.19.0-26*. Cannot give you a link, but internal testing has this version as working:
iscsitarget, 1.4.20.3+svn502, 3.19.0-26-generic, x86_64: installed
| Steve R (sdeve) wrote : | #8 |
I have the same build error on 3.19.0-28.
It's frustrating there is no workaround.
| zoff99 (zoff) wrote : | #9 |
now i am using this now instead:
https:/
download, make, install. it works great.
why ubunutu would release without working iscsitarget support is bejond me :-(
| Stefan Bader (smb) wrote : | #10 |
Unfortunately there are a lot of variations with HWE kernels, so I also got hit by not noticing there is the correct testing missing for 14.04 userspace/dkms with the 3.19 kernel. Sorry about that. Only good here is that iscsitarget is universe, so it is not part of the iso. Just that a fix needs to be done for the archive. Could someone give the two debs a go before I try to get the source uploaded?
| Stefan Bader (smb) wrote : | #11 |
| Galip Ermis (galip) wrote : | #12 |
Nice workaround Stefan. At least I can go on now.
root@file01:~# dpkg -i iscsitarget-
(Reading database ... 101359 files and directories currently installed.)
Preparing to unpack iscsitarget-
-------
Deleting module version: 1.4.20.3+svn499
completely from the DKMS tree.
-------
Done.
Unpacking iscsitarget-dkms (1.4.20.
Setting up iscsitarget-dkms (1.4.20.
Creating symlink /var/lib/
DKMS: add completed.
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area....
make KERNELRELEASE=
cleaning build area....
DKMS: build completed.
iscsi_trgt:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/
depmod.
DKMS: install completed.
| Changed in iscsitarget (Ubuntu Trusty): | |
| assignee: | nobody → Stefan Bader (smb) |
| importance: | Undecided → High |
| status: | New → In Progress |
| Changed in iscsitarget (Ubuntu): | |
| status: | Confirmed → In Progress |
| importance: | Undecided → High |
| assignee: | nobody → Andy Whitcroft (apw) |
| assignee: | Andy Whitcroft (apw) → Stefan Bader (smb) |
| Changed in iscsitarget (Ubuntu): | |
| status: | In Progress → Fix Committed |
| Launchpad Janitor (janitor) wrote : | #13 |
This bug was fixed in the package iscsitarget - 1.4.20.
---------------
iscsitarget (1.4.20.
* Fix the compat-3.13.patch to not touch the top-level makefile. Will
allow to backport this version into older (kernel 3.13 and older)
releases (LP: #1483415).
* Add a check for the DKMS kernel module to d/tests/daemon dep-8 test
(LP: #1496057)
-- Stefan Bader <email address hidden> Wed, 16 Sep 2015 13:28:21 +0200
| Changed in iscsitarget (Ubuntu): | |
| status: | Fix Committed → Fix Released |
Hello Axel, or anyone else affected,
Accepted iscsitarget into trusty-proposed. The package will build now and be available at https:/
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-
Further information regarding the verification process can be found at https:/
| Changed in iscsitarget (Ubuntu Trusty): | |
| status: | In Progress → Fix Committed |
| tags: | added: verification-needed |
| Stefan Bader (smb) wrote : | #15 |
I checked the ADT logs and the 1.4.20.
| tags: |
added: verification-done removed: verification-needed |
| Launchpad Janitor (janitor) wrote : | #16 |
This bug was fixed in the package iscsitarget - 1.4.20.
---------------
iscsitarget (1.4.20.
* Backport compat changes to allow DKMS compiles for kernels up to 3.19
(LP: #1483415).
- d/p/fix-build-3.19: Modifies source to compile with 3.19
- d/p/add-
- d/p/enable-
* Add a check for the DKMS kernel module to d/tests/daemon dep-8 test
(LP: #1496057)
-- Stefan Bader <email address hidden> Wed, 16 Sep 2015 13:29:48 +0200
| Changed in iscsitarget (Ubuntu Trusty): | |
| status: | Fix Committed → Fix Released |
The verification of the Stable Release Update for iscsitarget has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.


Status changed to 'Confirmed' because the bug affects multiple users.