iscsi_trgt missing because can't build kernel moduleModules aren't loading - or something even more serious...

Instead of Universal Basic Income, why not Universal Basic NEEDS?

What is the greatest age difference between a married couple in Tanach?

How to make healing in an exploration game interesting

Why do Australian milk farmers need to protest supermarkets' milk price?

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

How do I interpret this "sky cover" chart?

Theorems like the Lovász Local Lemma?

What are some nice/clever ways to introduce the tonic's dominant seventh chord?

Russian cases: A few examples, I'm really confused

Professor being mistaken for a grad student

Life insurance that covers only simultaneous/dual deaths

Official degrees of earth’s rotation per day

Why did it take so long to abandon sail after steamships were demonstrated?

What are the possible solutions of the given equation?

How could a female member of a species produce eggs unto death?

Do I need life insurance if I can cover my own funeral costs?

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

Brexit - No Deal Rejection

I need to drive a 7/16" nut but am unsure how to use the socket I bought for my screwdriver

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?

What is this large pipe coming out of my roof?

How to simplify this time periods definition interface?

Importance of differentiation



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|improve this answer








    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|improve this answer








              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|improve this answer








                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|improve this answer








                  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|improve this answer








                  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|improve this answer



                  share|improve this answer






                  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 10 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

                      Why do type traits not work with types in namespace scope?What are POD types in C++?Why can templates only be...

                      Will tsunami waves travel forever if there was no land?Why do tsunami waves begin with the water flowing away...

                      Should I use Docker or LXD?How to cache (more) data on SSD/RAM to avoid spin up?Unable to get Windows File...