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

Bug#1114912: linux-image-amd64: KVM GPU passthrough causes kernel crash and system hang on Debian 13 after VM shutdown



Hello,

On Wed, Oct 08, 2025 at 04:07:51PM +0200, Uwe Kleine-König wrote:
> On Wed, Sep 24, 2025 at 04:33:33PM +0000, dec first wrote:
> > Please let me know if any additional information or further testing is required.
> 
> I think what happens when you start kvm (or whatever virtual machine
> manager you're using) is that the amdgpu driver is unbound and after
> Windows shut down the driver is bound again to the hardware.
> 
> I guess unbinding fails to release all resources. Can you try without
> the virtual windows to just do:
> 
> 	echo 0000:03:00.0 > /sys/bus/pci/drivers/amdgpu/unbind
> 	echo 0000:03:00.0 > /sys/bus/pci/drivers/amdgpu/bind
> 
> Does this result in error messages, or a working driver?

To get to a better solution than hacking the vfio_pci driver to bind to
the graphics card before amdgpu does, answering the above question would
be helpful.

Best regards
Uwe

Attachment: signature.asc
Description: PGP signature


Reply to: