iscsi_trgt missing because can't build kernel moduleModules aren't loading - or something even more serious is wrongWhy doesn't the IR module lirc_ene0100 exist in kernel 2.6.36?Triggering driver module rebuild on kernel updateHow do I build a single in-tree kernel module?Creating Kernel Module without SudoI am trying to build a Realtek 8723e module for my wireless but I am getting errorsWhat package provides the “wl” kernel module?How are kernel modules in /etc/modules determined (because one of mine fails to load)?Build Apache module in Ciscsi_trgt module for kernel 4.5

Importance of differentiation

Why does Deadpool say "You're welcome, Canada," after shooting Ryan Reynolds in the end credits?

What does it mean to make a bootable LiveUSB?

Life insurance that covers only simultaneous/dual deaths

Meaning of "SEVERA INDEOVI VAS" from 3rd Century slab

Theorems like the Lovász Local Lemma?

Does this AnyDice function accurately calculate the number of ogres you make unconcious with three 4th-level castings of Sleep?

Dot in front of file

Is it true that real estate prices mainly go up?

Replacing Windows 7 security updates with anti-virus?

How is the Swiss post e-voting system supposed to work, and how was it wrong?

Science-fiction short story where space navy wanted hospital ships and settlers had guns mounted everywhere

How to explain that I do not want to visit a country due to personal safety concern?

The use of "touch" and "touch on" in context

Sword in the Stone story where the sword was held in place by electromagnets

What are the possible solutions of the given equation?

Will a pinhole camera work with instant film?

Provisioning profile doesn't include the application-identifier and keychain-access-groups entitlements

Does the statement `int val = (++i > ++j) ? ++i : ++j;` invoke undefined behavior?

Co-worker team leader wants to inject his friend's awful software into our development. What should I say to our common boss?

Why are the outputs of printf and std::cout different

Why do passenger jet manufacturers design their planes with stall prevention systems?

Have researchers managed to "reverse time"? If so, what does that mean for physics?

At what level can a dragon innately cast its spells?



iscsi_trgt missing because can't build kernel module


Modules aren't loading - or something even more serious is wrongWhy doesn't the IR module lirc_ene0100 exist in kernel 2.6.36?Triggering driver module rebuild on kernel updateHow do I build a single in-tree kernel module?Creating Kernel Module without SudoI am trying to build a Realtek 8723e module for my wireless but I am getting errorsWhat package provides the “wl” kernel module?How are kernel modules in /etc/modules determined (because one of mine fails to load)?Build Apache module in Ciscsi_trgt module for kernel 4.5













5















When attempting to start the iscsitarget service, I get




FATAL: Module iscsi_trgt not found.




Trying to build module using instructions from http://sourceforge.net/apps/mediawiki/iscsitarget/index.php?title=Unofficial_DEBs fails and the build log only has a single line in it saying the build started. Nothing about the failure.










share|improve this question
























  • Which ubuntu-version do you use?

    – Clausi
    Oct 21 '11 at 10:13















5















When attempting to start the iscsitarget service, I get




FATAL: Module iscsi_trgt not found.




Trying to build module using instructions from http://sourceforge.net/apps/mediawiki/iscsitarget/index.php?title=Unofficial_DEBs fails and the build log only has a single line in it saying the build started. Nothing about the failure.










share|improve this question
























  • Which ubuntu-version do you use?

    – Clausi
    Oct 21 '11 at 10:13













5












5








5


3






When attempting to start the iscsitarget service, I get




FATAL: Module iscsi_trgt not found.




Trying to build module using instructions from http://sourceforge.net/apps/mediawiki/iscsitarget/index.php?title=Unofficial_DEBs fails and the build log only has a single line in it saying the build started. Nothing about the failure.










share|improve this question
















When attempting to start the iscsitarget service, I get




FATAL: Module iscsi_trgt not found.




Trying to build module using instructions from http://sourceforge.net/apps/mediawiki/iscsitarget/index.php?title=Unofficial_DEBs fails and the build log only has a single line in it saying the build started. Nothing about the failure.







modules iscsi






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jun 22 '12 at 13:01









jokerdino

32.8k21120187




32.8k21120187










asked Sep 29 '11 at 19:42









bumbling foolbumbling fool

5881517




5881517












  • Which ubuntu-version do you use?

    – Clausi
    Oct 21 '11 at 10:13

















  • Which ubuntu-version do you use?

    – Clausi
    Oct 21 '11 at 10:13
















Which ubuntu-version do you use?

– Clausi
Oct 21 '11 at 10:13





