> On 14-Jun-2023, at 1:36 PM, HAGIO KAZUHITO(萩尾 一仁) <[email protected]> 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/?id=ac3b43283923
> 
> Signed-off-by: Kazuhito Hagio <[email protected]>

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 <[email protected]>

- Sachin

--
Crash-utility mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/crash-utility
Contribution Guidelines: https://github.com/crash-utility/crash/wiki

Reply via email to