Other Parts Discussed in Thread: WL1831, WL1271
Tool/software: Linux
Hello TI Support-Team,
we are having some stability issues when using the WL1831MOD. One issue relates to Bluetooth, the others to wlan.
-> Can you tell us, if those are known issues or if you have a solution for that, before we start to spend time on deeper investigation of this errors. <-
Some information of the system we are using:
- Atmel SoC
- Kernel 4.9
- WL-Drivers that are coming with mainline kernel 4.9
- BlueZ 5.47
Bluetooth:
We are seeing timeout messages while communicating with the Bluetooth Part of the WL1831.
Bluetooth: hci0 command 0x1003 tx timeout
Bluetooth: hci0 command 0x1001 tx timeout
Bluetooth: hci0 command 0x1009 tx timeout
Restarting the bluetooth fixes this problem, which means, that we are shutting down the bluetooth-part with the bluetooth enable pin of the module, restarting it and doing a new hciattach. After that, the module works again as expected.
WLAN:
The wireless lan part generated kernel panics. It should be easy to hunt those errors down, but only our customer is seeing this type of errors.
Unable to handle kernel NULL pointer dereference at virtual address 00000018
pgd = c0004000
[00000018] *pgd=00000000
Internal error: Oops: 5 [#1] PREEMPT ARM
Modules linked in:
CPU: 0 PID: 6 Comm: kworker/u2:0 Not tainted 4.9.51 #124
Hardware name: Atmel SAMA5
Workqueue: wl12xx_wq wl1271_netstack_work
task: ce4ad000 task.stack: ce4bc000
PC is at ieee80211_scan_rx+0x184/0x198
LR is at 0xcd8394a0
pc : [<c07404e4>] lr : [<cd8394a0>] psr: a0010013
sp : ce4bdd20 ip : 00007f00 fp : ce4bde04
r10: 00000000 r9 : 00000000 r8 : 00000000
r7 : ce3903c0 r6 : ca59b380 r5 : ca650480 r4 : c0b02848
r3 : 947ddfdc r2 : 000058c8 r1 : 000000ed r0 : b076871c
Flags: NzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none
Control: 10c53c7d Table: 2c40c059 DAC: 00000051
Process kworker/u2:0 (pid: 6, stack limit = 0xce4bc208)
Stack: (0xce4bdd20 to 0xce4be000)
dd20: 000fac01 0a002000 c0b15740 c0b02848 ca66e140 c0587034 ca66ecc0 ca66e140
dd40: 00000040 ca59b380 ce4bdd6c ce4bdd58 c0587034 c0586dc4 ca66e140 8dfa79d7
dd60: ce4bdd8c 8dfa79d7 ca66e140 c0b02848 ca59bc80 cd8394c8 cd8394a0 ce3907f4
dd80: 00000080 c0781b94 ce4bde94 ce4bdd98 c0781b94 c0795c7c 00000000 00000000
dda0: ca66e140 00000000 ce3903c0 00000001 ca59b390 cc7d9040 00000000 00000000
ddc0: cc7d9040 ce3903c0 ce4bddc8 c0782500 ce4bde94 8dfa79d7 c0782500 ce3903c0
dde0: c0b02848 00000000 ca650480 ca59b380 00000000 00000000 ce4bdea4 ce4bde08
de00: c075dec4 c074036c c01fdaf8 c01483f8 ca66ecc0 c0b492f0 00000000 00000000
de20: 00000000 00000000 ce4bde44 c0b0fff8 00000001 c01484a0 c0b0fff8 00000000
de40: ce4ad030 00000001 00000000 ca650480 ce3903c0 00000000 00000000 00000000
de60: 00000000 00000010 00000010 00000000 00000000 8dfa79d7 ce4bdea4 ce390c00
de80: ca650480 ce3903c0 ce390db0 c04b4da4 00000000 c0b6c298 ce4bdecc ce4bdea8
dea0: c04b4dc4 c075d62c ce390e74 ce390c00 ce4a9ac0 ce36f300 00000000 00000000
dec0: ce4bdee4 ce4bded0 c04b4e50 c04b4d8c ce390e74 ce4a3a80 ce4bdf1c ce4bdee8
dee0: c0133d48 c04b4e38 ce4a9ad4 c0b15740 ce4bc020 ce4a9ac0 ce4a3a98 ce4a9ad4
df00: c0b15740 ce4bc020 00000088 ce4a3a80 ce4bdf64 ce4bdf20 c01340d4 c0133c14
df20: c0b15740 c0b15740 ce4a9c1c ce4a9ad4 ce4bc020 c0b6bf14 00000000 00000000
df40: ce4a3b40 ce4a3a80 c0134078 00000000 00000000 00000000 ce4bdfac ce4bdf68
df60: c013a280 c0134084 00000000 c014185c ce4a3a80 00000000 ce4bdf78 ce4bdf78
df80: 00000000 ce4bdf84 ce4bdf84 8dfa79d7 ce4a3b40 c013a16c 00000000 00000000
dfa0: 00000000 ce4bdfb0 c0109438 c013a178 00000000 00000000 00000000 00000000
dfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
dfe0: 00000000 00000000 00000000 00000000 00000013 00000000 08000004 00000000
[<c07404e4>] (ieee80211_scan_rx) from [<c075dec4>] (ieee80211_rx_napi+0x8a4/0x938)
[<c075dec4>] (ieee80211_rx_napi) from [<c04b4dc4>] (wl1271_flush_deferred_work+0x44/0xac)
[<c04b4dc4>] (wl1271_flush_deferred_work) from [<c04b4e50>] (wl1271_netstack_work+0x24/0x34)
[<c04b4e50>] (wl1271_netstack_work) from [<c0133d48>] (process_one_work+0x140/0x470)
[<c0133d48>] (process_one_work) from [<c01340d4>] (worker_thread+0x5c/0x5b0)
[<c01340d4>] (worker_thread) from [<c013a280>] (kthread+0x114/0x12c)
[<c013a280>] (kthread) from [<c0109438>] (ret_from_fork+0x14/0x3c)
Code: e022200c e0233000 e1923003 0affffc3 (e5993018)
---[ end trace 203a866ff7595e8c ]---
Kernel panic - not syncing: Fatal exception in interrupt
---[ end Kernel panic - not syncing: Fatal exception in interrupt
Another error are some strange messages from the WL18-driver.
Tue Oct 17 13:17:55 2017] wlan0: associated
[Tue Oct 17 13:17:56 2017] wlcore: Association completed.
[Tue Oct 17 13:18:04 2017] wlcore: WARNING no fw rx ba on tid 1
[Tue Oct 17 13:18:10 2017] wlcore: WARNING no fw rx ba on tid 1
[Tue Oct 17 13:18:13 2017] wlcore: WARNING no fw rx ba on tid 1
[Tue Oct 17 13:18:45 2017] wlcore: WARNING no fw rx ba on tid 1
[Tue Oct 17 13:19:47 2017] wlcore: WARNING no fw rx ba on tid 1
[Tue Oct 17 13:20:54 2017] wlcore: WARNING no fw rx ba on tid 1
[Tue Oct 17 13:21:59 2017] wlcore: WARNING no fw rx ba on tid 1
[Tue Oct 17 13:23:07 2017] wlcore: WARNING no fw rx ba on tid 1
[Tue Oct 17 13:24:11 2017] wlcore: WARNING no fw rx ba on tid 1
[Tue Oct 17 13:25:16 2017] wlcore: WARNING no fw rx ba on tid 1
[Tue Oct 17 13:26:22 2017] wlcore: WARNING no fw rx ba on tid 1
[Tue Oct 17 13:27:30 2017] wlcore: WARNING no fw rx ba on tid 1
[Tue Oct 17 13:28:34 2017] wlcore: WARNING no fw rx ba on tid 1
[Tue Oct 17 13:29:40 2017] wlcore: WARNING no fw rx ba on tid 1
[Tue Oct 17 13:30:47 2017] wlcore: WARNING no fw rx ba on tid 1
[Tue Oct 17 13:31:54 2017] wlcore: WARNING no fw rx ba on tid 1
[Tue Oct 17 13:32:59 2017] wlcore: WARNING no fw rx ba on tid 1
[Tue Oct 17 13:34:07 2017] wlcore: WARNING no fw rx ba on tid 1
[Tue Oct 17 13:35:12 2017] wlcore: WARNING no fw rx ba on tid 1
[Tue Oct 17 13:36:17 2017] wlcore: WARNING no fw rx ba on tid 1
[Tue Oct 17 13:37:24 2017] wlcore: WARNING no fw rx ba on tid 1
[Tue Oct 17 13:38:31 2017] wlcore: WARNING no fw rx ba on tid 1
[Tue Oct 17 13:39:38 2017] wlcore: WARNING no fw rx ba on tid 1
[Tue Oct 17 13:40:42 2017] wlcore: WARNING no fw rx ba on tid 1
[Tue Oct 17 13:41:48 2017] wlcore: WARNING no fw rx ba on tid 1
[Tue Oct 17 13:42:53 2017] wlcore: WARNING no fw rx ba on tid 1
[Tue Oct 17 13:45:04 2017] wlcore: WARNING no fw rx ba on tid 1
[Tue Oct 17 13:47:14 2017] wlcore: WARNING no fw rx ba on tid 1
[Tue Oct 17 13:49:26 2017] wlcore: WARNING no fw rx ba on tid 1
Can you tell something about that warning? Has that impact on the functionallity of the module? Can that cause stability-issues?
Thanks in advance for your answers.
Best regards,
Frank Erdrich