Which ubuntu-version do you use?

– Clausi
Oct 21 '11 at 10:13










3 Answers
3






active

oldest

votes


















5














It depends on your ubuntu-version.



On newer systems (since Maverick) you have to install some additional packets:



sudo aptitude install iscsitarget iscsitarget-source iscsitarget-dkms


This compiles the required module automagically.



On Lucid you have to compile yourself (and maybe again after every kernel-update):



sudo aptitude install iscsitarget iscsitarget-source
# compile with module-assitant
sudo m-a a-i iscsitarget





share|improve this answer

























  • These are the instructions I had followed. The question is how to determine why the compile is failing.

    – bumbling fool
    Oct 19 '11 at 11:17












  • The log-files can be found under /var/cache/modass. Have you tried the -t -v options (text-mode + verbose)?

    – Clausi
    Oct 21 '11 at 10:13











  • In ubuntu 11.10 oneiric ocelot, installing above mentioned packages will automatically compile the required kernel modules and install it to the system. After that, you can run; sudo /etc/init.d/iscsitarget start to start the iscsitarget service. Hope this helps :)

    – nobody
    Dec 15 '11 at 5:26











  • @Sajith, This may be true in general, however the same package broke for me when upgrading from 10.04. I had to apt-get install iscsitarget-dkms to fix it then add the module manually. Not sure why. The above directions did fix it though. :)

    – EnabrenTane
    Jan 4 '12 at 2:09


















2














If none of the solutions are working, try following:



apt-get install --reinstall iscsitarget-dkms


This re-installs the iscsitarget dkms and resolved the problem for me.






