Hello All,
Reporting a crash failure while debugging kernel 6.4.0-rc4 dump.
crash failed with the below error:
crash: invalid structure member offset: module_core_size
FILE: kernel.c LINE: 3781 FUNCTION: module_init()
[/usr/bin/crash] error trace: 130ba0654 => 130752a44 => 13080c980 =>
1308b1ad0
I believe the reason for this is the modification made to the module
structure
through the following patch.
commit ac3b43283923440900b4f36ca5f9f0b1ca43b70e
Author: Song Liu <song(a)kernel.org>
Date: Mon Feb 6 16:28:02 2023 -0800
module: replace module_layout with module_memory
module_layout manages different types of memory (text, data,
rodata, etc.)
in one allocation, which is problematic for some reasons:
Crash searches for module_layout within the struct module, but it has
been replaced
with module_memory in kernel.
Thanks,
Sourabh Jain