From: Ash C. <ash...@gm...> - 2015-08-27 16:34:19
|
Hi Kevyn, If you are using an image that includes NetworkManager such as the gumstix-xfce-image, wpa_supplicant and NetworkManager conflict to control the wifi interface resulting in such disconnect messages. I added this fix [1] however it is really up to you whether you'd prefer to use NetworkManager or the wpa_supplicant configuration file to manage wifi connection e.g. $ systemctl disable wpa_supplicant@wlan0 $ systemctl stop wpa_supplicant@wlan0 or $ systemctl disable NetworkManager $ systemcl stop NetworkManager [1] https://github.com/gumstix/meta-gumstix-extras/commit/e04824495bd638527509868418677935d7bab5e2 HTH, --Ash On Thu, Aug 27, 2015 at 9:22 AM, Kevyn-Alexandre Paré <ka...@ro...> wrote: > Hi all, > > >From Overo IronStorm-Y + Arbor 43c > > >From factory image: > uname -a > Linux overo 3.17.8-custom #1 SMP Wed Feb 25 04:05:20 PST 2015 armv7l GNU/Linux > > Following : https://github.com/gumstix/yocto-manifest/wiki#for-wireless-connections > > I tried with wifi with without security and seem to always have the > same issue... > > root@overo:~# cat /etc/wpa_supplicant/wpa_supplicant-wlan0.conf > # Adjust this file for your network. See [1] for > # more details. > # [1] http://linux.die.net/man/5/wpa_supplicant.conf > ctrl_interface=/var/run/wpa_supplicant > ctrl_interface_group=0 > update_config=1 > > # Test > network={ > ssid="XXXXXXXX" > psk="XXXXXXXX" > } > > systemctl enable systemd-networkd > reboot > > Any thought? > > Then: > overo login: [ 26.911224] systemd[1]: PID file /var/run/smbd.pid not > readable (yet?) after start. > ro[ 28.659881] wlan0: authenticate with 88:1f:a1:32:e6:e2 > o[ 28.816131] wlan0: send auth to 88:1f:a1:32:e6:e2 (try 1/3) > t > [ 29.050842] wlan0: send auth to 88:1f:a1:32:e6:e2 (try 2/3) > [ 29.096710] wlan0: authenticated > [ 29.111175] wlan0: associate with 88:1f:a1:32:e6:e2 (try 1/3) > [ 29.169738] wlan0: RX AssocResp from 88:1f:a1:32:e6:e2 (capab=0x1411 > status=0 aid=12) > [ 29.287902] Bluetooth: HCI UART driver ver 2.2 > [ 29.292755] Bluetooth: HCI H4 protocol initialized > [ 29.297821] Bluetooth: HCI BCSP protocol initialized > [ 29.303131] Bluetooth: HCILL protocol initialized > [ 29.367187] wlan0: associated > [ 29.377227] wlan0: deauthenticating from 88:1f:a1:32:e6:e2 by local > choice (Reason: 3=DEAUTH_LEAVING) > [ 29.638366] cfg80211: Calling CRDA to update world regulatory domain > [ 29.710174] cfg80211: Calling CRDA for country: CA > [ 30.091369] Bluetooth: RFCOMM TTY layer initialized > [ 30.096618] Bluetooth: RFCOMM socket layer initialized > [ 30.102325] Bluetooth: RFCOMM ver 1.11 > root@overo:~# [ 42.049377] wlan0: authenticate with 88:1f:a1:32:e6:e2 > [ 42.213531] wlan0: send auth to 88:1f:a1:32:e6:e2 (try 1/3) > [ 42.229888] wlan0: authenticated > [ 42.460968] wlan0: associate with 88:1f:a1:32:e6:e2 (try 1/3) > [ 42.546295] wlan0: RX AssocResp from 88:1f:a1:32:e6:e2 (capab=0x1411 > status=0 aid=12) > [ 42.882019] wlan0: associated > [ 42.887573] wlan0: deauthenticating from 88:1f:a1:32:e6:e2 by local > choice (Reason: 3=DEAUTH_LEAVING) > [ 43.221740] cfg80211: Calling CRDA to update world regulatory domain > ifcon[ 70.471740] wlan0: authenticate with 88:1f:a1:32:e6:e2 > [ 70.498443] wlan0: send auth to 88:1f:a1:32:e6:e2 (try 1/3) > [ 70.631652] wlan0: send auth to 88:1f:a1:32:e6:e2 (try 2/3) > [ 70.648468] wlan0: authenticated > [ 70.665374] wlan0: associate with 88:1f:a1:32:e6:e2 (try 1/3) > [ 70.690856] wlan0: RX AssocResp from 88:1f:a1:32:e6:e2 (capab=0x1411 > status=0 aid=12) > [ 70.753662] wlan0: associated > [ 70.759185] wlan0: deauthenticating from 88:1f:a1:32:e6:e2 by local > choice (Reason: 3=DEAUTH_LEAVING) > [ 70.868164] cfg80211: Calling CRDA to update world regulatory domain > [ 70.912689] cfg80211: Calling CRDA to update world regulatory domain > fig [ 108.089141] wlan0: authenticate with 88:1f:a1:32:e6:e2 > [ 108.125518] wlan0: send auth to 88:1f:a1:32:e6:e2 (try 1/3) > [ 108.153717] wlan0: authenticated > [ 108.162292] wlan0: associate with 88:1f:a1:32:e6:e2 (try 1/3) > [ 108.192718] wlan0: RX AssocResp from 88:1f:a1:32:e6:e2 (capab=0x1411 > status=0 aid=12) > [ 108.242584] wlan0: associated > [ 108.247619] wlan0: deauthenticating from 88:1f:a1:32:e6:e2 by local > choice (Reason: 3=DEAUTH_LEAVING) > [ 108.350921] cfg80211: Calling CRDA for country: CA > [ 108.381500] ------------[ cut here ]------------ > [ 108.386840] WARNING: CPU: 0 PID: 1022 at > /home/gumstix/Buildbot/yocto-overo-master/build/build/tmp/work/overo-poky-linux-gnueabi/linux-gumstix/3.17-r0/git/net/wireless/reg.c:1806 > reg_process_hint+0x290/0x43c [cfg80211]() > [ 108.407592] Modules linked in: rfcomm ecb hci_uart bnep bluetooth > arc4 wl18xx wlcore mac80211 cfg80211 nfc rfkill snd_soc_omap_twl4030 > snd_soc_omap_mcbsp snd_soc_omap snd_soc_twl4030 snd_pcm_dmaengine > wlcore_sdio snd_soc_core sn > d_compress snd_pcm snd_timer snd soundcore > [ 108.433227] CPU: 0 PID: 1022 Comm: kworker/0:3 Not tainted > 3.17.8-custom 0000001 > [ 108.440704] Workqueue: events reg_todo [cfg80211] > [ 108.445770] [<c001599c>] (unwind_backtrace) from [<c0012104>] > (show_stack+0x10/0x14) > [ 108.454010] [<c0012104>] (show_stack) from [<c05e66a0>] (dump_stack+0x84/0x9c) > [ 108.461700] [<c05e66a0>] (dump_stack) from [<c0041c10>] > (warn_slowpath_common+0x6c/0x90) > [ 108.470245] [<c0041c10>] (warn_slowpath_common) from [<c0041cd0>] > (warn_slowpath_null+0x1c/0x24) > [ 108.479675] [<c0041cd0>] (warn_slowpath_null) from [<bf0e261c>] > (reg_process_hint+0x290/0x43c [cfg80211]) > [ 108.490112] [<bf0e261c>] (reg_process_hint [cfg80211]) from > [<bf0e2830>] (reg_todo+0x68/0x180 [cfg80211]) > [ 108.500396] [<bf0e2830>] (reg_todo [cfg80211]) from [<c0056f7c>] > (process_one_work+0x1b4/0x48c) > [ 108.509613] [<c0056f7c>] (process_one_work) from [<c0057b68>] > (worker_thread+0x1cc/0x4c0) > [ 108.518310] [<c0057b68>] (worker_thread) from [<c005bd90>] (kthread+0xc8/0xe4) > [ 108.525970] [<c005bd90>] (kthread) from [<c000e708>] (ret_from_fork+0x14/0x2c) > [ 108.533630] ---[ end trace 5f790d3f23a59171 ]--- > [ 108.538513] cfg80211: Calling CRDA for country: CA > [ 175.784149] wlan0: authenticate with 88:1f:a1:32:e6:e2 > [ 175.845397] wlan0: send auth to 88:1f:a1:32:e6:e2 (try 1/3) > [ 180.480072] wlan0: authenticated > [ 180.502014] wlan0: associate with 88:1f:a1:32:e6:e2 (try 1/3) > [ 180.537811] wlan0: RX AssocResp from 88:1f:a1:32:e6:e2 (capab=0x1411 > status=0 aid=12) > [ 180.579101] wlan0: associated > [ 180.584381] wlan0: deauthenticating from 88:1f:a1:32:e6:e2 by local > choice (Reason: 3=DEAUTH_LEAVING) > [ 180.658874] cfg80211: Calling CRDA to update world regulatory domain > > > > BR, > > -KA > > ------------------------------------------------------------------------------ > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users |