* [Bug 109456] KVM VFIO guest X hang with guest kernel > 4.15
@ 2019-01-25 11:03 bugzilla-daemon
2019-01-25 15:32 ` bugzilla-daemon
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: bugzilla-daemon @ 2019-01-25 11:03 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 1574 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=109456
Bug ID: 109456
Summary: KVM VFIO guest X hang with guest kernel > 4.15
Product: DRI
Version: XOrg git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: DRM/AMDgpu
Assignee: dri-devel@lists.freedesktop.org
Reporter: libgradev@gmail.com
Hi
Host: Arch running kernel 4.20.3 / Qemu 3.1
Guest: Ubuntu 18.04.1 (tried Ubuntu 18.10 also) with any kernel after 4.15
Driver: Happens with current stable, git from Padoka PPA and amdgpu-pro 18.50
Issue: Vega 64 passed through to guest causes X to hang on boot using 100% CPU
for one of the passed through cores for the Xorg process. X never starts with
the stopping point being 'LoadModule: "dri2"'. I cannot see any relevant errors
in Xorg.log or the KRB - though it's easily reproducible. The system is still
alive and can be ssh'd into.
Adding the nomodeset kernel option allows the guest to boot to GUI (albeit
without acceleration).
Details: With Qemu 3.0 having more than ~12GB RAM assigned to the guest causes
this behaviour. With Qemu 3.1 the amount of RAM is irrelevant - the hang always
occurs.
Believe this is related to one of the GPU reset patches added to the 4.16
kernel as the guest boots fine with Qemu 3.0/3.1 and guest kernel 4.15 (tested
up to 16GB guest RAM).
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2884 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug 109456] KVM VFIO guest X hang with guest kernel > 4.15
2019-01-25 11:03 [Bug 109456] KVM VFIO guest X hang with guest kernel > 4.15 bugzilla-daemon
@ 2019-01-25 15:32 ` bugzilla-daemon
2019-04-18 14:12 ` bugzilla-daemon
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2019-01-25 15:32 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 259 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=109456
--- Comment #1 from Alex Deucher <alexdeucher@gmail.com> ---
Can you bisect? Please attach your dmesg output and xorg log.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1044 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug 109456] KVM VFIO guest X hang with guest kernel > 4.15
2019-01-25 11:03 [Bug 109456] KVM VFIO guest X hang with guest kernel > 4.15 bugzilla-daemon
2019-01-25 15:32 ` bugzilla-daemon
@ 2019-04-18 14:12 ` bugzilla-daemon
2019-04-23 10:07 ` bugzilla-daemon
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2019-04-18 14:12 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 303 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=109456
--- Comment #2 from libgradev@gmail.com ---
Created attachment 144034
--> https://bugs.freedesktop.org/attachment.cgi?id=144034&action=edit
Git bisect log + result
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1204 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug 109456] KVM VFIO guest X hang with guest kernel > 4.15
2019-01-25 11:03 [Bug 109456] KVM VFIO guest X hang with guest kernel > 4.15 bugzilla-daemon
2019-01-25 15:32 ` bugzilla-daemon
2019-04-18 14:12 ` bugzilla-daemon
@ 2019-04-23 10:07 ` bugzilla-daemon
2019-04-23 10:11 ` bugzilla-daemon
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2019-04-23 10:07 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 315 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=109456
--- Comment #3 from libgradev@gmail.com ---
Created attachment 144077
--> https://bugs.freedesktop.org/attachment.cgi?id=144077&action=edit
Dmesg output from failed Xorg start
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1240 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug 109456] KVM VFIO guest X hang with guest kernel > 4.15
2019-01-25 11:03 [Bug 109456] KVM VFIO guest X hang with guest kernel > 4.15 bugzilla-daemon
` (2 preceding siblings ...)
2019-04-23 10:07 ` bugzilla-daemon
@ 2019-04-23 10:11 ` bugzilla-daemon
2019-04-23 10:13 ` bugzilla-daemon
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2019-04-23 10:11 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 314 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=109456
--- Comment #4 from libgradev@gmail.com ---
Created attachment 144078
--> https://bugs.freedesktop.org/attachment.cgi?id=144078&action=edit
Xorg output from failed Xorg start
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1237 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug 109456] KVM VFIO guest X hang with guest kernel > 4.15
2019-01-25 11:03 [Bug 109456] KVM VFIO guest X hang with guest kernel > 4.15 bugzilla-daemon
` (3 preceding siblings ...)
2019-04-23 10:11 ` bugzilla-daemon
@ 2019-04-23 10:13 ` bugzilla-daemon
2019-06-19 11:46 ` bugzilla-daemon
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2019-04-23 10:13 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 347 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=109456
--- Comment #5 from libgradev@gmail.com ---
Have compiled 5.0.7 with the commit indicated by the bisect reverted and it
boots to Xorg fine.
Running an OpenGL application subsequently will hang the VM though.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1110 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug 109456] KVM VFIO guest X hang with guest kernel > 4.15
2019-01-25 11:03 [Bug 109456] KVM VFIO guest X hang with guest kernel > 4.15 bugzilla-daemon
` (4 preceding siblings ...)
2019-04-23 10:13 ` bugzilla-daemon
@ 2019-06-19 11:46 ` bugzilla-daemon
2019-06-19 12:47 ` bugzilla-daemon
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2019-06-19 11:46 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 297 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=109456
--- Comment #6 from libgradev@gmail.com ---
Updated to QEMU 4.0.0 and re-tested - same result.
Let me know if you would like anything further info.
Thanks!
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1060 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug 109456] KVM VFIO guest X hang with guest kernel > 4.15
2019-01-25 11:03 [Bug 109456] KVM VFIO guest X hang with guest kernel > 4.15 bugzilla-daemon
` (5 preceding siblings ...)
2019-06-19 11:46 ` bugzilla-daemon
@ 2019-06-19 12:47 ` bugzilla-daemon
2019-07-29 14:16 ` bugzilla-daemon
2019-07-29 14:17 ` bugzilla-daemon
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2019-06-19 12:47 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 564 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=109456
--- Comment #7 from Alex Williamson <alex.williamson@redhat.com> ---
Can you test this QEMU patch that's already in qemu.git for 4.1:
https://git.qemu.org/?p=qemu.git;a=commitdiff;h=3412d8ec9810b819f8b79e8e0c6b87217c876e32
Alternatively, setting the pci-hole64-size=0 can also avoid this issue:
-global i440FX-pcihost.pci-hole64-size=0
or
-global q35-host.pci-hole64-size=0
depending on your VM machine type.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1460 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug 109456] KVM VFIO guest X hang with guest kernel > 4.15
2019-01-25 11:03 [Bug 109456] KVM VFIO guest X hang with guest kernel > 4.15 bugzilla-daemon
` (6 preceding siblings ...)
2019-06-19 12:47 ` bugzilla-daemon
@ 2019-07-29 14:16 ` bugzilla-daemon
2019-07-29 14:17 ` bugzilla-daemon
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2019-07-29 14:16 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 284 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=109456
--- Comment #8 from libgradev@gmail.com ---
Got back to this again recently and can confirm it's fixed in Qemu git (for
4.1) now.
Many thanks :)
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1047 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug 109456] KVM VFIO guest X hang with guest kernel > 4.15
2019-01-25 11:03 [Bug 109456] KVM VFIO guest X hang with guest kernel > 4.15 bugzilla-daemon
` (7 preceding siblings ...)
2019-07-29 14:16 ` bugzilla-daemon
@ 2019-07-29 14:17 ` bugzilla-daemon
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2019-07-29 14:17 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 414 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=109456
libgradev@gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1221 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2019-07-29 14:17 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-25 11:03 [Bug 109456] KVM VFIO guest X hang with guest kernel > 4.15 bugzilla-daemon
2019-01-25 15:32 ` bugzilla-daemon
2019-04-18 14:12 ` bugzilla-daemon
2019-04-23 10:07 ` bugzilla-daemon
2019-04-23 10:11 ` bugzilla-daemon
2019-04-23 10:13 ` bugzilla-daemon
2019-06-19 11:46 ` bugzilla-daemon
2019-06-19 12:47 ` bugzilla-daemon
2019-07-29 14:16 ` bugzilla-daemon
2019-07-29 14:17 ` bugzilla-daemon
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.