-----Original Message-----
From: Chao Huang <chahuan(a)qti.qualcomm.com>
Sent: Tuesday, November 3, 2026 4:30 PM
To: devel(a)lists.crash-utility.osci.io
Cc: wya(a)qti.qualcomm.com; zhiqxion(a)qti.qualcomm.com
Subject: [Crash-utility] [PATCH 1/1] kernel: recover modules from module_kset
From: wya <wya(a)qti.qualcomm.com>
Recover readable modules from module_kset when a dumpfile cannot walk
the modules list. Use recovered addresses for both module memory
layouts.
Signed-off-by: wya <wya(a)qti.qualcomm.com>
Signed-off-by: Chao Huang <chahuan(a)qti.qualcomm.com>
---
defs.h | 7 ++-
kernel.c | 175 ++++++++++++++++++++++++++++++++++++++++++++++++++----
symbols.c | 33 ++++++++--
3 files changed, 195 insertions(+), 20 deletions(-)
diff --git a/defs.h b/defs.h
index c8708d1..c27c98c 100644
--- a/defs.h
+++ b/defs.h
@@ -2241,6 +2241,9 @@ struct offset_table { /* stash of commonly-used
offsets */
long module_mem;
long module_memory_base;
long module_memory_size;
+ long module_mkobj;
+ long module_kobject_kobj;
+ long module_kobject_mod;
long irq_data_irq;
long zspage_huge;
long zram_comp_algs;
This block caught my eye; these need to be added to the end of the offset_table.
Please see
https://github.com/crash-utility/crash/wiki
Thanks,
Kazu