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


Groups > linux.debian.kernel > #67195

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

From Simon John <debian@the-jedi.co.uk>
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 22:50 +0200
Message-ID <Abb9T-3lC-5@gated-at.bofh.it> (permalink)
References <Aas37-1ux-7@gated-at.bofh.it> <Aba4a-2Il-7@gated-at.bofh.it> <Aba4a-2Il-7@gated-at.bofh.it> <Aba4a-2Il-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


On Wed, 27 May 2020 21:31:46 +0200 Salvatore Bonaccorso 
<carnil@debian.org> wrote:
> 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?

I tried to report a bug in 5.5 kernel regarding HDMI audio not working 
after a while until you kill pulseaudio but reportbug did not create a 
valid report i guess as it never got created - i tried using the email 
template too.

same problem when trying to report this bug.

Anyway, at least this bug has been created now, hopefully will get 
looked into.

> > 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
> 
> 

Best regards.

-- 
Simon John

Back to linux.debian.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

5.6 kernel crashes host when using VFIO on KVM guests Simon John <debian@the-jedi.co.uk> - 2020-05-25 22:40 +0200
  Bug#961676: 5.6 kernel crashes host when using VFIO on KVM guests Salvatore Bonaccorso <carnil@debian.org> - 2020-05-27 21:40 +0200
    Processed: Re: 5.6 kernel crashes host when using VFIO on KVM guests "Debian Bug Tracking System" <owner@bugs.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
    Bug#961676: marked as done (5.6 kernel crashes host when using  VFIO on KVM guests) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2020-07-19 18:20 +0200

csiph-web