Bug 2041702

Summary: crash: invalid structure member offset: kmem_cache_s_num
Product: [Fedora] Fedora Reporter: Baoquan He <bhe>
Component: crashAssignee: lijiang
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 36CC: anderson, lijiang
Target Milestone: ---Flags: fedora-admin-xmlrpc: mirror+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: crash-8.0.0-6.fc36 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-02-11 01:09:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Baoquan He 2022-01-18 06:41:48 UTC
Description of problem:
This issue can be seen on all arch-es of ARK cki testing. It should be a generic issue.

~~~~~~
For help, type "help".
Type "apropos word" to search for commands related to "word"...


please wait... (gathering kmem slab cache data)
crash: invalid structure member offset: kmem_cache_s_num
       FILE: memory.c  LINE: 9619  FUNCTION: kmem_cache_init()

[/usr/bin/crash] error trace: 55f05142d1ca => 55f05143fd0e => 55f05145f347 => 55f051540150
~~~~~~~~~

E.g in below cki testing, 

https://datawarehouse.cki-project.org/kcidb/checkouts/29396

The crash-simple.vmcore.log of x86_64 shows the failure reason:
https://s3.us-east-1.amazonaws.com/arr-cki-prod-datawarehouse-public/datawarehouse-public/2022/01/17/449798278/build_x86_64_redhat:1983548695/tests/kdump_sysrq_c/11302075_x86_64_3_crash-simple.vmcore.log


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Baoquan He 2022-01-18 06:43:06 UTC
The above testing is reported on kernel:
Test report for kernel 5.17.0-0.rc0.20220117git0c947b893d69.68.test.fc36

Comment 2 lijiang 2022-01-18 07:41:38 UTC
Upstream has fixed this issue: 14f8c460473c ("memory: Handle struct slab changes on Linux 5.17-rc1 and later")

Comment 3 Ben Cotton 2022-02-08 21:10:38 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle.
Changing version to 36.