share|improve this answer
































    0














    I went through all of the above and couldn't fix the error, but finally got it working with:



    apt purge iscsitarget
    apt install iscsitarget


    If nothing else is working then give this a shot.





    share








    New contributor




    normalmighty is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.



















      Your Answer








      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "89"
      ;
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function()
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled)
      StackExchange.using("snippets", function()
      createEditor();
      );

      else
      createEditor();

      );

      function createEditor()
      StackExchange.prepareEditor(
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader:
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      ,
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );













      draft saved

      draft discarded


















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f63621%2fiscsi-trgt-missing-because-cant-build-kernel-module%23new-answer', 'question_page');

      );

      Post as a guest















      Required, but never shown

























      3 Answers
      3






      active

      oldest

      votes








      3 Answers
      3






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      5














      It depends on your ubuntu-version.



      On newer systems (since Maverick) you have to install some additional packets:



      sudo aptitude install iscsitarget iscsitarget-source iscsitarget-dkms


      This compiles the required module automagically.



      On Lucid you have to compile yourself (and maybe again after every kernel-update):



      sudo aptitude install iscsitarget iscsitarget-source
      # compile with module-assitant
      sudo m-a a-i iscsitarget





      share|improve this answer

























      • These are the instructions I had followed. The question is how to determine why the compile is failing.

        – bumbling fool
        Oct 19 '11 at 11:17












      • The log-files can be found under /var/cache/modass. Have you tried the -t -v options (text-mode + verbose)?

        – Clausi
        Oct 21 '11 at 10:13











      • In ubuntu 11.10 oneiric ocelot, installing above mentioned packages will automatically compile the required kernel modules and install it to the system. After that, you can run; sudo /etc/init.d/iscsitarget start to start the iscsitarget service. Hope this helps :)

        – nobody
        Dec 15 '11 at 5:26











      • @Sajith, This may be true in general, however the same package broke for me when upgrading from 10.04. I had to apt-get install iscsitarget-dkms to fix it then add the module manually. Not sure why. The above directions did fix it though. :)

        – EnabrenTane
        Jan 4 '12 at 2:09















      5














      It depends on your ubuntu-version.



      On newer systems (since Maverick) you have to install some additional packets:



      sudo aptitude install iscsitarget iscsitarget-source iscsitarget-dkms


      This compiles the required module automagically.



      On Lucid you have to compile yourself (and maybe again after every kernel-update):



      sudo aptitude install iscsitarget iscsitarget-source
      # compile with module-assitant
      sudo m-a a-i iscsitarget





      share|improve this answer

























      • These are the instructions I had followed. The question is how to determine why the compile is failing.

        – bumbling fool
        Oct 19 '11 at 11:17












      • The log-files can be found under /var/cache/modass. Have you tried the -t -v options (text-mode + verbose)?

        – Clausi
        Oct 21 '11 at 10:13











      • In ubuntu 11.10 oneiric ocelot, installing above mentioned packages will automatically compile the required kernel modules and install it to the system. After that, you can run; sudo /etc/init.d/iscsitarget start to start the iscsitarget service. Hope this helps :)

        – nobody
        Dec 15 '11 at 5:26











      • @Sajith, This may be true in general, however the same package broke for me when upgrading from 10.04. I had to apt-get install iscsitarget-dkms to fix it then add the module manually. Not sure why. The above directions did fix it though. :)

        – EnabrenTane
        Jan 4 '12 at 2:09













      5












      5








      5







      It depends on your ubuntu-version.



      On newer systems (since Maverick) you have to install some additional packets:



      sudo aptitude install iscsitarget iscsitarget-source iscsitarget-dkms


      This compiles the required module automagically.



      On Lucid you have to compile yourself (and maybe again after every kernel-update):



      sudo aptitude install iscsitarget iscsitarget-source
      # compile with module-assitant
      sudo m-a a-i iscsitarget





      share|improve this answer















      It depends on your ubuntu-version.



      On newer systems (since Maverick) you have to install some additional packets:



      sudo aptitude install iscsitarget iscsitarget-source iscsitarget-dkms


      This compiles the required module automagically.



      On Lucid you have to compile yourself (and maybe again after every kernel-update):



      sudo aptitude install iscsitarget iscsitarget-source
      # compile with module-assitant
      sudo m-a a-i iscsitarget






      share|improve this answer














      share|improve this answer



      share|improve this answer








      edited Oct 12 '11 at 10:54

























      answered Oct 12 '11 at 10:38









      ClausiClausi

      4,01921218




      4,01921218












      • These are the instructions I had followed. The question is how to determine why the compile is failing.

        – bumbling fool
        Oct 19 '11 at 11:17












      • The log-files can be found under /var/cache/modass. Have you tried the -t -v options (text-mode + verbose)?

        – Clausi
        Oct 21 '11 at 10:13











      • In ubuntu 11.10 oneiric ocelot, installing above mentioned packages will automatically compile the required kernel modules and install it to the system. After that, you can run; sudo /etc/init.d/iscsitarget start to start the iscsitarget service. Hope this helps :)

        – nobody
        Dec 15 '11 at 5:26











      • @Sajith, This may be true in general, however the same package broke for me when upgrading from 10.04. I had to apt-get install iscsitarget-dkms to fix it then add the module manually. Not sure why. The above directions did fix it though. :)

        – EnabrenTane
        Jan 4 '12 at 2:09

















      • These are the instructions I had followed. The question is how to determine why the compile is failing.

        – bumbling fool
        Oct 19 '11 at 11:17












      • The log-files can be found under /var/cache/modass. Have you tried the -t -v options (text-mode + verbose)?

        – Clausi
        Oct 21 '11 at 10:13











      • In ubuntu 11.10 oneiric ocelot, installing above mentioned packages will automatically compile the required kernel modules and install it to the system. After that, you can run; sudo /etc/init.d/iscsitarget start to start the iscsitarget service. Hope this helps :)

        – nobody
        Dec 15 '11 at 5:26











      • @Sajith, This may be true in general, however the same package broke for me when upgrading from 10.04. I had to apt-get install iscsitarget-dkms to fix it then add the module manually. Not sure why. The above directions did fix it though. :)

        – EnabrenTane
        Jan 4 '12 at 2:09
















      These are the instructions I had followed. The question is how to determine why the compile is failing.

      – bumbling fool
      Oct 19 '11 at 11:17






      These are the instructions I had followed. The question is how to determine why the compile is failing.

      – bumbling fool
      Oct 19 '11 at 11:17














      The log-files can be found under /var/cache/modass. Have you tried the -t -v options (text-mode + verbose)?

      – Clausi
      Oct 21 '11 at 10:13





      The log-files can be found under /var/cache/modass. Have you tried the -t -v options (text-mode + verbose)?

      – Clausi
      Oct 21 '11 at 10:13













      In ubuntu 11.10 oneiric ocelot, installing above mentioned packages will automatically compile the required kernel modules and install it to the system. After that, you can run; sudo /etc/init.d/iscsitarget start to start the iscsitarget service. Hope this helps :)

      – nobody
      Dec 15 '11 at 5:26





      In ubuntu 11.10 oneiric ocelot, installing above mentioned packages will automatically compile the required kernel modules and install it to the system. After that, you can run; sudo /etc/init.d/iscsitarget start to start the iscsitarget service. Hope this helps :)

      – nobody
      Dec 15 '11 at 5:26













      @Sajith, This may be true in general, however the same package broke for me when upgrading from 10.04. I had to apt-get install iscsitarget-dkms to fix it then add the module manually. Not sure why. The above directions did fix it though. :)

      – EnabrenTane
      Jan 4 '12 at 2:09





      @Sajith, This may be true in general, however the same package broke for me when upgrading from 10.04. I had to apt-get install iscsitarget-dkms to fix it then add the module manually. Not sure why. The above directions did fix it though. :)

      – EnabrenTane
      Jan 4 '12 at 2:09













      2














      If none of the solutions are working, try following:



      apt-get install --reinstall iscsitarget-dkms


      This re-installs the iscsitarget dkms and resolved the problem for me.






      share|improve this answer





























        2














        If none of the solutions are working, try following:



        apt-get install --reinstall iscsitarget-dkms


        This re-installs the iscsitarget dkms and resolved the problem for me.






        share|improve this answer



























          2












          2








          2







          If none of the solutions are working, try following:



          apt-get install --reinstall iscsitarget-dkms


          This re-installs the iscsitarget dkms and resolved the problem for me.






          share|improve this answer















          If none of the solutions are working, try following:



          apt-get install --reinstall iscsitarget-dkms


          This re-installs the iscsitarget dkms and resolved the problem for me.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Oct 24 '13 at 8:04









          MadMike

          3,81172344




          3,81172344










          answered Oct 24 '13 at 6:18









          pranavspranavs

          213




          213





















              0














              I went through all of the above and couldn't fix the error, but finally got it working with:



              apt purge iscsitarget
              apt install iscsitarget


              If nothing else is working then give this a shot.





              share








              New contributor




              normalmighty is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
              Check out our Code of Conduct.
























                0














                I went through all of the above and couldn't fix the error, but finally got it working with:



                apt purge iscsitarget
                apt install iscsitarget


                If nothing else is working then give this a shot.





                share








                New contributor




                normalmighty is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






















                  0












                  0








                  0







                  I went through all of the above and couldn't fix the error, but finally got it working with:



                  apt purge iscsitarget
                  apt install iscsitarget


                  If nothing else is working then give this a shot.





                  share








                  New contributor




                  normalmighty is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.










                  I went through all of the above and couldn't fix the error, but finally got it working with:



                  apt purge iscsitarget
                  apt install iscsitarget


                  If nothing else is working then give this a shot.






                  share








                  New contributor




                  normalmighty is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.








                  share


                  share






                  New contributor




                  normalmighty is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.









                  answered 4 mins ago









                  normalmightynormalmighty

                  1




                  1




                  New contributor




                  normalmighty is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.





                  New contributor





                  normalmighty is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.






                  normalmighty is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.



























                      draft saved

                      draft discarded
















































                      Thanks for contributing an answer to Ask Ubuntu!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid


                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.

                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f63621%2fiscsi-trgt-missing-because-cant-build-kernel-module%23new-answer', 'question_page');

                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Möglingen Índice Localización Historia Demografía Referencias Enlaces externos Menú de navegación48°53′18″N 9°07′45″E / 48.888333333333, 9.129166666666748°53′18″N 9°07′45″E / 48.888333333333, 9.1291666666667Sitio web oficial Mapa de Möglingen«Gemeinden in Deutschland nach Fläche, Bevölkerung und Postleitzahl am 30.09.2016»Möglingen

                      Virtualbox - Configuration error: Querying “UUID” failed (VERR_CFGM_VALUE_NOT_FOUND)“VERR_SUPLIB_WORLD_WRITABLE” error when trying to installing OS in virtualboxVirtual Box Kernel errorFailed to open a seesion for the virtual machineFailed to open a session for the virtual machineUbuntu 14.04 LTS Virtualbox errorcan't use VM VirtualBoxusing virtualboxI can't run Linux-64 Bit on VirtualBoxUnable to insert the virtual optical disk (VBoxguestaddition) in virtual machine for ubuntu server in win 10VirtuaBox in Ubuntu 18.04 Issues with Win10.ISO Installation

                      Antonio De Lisio Carrera Referencias Menú de navegación«Caracas: evolución relacional multipleja»«Cuando los gobiernos subestiman a las localidades: L a Iniciativa para la Integración de la Infraestructura Regional Suramericana (IIRSA) en la frontera Colombo-Venezolana»«Maestría en Planificación Integral del Ambiente»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»«Conózcanos»«Caracas: evolución relacional multipleja»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»