ietd (iscsitarget) - kernel module version mismatch

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • ietd (iscsitarget) - kernel module version mismatch

      When I trying to run iscitarget service, this message appears:
      root@KASZT-DEV25-NAS:/etc/init.d# /etc/init.d/iscsitarget status
      iSCSI enterprise target is not running ... failed!
      root@KASZT-DEV25-NAS:/etc/init.d# ietd -f -d 9
      1394977712.151820: kernel module version mismatch!

      Where I can get compatibile kernel or precompiled iscsi daemon (ietd) for my kernel from packageage iscsitarget ?

      my kernel:
      root@KASZT-DEV25-NAS:/etc/init.d# uname -a
      Linux KASZT-DEV25-NAS 2.6.32-5-amd64 #1 SMP Mon Sep 23 22:14:43 UTC 2013 x86_64 GNU/Linux

      modules and plugnin version:
      root@KASZT-DEV25-NAS:/etc/init.d# dpkg -l |grep -i iscsi
      ii iscsitarget 1.4.20.2-1 iSCSI Enterprise Target userland tools
      ii iscsitarget-dkms 1.4.20.3+svn496-1 iSCSI Enterprise Target kernel module source - dkms version
      ii iscsitarget-module-dkms 0.3 iSCSI Enterprise Target module for Linux
      ii openmediavault-iscsitarget 0.5.5 OpenMediaVault iSCSI Enterprise Target plugin


      Thanks for reply
      Kris
    • Re: ietd (iscsitarget) - kernel module version mismatch

      root@KASZT-DEV25-NAS:/etc/init.d# modinfo iscsi_trgt
      filename: /lib/modules/2.6.32-5-amd64/updates/dkms/iscsi_trgt.ko
      author: IET development team <iscsitarget-devel@lists.sourceforge.net>
      description: iSCSI Enterprise Target
      license: GPL
      version: trunk
      srcversion: E798B37E701E9615602EA4E
      depends:
      vermagic: 2.6.32-5-amd64 SMP mod_unload modversions
      parm: worker_thread_pool_size:Size of the worker thread pool (0 = dedicated threads per target (default)) (ulong)
      parm: debug_enable_flags:debug bitmask, low bits (0 ... 8) used, see iscsi_dbg.h (ulong)
    • Re: ietd (iscsitarget) - kernel module version mismatch

      Try to purge the plugin again including everything it installed, then reboot and try to install it again. The module was not compiled correctly against your kernel.

      Greetings
      David
      "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"

      Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.


      Upload Logfile via WebGUI/CLI
      #openmediavault on freenode IRC | German & English | GMT+1
      Absolutely no Support via PM!

      I host parts of the omv-extras.org Repository, the OpenMediaVault Live Demo and the pre-built PXE Images. If you want you can take part and help covering the costs by having a look at my profile page.
    • Re: ietd (iscsitarget) - kernel module version mismatch

      "davidh2k" wrote:

      Try to purge the plugin again including everything it installed, then reboot and try to install it again. The module was not compiled correctly against your kernel.
      Greetings
      David


      Just to help, everything means also dkms. I have done this:

      Source Code

      1. apt-get purge iscsitarget openmediavault-iscsitarget
      2. apt-get purge iscsitarget-dkms iscsitarget-module-dkms
      3. #just to be sure that all not needed things are done (nothing has been removed)
      4. apt-get autoremove
      5. #than install it again:
      6. apt-get install openmediavault-iscsitarget


      It has recompiled kernel module to match backport kernel and it is working. I have now installed this:

      Source Code

      1. root@nas:~# dpkg -l |grep -i iscsi
      2. ii iscsitarget 1.4.20.2-1 iSCSI Enterprise Target userland tools
      3. ii iscsitarget-dkms 1.4.20.3+svn496-1 iSCSI Enterprise Target kernel module source - dkms version
      4. ii iscsitarget-module-dkms 0.3 iSCSI Enterprise Target module for Linux
      5. ii openmediavault-iscsitarget 0.5.5 OpenMediaVault iSCSI Enterprise Target plugin


      I have this problem bugtracker.openmediavault.org/view.php?id=889. I have had working iscsi and than installed backport which broke my iscsi.

      Source Code

      1. root@nas:~# ietd -f -d 9
      2. 1399839273.878329: kernel module version mismatch!
      3. root@nas:~# modinfo iscsi_trgt
      4. filename: /lib/modules/3.2.0-0.bpo.4-amd64/updates/dkms/iscsi_trgt.ko
      5. author: IET development team <iscsitarget-devel@lists.sourceforge.net>
      6. description: iSCSI Enterprise Target
      7. license: GPL
      8. version: trunk
      9. srcversion: F755820454CE9B8BB09723A
      10. depends:
      11. vermagic: 3.2.0-0.bpo.4-amd64 SMP mod_unload modversions
      12. parm: worker_thread_pool_size:Size of the worker thread pool (0 = dedicated threads per target (default)) (ulong)
      13. parm: debug_enable_flags:debug bitmask, low bits (0 ... 8) used, see iscsi_dbg.h (ulong)
      14. root@nas:~# uname -a
      15. Linux nas 3.2.0-0.bpo.4-amd64 #1 SMP Debian 3.2.54-2~bpo60+1 x86_64 GNU/Linux
      Display All


      PS: When I have started writing this post I have strong believe in that not reinstaling dkms is the problem and its reinstaling will solve my problem. Problem remains. Please have a look at my last constole output and give me some advice what to try. Thanks.