New: Amdgpu hangs kernel on boot trying init debugfs
https://bugzilla.kernel.org/show_bug.cgi?id=214427
Bug ID: 214427
Summary: Amdgpu hangs kernel on boot trying init debugfs
Product: Drivers
Version: 2.5
Kernel Version: 5.14.4
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: NoCreated attachment 298831
--> https://bugzilla.kernel.org/attachment.cgi?id=298831&action=edit
Screenshot
Early on kernel 5.10 and before it was just
[drm] Initialized amdgpu 3.40.0 20150101 for 0000:05:00.0 on minor 0 [drm:amdgpu_debugfs_init] *ERROR* Failed to init debugfs [drm:amdgpu_pci_probe] *ERROR* Creating debugfs files failed (-1).
but now it became panic. Kernel patched with
https://github.com/dolohow/uksm/blob/master/v5.x/uksm-5.14.patch - I'm using it since version 4 without problems.
Panic starts with
RIP: 0010:debugfs_create_file_size+0x2e/0x40
..and see more on the picture
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.
[Bug 214427] Amdgpu hangs kernel on boot trying init debugfs
https://bugzilla.kernel.org/show_bug.cgi?id=214427
--- Comment #1 from Ilia ([email protected]) ---
Created attachment 298833
--> https://bugzilla.kernel.org/attachment.cgi?id=298833&action=edit
Kernel config
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.
[Bug 214427] Amdgpu hangs kernel on boot trying init debugfs
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=214427
--- Comment #2 from Ilia ([email protected]) ---
Also my GPU is Polaris RX460 (ASUS ROG 4Gb) flashed with bios from RX560. Past 3 years all was working good.
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.
[Bug 214427] Amdgpu hangs kernel on boot trying init debugfs
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=214427
--- Comment #3 from Ilia ([email protected]) ---
Created attachment 298835
--> https://bugzilla.kernel.org/attachment.cgi?id=298835&action=edit
config patch
It seems like amdgpu strongly requires access to debugfs and panics when CONFIG_DEBUG_FS_ALLOW_NONE is set. Also there is no debugfs-related flag for amdgpu - it seems or amdgpu should depend on CONFIG_DEBUG_FS_ALLOW_ALL, or it should have separate debugfs flag to enable/disable debugfs usage (it is seems very possible as it was working early w/o access to debugfs).
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.
[Bug 214427] Amdgpu hangs kernel on boot trying init debugfs
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=214427
Alex Deucher ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #4 from Alex Deucher ([email protected]) --- Looks like a duplicate of:
https://gitlab.freedesktop.org/drm/amd/-/issues/1686
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.