* [Bug 212957] New: [radeon] kernel NULL pointer dereference during system boot
@ 2021-05-05 21:17 bugzilla-daemon
2021-05-05 21:54 ` [Bug 212957] " bugzilla-daemon
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: bugzilla-daemon @ 2021-05-05 21:17 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=212957
Bug ID: 212957
Summary: [radeon] kernel NULL pointer dereference during system
boot
Product: Drivers
Version: 2.5
Kernel Version: 5.12.1
Hardware: x86-64
OS: Linux
Tree: Mainline
Status: NEW
Severity: high
Priority: P1
Component: Video(DRI - non Intel)
Assignee: drivers_video-dri@kernel-bugs.osdl.org
Reporter: mail@dennisfoster.us
Regression: No
Created attachment 296657
--> https://bugzilla.kernel.org/attachment.cgi?id=296657&action=edit
journalctl
GPU: Radeon RX 470 + ATI FirePro 2270
Cannot boot into graphical session with recent kernel 5.12.1, the system gets
stuck at black screen.
May 05 16:38:58 homeserver kernel: BUG: kernel NULL pointer dereference,
address: 0000000000000000
Could be possible regression of
https://bugzilla.kernel.org/show_bug.cgi?id=212137
--
You may reply to this email to add a comment.
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug 212957] [radeon] kernel NULL pointer dereference during system boot
2021-05-05 21:17 [Bug 212957] New: [radeon] kernel NULL pointer dereference during system boot bugzilla-daemon
@ 2021-05-05 21:54 ` bugzilla-daemon
2021-05-08 15:45 ` bugzilla-daemon
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2021-05-05 21:54 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=212957
Alex Deucher (alexdeucher@gmail.com) changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |alexdeucher@gmail.com
--- Comment #1 from Alex Deucher (alexdeucher@gmail.com) ---
Can you bisect?
--
You may reply to this email to add a comment.
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug 212957] [radeon] kernel NULL pointer dereference during system boot
2021-05-05 21:17 [Bug 212957] New: [radeon] kernel NULL pointer dereference during system boot bugzilla-daemon
2021-05-05 21:54 ` [Bug 212957] " bugzilla-daemon
@ 2021-05-08 15:45 ` bugzilla-daemon
2021-05-12 0:50 ` bugzilla-daemon
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2021-05-08 15:45 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=212957
Arvin (arvin.kebob@gmail.com) changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |arvin.kebob@gmail.com
--- Comment #2 from Arvin (arvin.kebob@gmail.com) ---
I can confirm I have a similar issue on a laptop with AMD dual GPU (6520G + HD
6750M). The system boots to a graphical desktop (MATE + LightDM) and works fine
until I open a program with the discrete graphics (DRI_PRIME=1).
Going to bisect once I get the laptop later in the day.
--
You may reply to this email to add a comment.
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug 212957] [radeon] kernel NULL pointer dereference during system boot
2021-05-05 21:17 [Bug 212957] New: [radeon] kernel NULL pointer dereference during system boot bugzilla-daemon
2021-05-05 21:54 ` [Bug 212957] " bugzilla-daemon
2021-05-08 15:45 ` bugzilla-daemon
@ 2021-05-12 0:50 ` bugzilla-daemon
2021-05-12 1:35 ` bugzilla-daemon
2021-05-27 17:19 ` bugzilla-daemon
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2021-05-12 0:50 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=212957
--- Comment #3 from Dennis Foster (mail@dennisfoster.us) ---
(In reply to Alex Deucher from comment #1)
> Can you bisect?
0575ff3d33cd62123991d2a5d0d8459d72592388 is the first bad commit
commit 0575ff3d33cd62123991d2a5d0d8459d72592388
Author: Christian König <christian.koenig@amd.com>
Date: Thu Oct 8 13:01:35 2020 +0200
drm/radeon: stop using pages with drm_prime_sg_to_page_addr_arrays v2
This is deprecated.
v2: also use ttm_sg_tt_init to avoid allocating the page array.
Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/403832/
drivers/gpu/drm/radeon/radeon_ttm.c | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
I wasn't able to revert this commit on v5.12, because there's another commit
c67e62790f5c156705fb162da840c6d89d0af6e0 where it seems like that file was
changed drastically, in particular drm_prime_sg_to_page_addr_arrays() was
replaced with drm_prime_sg_to_dma_addr_array().
--
You may reply to this email to add a comment.
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug 212957] [radeon] kernel NULL pointer dereference during system boot
2021-05-05 21:17 [Bug 212957] New: [radeon] kernel NULL pointer dereference during system boot bugzilla-daemon
` (2 preceding siblings ...)
2021-05-12 0:50 ` bugzilla-daemon
@ 2021-05-12 1:35 ` bugzilla-daemon
2021-05-27 17:19 ` bugzilla-daemon
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2021-05-12 1:35 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=212957
--- Comment #4 from Dennis Foster (mail@dennisfoster.us) ---
Created attachment 296723
--> https://bugzilla.kernel.org/attachment.cgi?id=296723&action=edit
journalctl - bad commit
Attached is a part of the system log after checking out the bisected commit.
--
You may reply to this email to add a comment.
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug 212957] [radeon] kernel NULL pointer dereference during system boot
2021-05-05 21:17 [Bug 212957] New: [radeon] kernel NULL pointer dereference during system boot bugzilla-daemon
` (3 preceding siblings ...)
2021-05-12 1:35 ` bugzilla-daemon
@ 2021-05-27 17:19 ` bugzilla-daemon
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2021-05-27 17:19 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=212957
Dennis Foster (mail@dennisfoster.us) changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |PATCH_ALREADY_AVAILABLE
--- Comment #5 from Dennis Foster (mail@dennisfoster.us) ---
The issue is now resolved in kernel version 5.12.7
Link to the patch commit:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-5.12.y&id=ec1bd01b632ad748dce8a0eeb4c167bead71315f
--
You may reply to this email to add a comment.
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2021-05-27 17:19 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-05 21:17 [Bug 212957] New: [radeon] kernel NULL pointer dereference during system boot bugzilla-daemon
2021-05-05 21:54 ` [Bug 212957] " bugzilla-daemon
2021-05-08 15:45 ` bugzilla-daemon
2021-05-12 0:50 ` bugzilla-daemon
2021-05-12 1:35 ` bugzilla-daemon
2021-05-27 17:19 ` bugzilla-daemon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).