Hi,
   I have ported Openwrt for Panda board and have enabled wpa_supplicant pacakage. After the code is build, i flashed the image to the board. I changed the mode of /etc/config/wireless to sta and gave the "wifi" command. The wifi was started successfully with initializing wpa_supplicant. When i run a wpa_supplicant.conf file using the wpa_supplicant command, it gives following error

"Successfully initialized wpa_supplicant
ctrl_iface exists and seems to be in use - cannot override it
Delete '/var/run/wpa_supplicant-wlan0/wlan0' manually if it is not used anymore
Failed to initialize control interface '/var/run/wpa_supplicant-wlan0'.
You may have another wpa_supplicant process already running or the file was
left by an unclean termination of wpa_supplicant in which case you will need
to manually remove this file before starting wpa_supplicant again."

even after removing , if i use the command, it not give any response after that.. it remains idle.

these are the error logs that i get:

***********************************************************************

oot@OpenWrt:/# f[ 1259.267883] wlcore: ERROR command complete timeout
[ 1259.273101] ------------[ cut here ]------------
[ 1259.278045] WARNING: at /home/user/Desktop/panda_images/attitude/attitude_adjustment/build_dir/linux-omap4/compat-wireless-2013-06-27/drivers/net/wireless/ti/wlcore/main.c:777 0xbf0f0f60()
[ 1259.295745] Modules linked in: wl12xx(O) wlcore_sdio(O) wlcore(O) ppp_async ppp_generic slhc mac80211(O) lib80211_crypt_tkip(O) lib80211_crypt_ccmp(O) lib80211_crypt_wep(O) lib80211(O) crc_ccitt ipv6 cfg80211(O) compat(O) arc4 aes_generic crypto_algapi
[ 1259.318054] Backtrace:
[ 1259.322082] Function entered at [<c0011050>] from [<c02d80d8>]
[ 1259.328247]  r6:00000309 r5:bf103714 r4:00000000 r3:c0379284
[ 1259.334259] Function entered at [<c02d80c0>] from [<c002d578>]
[ 1259.340423] Function entered at [<c002d524>] from [<c002d5b4>]
[ 1259.343749]  r8:c037e0c0 r7:ecb06c00 r6:ffffff92 r5:0000007d r4:ed27d520
[ 1259.349090] r3:00000009
[ 1259.356201] Function entered at [<c002d590>] from [<bf0f0f60>]
[ 1259.362426] Function entered at [<bf0f0f38>] from [<bf0f41a0>]
[ 1259.368713]  r4:ed27d520 r3:c0379284
[ 1259.371826] Function entered at [<bf0f3e28>] from [<bf0f522c>]
[ 1259.378723] Function entered at [<bf0f51c4>] from [<bf0f5270>]
[ 1259.384887]  r7:00000001 r6:ecaa3b6a r5:ecb06c00 r4:00000000
[ 1259.390899] Function entered at [<bf0f5254>] from [<bf0fab1c>]
[ 1259.397064] Function entered at [<bf0faa7c>] from [<bf11012c>]
[ 1259.403228]  r8:ed111af0 r7:00102005 r6:ed27d520 r5:ed111ae8 r4:00000000
[ 1259.403228] r3:00000001
[ 1259.410156] Function entered at [<bf110118>] from [<bf0efd00>]
[ 1259.415405] Function entered at [<bf0ef1b0>] from [<bf096500>]
[ 1259.425262] Function entered at [<bf09640c>] from [<bf0cf7d4>]
[ 1259.431396]  r6:ed27cb20 r5:ed111440 r4:ed27d24c
[ 1259.436309] Function entered at [<bf0cf110>] from [<bf0bd100>]
[ 1259.436309] Function entered at [<bf0bcf44>] from [<bf0bd600>]
[ 1259.448608] Function entered at [<bf0bd1ec>] from [<bf0a2568>]
[ 1259.449066] Function entered at [<bf0a2350>] from [<c0042ca0>]
[ 1259.461090] Function entered at [<c0042a74>] from [<c0043224>]
[ 1259.467285] Function entered at [<c0042ff8>] from [<c00474b8>]
[ 1259.473449] Function entered at [<c004742c>] from [<c003093c>]
[ 1259.479614]  r6:c003093c r5:c004742c r4:ed03decc
[ 1259.482116] ---[ end trace 41a9245a525cff12 ]---
[ 1259.484527] wlcore: WARNING CONFIGURE command NOK
[ 1259.494354] wlcore: WARNING acx ht capabilities setting failed: -110
[ 1259.501068] wlcore: WARNING Set ht cap failed -110
[ 1259.506164] wlan0: associated
[ 1259.509338] wlcore: Reading FW panic log
[ 1259.509338] wlan0: deauthenticating from 00:13:46:9a:92:5c by local choice (reason=3)
[ 1259.521728] ------------[ cut here ]------------
[ 1259.526641] WARNING: at /home/user/Desktop/panda_images/attitude/attitude_adjustment/build_dir/linux-omap4/compat-wireless-2013-06-27/drivers/net/wireless/ti/wlcore/cmd.c:63 0xbf0f3e5c()
[ 1259.544158] Modules linked in: wl12xx(O) wlcore_sdio(O) wlcore(O) ppp_async ppp_generic slhc mac80211(O) lib80211_crypt_tkip(O) lib80211_crypt_ccmp(O) lib80211_crypt_wep(O) lib80211(O) crc_ccitt ipv6 cfg80211(O) compat(O) arc4 aes_generic crypto_algapi
[ 1259.566955] Backtrace:
[ 1259.566955] Function entered at [<c0011050>] from [<c02d80d8>]
[ 1259.573699]  r6:0000003f r5:bf1053c8 r4:00000000 r3:c0379284
[ 1259.577148] Function entered at [<c02d80c0>] from [<c002d578>]
[ 1259.577148] Function entered at [<c002d524>] from [<c002d5b4>]
[ 1259.595123]  r8:ed1ffe80 r7:ecaf1c80 r6:ed27d520 r5:00000004 r4:ed27d520
[ 1259.597656] r3:00000009
[ 1259.604827] Function entered at [<c002d590>] from [<bf0f3e5c>]
[ 1259.604980] Function entered at [<bf0f3e28>] from [<bf0f41e0>]
[ 1259.617156] Function entered at [<bf0f41bc>] from [<bf0f66a8>]
[ 1259.623321] Function entered at [<bf0f6644>] from [<bf0f146c>]
[ 1259.629486]  r5:ed27d7c0 r4:ed27d7c0
[ 1259.632812] Function entered at [<bf0f13bc>] from [<c0042ca0>]
[ 1259.639434] Function entered at [<c0042a74>] from [<c0043224>]
[ 1259.645629] Function entered at [<c0042ff8>] from [<c00474b8>]
[ 1259.647613] Function entered at [<c004742c>] from [<c003093c>]
[ 1259.647613]  r6:c003093c r5:c004742c r4:ed03decc
[ 1259.662994] ---[ end trace 41a9245a525cff13 ]---
[ 1259.663238] ------------[ cut here ]------------
[ 1259.663238] WARNING: at /home/user/Desktop/panda_images/attitude/attitude_adjustment/build_dir/linux-omap4/compat-wireless-2013-06-27/drivers/net/wireless/ti/wlcore/main.c:777 0xbf0f0f60()
[ 1259.690460] Modules linked in: wl12xx(O) wlcore_sdio(O) wlcore(O) ppp_async ppp_generic slhc mac80211(O) lib80211_crypt_tkip(O) lib80211_crypt_ccmp(O) lib80211_crypt_wep(O) lib80211(O) crc_ccitt ipv6 cfg80211(O) compat(O) arc4 aes_generic crypto_algapi
[ 1259.714202] Backtrace:
[ 1259.714202] Function entered at [<c0011050>] from [<c02d80d8>]
[ 1259.719329]  r6:00000309 r5:bf103714 r4:00000000 r3:c0379284
[ 1259.725463] Function entered at [<c02d80c0>] from [<c002d578>]
[ 1259.735107] Function entered at [<c002d524>] from [<c002d5b4>]
[ 1259.741302]  r8:ed1ffe80 r7:ecaf1c80 r6:fffffffb r5:00000004 r4:ed27d520
[ 1259.746215] r3:00000009
[ 1259.746215] Function entered at [<c002d590>] from [<bf0f0f60>]
[ 1259.757324] Function entered at [<bf0f0f38>] from [<bf0f41a0>]
[ 1259.763488]  r4:ed27d520 r3:00000009
[ 1259.763519] Function entered at [<bf0f3e28>] from [<bf0f41e0>]
[ 1259.773437] Function entered at [<bf0f41bc>] from [<bf0f66a8>]
[ 1259.773864] Function entered at [<bf0f6644>] from [<bf0f146c>]
[ 1259.773864]  r5:ed27d7c0 r4:ed27d7c0
[ 1259.789520] Function entered at [<bf0f13bc>] from [<c0042ca0>]
[ 1259.795715] Function entered at [<c0042a74>] from [<c0043224>]
[ 1259.795837] Function entered at [<c0042ff8>] from [<c00474b8>]
[ 1259.804046] Function entered at [<c004742c>] from [<c003093c>]
[ 1259.814178]  r6:c003093c r5:c004742c r4:ed03decc
[ 1259.816711] ---[ end trace 41a9245a525cff14 ]---
[ 1259.823974] wlcore: ERROR failed to send stop firmware logger command
[ 1259.831024] wlcore: Hardware recovery in progress. FW ver: Rev 6.3.10.0.133
[ 1259.838897] wlcore: pc: 0x97a6, hint_sts: 0x00000000 count: 1
[ 1259.845184] wlcore: down
[ 1259.850006] ieee80211 phy0: Hardware restart was requested

**********************************************************************

regards
sheriff

(Last edited by sheriffmanzoor on 11 Dec 2013, 11:37)