Error building virtualbox pci-passthrough kernel module - what went wrong?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I am trying to get virtualbox working on my machine with the pci-passthrough extension. When trying to run a VM, I got this error message:



Kernel driver not installed (rc=-1908)
[message asking me to install the vboxdrv kernel driver
by executing /sbin/vboxconfig as root]


So I did so and got this:



vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Starting VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
vboxdrv.sh: failed: modprobe vboxdrv failed. Please use 'dmesg' to find out why.

There were problems setting up VirtualBox. To re-start the set-up process, run
/sbin/vboxconfig
as root.


Looking at dmesg, the installation added no new entries.



Looking at the log file, it failed at the last module:



Building the main VirtualBox module.
Building the net filter module.
Building the net adaptor module.
Building the PCI pass-through module.


meaning that this is the code that fails in /usr/lib/virtualbox/vboxdrv.sh, called from /sbin/vboxconfig:



log "Building the PCI pass-through module."
if ! myerr=`$BUILDINTMP
--use-module-symvers /tmp/vboxdrv-Module.symvers
--module-source "$MODULE_SRC/vboxpci"
--no-print-directory install 2>&1`; then
log "Error building the module:"
module_build_log "$myerr"
failure "Look at $LOG to find out what went wrong"
fi


where $BUILDINTMP points to the runnable file /usr/share/virtualbox/src/vboxhost/build_in_tmp



This is how far I got in troubleshooting, I don't know what to do next.



Some info that might help:



  • IOMMU / VT-D is enabled

  • kernel version is 4.10.0-38-generic

  • OS is Linux Mint 18.3

  • as far as I can tell, the kernel headers are installed, "as far as I can tell" meaning that the path /lib/modules/4.10.0-38-generic/build/include/linux exists and is full of .h files and other subdirectories

  • Virtualbox is version 5.2.20

  • when I installed the PCI passthrough extension to VBox, it indicated a successful installation









