I am analyzing the kdump in latest crash utility 8.0.4++.
I think I loaded the module symbols correctly :
crash> mod
     MODULE       NAME              TEXT_BASE       SIZE  OBJECT FILE
ffff80007a7e2040  npdereference  ffff80007a7e0000  12288  (not loaded)  [CONFIG_KALLSYMS]
crash>
crash> mod -s npdereference
/home/naveen/.repos/src/arm64/linux/drivers/naveen/npdereference.ko
     MODULE       NAME              TEXT_BASE       SIZE  OBJECT FILE
ffff80007a7e2040  npdereference  ffff80007a7e0000  12288 
/home/naveen/.repos/src/arm64/linux/drivers/naveen/npdereference.ko
But still my backtrace doesn't say the correct symbol name :
#12 [ffff800082c6ba60] _MODULE_INIT_TEXT_START_npdereference at ffff80007a7e602c
[npdereference]
The "sym" command also doesn't point me to the source file :
crash> sym ffff80007a7e602c
ffff80007a7e602c (m) _MODULE_INIT_TEXT_START_npdereference+44 [npdereference]
crash>
Is there a way to make this work correctly or at least make the "sym" command
point to right source file. The kernel module here is called "npdereference.ko"
and is in-tree (part of kernel source repo).
Regards,
Naveen
    
    
    
    
    
 
                    
                    
                        
                        Show replies by date