Red Hat Bugzilla – Bug 1467037
Kernel module crash (amdgpu) on attempting to unbind AMD graphics in kernel 4.11 (regression from 4.10)
Last modified: 2017-08-27 03:13:33 EDT
Created attachment 1293572 [details]
Journalctl -b -1 of the event
Description of problem:
With the released of the 4.11 series kernels into the Fedora updates system, I have no longer been able to remove the binding of my graphics card in order to have it participate in pci passthrough. The last working kernel for this was 4.10.17-200.fc25.x86_64.
This bug is highly consistent.
In order to do the unbinding, I use the following script, executed via SSH
echo `date "+%H:%M:%S.%N"`"Leaving graphical mode"
time systemctl isolate multi-user.target
echo `date "+%H:%M:%S.%N"`"removing graphics binding"
time echo "0000:01:00.0" > /sys/bus/pci/drivers/amdgpu/unbind
echo `date "+%H:%M:%S.%N"`"Removing amdgpu module"
time modprobe -r amdgpu
echo `date "+%H:%M:%S.%N"`"Done"
Here is the latest attempt I've had using the 4.11.7-200.fc25.x86_64 kernel:
14:39:52.408096500Leaving graphical mode
14:39:57.666116884removing graphics binding
Remote interactions with the computer are still possible, however rebinding doesn't seem to work, and shutdown/reboots do not complete. The timestamps of the above and the attached output of journalctl do match.
Bug persists in 4.11.12
Bug seems absent from kernel-4.12.8-200.fc25.x86_64