https://bugzilla.kernel.org/show_bug.cgi?id=198345
Bug ID: 198345 Summary: AMD-RNG can't find a device. Kernel 4.15rc6 with AMD Vega64 Product: Drivers Version: 2.5 Kernel Version: 4.15rc6 Hardware: All OS: Linux Tree: Mainline Status: NEW Severity: normal Priority: P1 Component: Video(DRI - non Intel) Assignee: drivers_video-dri@kernel-bugs.osdl.org Reporter: justin2201@gmail.com Regression: No
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
https://bugzilla.kernel.org/show_bug.cgi?id=198345
Alex Deucher (alexdeucher@gmail.com) changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alexdeucher@gmail.com
--- Comment #1 from Alex Deucher (alexdeucher@gmail.com) --- Please file this bug against the rng drivers if the gpu driver is loaded properly. Does your platform even support an rng device?
https://bugzilla.kernel.org/show_bug.cgi?id=198345
--- Comment #2 from Justin J. (justin2201@gmail.com) --- 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.
https://bugzilla.kernel.org/show_bug.cgi?id=198345
--- Comment #3 from Alex Deucher (alexdeucher@gmail.com) --- 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.
https://bugzilla.kernel.org/show_bug.cgi?id=198345
Justin J. (justin2201@gmail.com) changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID
--- Comment #4 from Justin J. (justin2201@gmail.com) --- 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
dri-devel@lists.freedesktop.org