[LEDE-DEV] WRT3200ACM crashes after mac80211 wireless-testing 2017-11-01

Felix Fietkau nbd at nbd.name
Wed Nov 29 08:53:45 PST 2017


On 2017-11-23 01:25, Syrone Wong wrote:
> Hi,
> 
> 1. minor warning
> 
> .config:5:warning: symbol value 'm' invalid for ATH_REG_DYNAMIC_USER_REG_HINTS
> 
> The config entry is of type bool.
> 
> config ATH_REG_DYNAMIC_USER_REG_HINTS
> bool "Atheros dynamic user regulatory hints"
> depends on CFG80211_CERTIFICATION_ONUS
> default n
> ---help---
>  Say N. This should only be enabled in countries where
>  this feature is explicitly allowed and only on cards that
>  specifically have been tested for this.
> 
> 2. wireless-regdb
> 
> python $(PKG_BUILD_DIR)/db2fw.py $(PKG_BUILD_DIR)/regulatory.db
> $(PKG_BUILD_DIR)/db.txt in Build/Compile assumes python is linked to
> python2 by default. But it's not the truth for bleeding edge distros,
> for example, Archlinux.
> 
> It will fail on the system that links python to python 3.
> 
>  File "/home/wong/github/lede-1/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/wireless-regdb-2017-10-20-4343d359/db2fw.py",
> line 13
> 
>     print 'Usage: %s output-file input-file' % sys.argv[0]
>                                            ^
> SyntaxError: Missing parentheses in call to 'print'. Did you mean
> print(int 'Usage: %s output-file input-file' % sys.argv[0])?
> 
> The error got ignored silently.
> 
> I propose following `tools/scons/files/pywrap.sh` way, find python2
> ourselves and call python2 explicitly.
> 
> 3. About the crash
> 
> It crashes in ~5mins after clients connected to the router. No warning
> or kernel panic messages at all, just rebooting.
> 
> I tried to build new backports based on wt-2017-11-14, drop some
> patches already upstream, and still the same issue.
> 
> After reverting
> 6a6dc94e0c9a0533eaa9819bf3c22128b009af56,
> 9247864b6ed933841ee3068dbd4add06babe7fbd,
> 2dc485250d516f1535eeaf53f0f2f5742e5f9e0c and
> f9fa266faf9a2fdea48cc2fb72fa5a7e52a527c0, the crash disappears.
Please try the latest version, I fixed a bug in
2dc485250d516f1535eeaf53f0f2f5742e5f9e0c which led to crashes.

- Felix



More information about the Lede-dev mailing list