View Issue Details

IDProjectCategoryView StatusLast Update
0004131fsimx_LinuxWLANpublic2020-02-11 10:01
Reportergerbach Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Versionfsimx6sx-B2019.11 
Target Versionfsimx8mx-Y2020.11-pre 
Summary0004131: [i.MX6SX] The wlan driver crashes after an resume from an suspend to mem
DescriptionWhen going into suspend the driver prints
HIFsuspendwow TODO

Maybe not implemented yet?

WLAN can still be used afterwards.
Steps To Reproduceecho "N" > /sys/module/printk/parameters/console_suspend
echo enabled > /sys/class/tty/ttymxc0/power/wakeup
echo mem > /sys/power/state

Press any key
Additional Informationmmc0: error -110 during resume (card was removed?)
AR6000: Func0_CMD52ReadByte mmc_wait_for_cmd returned -110
AR6000: failed to read interrupt extension register -110
AR6000: HIFConfigureDevice failed status:-1
dpm_run_callback(): pm_generic_resume+0x0/0x30 returns -1
PM: Device mmc0:0001:1 failed to resume async: error -1

ERROR: wmi_unified_cmd_send: Target is suspended could not send WMI command: 118795
VOS ASSERT in wmi_unified_cmd_send Line 946
------------[ cut here ]------------
WARNING: CPU: 0 PID: 220 at ../silex-wlanbt-fs-4.0.11.213V/CORE/SERVICES/WMI/wmi_unified.c:946 wmi_unified_cmd_send+0x3028/0x306c [wlan]
Modules linked in: wlan(O) cfg80211
CPU: 0 PID: 220 Comm: VosMCThread Tainted: G O 4.9.88-F+S #3
Hardware name: Freescale i.MX6 SoloX (Device Tree)
[<8010d790>] (unwind_backtrace) from [<8010ac14>] (show_stack+0x10/0x14)
[<8010ac14>] (show_stack) from [<80197d64>] (__warn+0xe4/0xfc)
[<80197d64>] (__warn) from [<8012107c>] (warn_slowpath_null+0x20/0x28)
[<8012107c>] (warn_slowpath_null) from [<7f267c3c>] (wmi_unified_cmd_send+0x3028/0x306c [wlan])
AR6000: SDIO bus operation failed! MMC stack returned : -110
__HIFReadWrite, addr:0X000868, len:00000004, Write, Sync
AR6000: SDIO bus operation failed! MMC stack returned : -110
__HIFReadWrite, addr:0X01C7EC, len:00000256, Write, Async
[<7f267c3c>] (wmi_unified_cmd_send [wlan]) from [<7f241b34>] (wma_mc_process_msg+0x2a64/0x3b40 [wlan])
[<7f241b34>] (wma_mc_process_msg [wlan]) from [<7f1f8850>] (VosMCThread+0x18c/0x680 [wlan])
[<7f1f8850>] (VosMCThread [wlan]) from [<8013be0c>] (kthread+0x100/0x108)
[<8013be0c>] (kthread) from [<80107730>] (ret_from_fork+0x14/0x24)
---[ end trace ef4aeb5afffb09ea ]---
AR6000: SDIO bus operation failed! MMC stack returned : -110
__HIFReadWrite, addr:0X000868, len:00000004, Write, Sync
rtc-pcf8563 0-0051: low voltage detected, date/time is not reliable.
rtc-pcf8563 0-0051: retrieved date/time is not valid.
PM: resume of devices complete after 274.735 msecs
PM: resume devices took 0.280 seconds
Restarting tasks ... done.
# AR6000: SDIO bus operation failed! MMC stack returned : -123
__HIFReadWrite, addr:0X000868, len:00000004, Write, Sync
AR6000: SDIO bus operation failed! MMC stack returned : -123
__HIFReadWrite, addr:0X01C7E4, len:00000256, Write, Async
AR6000: SDIO bus operation failed! MMC stack returned : -123
__HIFReadWrite, addr:0X01C7EC, len:00000256, Write, Async
AR6000: SDIO bus operation failed! MMC stack returned : -123
__HIFReadWrite, addr:0X000868, len:00000004, Write, Sync

