On 14-Jun-2023, at 1:36 PM, HAGIO KAZUHITO(萩尾 一仁)
<k-hagio-ab(a)nec.com> wrote:
Support module memory layout change on Linux 6.4 by kernel commit
ac3b43283923 ("module: replace module_layout with module_memory") [1].
Without the patch, crash cannot even start a session with an error
message like this:
crash: invalid structure member offset: module_core_size
FILE: kernel.c LINE: 3787 FUNCTION: module_init()
[1]
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit...
Signed-off-by: Kazuhito Hagio <k-hagio-ab(a)nec.com>
I ran into similar problem on IBM Power while trying to read
vmcore generated against 6.4 kernel.
please wait... (gathering module symbol data)
crash: invalid structure member offset: module_core_size
FILE: kernel.c LINE: 3782 FUNCTION: module_init()
[/usr/bin/crash] error trace: 10895700c => 1085fc754 => 1086b5a18 => 10872e750
With this patch applied I am now able to read the dump using crash.
For what its worth
Tested-by: Sachin Sant <sachinp(a)linux.ibm.com>
- Sachin