An uncommon WiFi driver oops on CYW43438

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
mgkiller
Level 3
Level 3
10 replies posted 10 questions asked 10 sign-ins

Hi,experts 

we use wifi driver cypress-fmac-v5.4.18-2021_0527.zip for AW-NM372SM(chipset is CYW43438) . This wifi driver downloaded form https://www.cypress.com/documentation/software-and-drivers-archive/wifi-bt-linux-archive.

Our linux version is v3.10.108.

we encountered an uncommon WiFi driver oops,as below:

[ 09:20:23][224389.020000] ios->clock=400000
[ 09:20:23]#######ping failure,time is 2021-11-08 09:20:56,The total_count is 174936,failure_count is 19528########
[ 09:20:23][224389.370000] ios->clock=400000
[ 09:20:23][224389.370000] ios->clock=400000
[ 09:20:23][224389.540000] ios->clock=400000
[ 09:20:23][224389.560000] mmc0: queuing unknown CIS tuple 0x80 (2 bytes)
[ 09:20:23][224389.560000] mmc0: queuing unknown CIS tuple 0x80 (3 bytes)
[ 09:20:23][224389.570000] mmc0: queuing unknown CIS tuple 0x80 (3 bytes)
[ 09:20:23][224389.580000] mmc0: queuing unknown CIS tuple 0x80 (7 bytes)
[ 09:20:23][224389.590000] mmc0: queuing unknown CIS tuple 0x81 (1 bytes)
[ 09:20:24][224389.780000] ios->clock=400000
[ 09:20:24][224389.780000] ios->clock=50000000
[ 09:20:24][224389.780000] ios->clock=50000000
[ 09:20:24][224389.790000] mmc0: new high speed SDIO card at address 0001
[ 09:20:24][224389.800000] brcmf_chip_recognition found AXI chip: BCM43430/1
[ 09:20:24][224389.840000] brcmf_chip_cores_check [1 ] core 0x800:49 base 0x18000000 wrap 0x18100000
[ 09:20:24][224389.880000] brcmf_chip_cores_check [2 ] core 0x812:39 base 0x18001000 wrap 0x18101000
[ 09:20:24][224389.920000] brcmf_chip_cores_check [3 ] core 0x829:21 base 0x18002000 wrap 0x18102000
[ 09:20:24][224389.920000] brcmf_chip_cores_check [4 ] core 0x82a:9 base 0x18003000 wrap 0x18103000
[ 09:20:24][224389.950000] brcmf_chip_cores_check [5 ] core 0x80e:22 base 0x18004000 wrap 0x18104000
[ 09:20:24][224389.950000] brcmf_chip_cores_check [6 ] core 0x135:0 base 0x00000000 wrap 0x18105000
[ 09:20:24][224389.970000] brcmf_chip_cores_check [7 ] core 0x240:0 base 0x00000000 wrap 0x18106000
[ 09:20:24][224390.000000] brcmf_chip_get_raminfo RAM: base=0x0 size=524288 (0x80000) sr=65536 (0x10000)
[ 09:20:24][224390.010000] brcmf_chip_setup ccrev=49, pmurev=24, pmucaps=0x39d25f18
[ 09:20:24][224390.010000] brcmf_get_module_param Enter, bus=0, chip=43430, rev=1
[ 09:20:24][224390.020000] brcmf_sdio_drivestrengthinit No SDIO driver strength init needed for chip BCM43430/1 rev 1 pmurev 24
[ 09:20:24][224390.030000] brcmf_sdio_probe completed!!
[ 09:20:24][224390.030000] brcmfmac: brcmf_fw_alloc_request: using cypress/cyfmac43430-sdio for chip BCM43430/1
[ 09:20:24][224390.090000] brcmf_sdio_verifymemory Compare RAM dl & ul at 0x00000000; size=419798
[ 09:20:24][224390.180000] brcmf_sdio_verifymemory Compare RAM dl & ul at 0x0007fda0; size=608
[ 09:20:24][224390.310000] brcmf_sdio_firmware_callback enable F2: err=0
[ 09:20:24][224390.310000] brcmf_sdio_sr_init SR enabled
[ 09:20:24][224390.330000] brcmf_bus_change_state ignoring transition, bus not attached yet
[ 09:20:24][224390.340000] brcmf_sdio_readshared sdpcm_shared address 0x000469C0
[ 09:20:24][224390.360000] brcmf_sdio_readshared sdpcm_shared address 0x000469C0
[ 09:20:24][224390.360000] ------------[ cut here ]------------
[ 09:20:24][224390.360000] Kernel BUG at c0028590 [verbose debug info unavailable]
[ 09:20:24][224390.360000] Internal error: Oops - BUG: 0 [#1] PREEMPT ARM
[ 09:20:24][224390.360000] Modules linked in: qmi_wwan option brcmfmac(O) brcmutil(O) cfg80211(O) compat(O) usb_f_rndis u_ether usb_f_fs libcomposite usb_wwan watchdogd(O)
[ 09:20:24][224390.360000] CPU: 0 PID: 4308 Comm: kworker/0:1 Tainted: G O 3.10.108 #2
[ 09:20:24][224390.360000] Workqueue: events request_firmware_work_func
[ 09:20:24][224390.360000] task: c3898b00 ti: c19d6000 task.ti: c19d6000
[ 09:20:24][224390.360000] PC is at add_timer+0x18/0x28
[ 09:20:24][224390.360000] LR is at brcmf_sdio_wd_timer+0x80/0x418 [brcmfmac]
[ 09:20:24][224390.360000] pc : [<c0028590>] lr : [<bf09ad60>] psr: a0000013
[ 09:20:24][224390.360000] sp : c19d7e10 ip : c19d7e20 fp : c19d7e1c
[ 09:20:24][224390.360000] r10: 00000001 r9 : 00000000 r8 : 00000000
[ 09:20:24][224390.360000] r7 : 00000000 r6 : c15fcb48 r5 : c1a819e4 r4 : c1a81800
[ 09:20:24][224390.360000] r3 : 0155ef4c r2 : c1635178 r1 : 00000014 r0 : c1a819e4
[ 09:20:24][224390.360000] Flags: NzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel
[ 09:20:24][224390.360000] Control: 0005317f Table: 01004000 DAC: 00000017
[ 09:20:24][224390.360000] Process kworker/0:1 (pid: 4308, stack limit = 0xc19d61b8)
[ 09:20:24][224390.360000] Stack: (0xc19d7e10 to 0xc19d8000)
[ 09:20:24][224390.360000] 7e00: c19d7e3c c19d7e20 bf09ad60 c0028588
[ 09:20:24][224390.360000] 7e20: c1a80400 c1a81800 bf0a3b3c 00000000 c19d7e94 c19d7e40 bf09e46c bf09acf0
[ 09:20:24][224390.360000] 7e40: 00000260 00000000 00000000 00000002 c227b980 00000006 c102f108 00000000
[ 09:20:24][224390.360000] 7e60: 00000379 00000000 c01bdb54 c1ae61e0 c19d7e9c c227b1c0 00000000 00000000
[ 09:20:24][224390.360000] 7e80: c19d6000 00000000 c19d7ec4 c19d7e98 bf092380 bf09dcd4 c19d7ecc c1ae61c0
[ 09:20:24][224390.360000] 7ea0: c227b240 c227b240 c227b240 c15fd068 00000000 c16d0c00 c19d7eec c19d7ec8
[ 09:20:24][224390.360000] 7ec0: c01bdc70 bf092334 00000001 c15fd850 c1a46840 c1ae61a0 c15fd068 c1a46840
[ 09:20:24][224390.360000] 7ee0: c19d7f2c c19d7ef0 c0032c60 c01bdc40 c15fd068 c1a46840 c15fd068 c19d6000
[ 09:20:24][224390.360000] 7f00: c15fd068 c1a46840 c15fd068 c19d6000 c1a46858 c15fd078 00000000 00000000
[ 09:20:24][224390.360000] 7f20: c19d7f64 c19d7f30 c0033b88 c0032a70 00000000 c1a46840 c003398c c18c5e7c
[ 09:20:24][224390.360000] 7f40: 00000000 c1a46840 c003398c 00000000 00000000 00000000 c19d7fac c19d7f68
[ 09:20:24][224390.360000] 7f60: c0038fcc c003399c c19d7f94 00000000 c0040a90 c1a46840 00000000 c19d7f7c
[ 09:20:24][224390.360000] 7f80: c19d7f7c 00000000 c19d7f88 c19d7f88 c18c5e7c c0038f18 00000000 00000000
[ 09:20:24][224390.360000] 7fa0: 00000000 c19d7fb0 c000e1f8 c0038f28 00000000 00000000 00000000 00000000
[ 09:20:24][224390.360000] 7fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 09:20:24][224390.360000] 7fe0: 00000000 00000000 00000000 00000000 00000013 00000000 e282200c eaffffd8
[ 09:20:24][224390.360000] Backtrace:
[ 09:20:24][224390.360000] [<c0028578>] (add_timer+0x0/0x28) from [<bf09ad60>] (brcmf_sdio_wd_timer+0x80/0x418 [brcmfmac])
[ 09:20:24][224390.360000] [<bf09ace0>] (brcmf_sdio_wd_timer+0x0/0x418 [brcmfmac]) from [<bf09e46c>] (brcmf_sdio_firmware_callback+0x7a8/0x94c [brcmfmac])
[ 09:20:24][224390.360000] r7:00000000 r6:bf0a3b3c r5:c1a81800 r4:c1a80400
[ 09:20:24][224390.360000] [<bf09dcc4>] (brcmf_sdio_firmware_callback+0x0/0x94c [brcmfmac]) from [<bf092380>] (brcmf_fw_request_done+0x5c/0xe0 [brcmfmac])
[ 09:20:24][224390.360000] [<bf092324>] (brcmf_fw_request_done+0x0/0xe0 [brcmfmac]) from [<c01bdc70>] (request_firmware_work_func+0x40/0x60)
[ 09:20:24][224390.360000] r8:c16d0c00 r7:00000000 r6:c15fd068 r5:c227b240 r4:c227b240
[ 09:20:24][224390.360000] [<c01bdc30>] (request_firmware_work_func+0x0/0x60) from [<c0032c60>] (process_one_work+0x200/0x350)
[ 09:20:24][224390.360000] r4:c1a46840
[ 09:20:24][224390.360000] [<c0032a60>] (process_one_work+0x0/0x350) from [<c0033b88>] (worker_thread+0x1fc/0x3a0)
[ 09:20:24][224390.360000] [<c003398c>] (worker_thread+0x0/0x3a0) from [<c0038fcc>] (kthread+0xb4/0xc0)
[ 09:20:24][224390.360000] [<c0038f18>] (kthread+0x0/0xc0) from [<c000e1f8>] (ret_from_fork+0x14/0x3c)
[ 09:20:24][224390.360000] r7:00000000 r6:00000000 r5:c0038f18 r4:c18c5e7c
[ 09:20:24][224390.360000] Code: e24cb004 e5902000 e3520000 0a000000 (e7f001f2)
[ 09:20:25][224390.360000] ---[ end trace d888266c12f52e94 ]---
[ 09:20:25][224390.360000] Kernel panic - not syncing: Fatal exception
[ 09:20:26][224390.360000] Rebooting in 5 seconds..
[ 09:20:26]NUC970 IBR 20151008.1735
[ 09:20:26]No Key
[ 09:20:26]Boot from SPI
[ 09:20:26]
[ 09:20:26]
[ 09:20:26]U-Boot 3.0.0 (Sep 24 2020 - 16:25:28)
[ 09:20:26]
[ 09:20:26]CPU: NUC976
[ 09:20:26]DRAM: 64 MiB