# ls /AR6000: SDIO bus operation failed! MMC stack returned : -123
__HIFReadWrite, addr:0X000828, len:00000004, Write, Sync
Failed to update interrupt control registers err: -1AR6000: Unable to mask interrupt -123
Debug Assert Caught, File ../silex-wlanbt-fs-4.0.11.213V/CORE/SERVICES/HIF/sdio/linux/native_sdio/src/hif.c, Line: 1904, Test:ret == 0
AR6000: Unable to mask interrupt -123
Debug Assert Caught, File ../silex-wlanbt-fs-4.0.11.213V/CORE/SERVICES/HIF/sdio/linux/native_sdio/src/hif.c, Line: 1904, Test:ret == 0
TXRX: ol_txrx_peer_find_hash_erase: Delete Peer a9694800
AR6000: Unable to mask interrupt -123
Debug Assert Caught, File ../silex-wlanbt-fs-4.0.11.213V/CORE/SERVICES/HIF/sdio/linux/native_sdio/src/hif.c, Line: 1904, Test:ret == 0
AR6000: SDIO bus operation failed! MMC stack returned : -123
__HIFReadWrite, addr:0X000868, len:00000004, Write, Sync
AR6000: Unable to disable sdio func. Card removed?
mmc0: card 0001 removed
mmc0: queuing unknown CIS tuple 0x01 (3 bytes)
mmc0: queuing unknown CIS tuple 0x1a (5 bytes)
mmc0: queuing unknown CIS tuple 0x1b (8 bytes)
mmc0: queuing unknown CIS tuple 0x14 (0 bytes)
mmc0: queuing unknown CIS tuple 0x80 (1 bytes)
mmc0: queuing unknown CIS tuple 0x81 (1 bytes)
mmc0: queuing unknown CIS tuple 0x82 (1 bytes)
mmc0: new high speed SDIO card at address 0001
hifDeviceInserted: Dumping clocks (50000000,198000000)
HIFDumpCCCR 0(43)
1(3) 2(0)
3(0) 4(0)
5(0) 6(0)
7(6) 8(17)
9(0) A(10)
B(0) C(0)
D(0) E(0)
F(0) 10(0)
11(0) 12(1)
13(3) 14(7)
15(37) 16(1)

AR6000: Set async interrupt delay clock as 2.
R0: wlan: [4:E :HIF] ath_hif_sdio_probe: Failed to get RAM dump memory address or size!

R0: wlan: [4:E :HDD] Name = [gEnableHostapdEdcaLocal] Value = [0]
R0: wlan: [4:E :HDD] Name = [g_sta_change_cc_via_beacon] Value = [0]
NUM_DEV=1 FWMODE=0x2 FWSUBMODE=0x0 FWBR_BUF 0
ol_download_firmware: Using 0x1234 for the remainder of init
ol_download_firmware: chip_id:0x5020001 board_id:0x0
__ol_transfer_bin_file: Failed to get bdwlan30.b00:-2
__ol_transfer_bin_file: Trying to load default bdwlan30.bin
Board extended Data download address: 0x0
__ol_transfer_bin_file: Loading setup file qsetup30.bin
__ol_transfer_bin_file: Failed to get qsetup30.bin:-2
+HTCCreate .. HIF :a9560000
HIF Interrupt processing is SYNC ONLY
AR6000: configuration opcode 7 is only used for RTOS systems, not Linux systems
AR6000: configuration opcode 5 is not used for Linux SDIO stack
-HTCCreate (0xa8dcc000)
ol_if_dfs_attach: called; ptr=a8d65e60, radar_info=a8081a64
R0: wlan: [4:E :SAP] dfs_init_radar_filters[217]: Unknown dfs domain 0
+HWT
Target Ready! : transmit resources : 3 size:1792, MaxMsgsPerHTCBundle = 32
HTC Service Index : 1 TX : 0x100 : alloc:3
HTC Service:0x0001, ULpipe:1 DLpipe:0 id:0 Ready
-HWT
MAILBOX SWAP Service is enabled!
Reduced Tx Complete service is enabled!
is_full_reorder_offloaded? 0
HTC Service TX : 0x300 : allocation is zero!
HTCConnectService, host indicate support b2b bundle
HTCConnectService, firmware decide to disabled b2b bundle
HTC Service:0x0300, ULpipe:1 DLpipe:0 id:1 Ready
HTC Service:0x0300 ep:1 TX flow control disabled
TXRX: page_divider 0x5, offset_filter 0x1f num elem 4800, ol desc num page 150, ol desc per page 32HTCConnectService, host indicate support b2b bundle
HTCConnectService, firmware decide to disabled b2b bundle
HTC Service:0x0100, ULpipe:3 DLpipe:2 id:2 Ready
HTC using TX credit flow control
__wmi_control_rx: WMI UNIFIED SERVICE AVAILABLE event
__wmi_control_rx: WMI UNIFIED SERVICE READY event
__wmi_control_rx: WMI UNIFIED READY event
__wmi_control_rx : event handler is not registered: event id 0x1d019
target uses HTT version 3.53; host uses 3.28
*** Warning: host/target HTT versions are different, though compatible!
Host SW:4.0.11.213V, FW:0.0.0.23, HW:QCA93x7_REV1_1
ol_pktlog_init: pktlogmod_init successfull
Forum Link

Activities

There are no notes attached to this issue.