Hi,

On 2025-04-19 06:54, 贾昊 wrote:
> The virtual machine works normally on Debian 12.8 (linux-image-6.1.0-28-
> amd64), but after upgrading to Debian 12.10 (linux-image-6.1.0-33-
> amd64), it fails to start. Rolling back the kernel to 6.1.0-28-amd64
> allows the virtual machine to start again.

I can confirm this issue, and the solution, with AMD GPU Navi 3x cards
(I've seen in occur with W7700, W7800).

This doesn't seem to be an issue with other AMD GPUs, for example Navi
2x still works fine.

Although I cannot be sure, I think the the kernel is much more likely to
be the culprit here. We found another pass-through bug [1] a while ago
where the issue was related to a workaround for a hardware bug in Navi 3x.

Best,
Christian

> The error message when it fails to start on 6.1.0-33-amd64 is as follows:
> 
> ```
> 2025-04-13T11:44:04.859286Z qemu-system-x86_64: VFIO_MAP_DMA failed:
> Cannot allocate memory
> 2025-04-13T11:44:04.859352Z qemu-system-x86_64:
> vfio_dma_map(0x55c5ce81eaa0, 0xc0000, 0x20000, 0x7f7430e00000) = -2 (No
> such file or directory)
> qemu: hardware error: vfio: DMA mapping failed, unable to continue

[1]: https://gitlab.freedesktop.org/drm/amd/-/issues/3644

Reply via email to