Jump to content

Orange Pi Lite wireless issue: net/wireless/sme.c:752 __cfg80211_connect_result


cvxx

Recommended Posts

Hi,

 

I have two OrangePi Lite running side by side. After working fine for about 8 months both started to experience same issue with wireless:


 

Quote

 

[   20.283685] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   52.018851] ------------[ cut here ]------------
[   52.019030] WARNING: CPU: 2 PID: 5 at net/wireless/sme.c:752 __cfg80211_connect_result+0x256/0x2c8 [cfg80211]
[   52.019033] Modules linked in: lz4 lz4_compress zram uvcvideo ir_lirc_codec snd_usb_audio snd_hwdep snd_usbmidi_lib videobuf2_vmalloc snd_rawmidi videobuf2_memops snd_seq_device lirc_dev videobuf2_v4l2 videobuf2_core evdev sunxi_cir sun8i_codec_analog sun4i_gpadc_iio snd_soc_hdmi_codec sun4i_i2s snd_soc_simple_card snd_soc_simple_card_utils snd_soc_core snd_pcm_dmaengine snd_pcm snd_timer snd soundcore w1_therm w1_gpio wire uio_pdrv_genirq uio sch_fq_codel g_serial libcomposite 8189fs cfg80211 rfkill ip_tables x_tables dw_hdmi_cec dw_hdmi_i2s_audio sun8i_dw_hdmi dw_hdmi cec sun4i_tcon sun8i_mixer sun4i_drm
[   52.019146] CPU: 2 PID: 5 Comm: kworker/u8:0 Not tainted 4.14.65-sunxi #12
[   52.019149] Hardware name: Allwinner sun8i Family
[   52.019210] Workqueue: cfg80211 cfg80211_event_work [cfg80211]
[   52.019237] [<c010dacd>] (unwind_backtrace) from [<c010a0b5>] (show_stack+0x11/0x14)
[   52.019251] [<c010a0b5>] (show_stack) from [<c086b7fd>] (dump_stack+0x69/0x78)
[   52.019264] [<c086b7fd>] (dump_stack) from [<c011a1cf>] (__warn+0xaf/0xc0)
[   52.019273] [<c011a1cf>] (__warn) from [<c011a291>] (warn_slowpath_null+0x19/0x1c)
[   52.019332] [<c011a291>] (warn_slowpath_null) from [<bf89256b>] (__cfg80211_connect_result+0x256/0x2c8 [cfg80211])
[   52.019442] [<bf89256b>] (__cfg80211_connect_result [cfg80211]) from [<bf8744fd>] (cfg80211_process_wdev_events+0xb4/0xe0 [cfg80211])
[   52.019544] [<bf8744fd>] (cfg80211_process_wdev_events [cfg80211]) from [<bf87454f>] (cfg80211_process_rdev_events+0x26/0x50 [cfg80211])
[   52.019645] [<bf87454f>] (cfg80211_process_rdev_events [cfg80211]) from [<bf8701d3>] (cfg80211_event_work+0x16/0x1c [cfg80211])
[   52.019702] [<bf8701d3>] (cfg80211_event_work [cfg80211]) from [<c012d4d1>] (process_one_work+0x155/0x37c)
[   52.019711] [<c012d4d1>] (process_one_work) from [<c012e073>] (worker_thread+0xff/0x408)
[   52.019721] [<c012e073>] (worker_thread) from [<c0131b3d>] (kthread+0xfd/0x104)
[   52.019733] [<c0131b3d>] (kthread) from [<c01066f9>] (ret_from_fork+0x11/0x38)
[   52.019778] ---[ end trace b84df9c56982a79d ]---
[   52.242651] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready


 

The board works randomly for few hours or few days and then looses wireless connection. When this happens reboot does not help as then issue occurs immediately after the boot. Unplugging and replugging power source resolves that for a while and then happens again

 

I suspect it may not be related to a hardware issue or wireless hotspot, as I have at least 3 other clients that continue to work fine. Searching for it on the internet brought this issue with Raspberry Pi: https://github.com/raspberrypi/linux/issues/1988. Raspberry uses different wireless chipset either. All that makes me think this may be an issue in the kernel itself

 

Any ideas or thoughts?

Workaround also appreciated

 

Thanks

Link to comment
Share on other sites

I am successfully using this cron script every 1 minute to detect wifi failure and reload the module:
 

#!/bin/bash

status=`/sbin/ifconfig wlan0 | grep "inet 192"`
if [ ! -z "$status" ]; then exit 0; fi

echo "Detected wifi failure"
dmesg | grep __cfg80211_connect_result | mail -s "Wifi failure" root@localhost

sudo rmmod 8189fs
sudo modprobe 8189fs
sleep 3

nmcli connection up id mynetworkname

HTH

Link to comment
Share on other sites

48 minutes ago, mikaey said:

I'm having this same issue with the Orange Pi Zero Plus.  Did anyone ever figure out what the issue was?


I made some updates to related wireless drivers today. Build from sources and try if there is any better.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines