sensors-detect causes amdgpu kernel errors when probing i2c bus
Brief summary of the problem:
Using sensors-detect and probing AMDGPU i2c bus causes kernel errors:
[ 1042.563595] amdgpu 0000:0f:00.0: amdgpu: failed send message: TransferTableDram2Smu (19) param: 0x00000009 response 0xfffffffb
[ 1042.563600] amdgpu 0000:0f:00.0: amdgpu: sienna_cichlid_i2c_write- error occurred :fffffffb
[ 1042.563639] amdgpu 0000:0f:00.0: amdgpu: Msg issuing pre-check failed and SMU may be not in the right state!
[ 1042.563640] amdgpu 0000:0f:00.0: amdgpu: sienna_cichlid_i2c_write- error occurred :fffffffb
[ 1042.563657] amdgpu 0000:0f:00.0: amdgpu: Msg issuing pre-check failed and SMU may be not in the right state!
[ 1042.563658] amdgpu 0000:0f:00.0: amdgpu: sienna_cichlid_i2c_write- error occurred :fffffffb
[ 1042.563676] amdgpu 0000:0f:00.0: amdgpu: Msg issuing pre-check failed and SMU may be not in the right state!
[ 1042.563676] amdgpu 0000:0f:00.0: amdgpu: sienna_cichlid_i2c_write- error occurred :fffffffb
[ 1042.563693] amdgpu 0000:0f:00.0: amdgpu: Msg issuing pre-check failed and SMU may be not in the right state!
[ 1042.563694] amdgpu 0000:0f:00.0: amdgpu: sienna_cichlid_i2c_write- error occurred :fffffffb
[ 1042.563711] amdgpu 0000:0f:00.0: amdgpu: Msg issuing pre-check failed and SMU may be not in the right state!
[ 1042.563712] amdgpu 0000:0f:00.0: amdgpu: sienna_cichlid_i2c_write- error occurred :fffffffb
[ 1042.563729] amdgpu 0000:0f:00.0: amdgpu: Msg issuing pre-check failed and SMU may be not in the right state!
[ 1042.563729] amdgpu 0000:0f:00.0: amdgpu: sienna_cichlid_i2c_write- error occurred :fffffffb
[ 1042.563746] amdgpu 0000:0f:00.0: amdgpu: Msg issuing pre-check failed and SMU may be not in the right state!
[ 1042.563747] amdgpu 0000:0f:00.0: amdgpu: sienna_cichlid_i2c_write- error occurred :fffffffb
[ 1057.594928] amdgpu 0000:0f:00.0: amdgpu: Msg issuing pre-check failed and SMU may be not in the right state!
[ 1057.594932] amdgpu 0000:0f:00.0: amdgpu: Failed to export SMU metrics table!
This can also be reproduced if something else probes the i2c bus like OpenRGB or "modprobe jc42".
Hardware description:
- CPU: AMD Ryzen 9 5900X
- GPU: PowerColor Red Devil RX 6900 XT
- System Memory: 32GB Crucial Ballistix Elite 3600 MHz DDR4
- Display(s): Aorus FI27Q-P 2560x1440
- Type of Diplay Connection: DP
System infomration:
- Distro name and Version: Ubuntu 20.10
- Kernel version: 5.11.0-rc5
- AMD package version: No package
How to reproduce the issue:
- Run "sensors-detect" and say yes for AMD GPU
- modprobe jc42