Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1011632

Bug#961676: 5.6 kernel crashes host when using VFIO on KVM guests

From Salvatore Bonaccorso <carnil@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#961676: 5.6 kernel crashes host when using VFIO on KVM guests
Date 2020-05-27 21:40 +0200
Message-ID <Aba4a-2Il-7@gated-at.bofh.it> (permalink)
References <Aas37-1ux-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Source: linux
Version: 5.6.7-1
Control: submitter -1 debian@the-jedi.co.uk

Forwarding this report as bug in the BTS.

On Mon, May 25, 2020 at 09:03:43PM +0100, Simon John wrote:
> Sorry to email directly but I've tried reportbug but it doesn't seem to work
> with the kernel packages.

What exactly did not work?

> The 5.6.0-1 kernel in Sid when used in conjunction with VFIO (PCI
> passthrough) guests in Qemu-KVM causes KVM to crash with no useful logs -
> the guest partially starts. Eventually the host slows down and needs to be
> powered off. Doesn't affect non-VFIO guests using spice/headless, only when
> passing through a PCIe graphics card or USB keyboard/mouse.
> 
> 5.6.0-2 that just landed makes this infinitely worse - as soon as you start
> a VFIO guest the host hard crashes.
> 
> 5.3/5.4/5.5 kernels do not have this problem with the same version of Qemu
> and reverting from qemu 5.0 to 4.2 doesn't help, so it must be the 5.6
> kernel causing the issue.
> 
> Not sure what logs or any useful information I can supply you, there's some
> interesting comments on this reddit thread suggesting a couple of bugs that
> have fixes upstream:
> 
> https://www.reddit.com/r/VFIO/comments/glfgqs/qemu_5_vfio_no_longer_works_on_debian/
> 
> I'm using macos catalina and win10 guests to reproduce the issue, and using
> Intel not AMD chips.
> 
> Cheers.
> 
> -- 
> Simon John

Regards,
Salvatore

Back to linux.debian.bugs.dist | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Bug#961676: 5.6 kernel crashes host when using VFIO on KVM guests Salvatore Bonaccorso <carnil@debian.org> - 2020-05-27 21:40 +0200
  Bug#961676: 5.6 kernel crashes host when using VFIO on KVM guests Simon John <debian@the-jedi.co.uk> - 2020-05-27 22:50 +0200
    Bug#961676: 5.6 kernel crashes host when using VFIO on KVM guests Simon John <debian@the-jedi.co.uk> - 2020-06-12 00:30 +0200
      Bug#961676: 5.6 kernel crashes host when using VFIO on KVM guests Simon John <debian@the-jedi.co.uk> - 2020-06-14 00:50 +0200
        Bug#961676: 5.6 kernel crashes host when using VFIO on KVM guests Simon John <debian@the-jedi.co.uk> - 2020-06-28 02:00 +0200
          Bug#961676: 5.6 kernel crashes host when using VFIO on KVM guests Simon John <debian@the-jedi.co.uk> - 2020-06-28 02:10 +0200
            Bug#961676: 5.6 kernel crashes host when using VFIO on KVM guests Salvatore Bonaccorso <carnil@debian.org> - 2020-06-28 10:50 +0200
              Bug#961676: 5.6 kernel crashes host when using VFIO on KVM guests Simon John <simon@the-jedi.co.uk> - 2020-06-28 12:10 +0200
                Bug#961676: 5.6 kernel crashes host when using VFIO on KVM guests Simon John <debian@the-jedi.co.uk> - 2020-07-03 23:50 +0200
                Bug#961676: 5.6 kernel crashes host when using VFIO on KVM guests Simon John <debian@the-jedi.co.uk> - 2020-07-19 00:20 +0200
                Bug#961676: 5.6 kernel crashes host when using VFIO on KVM guests Simon John <debian@the-jedi.co.uk> - 2020-07-19 01:40 +0200
                Bug#961676: 5.6 kernel crashes host when using VFIO on KVM guests Simon John <debian@the-jedi.co.uk> - 2020-07-19 01:50 +0200
                Bug#961676: 5.6 kernel crashes host when using VFIO on KVM guests Simon John <debian@the-jedi.co.uk> - 2020-07-19 18:00 +0200

csiph-web