Allwinner sun8i creates trace when scaning for WiFi


2 2

Recommended Posts



Using the WiFi functionality eventually the system get disconnected, and scanning won't work anymore.


[270488.523815] ------------[ cut here ]------------
[270488.523829] WARNING: CPU: 1 PID: 14323 at drivers/net/wireless/xradio/scan.c:511 xradio_scan_work+0x3b5/0x40c [xradio_wlan]
[270488.523971] Modules linked in: aes_arm_bs crypto_simd ccm xradio_wlan wireguard mac80211 curve25519_neon libchacha20poly1305 cfg80211 chacha_neon poly1305_arm libblake2s ftdi_sio sun4i_gpadc_iio industrialio rfkill usbserial blake2s_arm libcurve25519_generic sun8i_thermal ip6_udp_tunnel libarc4 udp_tunnel uio_pdrv_genirq uio cpufreq_dt zram sch_fq_codel sunrpc ip_tables x_tables autofs4 pwrseq_simple sunxi phy_generic
[270488.524339] CPU: 1 PID: 14323 Comm: kworker/u8:0 Tainted: G        W         5.12.13-sunxi #trunk.77
[270488.524368] Hardware name: Allwinner sun8i Family
[270488.524391] Workqueue: xradio_wq xradio_scan_work [xradio_wlan]
[270488.524498] [<c010cb55>] (unwind_backtrace) from [<c010957d>] (show_stack+0x11/0x14)
[270488.524555] [<c010957d>] (show_stack) from [<c098bdf3>] (dump_stack+0x77/0x84)
[270488.524599] [<c098bdf3>] (dump_stack) from [<c011aec1>] (__warn+0xad/0xc0)
[270488.524642] [<c011aec1>] (__warn) from [<c0985a7f>] (warn_slowpath_fmt+0x43/0x7c)
[270488.524691] [<c0985a7f>] (warn_slowpath_fmt) from [<bfa238b9>] (xradio_scan_work+0x3b5/0x40c [xradio_wlan])
[270488.524803] [<bfa238b9>] (xradio_scan_work [xradio_wlan]) from [<c012f00f>] (process_one_work+0x18b/0x3f8)
[270488.524929] [<c012f00f>] (process_one_work) from [<c012f37f>] (worker_thread+0x103/0x400)
[270488.524985] [<c012f37f>] (worker_thread) from [<c01349d9>] (kthread+0x109/0x10c)
[270488.525047] [<c01349d9>] (kthread) from [<c0100159>] (ret_from_fork+0x11/0x38)
[270488.525087] Exception stack(0xcdb77fb0 to 0xcdb77ff8)
[270488.525113] 7fa0:                                     00000000 00000000 00000000 00000000
[270488.525140] 7fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[270488.525163] 7fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[270488.525264] ---[ end trace 86df4a2963dc43b7 ]---
[270488.525288] xradio SCAN-ERR: scan failed, status=-22.
[270488.530565] xradio SCAN-ERR: Scan failed (-22).
[270493.540816] xradio WSM-ERR: wsm_generic_confirm failed for request 0x0007.
[270493.547956] xradio SCAN-WRN: xradio_scan_start,wsm_scan failed!
[270493.547980] ------------[ cut here ]------------


Edited by TRS-80
put long output inside spoiler
Link to post
Share on other sites

Armbian is a community driven open source project. Do you like to contribute your code?

Here is early work for proper XR819 mainline support. Tests reports are welcome, to see if it is actually any better than vendor driver. I got reasonable speed using it and only problem I can see is that suspend doesn't work. Of course, developer tests rarely last more than a few minutes, so long term stability isn't known.


Note, I extracted pretty recent FW binaries from H616 Android box, which should be better than old ones, in theory.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


2 2