[Crash-utility] Re: crash8.0.4 cannot get source line nums of functions from ko on android15-k6.6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2024/03/01 10:45, tianming.wang@xxxxxxxxxx wrote:
> Hi kazu
> 
> After Iapply this patch, it is still broken.
> 
> Here are some errors.
> crash_latest_fix_k66> mod -d sysdump
> crash_latest_fix_k66> set debug 1
> debug: 1
> crash_latest_fix_k66> mod -s sysdump
> ffffffxxx__ksymtab
> ffffffxxx __kcrctab
> ffffffxxx .altinstructions
> ffffffxxx __bug_table
> ffffffxxx __jump_table
> ffffffxxx .bss
> ffffffxxx .data
> ffffffxxx.rodata
> ..............
> .............
> ffffffxxx .note.gnu.build-id
> ffffffxxx .note.gnu.property
> ffffffxxx.symtab
> ffffffxxx .strtab
> /home/tianming.wang/workdir/kernel_6.6/sysdump.ko: add_symbol_file_kallsyms failed

Thanks for trying.  Hmm, it can work well with a 6.6 dump on hand..

btw, does ".text" section exist in the section list above?  It seems 
that it's necessary for add_symbol_file_kallsyms() succeeds.

                 if (STREQ(section_name, ".text")) {
                 ...
                         retval = TRUE;

Kazu

> add-symbol-file /home/tianming.wang/workdir/kernel_6.6/sysdump.ko 0xffffffxxx -s .data 0xffffffxxx-s .bss 0xffffffxxx -s .rodata 0xffffffxxx
> add symbol table from file "/home/tianming.wang/workdir/kernel_6.6/sysdump.ko" at
>          .text_addr = 0xffffffxxx
>          .data_addr = 0xffffffxxx
>          .bss_addr = 0xffffffxxx
>          .rodata_addr = 0xffffffxxx
>       MODULE       NAME                           TEXT_BASE         SIZE  OBJECT FILE
> 0xffffffxxx  sysdump                     0xffffffxxx   106496  /home/tianming.wang/workdir/kernel_6.6/sysdump.ko
> --
> Crash-utility mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxxxxxx
> https://${domain_name}/admin/lists/devel.lists.crash-utility.osci.io/
> Contribution Guidelines: https://github.com/crash-utility/crash/wiki
--
Crash-utility mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxxxxxx
https://${domain_name}/admin/lists/devel.lists.crash-utility.osci.io/
Contribution Guidelines: https://github.com/crash-utility/crash/wiki




[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux