** Description changed:

- Since kernel commit cf338283652f ("slab: remove struct kmem_cache_cpu")
+ [ Impact ]
+ 
+  * Since kernel commit cf338283652f ("slab: remove struct kmem_cache_cpu")
  in linux-next there is no more 'cpu_slab' member in struct kmem_cache.
  Pick 'cpu_sheaves' as an alternative kmem_cache member for kernel-next to
  identify the SLUB case.
+  * Without the patch ( 
https://github.com/crash-utility/crash/commit/fe017d7cb95ac4703ce59e4c72fd73a5fad3bcea
 ), crash fails to start on kernel 7.0 with the error message:
  
- Without the patch, crash fails to start on kernel-next with the error
- message:
+   crash: invalid structure member offset: kmem_cache_s_num
+             FILE: memory.c  LINE: 9988  FUNCTION: kmem_cache_init()
+  * The fix patch is already upstream in crash and should appear in the next 
version.
  
-   crash: invalid structure member offset: kmem_cache_s_num
-             FILE: memory.c  LINE: 9988  FUNCTION: kmem_cache_init()
+ [ Test Plan ]
+ 
+  * Take a kdump of a resolute kernel.
+  * Install the debug symbols for the kernel.
+  * Run crash on the kernel debug symbols and the captured kdump.
+  * Confirm that crash loads successfully.
+ 
+ [ Where problems could occur ]
+ 
+  * If this check for cpu_sheaves is incorrect, it could cause crash to
+ not load a kdump successfully.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2147121

Title:
  crash failure caused by struct kmem_cache changes from Linux kernel
  7.0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/crash/+bug/2147121/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to