From: bugzilla-daemon@freedesktop.org
Subject: [Bug 106225] Kernel panic after modesetting (not on every boot) on
ryzen 5 2400g
Date: Wed, 02 May 2018 22:18:59 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1542423971=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id DC5E56E5B6
for ; Wed, 2 May 2018 22:18:59 +0000 (UTC)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dri-devel-bounces@lists.freedesktop.org
Sender: "dri-devel"
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============1542423971==
Content-Type: multipart/alternative; boundary="15252995392.5Fb4e8aca.23304"
Content-Transfer-Encoding: 7bit
--15252995392.5Fb4e8aca.23304
Date: Wed, 2 May 2018 22:18:59 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
https://bugs.freedesktop.org/show_bug.cgi?id=3D106225
--- Comment #21 from Francisco Pina Martins ---
Created attachment 139288
--> https://bugs.freedesktop.org/attachment.cgi?id=3D139288&action=3Dedit
journalctl log with KASAN_OUTLINE and kasan_multi_shot using a kernel compi=
led
with debug info
Ok, so here's what I did.
Since I did not have space for the kernel with both KASAN and debug info
enabled (the 590Mb was already with CONFIG_DEBUG_INFO_REDUCED), I got my ha=
nds
dirty and used nconfig to strip a ton of drivers I was pretty sure I didn't
need from the build (stuff like nouveau, industrial controllers, game-pads,
etc..). I got the kernel down to ~390Mb which was enough to install.
I have attached the journalctl log file with this new kernel
(linux-kasan-debug-stripped).
As for faddr2line output, here is the original command with the new kernel:
```
francisco@ZenBox [23:09:51]
[/usr/lib/modules/4.16.5-1-kasan-debug-stripped/kernel/drivers/gpu/drm/amd/=
amdgpu]=20
-> $ /usr/lib/modules/4.16.5-1-kasan-debug-stripped/build/scripts/faddr2line
amdgpu.ko firmware_parser_create+0xa70/0xd90
firmware_parser_create+0xa70/0xd90:
get_integrated_info_v11 at
/tmp/build/linux-kasan-debug-stripped/src/linux-4.16/drivers/gpu/drm/amd/am=
dgpu/../display/dc/bios/bios_parser2.c:1572
(inlined by) construct_integrated_info at
/tmp/build/linux-kasan-debug-stripped/src/linux-4.16/drivers/gpu/drm/amd/am=
dgpu/../display/dc/bios/bios_parser2.c:1714
(inlined by) bios_parser_create_integrated_info at
/tmp/build/linux-kasan-debug-stripped/src/linux-4.16/drivers/gpu/drm/amd/am=
dgpu/../display/dc/bios/bios_parser2.c:1755
(inlined by) bios_parser_construct at
/tmp/build/linux-kasan-debug-stripped/src/linux-4.16/drivers/gpu/drm/amd/am=
dgpu/../display/dc/bios/bios_parser2.c:1912
(inlined by) firmware_parser_create at
/tmp/build/linux-kasan-debug-stripped/src/linux-4.16/drivers/gpu/drm/amd/am=
dgpu/../display/dc/bios/bios_parser2.c:1927
```
And here is the "new" command with the new kernel:
```
francisco@ZenBox [23:10:27]
[/usr/lib/modules/4.16.5-1-kasan-debug-stripped/kernel/drivers/gpu/drm/amd/=
amdgpu]=20
-> $ /usr/lib/modules/4.16.5-1-kasan-debug-stripped/build/scripts/faddr2line
amdgpu.ko firmware_parser_create+0xa9b/0xd90
firmware_parser_create+0xa9b/0xd90:
get_integrated_info_v11 at
/tmp/build/linux-kasan-debug-stripped/src/linux-4.16/drivers/gpu/drm/amd/am=
dgpu/../display/dc/bios/bios_parser2.c:1574
(inlined by) construct_integrated_info at
/tmp/build/linux-kasan-debug-stripped/src/linux-4.16/drivers/gpu/drm/amd/am=
dgpu/../display/dc/bios/bios_parser2.c:1714
(inlined by) bios_parser_create_integrated_info at
/tmp/build/linux-kasan-debug-stripped/src/linux-4.16/drivers/gpu/drm/amd/am=
dgpu/../display/dc/bios/bios_parser2.c:1755
(inlined by) bios_parser_construct at
/tmp/build/linux-kasan-debug-stripped/src/linux-4.16/drivers/gpu/drm/amd/am=
dgpu/../display/dc/bios/bios_parser2.c:1912
(inlined by) firmware_parser_create at
/tmp/build/linux-kasan-debug-stripped/src/linux-4.16/drivers/gpu/drm/amd/am=
dgpu/../display/dc/bios/bios_parser2.c:1927
```
This is no longer a "franken-kernel-mosnter", does this output reveal anyth=
ing
new?
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15252995392.5Fb4e8aca.23304
Date: Wed, 2 May 2018 22:18:59 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
Comme=
nt # 21
on bug 10622=
5
from Francisco Pina Martins
Created attachment 139288 [details]
journalctl log with KASAN_OUTLINE and kasan_multi_shot using a kernel compi=
led
with debug info
Ok, so here's what I did.
Since I did not have space for the kernel with both KASAN and debug info
enabled (the 590Mb was already with CONFIG_DEBUG_INFO_REDUCED), I got my ha=
nds
dirty and used nconfig to strip a ton of drivers I was pretty sure I didn't
need from the build (stuff like nouveau, industrial controllers, game-pads,
etc..). I got the kernel down to ~390Mb which was enough to install.
I have attached the journalctl log file with this new kernel
(linux-kasan-debug-stripped).
As for faddr2line output, here is the original command with the new kernel:
```
francisco@ZenBox [23:09:51]
[/usr/lib/modules/4.16.5-1-kasan-debug-stripped/kernel/drivers/gpu/drm/amd/=
amdgpu]=20
-> $ /usr/lib/modules/4.16.5-1-kasan-debug-stripped/build/scripts/faddr2=
line
amdgpu.ko firmware_parser_create+0xa70/0xd90
firmware_parser_create+0xa70/0xd90:
get_integrated_info_v11 at
/tmp/build/linux-kasan-debug-stripped/src/linux-4.16/drivers/gpu/drm/amd/am=
dgpu/../display/dc/bios/bios_parser2.c:1572
(inlined by) construct_integrated_info at
/tmp/build/linux-kasan-debug-stripped/src/linux-4.16/drivers/gpu/drm/amd/am=
dgpu/../display/dc/bios/bios_parser2.c:1714
(inlined by) bios_parser_create_integrated_info at
/tmp/build/linux-kasan-debug-stripped/src/linux-4.16/drivers/gpu/drm/amd/am=
dgpu/../display/dc/bios/bios_parser2.c:1755
(inlined by) bios_parser_construct at
/tmp/build/linux-kasan-debug-stripped/src/linux-4.16/drivers/gpu/drm/amd/am=
dgpu/../display/dc/bios/bios_parser2.c:1912
(inlined by) firmware_parser_create at
/tmp/build/linux-kasan-debug-stripped/src/linux-4.16/drivers/gpu/drm/amd/am=
dgpu/../display/dc/bios/bios_parser2.c:1927
```
And here is the "new" command with the new kernel:
```
francisco@ZenBox [23:10:27]
[/usr/lib/modules/4.16.5-1-kasan-debug-stripped/kernel/drivers/gpu/drm/amd/=
amdgpu]=20
-> $ /usr/lib/modules/4.16.5-1-kasan-debug-stripped/build/scripts/faddr2=
line
amdgpu.ko firmware_parser_create+0xa9b/0xd90
firmware_parser_create+0xa9b/0xd90:
get_integrated_info_v11 at
/tmp/build/linux-kasan-debug-stripped/src/linux-4.16/drivers/gpu/drm/amd/am=
dgpu/../display/dc/bios/bios_parser2.c:1574
(inlined by) construct_integrated_info at
/tmp/build/linux-kasan-debug-stripped/src/linux-4.16/drivers/gpu/drm/amd/am=
dgpu/../display/dc/bios/bios_parser2.c:1714
(inlined by) bios_parser_create_integrated_info at
/tmp/build/linux-kasan-debug-stripped/src/linux-4.16/drivers/gpu/drm/amd/am=
dgpu/../display/dc/bios/bios_parser2.c:1755
(inlined by) bios_parser_construct at
/tmp/build/linux-kasan-debug-stripped/src/linux-4.16/drivers/gpu/drm/amd/am=
dgpu/../display/dc/bios/bios_parser2.c:1912
(inlined by) firmware_parser_create at
/tmp/build/linux-kasan-debug-stripped/src/linux-4.16/drivers/gpu/drm/amd/am=
dgpu/../display/dc/bios/bios_parser2.c:1927
```
This is no longer a "franken-kernel-mosnter", does this output re=
veal anything
new?
You are receiving this mail because:
- You are the assignee for the bug.
=
--15252995392.5Fb4e8aca.23304--
--===============1542423971==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============1542423971==--