Hello Friends,
I am running WL1835 with iMX28 host processor. It works normally but it crashes around 10 min after bringing up the wifi interface each time. Find the below information:
Boot log snap:
[ 7.827417] udevd[59]: starting version 182
[ 14.578483] compat-drivers backport release:
[ 14.582900] Backport based on ol_r8.a8.10
[ 14.587202] compat.git:
Inserting MMC module:
root@imx28evk:~# insmod mxs-mmc.ko
[ 31.538485] mxs-mmc 80010000.ssp: initialized
root@imx28evk:~# [ 31.569683] mmc0: card claims to support voltages below the defined range. These will be ignored.
[ 31.597732] mmc0: queuing unknown CIS tuple 0x91 (3 bytes)
[ 31.609206] mmc0: new SDIO card at address 0001
[ 32.231970] cfg80211: Calling CRDA to update world regulatory domain
[ 33.010009] wlcore: wl18xx driver version:
[ 33.018766] 190 mxs_gpio_set_wake_irq irq 60 state 1
[ 33.337468] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)
[ 33.433971] wlcore: loaded
[ 33.443042] wlcore: driver version:
[ 33.447298] wlcore: compilation time: Thu May 8 14:18:56 2014
Bringing up the wlan0 interface UP:
root@imx28evk:~# ifconfig wlan0 up
[ 47.059529] wlcore: PHY firmware version: Rev 8.2.0.0.195
[ 47.184795] wlcore: firmware booted (Rev 8.8.0.0.13)
Echoing /proc/interrrupts (While WiFi is working and connected to AP):
root@imx28evk:~# cat /proc/interrupts
CPU0
16: 2771 - MXS Timer Tick
17: 9160 - mxs-dma
21: 12308 - mxs-dma
25: 0 - bch
26: 5 - mxs-mmc
62: 76451 gpio-mxs wl18xx
197: 0 - mxs-dma
208: 0 - RTC alarm
209: 0 - 80058000.i2c
213: 0 - 8006a000.serial
214: 0 - 8006c000.serial
215: 0 - 80070000.serial
216: 0 - 80072000.serial
217: 720 - uart-pl011
220: 7771 - 800f0000.ethernet
221: 0 - 800f4000.ethernet
Err: 0
Error LOG:
.....<Continous Pinging to AP>.................
64 bytes from 192.168.1.1: seq=331 ttl=64 time=5.068 ms //After this it fails
[ 603.254717] wlcore: ERROR ELP wakeup timeout!
[ 603.259135] ------------[ cut here ]------------
[ 603.264042] WARNING: at /home/ankur/radar/hpc/mx28_yocto/mx28_test/tmp/work/imx28evk-poky-linux-gnueabi/ti-compat-wireless-wl18xx/r8.a8.08-r0b/compat-wireless/drivers/net/wireless/ti/wlcore/main.c:802 wl12xx_queue_recovery_work+0x70/0x7c [wlcore]()
[ 603.286242] Modules linked in: wl18xx(O) wlcore(O) mac80211(O) cfg80211(O) mxs_mmc wlcore_sdio(O) compat(O)
[ 603.296344] CPU: 0 PID: 306 Comm: kworker/u2:2 Tainted: G O 3.10.32-hpc_1.0 #64
[ 603.304886] Workqueue: phy0 wl1271_tx_work [wlcore]
[ 603.309911] [<c0013ed4>] (unwind_backtrace+0x0/0xf0) from [<c0011c80>] (show_stack+0x10/0x14)
[ 603.318675] [<c0011c80>] (show_stack+0x10/0x14) from [<c001cfec>] (warn_slowpath_common+0x4c/0x68)
[ 603.327842] [<c001cfec>] (warn_slowpath_common+0x4c/0x68) from [<c001d024>] (warn_slowpath_null+0x1c/0x24)
[ 603.337866] [<c001d024>] (warn_slowpath_null+0x1c/0x24) from [<bf16acb8>] (wl12xx_queue_recovery_work+0x70/0x7c [wlcore])
[ 603.349527] [<bf16acb8>] (wl12xx_queue_recovery_work+0x70/0x7c [wlcore]) from [<bf1758d4>] (wl1271_ps_elp_wakeup+0x210/0x244 [wlcore])
[ 603.362164] [<bf1758d4>] (wl1271_ps_elp_wakeup+0x210/0x244 [wlcore]) from [<bf174960>] (wl1271_tx_work+0x20/0x54 [wlcore])
[ 603.373607] [<bf174960>] (wl1271_tx_work+0x20/0x54 [wlcore]) from [<c0037568>] (process_one_work+0x1c0/0x4a4)
[ 603.383751] [<c0037568>] (process_one_work+0x1c0/0x4a4) from [<c0037c20>] (worker_thread+0x138/0x394)
[ 603.393168] [<c0037c20>] (worker_thread+0x138/0x394) from [<c003dd3c>] (kthread+0xa4/0xb0)
[ 603.401642] [<c003dd3c>] (kthread+0xa4/0xb0) from [<c000ee00>] (ret_from_fork+0x14/0x34)
[ 603.409908] ---[ end trace 9532746212716595 ]---
[ 603.418403] wlcore: Hardware recovery in progress. FW ver: Rev 8.8.0.0.13
[ 603.425820] ------------[ cut here ]------------
[ 603.430745] WARNING: at /home/ankur/radar/hpc/mx28_yocto/mx28_test/tmp/work/imx28evk-poky-linux-gnueabi/ti-compat-wireless-wl18xx/r8.a8.08-r0b/compat-wireless/drivers/net/wireless/ti/wlcore/io.h:65 wlcore_set_partition+0x64/0x468 [wlcore]()
[ 603.452225] Modules linked in: wl18xx(O) wlcore(O) mac80211(O) cfg80211(O) mxs_mmc wlcore_sdio(O) compat(O)
[ 603.462306] CPU: 0 PID: 306 Comm: kworker/u2:2 Tainted: G W O 3.10.32-hpc_1.0 #64
[ 603.470823] Workqueue: phy0 wl1271_recovery_work [wlcore]
[ 603.476511] [<c0013ed4>] (unwind_backtrace+0x0/0xf0) from [<c0011c80>] (show_stack+0x10/0x14)
[ 603.485258] [<c0011c80>] (show_stack+0x10/0x14) from [<c001cfec>] (warn_slowpath_common+0x4c/0x68)
[ 603.494294] [<c001cfec>] (warn_slowpath_common+0x4c/0x68) from [<c001d024>] (warn_slowpath_null+0x1c/0x24)
[ 603.504306] [<c001d024>] (warn_slowpath_null+0x1c/0x24) from [<bf171834>] (wlcore_set_partition+0x64/0x468 [wlcore])
[ 603.515429] [<bf171834>] (wlcore_set_partition+0x64/0x468 [wlcore]) from [<bf16b184>] (wl1271_recovery_work+0x70/0x570 [wlcore])
[ 603.527385] [<bf16b184>] (wl1271_recovery_work+0x70/0x570 [wlcore]) from [<c0037568>] (process_one_work+0x1c0/0x4a4)
[ 603.538135] [<c0037568>] (process_one_work+0x1c0/0x4a4) from [<c0037c20>] (worker_thread+0x138/0x394)
[ 603.547565] [<c0037c20>] (worker_thread+0x138/0x394) from [<c003dd3c>] (kthread+0xa4/0xb0)
[ 603.556041] [<c003dd3c>] (kthread+0xa4/0xb0) from [<c000ee00>] (ret_from_fork+0x14/0x34)
[ 603.564183] ---[ end trace 9532746212716596 ]---
[ 603.569293] wlcore: down
[ 603.579651] ieee80211 phy0: Hardware restart was requested
[ 604.080083] wlcore: PHY firmware version: Rev 8.2.0.0.195
[ 604.196483] wlcore: firmware booted (Rev 8.8.0.0.13)
[ 604.277791] wlcore: Association completed.
[ 604.300047] Unable to handle kernel NULL pointer dereference at virtual address 00000024
[ 604.309795] pgd = c0004000
[ 604.312556] [00000024] *pgd=00000000
[ 604.316361] Internal error: Oops: 17 [#1] ARM
[ 604.320754] Modules linked in: wl18xx(O) wlcore(O) mac80211(O) cfg80211(O) mxs_mmc wlcore_sdio(O) compat(O)
[ 604.330657] CPU: 0 PID: 306 Comm: kworker/u2:2 Tainted: G W O 3.10.32-hpc_1.0 #64
[ 604.339120] Workqueue: phy0 wl1271_tx_work [wlcore]
[ 604.344043] task: c292c400 ti: c2854000 task.ti: c2854000
[ 604.349575] PC is at wl18xx_lnk_high_prio+0x14/0x8c [wl18xx]
[ 604.355431] LR is at wlcore_lnk_dequeue_high_prio+0x40/0xc0 [wlcore]
[ 604.361818] pc : [<bf1a21c8>] lr : [<bf172860>] psr: a0000013
[ 604.361818] sp : c2855df8 ip : bf1a21b4 fp : c2839b20
[ 604.373318] r10: c2855e63 r9 : c2854000 r8 : 000016b8
[ 604.378561] r7 : 00000000 r6 : 00000000 r5 : c283a4c0 r4 : 00000000
[ 604.385107] r3 : c2855e00 r2 : c283a4c0 r1 : 00000000 r0 : c2839b20
[ 604.391654] Flags: NzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel
[ 604.398985] Control: 0005317f Table: 42900000 DAC: 00000017
[ 604.404752] Process kworker/u2:2 (pid: 306, stack limit = 0xc28541b8)
[ 604.411214] Stack: (0xc2855df8 to 0xc2856000)
[ 604.415600] 5de0: c064aff4 20000013
[ 604.423818] 5e00: c2839b20 c283a4c0 c2855e63 c2839b20 00000000 00000000 c2855e63 00000000
[ 604.432032] 5e20: c2fc0c00 bf173ab0 ffffffff bf18a584 00000000 00000000 00000000 c2855e3c
[ 604.440245] 5e40: c2855e3c 00000000 00000001 00000000 ffffffff ffffffff 00000000 00000000
[ 604.448458] 5e60: ff000000 00000000 c2855e3c c2855e3c 00000000 c2839b20 c2839b74 c3456000
[ 604.456670] 5e80: c2855ec8 00000000 c2854000 c2fc0c00 c064aff4 bf174970 bf174940 c2839d80
[ 604.464882] 5ea0: c28bfcc0 c0037568 00000002 00000000 c00374dc 0000000f c066f224 00000002
[ 604.473095] 5ec0: 00000000 00000001 bf18a4c8 c073ce14 00000000 bf182788 c292c400 c28bfcc0
[ 604.481308] 5ee0: c3456030 c28bfcd8 c2854000 c2854000 c2854000 c064acd8 c3456000 c0037c20
[ 604.489522] 5f00: 00000000 c005ec70 60000013 c3459e44 00000000 c28bfcc0 c0037ae8 00000000
[ 604.497735] 5f20: 00000000 00000000 00000000 c003dd3c c292c400 00000000 00000001 c28bfcc0
[ 604.505948] 5f40: 00000000 00000001 dead4ead ffffffff ffffffff c066fe88 00000000 00000000
[ 604.514161] 5f60: c051725c c2855f64 c2855f64 00000000 00000001 dead4ead ffffffff ffffffff
[ 604.522375] 5f80: c066fe88 00000000 00000000 c051725c c2855f90 c2855f90 c2855fac c3459e44
[ 604.530588] 5fa0: c003dc98 00000000 00000000 c000ee00 00000000 00000000 00000000 00000000
[ 604.538799] 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 604.547013] 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000 beb61140 5801a8c0
[ 604.555336] [<bf1a21c8>] (wl18xx_lnk_high_prio+0x14/0x8c [wl18xx]) from [<c2855e63>] (0xc2855e63)
[ 604.564253] Code: e5903578 e24dd008 e5934030 e28d3008 (e5945024)
[ 604.587345] ---[ end trace 9532746212716597 ]---
[ 604.592413] Unable to handle kernel paging request at virtual address ffffffd0
[ 604.599682] pgd = c0004000
[ 604.602414] [ffffffd0] *pgd=43ffd831, *pte=00000000, *ppte=00000000
[ 604.608757] Internal error: Oops: 17 [#2] ARM
[ 604.613141] Modules linked in: wl18xx(O) wlcore(O) mac80211(O) cfg80211(O) mxs_mmc wlcore_sdio(O) compat(O)
[ 604.623037] CPU: 0 PID: 306 Comm: kworker/u2:2 Tainted: G D W O 3.10.32-hpc_1.0 #64
[ 604.631269] task: c292c400 ti: c2854000 task.ti: c2854000
[ 604.636715] PC is at kthread_data+0x4/0xc
[ 604.640764] LR is at wq_worker_sleeping+0xc/0xac
[ 604.645408] pc : [<c003dfd0>] lr : [<c0038868>] psr: 20000093
[ 604.645408] sp : c2855b80 ip : c061f588 fp : c2855c04
[ 604.656908] r10: c292c400 r9 : c3438000 r8 : c061f588
[ 604.662152] r7 : c2854000 r6 : c061f588 r5 : c292c3f8 r4 : 00000000
[ 604.668697] r3 : 00000000 r2 : 00002e7b r1 : 00000000 r0 : c292c400
[ 604.675246] Flags: nzCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment user
[ 604.682491] Control: 0005317f Table: 42894000 DAC: 00000015
[ 604.688260] Process kworker/u2:2 (pid: 306, stack limit = 0xc28541b8)
[ 604.694720] Stack: (0xc2855b80 to 0xc2856000)
[ 604.699120] 5b80: c292c580 c042292c 00000009 c3401780 c2fc8ac0 c0020dcc c0610000 c0020ad0
......
Can anyone through some light why I am getting this issue or how to get rid of it? Please share if you need more information?
Regards,
Ankur