Wifi bug

Hannu Nyman hannu.nyman at iki.fi
Mon Sep 27 08:03:09 PDT 2021


e9hack kirjoitti 27.9.2021 klo 16.39:
> Am 27.09.2021 um 14:01 schrieb Felix Fietkau:
>> Normally it should be active by default. Is CONFIG_KERNEL_ELF_CORE set
>> in your .config?
>
> It was not activated, but the output from gdb looks not so helpful:
>
> hb at vbox-linux6:~/src/openwrt/LEDE/archer-C7-ath79-5.10.x-dsa/build_dir/target-mips_74kc_musl/netifd-2021-09-21-08e954e1> 
> ../../../scripts/remote-gdb netifd.1632747166.9335.11.core netifd
> Choose target:
>   1) mips_74kc (musl )
> GNU gdb (GDB) 10.1
> ...
> Reading symbols from netifd...
> [New LWP 9335]
> Core was generated by `/sbin/netifd'.
> Program terminated with signal SIGSEGV, Segmentation fault.
> #0  0x77d79ed5 in ?? (warning: GDB can't find the start of the function at 
> 0x77d79ed5.
>
>     GDB is unable to find the start of the function at 0x77d79ed5
> and thus can't determine the size of that function's stack frame. 


Did you remember to provide it with a unstripped "netifd" binary from the 
staging_dir ?
(or did you try with the stripped final binary in build_dir or router? which 
will fail unless you have disabled stripping and have the full binary intact)





More information about the openwrt-devel mailing list