Skip to contentSkip to conversation

New: AMD-RNG can't find a device. Kernel 4.15rc6 with AMD Vega64

Bug 198345 [email protected] 1 participant 5 messages Jan 3, 2018

lore
Share & tools
lore
#0 lore raw

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: [email protected]
          Reporter: [email protected]
        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

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#1 lore raw

[Bug 198345] AMD-RNG can't find a device. Kernel 4.15rc6 with AMD Vega64

https://bugzilla.kernel.org/show_bug.cgi?id=198345

Alex Deucher ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #1 from Alex Deucher ([email protected]) --- Please file this bug against the rng drivers if the gpu driver is loaded properly. Does your platform even support an rng device?

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#2 lore raw

[Bug 198345] AMD-RNG can't find a device. Kernel 4.15rc6 with AMD Vega64

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=198345

--- Comment #2 from Justin J. ([email protected]) ---
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.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#3 lore raw

[Bug 198345] AMD-RNG can't find a device. Kernel 4.15rc6 with AMD Vega64

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=198345

--- Comment #3 from Alex Deucher ([email protected]) ---
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.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#4 lore raw

[Bug 198345] AMD-RNG can't find a device. Kernel 4.15rc6 with AMD Vega64

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=198345

Justin J. ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #4 from Justin J. ([email protected]) --- 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

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel