Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

Linux/AM3351: brcmfmac driver crash while running iperf

$
0
0

Part Number:AM3351

Tool/software: Linux

Hello,

We are using TI AM3351 processor with WiFi/BT module BCM43455 over SDIO interface.

 

TI SDK : ti-processor-sdk-linux-am335x-evm-04.01.00.06

Linux Kernel is 4.9.41-ge3a80a1c5c

Wlan driver is brcmfmac :

brcmfmac: F1 signature read @0x18000000=0x15264345

Firmware version = wl0: Mar  1 2015 07:29:38 version 7.45.18 (r538002) FWID 01-6a2c8ad4)

 

Upon running the iperf -c <host> utility we are getting the following NULL pointer kernel crash consistently. Some times it finishes with 38Mbps, but most of the time it crashes.

 

----------------------------------------------------------------------------------------------------------------------------

[ 2479.305053] kworker/-107     0.... 2365574947us : brcmf_sdpcm_hdr: sdpcm: TX len 1540, seq 0

[ 2479.313574] kworker/-107     0.... 2365574956us : brcmf_sdpcm_hdr: sdpcm: TX len 1540, seq 0

[ 2479.322093] kworker/-107     0.... 2365574966us : brcmf_dbg: brcmf_sdiod_send_pkt: addr = 0x18000000, size = 38

[ 2479.322093]

[ 2479.333761] kworker/-107     0.... 2365583773us : brcmf_err: brcmf_sdiod_sglist_rw: Unizen - sg null,wr:1 brcmf_sdiod_sglist_rw:604

[ 2479.333761]

[ 2479.347170] brcmf_wd-151     0.... 2365598662us : brcmf_dbg: brcmf_sdio_bus_watchdog: Enter

[ 2479.347170]

[ 2479.357092] kworker/-107     0.... 2365598860us : brcmf_err: brcmf_sdiod_sglist_rw: Unizen - sg null,wr:1 brcmf_sdiod_sglist_rw:589

[ 2479.357092]

[ 2479.370502] brcmf_wd-151     0.... 2365610494us : brcmf_dbg: brcmf_sdio_bus_watchdog: Enter

[ 2479.384779] Modules linked in: brcmfmac cfg80211 brcmutil

[ 2479.390288] CPU: 0 PID: 107 Comm: kworker/u2:2 Not tainted 4.9.41-ge3a80a1c5c #28

[ 2479.397817] Hardware name: Generic AM33XX (Flattened Device Tree)

[ 2479.404616] Workqueue: brcmf_wq/mmc1:0001:1 brcmf_sdio_dataworker [brcmfmac]

[ 2479.411734] task: cb058580 task.stack: cb05c000

[ 2479.416647] PC is at brcmf_sdiod_sglist_rw.constprop.2+0x310/0x700 [brcmfmac]

[ 2479.423830] LR is at 0x1

[ 2479.426393] pc : [<bf279820>]    lr : [<00000001>]    psr: 60010013

[ 2479.426393] sp : cb05dcb0  ip : 00000001  fp : cb05ddcc

[ 2479.437939] r10: c0d05940  r9 : 00000023  r8 : 00000000

[ 2479.443200] r7 : 00008e00  r6 : cb025900  r5 : 00000000  r4 : 0000b7a5

[ 2479.449769] r3 : ccf3e334  r2 : cb7a5c80  r1 : 01fffe00  r0 : ccda1000

[ 2479.456342] Flags: nZCv  IRQs on  FIQs on Mode SVC_32  ISA ARM  Segment none

[ 2479.463524] Control: 10c5387d  Table: 8b7bc019 DAC: 00000051

[ 2479.469310] Process kworker/u2:2 (pid: 107, stack limit = 0xcb05c208)

------------------------------------------------------------------------------------------------------------------------------------------------------------

 

Please find the full log attached with ftrace enabled for brcmfmac driver.

 

We also had tried with older Linux kernel 4.1.12 and backport of brcmfmac driver backports-4.2.6-1, and the issues are same.

 

Could you please help us to suggest a solution to fix the above issue ?

 

thanks,

aniket(Please visit the site to view this file)


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>