Hi,
My setup has MangoH red board + talon mirage module with rmnet enabled. Able to make a call with the setup.
When trying to enabled wifi getting error.
the rmnet_config_notify_cb is unregistering the wlan0 as per the logs.
Any idea whats happening here.
Console logs :
root@swi-mdm9x28:~# wifi client start
[ 58.899749] i2c-msm-v2 78b8000.i2c: NACK: slave not responding, ensure its powered: msgs(n:2 cur:0 tx) bc(rx:1 tx:1) mode:FIFO slv_addr:0x70 MSTR_STS:0x0d1300c8 OPER:0x00000010
[ 58.917872] i2c-msm-v2 78b8000.i2c: NACK: slave not responding, ensure its powered: msgs(n:2 cur:0 tx) bc(rx:1 tx:1) mode:FIFO slv_addr:0x70 MSTR_STS:0x011363c8 OPER:0x00000010
[ 58.934524] i2c-msm-v2 78b8000.i2c: NACK: slave not responding, ensure its powered: msgs(n:2 cur:0 tx) bc(rx:1 tx:1) mode:FIFO slv_addr:0x70 MSTR_STS:0x0d1300c8 OPER:0x00000010
[ 64.584390] wlcore: ERROR firmware boot failed despite 3 retries
[ 64.589709] [RMNET:HI] rmnet_config_notify_cb(): Kernel is trying to unregister wlan0
[ 64.651405] [RMNET:HI] rmnet_config_notify_cb(): Kernel is trying to unregister wlan0
ERROR: le_wifiClient_Start returns ERROR.
Logread :
Oct 7 11:55:25 swi-mdm9x28 user.warn Legato: -WRN- | posDaemon[690]/le_pa_gnss T=unknown | pa_gnss_qmi.c PositionHandler() 1340 | Bad position indication
Oct 7 11:55:25 swi-mdm9x28 user.warn kernel: [ 33.874339] PSM: Modem oprt mode - 6
Oct 7 11:55:26 swi-mdm9x28 user.warn kernel: [ 34.599609] PSM: Modem oprt mode - 0
Oct 7 11:55:27 swi-mdm9x28 user.info Legato: INFO | modemDaemon[687]/le_pa T=main | pa_mrc_qmi.c pa_mrc_GetNetworkRegState() 2062 | called
Oct 7 11:55:29 swi-mdm9x28 daemon.warn dnsmasq-dhcp[1212]: DHCP packet received on ecm0 which has no address
Oct 7 11:55:42 swi-mdm9x28 authpriv.notice login[1247]: ROOT LOGIN on ‘/dev/ttyHSL1’
Oct 7 11:55:44 swi-mdm9x28 daemon.warn dnsmasq-dhcp[1212]: DHCP packet received on ecm0 which has no address
Oct 7 11:55:49 swi-mdm9x28 user.debug Legato: DBUG | wifiService[694]/framework T=main | LE_FILENAME ExtractFileDescriptor() 34 | Received fd (11).
Oct 7 11:55:49 swi-mdm9x28 user.debug Legato: DBUG | wifiService[694]/framework T=main | LE_FILENAME ExtractFileDescriptor() 34 | Received fd (12).
Oct 7 11:55:49 swi-mdm9x28 user.debug Legato: DBUG | wifiService[694]/framework T=main | LE_FILENAME le_mem_ForceAlloc() 841 | Memory pool ‘framework.DestructorObjs’ overflowed. Expanded to 2 blocks.
Oct 7 11:55:49 swi-mdm9x28 user.debug Legato: DBUG | wifiService[694]/framework T=WifiClientPaThread | LE_FILENAME PThreadStartRoutine() 362 | Set nice level to 0.
Oct 7 11:55:49 swi-mdm9x28 user.debug Legato: DBUG | wifiService[694]/framework T=WifiClientPaThread | LE_FILENAME le_mem_ForceAlloc() 841 | Memory pool ‘framework.DestructorObjs’ overflowed. Expanded to 3 blocks.
Oct 7 11:55:49 swi-mdm9x28 user.info Legato: INFO | wifiService[694]/daemon T=WifiClientPaThread | pa_wifi_client_ti.c WifiClientPaThreadMain() 240 | Started!
Oct 7 11:55:49 swi-mdm9x28 user.info Legato: INFO | wifiService[694] | WIFI_START
Oct 7 11:55:49 swi-mdm9x28 user.info Legato: INFO | wifiService[694]/daemon T=WifiClientPaThread | pa_wifi_client_ti.c WifiClientPaThreadMain() 257 | PARSING:WIFI_SET_EVENT : len:15
Oct 7 11:55:49 swi-mdm9x28 user.info kernel: [ 57.954740] cfg80211: Calling CRDA to update world regulatory domain
Oct 7 11:55:49 swi-mdm9x28 user.info kernel: [ 57.954869] cfg80211: World regulatory domain updated:
Oct 7 11:55:49 swi-mdm9x28 user.info kernel: [ 57.954880] cfg80211: DFS Master region: unset
Oct 7 11:55:49 swi-mdm9x28 user.info kernel: [ 57.954889] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
Oct 7 11:55:49 swi-mdm9x28 user.info kernel: [ 57.954901] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
Oct 7 11:55:49 swi-mdm9x28 user.info kernel: [ 57.954911] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
Oct 7 11:55:49 swi-mdm9x28 user.info kernel: [ 57.954922] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
Oct 7 11:55:49 swi-mdm9x28 user.info kernel: [ 57.954932] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
Oct 7 11:55:49 swi-mdm9x28 user.info kernel: [ 57.954943] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
Oct 7 11:55:49 swi-mdm9x28 user.info kernel: [ 57.954954] cfg80211: (5490000 KHz - 5710000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
Oct 7 11:55:49 swi-mdm9x28 user.info kernel: [ 57.954965] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
Oct 7 11:55:49 swi-mdm9x28 user.info kernel: [ 57.954976] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
Oct 7 11:55:50 swi-mdm9x28 user.err kernel: [ 58.899749] i2c-msm-v2 78b8000.i2c: NACK: slave not responding, ensure its powered: msgs(n:2 cur:0 tx) bc(rx:1 tx:1) mode:FIFO slv_addr:0x70 MSTR_STS:0x0d1300c8 OPER:0x00000010
Oct 7 11:55:50 swi-mdm9x28 user.err kernel: [ 58.917872] i2c-msm-v2 78b8000.i2c: NACK: slave not responding, ensure its powered: msgs(n:2 cur:0 tx) bc(rx:1 tx:1) mode:FIFO slv_addr:0x70 MSTR_STS:0x011363c8 OPER:0x00000010
Oct 7 11:55:50 swi-mdm9x28 user.info Legato: INFO | wifiService[694] | mangOH red board
Oct 7 11:55:50 swi-mdm9x28 user.err kernel: [ 58.934524] i2c-msm-v2 78b8000.i2c: NACK: slave not responding, ensure its powered: msgs(n:2 cur:0 tx) bc(rx:1 tx:1) mode:FIFO slv_addr:0x70 MSTR_STS:0x0d1300c8 OPER:0x00000010
Oct 7 11:55:50 swi-mdm9x28 user.debug kernel: [ 58.951982] gpio_sync_ri: RI owner is Modem
Oct 7 11:55:50 swi-mdm9x28 user.debug kernel: [ 58.952023] gpio_map_name_to_num: find GPIO 76
Oct 7 11:55:50 swi-mdm9x28 user.debug kernel: [ 58.952037] export_store: Export GPIO: 76
Oct 7 11:55:50 swi-mdm9x28 user.debug kernel: [ 58.952078] gpio_sync_ri: RI owner is Modem
Oct 7 11:55:50 swi-mdm9x28 user.debug kernel: [ 58.952098] gpiod_export: sierra–find GPIO,chipdev = -822253552,chipngpio = 80,chipbase = 0
Oct 7 11:55:50 swi-mdm9x28 user.debug kernel: [ 58.953769] gpio_sync_ri: RI owner is Modem
Oct 7 11:55:50 swi-mdm9x28 user.debug kernel: [ 58.953803] gpio_map_name_to_num: find GPIO 38
Oct 7 11:55:50 swi-mdm9x28 user.debug kernel: [ 58.953817] export_store: Export GPIO: 38
Oct 7 11:55:50 swi-mdm9x28 user.debug kernel: [ 58.953851] gpio_sync_ri: RI owner is Modem
Oct 7 11:55:50 swi-mdm9x28 user.debug kernel: [ 58.953869] gpiod_export: sierra–find GPIO,chipdev = -822253552,chipngpio = 80,chipbase = 0
Oct 7 11:55:50 swi-mdm9x28 user.debug kernel: [ 58.983681] gpio_sync_ri: RI owner is Modem
Oct 7 11:55:50 swi-mdm9x28 user.debug kernel: [ 58.983716] gpio_map_name_to_num: find GPIO 58
Oct 7 11:55:50 swi-mdm9x28 user.debug kernel: [ 58.983729] export_store: Export GPIO: 58
Oct 7 11:55:50 swi-mdm9x28 user.debug kernel: [ 58.983762] gpio_sync_ri: RI owner is Modem
Oct 7 11:55:50 swi-mdm9x28 user.debug kernel: [ 58.983779] gpiod_export: sierra–find GPIO,chipdev = -822253552,chipngpio = 80,chipbase = 0
Oct 7 11:55:50 swi-mdm9x28 user.warn kernel: [ 58.985691] sdhci_msm 7864900.sdhci: card claims to support voltages below defined range
Oct 7 11:55:50 swi-mdm9x28 user.warn kernel: [ 59.031787] mmc0: queuing unknown CIS tuple 0x91 (3 bytes)
Oct 7 11:55:50 swi-mdm9x28 user.info kernel: [ 59.033967] mmc0: new high speed SDIO card at address 0001
Oct 7 11:55:51 swi-mdm9x28 user.warn kernel: [ 59.158695] modprobe (1654) used greatest stack depth: 4884 bytes left
Oct 7 11:55:51 swi-mdm9x28 user.info kernel: [ 59.774835] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)
Oct 7 11:55:51 swi-mdm9x28 user.info Legato: INFO | wifiService[694]/daemon T=WifiClientPaThread | pa_wifi_client_ti.c WifiClientPaThreadMain() 257 | PARSING:phy #0: renamed to phy0 : len:24
Oct 7 11:55:51 swi-mdm9x28 user.info kernel: [ 59.871614] wlcore: loaded
Oct 7 11:55:56 swi-mdm9x28 user.err kernel: [ 64.584390] wlcore: ERROR firmware boot failed despite 3 retries
Oct 7 11:55:56 swi-mdm9x28 user.err kernel: [ 64.589709] [RMNET:HI] rmnet_config_notify_cb(): Kernel is trying to unregister wlan0
Oct 7 11:55:56 swi-mdm9x28 user.err Legato: =ERR= | wifiService[694] | ifconfig: SIOCSIFFLAGS: No medium found
Oct 7 11:55:56 swi-mdm9x28 user.info Legato: INFO | wifiService[694] | Failed to start TI wifi
Oct 7 11:55:56 swi-mdm9x28 user.err Legato: =ERR= | wifiService[694]/daemon T=main | pa_wifi_client_ti.c pa_wifiClient_Start() 349 | WiFi Client Command Failed: (23296)wlan0 WIFI_START
Oct 7 11:55:56 swi-mdm9x28 user.err kernel: [ 64.651405] [RMNET:HI] rmnet_config_notify_cb(): Kernel is trying to unregister wlan0
Oct 7 11:55:56 swi-mdm9x28 user.info kernel: [ 64.751969] mmc0: card 0001 removed
Oct 7 11:55:56 swi-mdm9x28 user.info Legato: INFO | supervisor[657]/supervisor T=main | supervisor.c SigChildHandler() 781 | Reaping unconfigured child process 1627.
Oct 7 11:55:56 swi-mdm9x28 user.err Legato: =ERR= | wifiService[694]/daemon T=WifiClientPaThread | pa_wifi_client_ti.c ThreadDestructor() 189 | Unable to kill the WIFI events script
Oct 7 11:55:56 swi-mdm9x28 user.err Legato: =ERR= | wifiService[694]/daemon T=main | le_wifiClient.c le_wifiClient_Start() 607 | Unable to start WIFI client. Err: -6
Oct 7 11:55:56 swi-mdm9x28 user.debug Legato: DBUG | wifiService[694]/daemon T=main | le_wifiClient.c CloseSessionEventHandler() 452 | sessionRef 0x7f57cd8c GetFirstSessionRef (nil)
Oct 7 11:55:56 swi-mdm9x28 user.debug Legato: DBUG | wifiService[694]/framework T=main | le_wifiClient_server.c CleanupClientData() 148 | Client 0x7f57cd8c is closed !!!
Oct 7 11:55:56 swi-mdm9x28 user.debug Legato: DBUG | wifiService[694]/framework T=main | le_wifiAp_server.c CleanupClientData() 148 | Client 0x7f57ccfc is closed !!!
Oct 7 11:56:03 swi-mdm9x28 user.info Legato: INFO | supervisor[657]/supervisor T=main | supervisor.c HandleRebootExpiry() 524 | Expired reboot timer
root@swi-mdm9x28:~#