On 2024/03/01 12:07, HAGIO KAZUHITO(萩尾 一仁) wrote:
On 2024/03/01 10:45, tianming.wang(a)unisoc.com 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 the ".text" section exists, is it possible to determine where
"done"
is set to TRUE in the add_symbol_file_kallsyms()?
Thanks,
Kazu
(p.s. will be back on Tuesday..)
if (STREQ(section_name, ".text")) {
...
retval = TRUE;
Kazu