Skip to contentSkip to conversation

New: radeontop causes kernel panic

Bug 209939 [email protected] 2 participants 7 messages Oct 29, 2020 – Sep 23, 2024

lore
Share & tools
lore
#0 lore raw

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

            Bug ID: 209939
           Summary: radeontop causes kernel panic
           Product: Drivers
           Version: 2.5
    Kernel Version: 5.9.1
          Hardware: x86-64
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Video(DRI - non Intel)
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Created attachment 293297
--> https://bugzilla.kernel.org/attachment.cgi?id=293297&action=edit
kernel .config file of 3 PCs

(view 3 .config files)

Quoted 4 lines

PC1: problem pc, Ryzen 2400GE APU with Vega 11 and 5.9.1 kernel (Xorg running)
PC2: working pc, ryzen V1605 APU with vega 8 and 5.8.14 kernel (Xorg running)
PC3: working pc, Threadripper 1950 + Fiji GPU and 5.9.1 kernel (CLI only)

As the subject states: on PC1, the kernel can't handle the radeontop program, one way or another, these methods work / do not on PC1:

Quoted 4 lines

- while hardware-accelerated content is running, panic
- When in console mode, it's fine
- when switching from console to X, it's fine for a few moments
- when trying it early (X running sddm, radeontop via ssh), panic

with *panic*, I mean: the PC does not react anymore: the num lock trigger is no longer working, no input is accepted, the clock on the GUI does not change anymore, no SSH.

I tried everything:

Quoted 3 lines

- pstore is empty
- dd if=/dev/kmsg of=/dev/sdb1 & while [ 1]; do echo s > /proc/sysrq-trigger; sleep 10; done & radeontop (and pulling it out of this partition afterwards)

The mainboard does not have a RS232 port, so debugging this way is not possible;
also, I doubt I'd be able to use KDB if the screen stucks at GUI mode ...

If I can do anything to gather more info, let me know

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 209939] radeontop causes kernel panic

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

Alex Deucher ([email protected]) changed:

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

--- Comment #1 from Alex Deucher ([email protected]) ---
Does setting amdgpu.runpm=0 on the kernel command line in grub fix the issue? How are you running radeontop? If you are running it such that it tries to access MMIO space directly rather than going through the kernel, that could cause an issue.

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 209939] radeontop causes kernel panic

In reply to [email protected]

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

--- Comment #2 from Janpieter Sollie ([email protected]) --- I am running radeontop the usual way - without arguments, default compile. amdgpu.runpm=0 has no effect

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 209939] radeontop causes kernel panic

In reply to [email protected]

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

--- Comment #3 from Alex Deucher ([email protected]) ---
Does setting amdgpu.ppfeaturemask=0xffff3fff on the kernel command line in grub fix it?

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 209939] radeontop causes kernel panic

In reply to [email protected]

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

--- Comment #4 from Janpieter Sollie ([email protected]) --- sorry, no, still the same ...
just to be sure, if I do this, this overrides settings in /etc/modprobe.d/amdgpu.conf, right?

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
#5 lore raw

[Bug 209939] radeontop causes kernel panic

In reply to [email protected]

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

--- Comment #5 from Janpieter Sollie ([email protected]) --- Also tried (thanks to hint from Gentoo) netconsole
when using netconsole, no output is logged: while the kernel buffer from before 'radeontop' is printed correctly, no other output is passed during "kernel panic", apparently the kernel does not live long enough to push it to netconsole, or it's a bug in radeontop causing hardware freeze

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
#6 lore raw

[Bug 209939] radeontop causes kernel panic

In reply to [email protected]

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

Janpieter Sollie ([email protected]) changed:

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

             Status|NEW                         |RESOLVED
         Resolution|---                         |OBSOLETE
Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.