Unable to boot after attempting KVM passthrough of GTX1070.. broken /etc/default/grub?

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











up vote
0
down vote

favorite












I got a Windows installation onto KVM under Ubuntu Server 18.04, and now I want to pass through my EVGA 1070 GTX card to Windows. I followed the instructions here (except that I had already set up my Win 10 guest). I got to the end of part 4 of this tutorial, tried to restart and since then have not been able to boot.



With the monitor plugged into the GTX1070 (I did this at first by accident, but maybe it will help):
and then I restarted and froze during boot at the line:



vfio-pci 0000:43:00.0" vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io:mem:owns=io+mem


enter image description here



With the monitor plugged into the Radeon, I just get a black screen (not even the motherboard screen). But also no "no-signal" indicator. The power light on the monitor flashes as if the computer were asleep.



So it seemed obvious to me that the problem was with the changes I had made in step 4 (either to /etc/default/grub, /etc/modprobe.d/local.conf, or /etc/initramfs-tools/modules). So I just booted from an Ubuntu live USB so that I could access those files and change them back to the way they were. However, now I get kernel panics booting from the Ubuntu Live USB:
enter image description here



I don't see how it could be possible that changes in the root volume would prevent me from booting from a USB stick, and that same USB stick boots fine on a different computer.



So, does the first error give any clue as to what went wrong? Additionally, how could it have messed up booting from a USB? Why does the card I did not try to passthrough not give output when booting from the root drive?



AMD Threadreipper 1950x
x399 Taichi motherboard
MSI Radeon RX 470 (intended for host)
EVGA GTX 1070 (the one I am trying to pass through)
Host OS is Ubuntu Server 18.04









share







New contributor




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























    up vote
    0
    down vote

    favorite












    I got a Windows installation onto KVM under Ubuntu Server 18.04, and now I want to pass through my EVGA 1070 GTX card to Windows. I followed the instructions here (except that I had already set up my Win 10 guest). I got to the end of part 4 of this tutorial, tried to restart and since then have not been able to boot.



    With the monitor plugged into the GTX1070 (I did this at first by accident, but maybe it will help):
    and then I restarted and froze during boot at the line:



    vfio-pci 0000:43:00.0" vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io:mem:owns=io+mem


    enter image description here



    With the monitor plugged into the Radeon, I just get a black screen (not even the motherboard screen). But also no "no-signal" indicator. The power light on the monitor flashes as if the computer were asleep.



    So it seemed obvious to me that the problem was with the changes I had made in step 4 (either to /etc/default/grub, /etc/modprobe.d/local.conf, or /etc/initramfs-tools/modules). So I just booted from an Ubuntu live USB so that I could access those files and change them back to the way they were. However, now I get kernel panics booting from the Ubuntu Live USB:
    enter image description here



    I don't see how it could be possible that changes in the root volume would prevent me from booting from a USB stick, and that same USB stick boots fine on a different computer.



    So, does the first error give any clue as to what went wrong? Additionally, how could it have messed up booting from a USB? Why does the card I did not try to passthrough not give output when booting from the root drive?



    AMD Threadreipper 1950x
    x399 Taichi motherboard
    MSI Radeon RX 470 (intended for host)
    EVGA GTX 1070 (the one I am trying to pass through)
    Host OS is Ubuntu Server 18.04









    share







    New contributor




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





















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I got a Windows installation onto KVM under Ubuntu Server 18.04, and now I want to pass through my EVGA 1070 GTX card to Windows. I followed the instructions here (except that I had already set up my Win 10 guest). I got to the end of part 4 of this tutorial, tried to restart and since then have not been able to boot.



      With the monitor plugged into the GTX1070 (I did this at first by accident, but maybe it will help):
      and then I restarted and froze during boot at the line:



      vfio-pci 0000:43:00.0" vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io:mem:owns=io+mem


      enter image description here



      With the monitor plugged into the Radeon, I just get a black screen (not even the motherboard screen). But also no "no-signal" indicator. The power light on the monitor flashes as if the computer were asleep.



      So it seemed obvious to me that the problem was with the changes I had made in step 4 (either to /etc/default/grub, /etc/modprobe.d/local.conf, or /etc/initramfs-tools/modules). So I just booted from an Ubuntu live USB so that I could access those files and change them back to the way they were. However, now I get kernel panics booting from the Ubuntu Live USB:
      enter image description here



      I don't see how it could be possible that changes in the root volume would prevent me from booting from a USB stick, and that same USB stick boots fine on a different computer.



      So, does the first error give any clue as to what went wrong? Additionally, how could it have messed up booting from a USB? Why does the card I did not try to passthrough not give output when booting from the root drive?



      AMD Threadreipper 1950x
      x399 Taichi motherboard
      MSI Radeon RX 470 (intended for host)
      EVGA GTX 1070 (the one I am trying to pass through)
      Host OS is Ubuntu Server 18.04









      share







      New contributor




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











      I got a Windows installation onto KVM under Ubuntu Server 18.04, and now I want to pass through my EVGA 1070 GTX card to Windows. I followed the instructions here (except that I had already set up my Win 10 guest). I got to the end of part 4 of this tutorial, tried to restart and since then have not been able to boot.



      With the monitor plugged into the GTX1070 (I did this at first by accident, but maybe it will help):
      and then I restarted and froze during boot at the line:



      vfio-pci 0000:43:00.0" vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io:mem:owns=io+mem


      enter image description here



      With the monitor plugged into the Radeon, I just get a black screen (not even the motherboard screen). But also no "no-signal" indicator. The power light on the monitor flashes as if the computer were asleep.



      So it seemed obvious to me that the problem was with the changes I had made in step 4 (either to /etc/default/grub, /etc/modprobe.d/local.conf, or /etc/initramfs-tools/modules). So I just booted from an Ubuntu live USB so that I could access those files and change them back to the way they were. However, now I get kernel panics booting from the Ubuntu Live USB:
      enter image description here



      I don't see how it could be possible that changes in the root volume would prevent me from booting from a USB stick, and that same USB stick boots fine on a different computer.



      So, does the first error give any clue as to what went wrong? Additionally, how could it have messed up booting from a USB? Why does the card I did not try to passthrough not give output when booting from the root drive?



      AMD Threadreipper 1950x
      x399 Taichi motherboard
      MSI Radeon RX 470 (intended for host)
      EVGA GTX 1070 (the one I am trying to pass through)
      Host OS is Ubuntu Server 18.04







      grub kvm gpu pci-passthrough iommu





      share







      New contributor




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










      share







      New contributor




      Thoughtcraft 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




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









      asked 4 mins ago









      Thoughtcraft

      1012




      1012




      New contributor




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





      New contributor





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






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

























          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: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );






          Thoughtcraft is a new contributor. Be nice, and check out our Code of Conduct.









           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f475225%2funable-to-boot-after-attempting-kvm-passthrough-of-gtx1070-broken-etc-default%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          Thoughtcraft is a new contributor. Be nice, and check out our Code of Conduct.









           

          draft saved


          draft discarded


















          Thoughtcraft is a new contributor. Be nice, and check out our Code of Conduct.












          Thoughtcraft is a new contributor. Be nice, and check out our Code of Conduct.











          Thoughtcraft is a new contributor. Be nice, and check out our Code of Conduct.













           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f475225%2funable-to-boot-after-attempting-kvm-passthrough-of-gtx1070-broken-etc-default%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?