CentOS7 - Fatal Module usbip_host not found












1















I installed usbip:



rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
rpm -ivh http://www.elrepo.org/elrepo-release-7.0-3.el7.elrepo.noarch.rpm
yum install usbip-utils


Then I tried to load drivers:



modprobe usbip_core
modprobe usbip_host
modprobe: FATAL: Module usbip_host not found.


This sound strange. The module seems to do not exist.
I tried to use usbip anyway:



usbipd -D


Worked.



usbip list -l
- busid 3-1 (04e6:5116)
SCM Microsystems, Inc. : SCR331-LC1 / SCR3310 SmartCard Reader (04e6:5116)




  • busid 3-14.1 (0557:2419)
    ATEN International Co., Ltd : unknown product (0557:2419)


Worked.



usbip --debug bind --busid=3-1
usbip: debug: usbip.c:141:[run_command] running command: `bind'
usbip: debug: sysfs_utils.c:17:[write_sysfs_attribute] error opening attribute /sys/bus/usb/drivers/usbip-host/match_busid
usbip: debug: utils.c:47:[modify_match_busid] failed to write match_busid: No such file or directory
usbip: error: unable to bind device on 3-1


doen't work.
looking around it seems that usbip_host is missing.
But I cannot load it because seems to be not shipped with usbip package.



I'm stuck










share|improve this question



























    1















    I installed usbip:



    rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
    rpm -ivh http://www.elrepo.org/elrepo-release-7.0-3.el7.elrepo.noarch.rpm
    yum install usbip-utils


    Then I tried to load drivers:



    modprobe usbip_core
    modprobe usbip_host
    modprobe: FATAL: Module usbip_host not found.


    This sound strange. The module seems to do not exist.
    I tried to use usbip anyway:



    usbipd -D


    Worked.



    usbip list -l
    - busid 3-1 (04e6:5116)
    SCM Microsystems, Inc. : SCR331-LC1 / SCR3310 SmartCard Reader (04e6:5116)




    • busid 3-14.1 (0557:2419)
      ATEN International Co., Ltd : unknown product (0557:2419)


    Worked.



    usbip --debug bind --busid=3-1
    usbip: debug: usbip.c:141:[run_command] running command: `bind'
    usbip: debug: sysfs_utils.c:17:[write_sysfs_attribute] error opening attribute /sys/bus/usb/drivers/usbip-host/match_busid
    usbip: debug: utils.c:47:[modify_match_busid] failed to write match_busid: No such file or directory
    usbip: error: unable to bind device on 3-1


    doen't work.
    looking around it seems that usbip_host is missing.
    But I cannot load it because seems to be not shipped with usbip package.



    I'm stuck










    share|improve this question

























      1












      1








      1








      I installed usbip:



      rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
      rpm -ivh http://www.elrepo.org/elrepo-release-7.0-3.el7.elrepo.noarch.rpm
      yum install usbip-utils


      Then I tried to load drivers:



      modprobe usbip_core
      modprobe usbip_host
      modprobe: FATAL: Module usbip_host not found.


      This sound strange. The module seems to do not exist.
      I tried to use usbip anyway:



      usbipd -D


      Worked.



      usbip list -l
      - busid 3-1 (04e6:5116)
      SCM Microsystems, Inc. : SCR331-LC1 / SCR3310 SmartCard Reader (04e6:5116)




      • busid 3-14.1 (0557:2419)
        ATEN International Co., Ltd : unknown product (0557:2419)


      Worked.



      usbip --debug bind --busid=3-1
      usbip: debug: usbip.c:141:[run_command] running command: `bind'
      usbip: debug: sysfs_utils.c:17:[write_sysfs_attribute] error opening attribute /sys/bus/usb/drivers/usbip-host/match_busid
      usbip: debug: utils.c:47:[modify_match_busid] failed to write match_busid: No such file or directory
      usbip: error: unable to bind device on 3-1


      doen't work.
      looking around it seems that usbip_host is missing.
      But I cannot load it because seems to be not shipped with usbip package.



      I'm stuck










      share|improve this question














      I installed usbip:



      rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
      rpm -ivh http://www.elrepo.org/elrepo-release-7.0-3.el7.elrepo.noarch.rpm
      yum install usbip-utils


      Then I tried to load drivers:



      modprobe usbip_core
      modprobe usbip_host
      modprobe: FATAL: Module usbip_host not found.


      This sound strange. The module seems to do not exist.
      I tried to use usbip anyway:



      usbipd -D


      Worked.



      usbip list -l
      - busid 3-1 (04e6:5116)
      SCM Microsystems, Inc. : SCR331-LC1 / SCR3310 SmartCard Reader (04e6:5116)




      • busid 3-14.1 (0557:2419)
        ATEN International Co., Ltd : unknown product (0557:2419)


      Worked.



      usbip --debug bind --busid=3-1
      usbip: debug: usbip.c:141:[run_command] running command: `bind'
      usbip: debug: sysfs_utils.c:17:[write_sysfs_attribute] error opening attribute /sys/bus/usb/drivers/usbip-host/match_busid
      usbip: debug: utils.c:47:[modify_match_busid] failed to write match_busid: No such file or directory
      usbip: error: unable to bind device on 3-1


      doen't work.
      looking around it seems that usbip_host is missing.
      But I cannot load it because seems to be not shipped with usbip package.



      I'm stuck







      centos






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Feb 4 at 17:13









      Max CuttinsMax Cuttins

      387




      387






















          1 Answer
          1






          active

          oldest

          votes


















          1














          I just realised that the issue was in this answer:



          USBIP on CentOS 7



          Which there was a typo in the installation of kmod_usbip:



          yum install ksmod-usbip
          yum install usbip-utils


          the first line is wrong.
          The module is just kmod not ksmod.
          The right command is:



          yum install kmod-usbip


          I'm gonna to fix original question






          share|improve this answer

























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "106"
            };
            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: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            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%2funix.stackexchange.com%2fquestions%2f498636%2fcentos7-fatal-module-usbip-host-not-found%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            1














            I just realised that the issue was in this answer:



            USBIP on CentOS 7



            Which there was a typo in the installation of kmod_usbip:



            yum install ksmod-usbip
            yum install usbip-utils


            the first line is wrong.
            The module is just kmod not ksmod.
            The right command is:



            yum install kmod-usbip


            I'm gonna to fix original question






            share|improve this answer






























              1














              I just realised that the issue was in this answer:



              USBIP on CentOS 7



              Which there was a typo in the installation of kmod_usbip:



              yum install ksmod-usbip
              yum install usbip-utils


              the first line is wrong.
              The module is just kmod not ksmod.
              The right command is:



              yum install kmod-usbip


              I'm gonna to fix original question






              share|improve this answer




























                1












                1








                1







                I just realised that the issue was in this answer:



                USBIP on CentOS 7



                Which there was a typo in the installation of kmod_usbip:



                yum install ksmod-usbip
                yum install usbip-utils


                the first line is wrong.
                The module is just kmod not ksmod.
                The right command is:



                yum install kmod-usbip


                I'm gonna to fix original question






                share|improve this answer















                I just realised that the issue was in this answer:



                USBIP on CentOS 7



                Which there was a typo in the installation of kmod_usbip:



                yum install ksmod-usbip
                yum install usbip-utils


                the first line is wrong.
                The module is just kmod not ksmod.
                The right command is:



                yum install kmod-usbip


                I'm gonna to fix original question







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Feb 4 at 18:39

























                answered Feb 4 at 17:40









                Max CuttinsMax Cuttins

                387




                387






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Unix & Linux Stack Exchange!


                    • 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%2funix.stackexchange.com%2fquestions%2f498636%2fcentos7-fatal-module-usbip-host-not-found%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

                    How to make a Squid Proxy server?

                    Is this a new Fibonacci Identity?

                    19世紀