<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Kernel panic after modesetting (not on every boot) on ryzen 5 2400g"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=106225#c21">Comment # 21</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Kernel panic after modesetting (not on every boot) on ryzen 5 2400g"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=106225">bug 106225</a>
              from <span class="vcard"><a class="email" href="mailto:f.pinamartins@gmail.com" title="Francisco Pina Martins <f.pinamartins@gmail.com>"> <span class="fn">Francisco Pina Martins</span></a>
</span></b>
        <pre>Created <span class=""><a href="attachment.cgi?id=139288" name="attach_139288" title="journalctl log with KASAN_OUTLINE and kasan_multi_shot using a kernel compiled with debug info">attachment 139288</a> <a href="attachment.cgi?id=139288&action=edit" title="journalctl log with KASAN_OUTLINE and kasan_multi_shot using a kernel compiled with debug info">[details]</a></span>
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?</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>