Bug 1974807
| Summary: | [aarch64] Launch guest with virtio-gpu-pci and virtual smmu causes "virtio_gpu_dequeue_ctrl_func" ERROR | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Yihuang Yu <yihyu> |
| Component: | kernel | Assignee: | Eric Auger <eric.auger> |
| kernel sub component: | Virtualization | QA Contact: | Yihuang Yu <yihyu> |
| Status: | CLOSED DUPLICATE | Docs Contact: | |
| Severity: | medium | ||
| Priority: | medium | CC: | drjones, eric.auger, jinzhao, juzhang, kraxel, lcapitulino, peterx, qzhang, zhenyzha |
| Version: | 8.5 | Keywords: | Triaged |
| Target Milestone: | beta | Flags: | pm-rhel:
mirror+
|
| Target Release: | 8.5 | ||
| Hardware: | aarch64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-06-29 14:57:47 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1885765 | ||
|
Description
Yihuang Yu
2021-06-22 15:14:38 UTC
Hum you said it happened with a RHEL9 guest. In the above command I see you launch a rhel8.5. Please could you clarify? (In reply to Eric Auger from comment #1) > Hum you said it happened with a RHEL9 guest. In the above command I see you > launch a rhel8.5. Please could you clarify? Eric, this problem is in both RHEL8 and RHEL9 guests, the first time I hit it was in the guest of RHEL9, but after bug 1971821 is fixed, the RHEL8 guest also has the same problem. So this bug is to track the RHEL8 guest. I am a total beginner at graphics on ARM. I am looking for advices on how to exercice the virtio-gpu with rhel8.5/9? I installed a RHEL8.5 VM with virt-manager adding vnc and virtio-gpu. I got the graphical installer and completed the install (Note I was able to do that only on RHEL8.5 since on RHEL9.0 since I got some issues with the mouse which was not working properly). Then I patched the xml to add the smmuv3 and added <driver iommu='on'/> on the block, net and virtio-gpu-pci. I cannot reproduce the reported issue. Yihuang, is there any manner for me to launch the exact same test as you? Thanks Eric Correction, with the above libvirt test case I can reproduce *sometimes* but it looks less than 50% of the times. However my testcase is sufficient. This happens with the latest ark kernel as a guest. ../.. [ 67.330862] [drm:virtio_gpu_dequeue_ctrl_func [virtio_gpu]] *ERROR* response 0x1203 (command 0x105) [ 67.540790] [drm:virtio_gpu_dequeue_ctrl_func [virtio_gpu]] *ERROR* response 0x1203 (command 0x105) [ 70.690482] virtio_gpu_dequeue_ctrl_func: 14 callbacks suppressed Gerd, do you have any clue of what could be the cause? I suspect a problem in the virtio-gpu driver? > Gerd, do you have any clue of what could be the cause? I suspect a problem
> in the virtio-gpu driver?
Anything in the logs on the host?
Anything in the logs with "-d guest_errors" added to qemu cmd line?
I am not able to reproduce with upstream qemu whereas with downstream the issues occurs with 20% reproducibility. Interestingly we miss the following upstream commit both in 8.5 and 9.0. 9049f8bc44 virtio-gpu: handle partial maps properly (6 weeks ago) <Gerd Hoffmann> This was the first issue found when investigating BZ1932279 and then we found the guest kernel issue ... and the kernel issue let us forget the bug in qemu ;-) which now does not produce an assert as it did in the past. with this fix backported in downstream qemu 9.0 I cannot reproduce anymore. So I will send a backport on both 8.5 and 9.0 > Interestingly we miss the following upstream commit both in 8.5 and 9.0. > 9049f8bc44 virtio-gpu: handle partial maps properly (6 weeks ago) <Gerd > Hoffmann> Ah, right, it was after 6.0 release so not picked up by rebase. > So I will send a backport on both 8.5 and 9.0 thanks. (In reply to Eric Auger from comment #6) > I am not able to reproduce with upstream qemu whereas with downstream the > issues occurs with 20% reproducibility. > > Interestingly we miss the following upstream commit both in 8.5 and 9.0. > 9049f8bc44 virtio-gpu: handle partial maps properly (6 weeks ago) <Gerd > Hoffmann> > > This was the first issue found when investigating BZ1932279 and then we > found the guest kernel issue ... and the kernel issue let us forget the bug > in qemu ;-) which now does not produce an assert as it did in the past. > > with this fix backported in downstream qemu 9.0 I cannot reproduce anymore. > So I will send a backport on both 8.5 and 9.0 Hi Eric, This bug is with devel_ack+ and qa_ack+, then which DTM and ITM should we set? Thanks, Qunfang So Eventually this happens to be a qemu bug tracked by BZ1932279. So let's close this one as DUP *** This bug has been marked as a duplicate of bug 1932279 *** |