dkms module fails to build with: error: implicit declaration of function ‘get_io_context’

Bug #1045706 reported by James Page
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
iscsitarget (Debian)
Fix Released
Unknown
iscsitarget (Ubuntu)
Fix Released
High
James Page
Quantal
Fix Released
High
James Page

Bug Description

Probably a compatibility issue between iscsitarget and the 3.5 kernel:

DKMS make.log for iscsitarget-1.4.20.2 for kernel 3.5.0-13-generic (x86_64)
Tue Sep 4 10:06:39 BST 2012
make: Entering directory `/usr/src/linux-headers-3.5.0-13-generic'
  LD /var/lib/dkms/iscsitarget/1.4.20.2/build/built-in.o
  LD /var/lib/dkms/iscsitarget/1.4.20.2/build/kernel/built-in.o
  CC [M] /var/lib/dkms/iscsitarget/1.4.20.2/build/kernel/tio.o
  CC [M] /var/lib/dkms/iscsitarget/1.4.20.2/build/kernel/iscsi.o
  CC [M] /var/lib/dkms/iscsitarget/1.4.20.2/build/kernel/nthread.o
/var/lib/dkms/iscsitarget/1.4.20.2/build/kernel/nthread.c: In function ‘do_recv’:
/var/lib/dkms/iscsitarget/1.4.20.2/build/kernel/nthread.c:145:1: warning: the frame size of 1104 bytes is larger than 1024 bytes [-Wframe-larger-than=]
  CC [M] /var/lib/dkms/iscsitarget/1.4.20.2/build/kernel/wthread.o
/var/lib/dkms/iscsitarget/1.4.20.2/build/kernel/wthread.c: In function ‘worker_thread’:
/var/lib/dkms/iscsitarget/1.4.20.2/build/kernel/wthread.c:76:3: error: implicit declaration of function ‘get_io_context’ [-Werror=implicit-function-declaration]
/var/lib/dkms/iscsitarget/1.4.20.2/build/kernel/wthread.c:76:21: warning: assignment makes pointer from integer without a cast [enabled by default]
cc1: some warnings being treated as errors
make[2]: *** [/var/lib/dkms/iscsitarget/1.4.20.2/build/kernel/wthread.o] Error 1
make[1]: *** [/var/lib/dkms/iscsitarget/1.4.20.2/build/kernel] Error 2
make: *** [_module_/var/lib/dkms/iscsitarget/1.4.20.2/build] Error 2
make: Leaving directory `/usr/src/linux-headers-3.5.0-13-generic'

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: iscsitarget-dkms 1.4.20.2-5ubuntu3
ProcVersionSignature: Ubuntu 3.5.0-13.14-generic 3.5.3
Uname: Linux 3.5.0-13-generic x86_64
ApportVersion: 2.5.1-0ubuntu4
Architecture: amd64
Date: Tue Sep 4 10:07:15 2012
PackageArchitecture: all
SourcePackage: iscsitarget
UpgradeStatus: Upgraded to quantal on 2012-06-11 (84 days ago)

Revision history for this message
James Page (james-page) wrote :
James Page (james-page)
Changed in iscsitarget (Ubuntu):
importance: Undecided → High
Changed in iscsitarget (Ubuntu Quantal):
status: New → In Progress
assignee: nobody → James Page (james-page)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package iscsitarget - 1.4.20.2-10ubuntu1

---------------
iscsitarget (1.4.20.2-10ubuntu1) quantal; urgency=low

  * Merge from Debian testing. Remaining changes:
    - d/iscsitarget.init: If module unloading fails after stopping ietd,
      report it but still exit zero since this doesn't justify causing
      package operations to fail.
    - d/docs: Install README.initiators and README.mcs.
    - d/p/fix-send-data-rsp.patch: Pick change @462 from upstream svn to
      prevent a assertion failure in iscsi.c@492.
    - d/p/linux-3.2-includes.patch: Add additional includes of linux/export.h
      and linux/module.h, resolving dkms build failures with > linux 3.2.
    - d/p/fix-dkms.patch: Add missing patch entries to the dkms.conf file.
  * Fix DKMS compatibility with Linux 3.5 kernel (LP: #1045706):
    - d/p/iscsitarget-svn{444,471}.patch: Cherry picked patches from
      upstream VCS trunk, resolving dkms build failures with > linux 3.5.
    - d/p/fix-linux3.5.patch: Rework usage of ioc_task_link, resolving
      dkms build failures with > linux 3.5.
  * Ensure ietadm can detect inactive sessions (LP: #967984):
    - d/p/iscsitarget-svn478.patch: Cherry picked patch from upstream
      VCS trunk which ensures that events are propagated correctly to
      ietd.

iscsitarget (1.4.20.2-10) unstable; urgency=low

  * [2bebbc2] don't prompt on modified conffiles.
    Thanks to Andreas Beckmann (Closes: #661397)
  * Upload to unstable

iscsitarget (1.4.20.2-9) experimental; urgency=low

  * [7ad9219] Clean up old sysctl knob.
    Thanks to Martin Braure de Calignon (Closes: #645582)
  * [0802fff] Use corrent message type.
    Thanks to Vincent Pelletier (Closes: #647923)
  * [dcab13f] Drop unmaintained iscsitarget-source package
  * [099cc1a] add quilt header to patch
  * [93dc585] Fix LSB Headers

iscsitarget (1.4.20.2-8) experimental; urgency=low

  * [735c872] Add patch to fix build on 3.2 kernels (Closes: #659560)

iscsitarget (1.4.20.2-7) unstable; urgency=low

  * [6ea2c52] Patch clean-up
  * [627d8e4] Enable hardened build flags.
    Thanks to Moritz Muehlenhoff (Closes: #656867)

iscsitarget (1.4.20.2-6) unstable; urgency=low

  * SVN 1.4.20@453 - Co-ordinated with upstream on the stability of the tree
  * [494142b] Drop double installation of upstream changelog.
    Thanks to Christian Pernegger (Closes: #633005)
  * [71de4f8] Add package linux-headers to Recommends.
    Thanks to George Shuklin (Closes: 636157, 628428)
  * [8344c44] Add support to provide daemon options.
    Thanks to Alfredo Sola, Robbert Rijkse (Closes: 609582, 545536)
  * [8208ade] Drop debian/30-iscsitarget.conf. (Closes: 636497)
    We should not play with kernel sysct knobs right from the package.
    Setting those values will depend on a per machine basis
  * [0e96f0e] Update Standards Version to 3.9.2. No changes required
 -- James Page <email address hidden> Tue, 04 Sep 2012 13:43:21 +0100

Changed in iscsitarget (Ubuntu Quantal):
status: In Progress → Fix Released
Changed in iscsitarget (Debian):
status: Unknown → New
Changed in iscsitarget (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.