。。。

 

Any help would be appreciated.

0 Likes
1 Solution
GauravS_31
Moderator
Moderator
Moderator
10 questions asked 250 solutions authored 250 sign-ins

The latest FMAC release package is available at this link https://community.infineon.com/t5/Wi-Fi-Bluetooth-for-Linux/Cypress-Linux-WiFi-Driver-Release-FMAC-2.... Can you please test with this latest package?

View solution in original post

0 Likes
3 Replies
GauravS_31
Moderator
Moderator
Moderator
10 questions asked 250 solutions authored 250 sign-ins

The latest FMAC release package is available at this link https://community.infineon.com/t5/Wi-Fi-Bluetooth-for-Linux/Cypress-Linux-WiFi-Driver-Release-FMAC-2.... Can you please test with this latest package?

0 Likes

Hello, GauravS

This Oops only happen once. And we can't reproduce  again.

Before trying the latest FMAC release, we need to find a way to reproduce stably.

 

Also you can deep search this Oops for us.

0 Likes
raks_99
Moderator
Moderator
Moderator
First question asked 250 replies posted 250 sign-ins

Hi @mgkiller ,

Were you able to reproduce it again?

If yes can you tell me about the host device you are using when this happend?

If the driver is causing this then we need to find a way to reproduce it stably.

Thanks

0 Likes