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

  • 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)

  • 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!

  • Quote from "davidh2k"

    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:


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


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

    Code
    root@nas:~# 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


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



    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.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!