I am using a Radeon Vega 64 with Debian Buster/Sid. I try to develop with ROCm on it. I found out, that the module amd-rng can't find a device. sudo modprobe -v amd-rng insmod /lib/modules/4.15.0-rc6-custom/kernel/drivers/char/hw_random/amd-rng.ko modprobe: ERROR: could not insert 'amd_rng': No such device Can someone help me to fix this, please? The graphic card itself is recognized well. xrandr --listproviders Providers: number : 2 Provider 0: id: 0x70 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 3 outputs: 4 associated providers: 0 name:modesetting Provider 1: id: 0x49 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 6 outputs: 4 associated providers: 0 name:Radeon RX Vega @ pci:0000:03:00.0 lspci | grep AMD 01:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 1470 (rev c1) 02:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 1471 03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Vega 10 XT [Radeon RX Vega 64] (rev c1) 03:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device aaf8 Thank you in advance! Best regards, Justin
Please file this bug against the rng drivers if the gpu driver is loaded properly. Does your platform even support an rng device?
xrandr --listproviders Providers: number : 2 Provider 0: id: 0x90 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 6 outputs: 4 associated providers: 0 name:Radeon RX Vega @ pci:0000:03:00.0 Provider 1: id: 0x46 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 3 outputs: 4 associated providers: 0 name:modesetting sudo modprobe -v amd-rng [sudo] Passwort für justin: insmod /lib/modules/4.15.0-rc6-custom/kernel/drivers/char/hw_random/rng-core.ko insmod /lib/modules/4.15.0-rc6-custom/kernel/drivers/char/hw_random/amd-rng.ko modprobe: ERROR: could not insert 'amd_rng': No such device I loaded it properly... Seems to do the same mistake. and yes rng-core should be supported. the first time loading works.
The amdgpu driver is apparently loading fine. What does it have to do with the amd-rng driver? They are separate drivers why are you mentioning both on this bug? if you are having an issue with the amd-rng driver, please close this bug and open a rng bug or clarify what this has to do with the GPU.
Oh sorry... I did done the mistake... I got problems with hiprng to load it with the amd vega graphics. I forgot that there is an amd processor. I should drink more coffee. ;-) /closed