Comment # 21
on bug 106225
from Francisco Pina Martins
Created attachment 139288 [details]
journalctl log with KASAN_OUTLINE and kasan_multi_shot using a kernel compiled
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 hands
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]
-> $ /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/amdgpu/../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/amdgpu/../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/amdgpu/../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/amdgpu/../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/amdgpu/../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]
-> $ /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/amdgpu/../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/amdgpu/../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/amdgpu/../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/amdgpu/../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/amdgpu/../display/dc/bios/bios_parser2.c:1927
```
This is no longer a "franken-kernel-mosnter", does this output reveal anything
new?
You are receiving this mail because:
- You are the assignee for the bug.
_______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel