[Bug 206579] KVM with passthrough generates "BUG: kernel NULL pointer dereference" and crashes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.kernel.org/show_bug.cgi?id=206579

--- Comment #42 from muncrief (rmuncrief@xxxxxxxxxxxxxxx) ---
Created attachment 287723
  --> https://bugzilla.kernel.org/attachment.cgi?id=287723&action=edit
Many "WARN_ON(entry & AVIC_PHYSICAL_ID_ENTRY_IS_RUNNING_MASK);" warnings

Oh sheesh gentlemen. I'd grepped dmesg for "error" after getting avic working,
but when I went to check out the latest git to see if automount was fixed and
manually browsed through dmesg I discovered a bunch of KVM warnings. So I went
back and checked rc3 and they're there as well. I've attached the dmesg output
from the latest git since I figure that's what you're working with.

They're coming from the svm.c "avic_vcpu_load" function. Here's the statement:
```
        WARN_ON(entry & AVIC_PHYSICAL_ID_ENTRY_IS_RUNNING_MASK);
```
The function continues after the warning, and I've tested the VM pretty
thoroughly now and haven't discovered any problems, so of course as usual I
have no idea what the heck is going on :)

Anyway, I just thought I'd let you know and if you want me to help debug it I'd
be happy to. It would be nice to get rid of them though because it makes the
dmesg output look really scary! :) Seriously though, many people would assume
they're errors because of the way they display.

By the way, avic works without any patches with today's git. I saw part of the
patch created here was there, and part wasn't, so I just compiled git without
patches and it seems to work fine. And automount is fixed! Yay!

-- 
You are receiving this mail because:
You are watching the assignee of the bug.



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux