The device goto reboot after wifi connect to the network

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

The device goto reboot after wifi connect to the network

1,210 Views
94393400
Contributor III

Hi,

       My device is 8mq_evk and the wifi is use the qca6174a, and we use the Release - Android android-10.0.0_1.0.0 , kernel version is 4.19.42. 

      I configed the BOARD_WLAN_DEVICE := qcwcn   and other configurations in the boardconfig.mk and 8mq_evk.mk.

after do those, the wifi and bluetooth can be enable, the BT is ok, the wifi also can be scan,  but after connect to any ssid, the device goto reboot. here are the logs below:

[18:55:05][ 213.271743] netlink: 'wifi@1.0-servic': attribute type 6 has an invalid length.
[18:55:06][ 214.277133] netlink: 'wifi@1.0-servic': attribute type 6 has an invalid length.
[18:55:06][ 214.495470] init: processing action (sys.sysctl.tcp_def_init_rwnd=*) from (/init.rc:808)
[18:55:07][ 215.162871] Unable to handle kernel paging request at virtual address dead0000000014b4
[18:55:07][ 215.170885] Mem abort info:
[18:55:07][ 215.173683] ESR = 0x96000004
[18:55:07][ 215.176835] Exception class = DABT (current EL), IL = 32 bits
[18:55:07][ 215.182766] SET = 0, FnV = 0
[18:55:07][ 215.185894] EA = 0, S1PTW = 0
[18:55:07][ 215.189044] Data abort info:
[18:55:07][ 215.191995] ISV = 0, ISS = 0x00000004
[18:55:07][ 215.195839] CM = 0, WnR = 0
[18:55:07][ 215.198876] [dead0000000014b4] address between user and kernel address ranges
[18:55:07][ 215.206020] Internal error: Oops: 96000004 [#1] PREEMPT SMP
[18:55:07][ 215.211592] Modules linked in: wlan
[18:55:07][ 215.215086] Process composer@2.3-se (pid: 3158, stack limit = 0x0000000085fa5711)
[18:55:07][ 215.222570] CPU: 1 PID: 3158 Comm: composer@2.3-se Not tainted 4.19.42-g0f0effa-dirty #8
[18:55:07][ 215.230658] Hardware name: Freescale i.MX8MQ EVK (DT)
[18:55:07][ 215.235709] pstate: 80400005 (Nzcv daif +PAN -UAO)
[18:55:07][ 215.240783] pc : ol_tx_vdev_ll_pause_queue_send+0x18/0x3c [wlan]
[18:55:07][ 215.246794] lr : call_timer_fn+0xc0/0x1b8
[18:55:07][ 215.250801] sp : ffff00000800bda0
[18:55:07][ 215.254114] x29: ffff00000800bdb0 x28: dead000000000200
[18:55:07][ 215.259426] x27: ffff8000f8b1aac0 x26: ffff00000800be10
[18:55:07][ 215.264739] x25: ffff00000a076000 x24: 0000000000000001
[18:55:07][ 215.270052] x23: 0000000000000000 x22: ffff8000f8b1aac0
[18:55:07][ 215.275364] x21: ffff8000ed6196f0 x20: 0000000000000100
[18:55:07][ 215.280676] x19: ffff8000ed6196f0 x18: 0000000000000000
[18:55:07][ 215.285988] x17: 0000000000000000 x16: 0000000000000000
[18:55:07][ 215.291301] x15: 0000000000000000 x14: 0000000000004000
[18:55:07][ 215.296613] x13: ffff8000ed6196f0 x12: ffff8000fff757a0
[18:55:07][ 215.301925] x11: ffff00000800be18 x10: ffff00000800be18
[18:55:07][ 215.307237] x9 : 0000000000000100 x8 : dead000000000200
[18:55:07][ 215.312550] x7 : 00000000000000d7 x6 : ffff00000a32a990
[18:55:07][ 215.317862] x5 : 0000000000000500 x4 : 0000000000000000
[18:55:07][ 215.323174] x3 : 0000000000000001 x2 : 0000000000000001
[18:55:07][ 215.328486] x1 : ffff0000013ca5ec x0 : ffff8000ed6196f0
[18:55:07][ 215.333799] Call trace:
[18:55:07][ 215.336436] ol_tx_vdev_ll_pause_queue_send+0x18/0x3c [wlan]
[18:55:07][ 215.342095] call_timer_fn+0xc0/0x1b8
[18:55:07][ 215.345757] run_timer_softirq+0x624/0x6c0
[18:55:07][ 215.349853] __do_softirq+0x1b0/0x324
[18:55:07][ 215.353516] irq_exit+0xd8/0xdc
[18:55:07][ 215.356659] __handle_domain_irq+0x8c/0xc4
[18:55:07][ 215.360755] gic_handle_irq+0x134/0x1b8
[18:55:07][ 215.364590] el1_irq+0xe8/0x190
[18:55:07][ 215.367732] dcss_plane_atomic_check+0x2e0/0x380
[18:55:07][ 215.372350] drm_atomic_helper_check_planes+0xe0/0x1ac
[18:55:07][ 215.377487] dcss_drm_atomic_check+0x34/0x50
[18:55:07][ 215.381759] drm_atomic_check_only+0x26c/0x578
[18:55:07][ 215.386202] drm_mode_atomic_ioctl+0x89c/0x100c
[18:55:07][ 215.390733] drm_ioctl_kernel+0x10c/0x144
[18:55:07][ 215.394741] drm_ioctl+0x210/0x388
[18:55:07][ 215.398146] do_vfs_ioctl+0x5bc/0xdfc
[18:55:07][ 215.401809] __arm64_sys_ioctl+0x78/0xa0
[18:55:07][ 215.405732] el0_svc_common+0x9c/0x104
[18:55:07][ 215.409481] el0_svc_handler+0x6c/0x88
[18:55:07][ 215.413229] el0_svc+0x8/0xc
[18:55:07][ 215.416112] Code: 910043fd aa0003f3 d503201f f9400268 (b952b509)
[18:55:07][ 215.422209] ---[ end trace 20b2073c315dcd36 ]---
[18:55:07][ 215.426825] Kernel panic - not syncing: Fatal exception in interrupt
[18:55:07][ 215.433178] SMP: stopping secondary CPUs
[18:55:07][ 215.437151] Kernel Offset: disabled
[18:55:07][ 215.440639] CPU features: 0x0,2080200c
[18:55:07][ 215.444386] Memory Limit: none
[18:55:07][ 215.447441] Rebooting in 5 seconds..

 which command is the attribute type 6 ? and help to resolve the problem. many thanks.

Tags (1)
0 Kudos
2 Replies

1,152 Views
94393400
Contributor III

I have fixed this issue,tks.

0 Kudos

1,152 Views
jimmychan
NXP TechSupport
NXP TechSupport

It seems is the driver issue. Please check the kernel setting for your wifi chip.

0 Kudos