share|improve this question

























    up vote
    0
    down vote

    favorite












    I am trying to get virtualbox working on my machine with the pci-passthrough extension. When trying to run a VM, I got this error message:



    Kernel driver not installed (rc=-1908)
    [message asking me to install the vboxdrv kernel driver
    by executing /sbin/vboxconfig as root]


    So I did so and got this:



    vboxdrv.sh: Stopping VirtualBox services.
    vboxdrv.sh: Starting VirtualBox services.
    vboxdrv.sh: Building VirtualBox kernel modules.
    vboxdrv.sh: failed: modprobe vboxdrv failed. Please use 'dmesg' to find out why.

    There were problems setting up VirtualBox. To re-start the set-up process, run
    /sbin/vboxconfig
    as root.


    Looking at dmesg, the installation added no new entries.



    Looking at the log file, it failed at the last module:



    Building the main VirtualBox module.
    Building the net filter module.
    Building the net adaptor module.
    Building the PCI pass-through module.


    meaning that this is the code that fails in /usr/lib/virtualbox/vboxdrv.sh, called from /sbin/vboxconfig:



    log "Building the PCI pass-through module."
    if ! myerr=`$BUILDINTMP
    --use-module-symvers /tmp/vboxdrv-Module.symvers
    --module-source "$MODULE_SRC/vboxpci"
    --no-print-directory install 2>&1`; then
    log "Error building the module:"
    module_build_log "$myerr"
    failure "Look at $LOG to find out what went wrong"
    fi


    where $BUILDINTMP points to the runnable file /usr/share/virtualbox/src/vboxhost/build_in_tmp



    This is how far I got in troubleshooting, I don't know what to do next.



    Some info that might help:



    • IOMMU / VT-D is enabled

    • kernel version is 4.10.0-38-generic

    • OS is Linux Mint 18.3

    • as far as I can tell, the kernel headers are installed, "as far as I can tell" meaning that the path /lib/modules/4.10.0-38-generic/build/include/linux exists and is full of .h files and other subdirectories

    • Virtualbox is version 5.2.20

    • when I installed the PCI passthrough extension to VBox, it indicated a successful installation









    share|improve this question























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I am trying to get virtualbox working on my machine with the pci-passthrough extension. When trying to run a VM, I got this error message:



      Kernel driver not installed (rc=-1908)
      [message asking me to install the vboxdrv kernel driver
      by executing /sbin/vboxconfig as root]


      So I did so and got this:



      vboxdrv.sh: Stopping VirtualBox services.
      vboxdrv.sh: Starting VirtualBox services.
      vboxdrv.sh: Building VirtualBox kernel modules.
      vboxdrv.sh: failed: modprobe vboxdrv failed. Please use 'dmesg' to find out why.

      There were problems setting up VirtualBox. To re-start the set-up process, run
      /sbin/vboxconfig
      as root.


      Looking at dmesg, the installation added no new entries.



      Looking at the log file, it failed at the last module:



      Building the main VirtualBox module.
      Building the net filter module.
      Building the net adaptor module.
      Building the PCI pass-through module.


      meaning that this is the code that fails in /usr/lib/virtualbox/vboxdrv.sh, called from /sbin/vboxconfig:



      log "Building the PCI pass-through module."
      if ! myerr=`$BUILDINTMP
      --use-module-symvers /tmp/vboxdrv-Module.symvers
      --module-source "$MODULE_SRC/vboxpci"
      --no-print-directory install 2>&1`; then
      log "Error building the module:"
      module_build_log "$myerr"
      failure "Look at $LOG to find out what went wrong"
      fi


      where $BUILDINTMP points to the runnable file /usr/share/virtualbox/src/vboxhost/build_in_tmp



      This is how far I got in troubleshooting, I don't know what to do next.



      Some info that might help:



      • IOMMU / VT-D is enabled

      • kernel version is 4.10.0-38-generic

      • OS is Linux Mint 18.3

      • as far as I can tell, the kernel headers are installed, "as far as I can tell" meaning that the path /lib/modules/4.10.0-38-generic/build/include/linux exists and is full of .h files and other subdirectories

      • Virtualbox is version 5.2.20

      • when I installed the PCI passthrough extension to VBox, it indicated a successful installation









      share|improve this question













      I am trying to get virtualbox working on my machine with the pci-passthrough extension. When trying to run a VM, I got this error message:



      Kernel driver not installed (rc=-1908)
      [message asking me to install the vboxdrv kernel driver
      by executing /sbin/vboxconfig as root]


      So I did so and got this:



      vboxdrv.sh: Stopping VirtualBox services.
      vboxdrv.sh: Starting VirtualBox services.
      vboxdrv.sh: Building VirtualBox kernel modules.
      vboxdrv.sh: failed: modprobe vboxdrv failed. Please use 'dmesg' to find out why.

      There were problems setting up VirtualBox. To re-start the set-up process, run
      /sbin/vboxconfig
      as root.


      Looking at dmesg, the installation added no new entries.



      Looking at the log file, it failed at the last module:



      Building the main VirtualBox module.
      Building the net filter module.
      Building the net adaptor module.
      Building the PCI pass-through module.


      meaning that this is the code that fails in /usr/lib/virtualbox/vboxdrv.sh, called from /sbin/vboxconfig:



      log "Building the PCI pass-through module."
      if ! myerr=`$BUILDINTMP
      --use-module-symvers /tmp/vboxdrv-Module.symvers
      --module-source "$MODULE_SRC/vboxpci"
      --no-print-directory install 2>&1`; then
      log "Error building the module:"
      module_build_log "$myerr"
      failure "Look at $LOG to find out what went wrong"
      fi


      where $BUILDINTMP points to the runnable file /usr/share/virtualbox/src/vboxhost/build_in_tmp



      This is how far I got in troubleshooting, I don't know what to do next.



      Some info that might help:



      • IOMMU / VT-D is enabled

      • kernel version is 4.10.0-38-generic

      • OS is Linux Mint 18.3

      • as far as I can tell, the kernel headers are installed, "as far as I can tell" meaning that the path /lib/modules/4.10.0-38-generic/build/include/linux exists and is full of .h files and other subdirectories

      • Virtualbox is version 5.2.20

      • when I installed the PCI passthrough extension to VBox, it indicated a successful installation






      virtualbox kernel-modules pci-passthrough






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 12 hours ago









      sisisisi

      113




      113

























          active

          oldest

          votes











          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',
          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%2f481269%2ferror-building-virtualbox-pci-passthrough-kernel-module-what-went-wrong%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f481269%2ferror-building-virtualbox-pci-passthrough-kernel-module-what-went-wrong%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          How to check contact read email or not when send email to Individual?

          Displaying single band from multi-band raster using QGIS

          How many registers does an x86_64 CPU actually have?