Skip Navigation
InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)BE
berylenara @sh.itjust.works
Posts 1
Comments 14
How to troubleshoot broken ssh if you do GPU passthrough?
  • the drivers are blacklisted on the host at boot

    This is the problem I was alluding to, though I'm surprised you are still able to see the console despite the driver being blacklisted. I have heard of people using scripts to manually detach the GPU and attach it to a VM, but sounds like you don't need that, which is interesting

  • How to troubleshoot broken ssh if you do GPU passthrough?
  • Serial is still a thing.

    Good to know 👍

    Get a cheap video card.

    I'd be tempted to just pass it through as well 😅

    Live CD.

    Doesn't work if you have encrypted disk (nevermind I was wrong about this)

    Or a usb to vga adapter.

    A server class system with BMC.

    Interesting ideas, I'll look into them thanks

  • How to troubleshoot broken ssh if you do GPU passthrough?
  • As mentioned in another reply, this doesn't work if you have encrypted disk. The price for security I suppose

    Edit: nevermind I thought that secure boot and disk encryption would prevent you from mounting the disk to another system, but that appears to be wrong

  • How to troubleshoot broken ssh if you do GPU passthrough?
  • A rescue iso doesn't work if you have encrypted disk. I thought everybody encrypted disk nowadays.

    If you don’t have a live boot option you can also pull the disk and fix it on another machine, or put a different boot disk in the system entirely.

    This is an interesting idea though, as long as the other machine has a different GPU then the system shouldn't hijack it on startup.

    You can probably also disable hardware virtualization extensions in the bios to break the VM so it doesn’t steal the graphics card.

    AFAIK GPU passthrough is usually configured to detach the GPU from the host automatically on startup. So even if all VMs were broken, the GPU would still be detached. However as another commenter pointed out, it's possible to detach it manually which might be safer against accidental lockouts.

  • How to troubleshoot broken ssh if you do GPU passthrough?

    This hasn't happened to me yet but I was just thinking about it. Let's say you have a server with an iGPU, and you use GPU passthrough to let VMs use the iGPU. And then one day the host's ssh server breaks, maybe you did something stupid or there was a bad update. Are you fucked? How could you possibly recover, with no display and no SSH? The only thing I can think of is setting up serial access for emergencies like this, but I rarely hear about serial access nowadays so I wonder if there's some other solution here.

    24