wlan 8890 cause kernel exception

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

wlan 8890 cause kernel exception

1,563 Views
Mike17
Contributor I

Hi,

My device is using MTK 6890 and the wifi chip is AzureWave module(the model is AW-XM458).

The communication interface between host(I use MTK chip) and module is PCIE.

I configure to uap mode but after connect to any ssid (5G or 2.4G), the device will go to reboot. here are the logs below:

It seems that the wlan_process_bypass_tx+0x8c/0x1bc [mlan] will cause kernel exception. Is there anyone know how to fix this issue?

 

[ 181.439247] <3>.(3)[0:swapper/3]ARP packet 0608
[ 181.439836] <2>.(2)[1318:kworker/u9:1]muap0:
[ 181.439839] <3>.(2)[1318:kworker/u9:1]181.434511 : Data => FW
[ 181.439887] <3>-(3)[13360:kworker/u9:4]Unable to handle kernel NULL pointer dereference at virtual address 0000000000000008
[ 181.439890] <0>-(0)[0:swapper/0]**
[ 181.441789] <3>-(0)[0:swapper/0]mtu3 11201000.usb: === U2COMM[200] ===
[ 181.442516] <3>-(3)[13360:kworker/u9:4]Mem abort info:
[ 181.444411] <3>-(3)[13360:kworker/u9:4] ESR = 0x96000046
[ 181.445094] <3>-(3)[13360:kworker/u9:4] Exception class = DABT (current EL), IL = 32 bits
[ 181.446134] <3>-(3)[13360:kworker/u9:4] SET = 0, FnV = 0
[ 181.446814] <3>-(3)[13360:kworker/u9:4] EA = 0, S1PTW = 0
[ 181.447505] <3>-(3)[13360:kworker/u9:4]Data abort info:
[ 181.448164] <3>-(3)[13360:kworker/u9:4] ISV = 0, ISS = 0x00000046
[ 181.448943] <3>-(3)[13360:kworker/u9:4] CM = 0, WnR = 1
[ 181.449617] <3>-(3)[13360:kworker/u9:4]user pgtable: 4k pages, 39-bit VAs, pgdp = 00000000d07efb82
[ 181.450743] <3>-(3)[13360:kworker/u9:4][0000000000000008] pgd=00000000613b5003, pud=00000000613b5003, pmd=0000000000000000
[ 181.452135] <3>-(3)[13360:kworker/u9:4]Internal error: Oops: 96000046 [#1] SMP
[ 182.458673] <3>-(3)[13360:kworker/u9:4]Kernel Offset: 0x0 from 0xffffff8008000000
[ 182.459638] <3>-(3)[13360:kworker/u9:4]PHYS_OFFSET: 0x40000000
[ 182.460376] <3>-(3)[13360:kworker/u9:4]Modules linked in: moal ffffff80011f4000 0000000000000000 618496 0 (O) iptable_nat ffffff80011ec000 0000000000000000 16384 0 ipt_REJECT ffffff80011e4000 0000000000000000 16384 0 ipt_MASQUERADE ffffff80011dc000 0000000000000000 16384 0 ebtable_nat ffffff80011d4000 0000000000000000 16384 0 ebtable_filter ffffff80011cc000 0000000000000000 16384 0 ebtable_broute ffffff80011c4000 0000000000000000 16384 0 cfg80211 ffffff8001120000 0000000000000000 573440 0 (O) xt_time ffffff8001118000 0000000000000000 16384 0 xt_tcpudp ffffff8001110000 0000000000000000 16384 0 xt_tcpmss ffffff8001108000 0000000000000000 16384 0 xt_string ffffff8001100000 0000000000000000 16384 0 xt_statistic ffffff80010f8000 0000000000000000 16384 0 xt_state ffffff80010f0000 0000000000000000 16384 0 xt_recent ffffff80010e7000 0000000000000000 20480 0
[ 182.469962] <3> xt_nat ffffff80010df000 0000000000000000 16384 0 xt_multiport ffffff80010d7000 0000000000000000 16384 0 xt_mark ffffff80010cf000 0000000000000000 16384 0 xt_mac ffffff80010c7000 0000000000000000 16384 0 xt_limit ffffff80010bf000 0000000000000000 16384 0 xt_length ffffff80010b7000 0000000000000000 16384 0 xt_hl ffffff80010af000 0000000000000000 16384 0 xt_helper ffffff80010a7000 0000000000000000 16384 0 xt_ecn ffffff800109f000 0000000000000000 16384 0 xt_dscp ffffff8001097000 0000000000000000 16384 0 xt_conntrack ffffff800108f000 0000000000000000 16384 0 xt_connmark ffffff8001087000 0000000000000000 16384 0 xt_connlimit ffffff800107f000 0000000000000000 16384 0 xt_connbytes ffffff8001077000 0000000000000000 16384 0 xt_comment ffffff800106f000 0000000000000000 16384 0 xt_bpf ffffff8001067000 0000000000000000 16384 0
[ 182.479359] <3> xt_TCPMSS ffffff800105f000 0000000000000000 16384 0 xt_REDIRECT ffffff8001057000 0000000000000000 16384 0 xt_LOG ffffff800104f000 0000000000000000 16384 0 xt_HL ffffff8001047000 0000000000000000 16384 0 xt_DSCP ffffff800103f000 0000000000000000 16384 0 xt_CT ffffff8001037000 0000000000000000 16384 0 xt_CLASSIFY ffffff800102f000 0000000000000000 16384 0 ts_kmp ffffff8001027000 0000000000000000 16384 0 ts_fsm ffffff800101f000 0000000000000000 16384 0 ts_bm ffffff8001017000 0000000000000000 16384 0 pppoe ffffff800100c000 0000000000000000 24576 0 ppp_async ffffff8001002000 0000000000000000 24576 0 nf_reject_ipv4 ffffff8000ffa000 0000000000000000 16384 0 nf_nat_ipv4 ffffff8000ff1000 0000000000000000 20480 0 nf_nat_ftp ffffff8000fe9000 0000000000000000 16384 0 nf_nat ffffff8000fdc000 0000000000000000 32768 0
[ 182.488625] <3> nf_log_ipv4 ffffff8000fd4000 0000000000000000 16384 0 nf_conntrack_rtcache ffffff8000fcc000 0000000000000000 16384 0 nf_conntrack_netlink ffffff8000fbd000 0000000000000000 40960 0 nf_conntrack_ftp ffffff8000fb5000 0000000000000000 16384 0 nf_conncount ffffff8000fac000 0000000000000000 20480 0 mlan ffffff8000f32000 0000000000000000 454656 0 (O) iptable_raw ffffff8000f2a000 0000000000000000 16384 0 iptable_mangle ffffff8000f22000 0000000000000000 16384 0 iptable_filter ffffff8000f1a000 0000000000000000 16384 0 ipt_ECN ffffff8000f12000 0000000000000000 16384 0 ip_tables ffffff8000f06000 0000000000000000 28672 0 ebtables ffffff8000ef8000 0000000000000000 36864 0 ebt_vlan ffffff8000ef0000 0000000000000000 16384 0 ebt_stp ffffff8000ee8000 0000000000000000 16384 0 ebt_snat ffffff8000ee0000 0000000000000000 16384 0
[ 182.497921] <3> ebt_redirect ffffff8000ed8000 0000000000000000 16384 0 ebt_pkttype ffffff8000ed0000 0000000000000000 16384 0 ebt_nflog ffffff8000ec8000 0000000000000000 16384 0 ebt_mark_m ffffff8000ec0000 0000000000000000 16384 0 ebt_mark ffffff8000eb8000 0000000000000000 16384 0 ebt_log ffffff8000eb0000 0000000000000000 16384 0 ebt_limit ffffff8000ea8000 0000000000000000 16384 0 ebt_ip6 ffffff8000ea0000 0000000000000000 16384 0 ebt_ip ffffff8000e98000 0000000000000000 16384 0 ebt_dnat ffffff8000e90000 0000000000000000 16384 0 ebt_arpreply ffffff8000e88000 0000000000000000 16384 0 ebt_arp ffffff8000e80000 0000000000000000 16384 0 ebt_among ffffff8000e78000 0000000000000000 16384 0 ebt_802_3 ffffff8000e70000 0000000000000000 16384 0 crc_ccitt ffffff8000e68000 0000000000000000 16384 0 compat ffffff8000e60000 0000000000000000 16384 0 (O)
[ 182.507361] <3> act_connmark ffffff8000e58000 0000000000000000 16384 0 nf_conntrack ffffff8000e31000 0000000000000000 122880 0 nf_defrag_ipv6 ffffff8000e28000 0000000000000000 20480 0 nf_defrag_ipv4 ffffff8000e20000 0000000000000000 16384 0 sch_tbf ffffff8000e17000 0000000000000000 20480 0 sch_hfsc ffffff8000e0d000 0000000000000000 24576 0 cls_tcindex ffffff8000e04000 0000000000000000 20480 0 cls_route ffffff8000dfb000 0000000000000000 20480 0 cls_matchall ffffff8000df3000 0000000000000000 16384 0 cls_basic ffffff8000deb000 0000000000000000 16384 0 act_skbedit ffffff8000de3000 0000000000000000 16384 0 hw_nat ffffff8000db4000 0000000000000000 159744 0 (O) xt_set ffffff8000dab000 0000000000000000 20480 0 ip_set_list_set ffffff8000da2000 0000000000000000 20480 0 ip_set_hash_netportnet ffffff8000d95000 0000000000000000 36864 0
[ 182.516658] <3> ip_set_hash_netport ffffff8000d89000 0000000000000000 32768 0 ip_set_hash_netnet ffffff8000d7c000 0000000000000000 36864 0 ip_set_hash_netiface ffffff8000d70000 0000000000000000 32768 0 ip_set_hash_net ffffff8000d64000 0000000000000000 32768 0 ip_set_hash_mac ffffff8000d5b000 0000000000000000 20480 0 ip_set_hash_ipportnet ffffff8000d4e000 0000000000000000 36864 0 ip_set_hash_ipportip ffffff8000d42000 0000000000000000 32768 0 ip_set_hash_ipport ffffff8000d36000 0000000000000000 32768 0 ip_set_hash_ipmark ffffff8000d2b000 0000000000000000 28672 0 ip_set_hash_ip ffffff8000d20000 0000000000000000 28672 0 ip_set_bitmap_port ffffff8000d17000 0000000000000000 20480 0 ip_set_bitmap_ipmac ffffff8000d0e000 0000000000000000 20480 0 ip_set_bitmap_ip ffffff8000d05000 0000000000000000 20480 0
[ 182.525625] <3> ip_set ffffff8000cf7000 0000000000000000 36864 0 nfnetlink ffffff8000cef000 0000000000000000 16384 0 nf_log_ipv6 ffffff8000ce7000 0000000000000000 16384 0 nf_log_common ffffff8000cdf000 0000000000000000 16384 0 ip6table_mangle ffffff8000cd7000 0000000000000000 16384 0 ip6table_filter ffffff8000ccf000 0000000000000000 16384 0 ip6_tables ffffff8000cc3000 0000000000000000 28672 0 ip6t_REJECT ffffff8000cbb000 0000000000000000 16384 0 x_tables ffffff8000cac000 0000000000000000 36864 0 nf_reject_ipv6 ffffff8000ca4000 0000000000000000 16384 0 ip6_gre ffffff8000c96000 0000000000000000 36864 0 ip_gre ffffff8000c8a000 0000000000000000 32768 0 ifb ffffff8000c82000 0000000000000000 16384 0 nat46 ffffff8000c74000 0000000000000000 36864 0 (O) snd_pcm_oss ffffff8000c62000 0000000000000000 53248 0
[ 182.534640] <3> snd_mixer_oss ffffff8000c57000 0000000000000000 28672 0 snd_compress ffffff8000c4e000 0000000000000000 20480 0 autofs4 ffffff8000c3e000 0000000000000000 45056 0 conninfra ffffff8000c00000 0000000000000000 217088 0 (O)
[ 182.537279] <3>-(3)[13360:kworker/u9:4]CPU: 3 PID: 13360 Comm: kworker/u9:4 Tainted: G W O 4.19.205-g783c8d5f5d88 #0
[ 182.538742] <3>-(3)[13360:kworker/u9:4]Hardware name: MediaTek evb6890v1_64_mifi (DT)
[ 182.539752] <3>-(3)[13360:kworker/u9:4]Workqueue: MOAL_WORK_QUEUE woal_main_work_queue [moal]
[ 182.540827] <3>-(3)[13360:kworker/u9:4]pstate: 80c00085 (Nzcv daIf +PAN +UAO)
[ 182.541741] <3>-(3)[13360:kworker/u9:4]pc : wlan_process_bypass_tx+0x8c/0x1bc [mlan]
[ 182.542727] <3>-(3)[13360:kworker/u9:4]lr : wlan_process_bypass_tx+0x74/0x1bc [mlan]
[ 182.543702] <3>-(3)[13360:kworker/u9:4]sp : ffffff8017c5bcc0
[ 182.544415] <3>-(3)[13360:kworker/u9:4]x29: ffffff8017c5bcc0 x28: ffffffc021be0000
[ 182.545380] <3>-(3)[13360:kworker/u9:4]x27: 0000000000002cf8 x26: ffffff80178a4cf8
[ 182.546345] <3>-(3)[13360:kworker/u9:4]x25: ffffff8016fa2000 x24: ffffff80178a2000
[ 182.547311] <3>-(3)[13360:kworker/u9:4]x23: ffffff800120a27c x22: 0000000000000000
[ 182.548276] <3>-(3)[13360:kworker/u9:4]x21: ffffff80178a4c00 x20: ffffffc01fb37c00
[ 182.549241] <3>-(3)[13360:kworker/u9:4]x19: ffffff8016fa1000 x18: 0000000000000000
[ 182.550206] <3>-(3)[13360:kworker/u9:4]x17: 0000000000000000 x16: 0000000000000000
[ 182.551171] <3>-(3)[13360:kworker/u9:4]x15: 0000000000000000 x14: ffffffc010284f80
[ 182.552135] <3>-(3)[13360:kworker/u9:4]x13: 0000004036586000 x12: 000000003475d91d
[ 182.553101] <3>-(3)[13360:kworker/u9:4]x11: 0000000000000000 x10: 0000000000000940
[ 182.554066] <3>-(3)[13360:kworker/u9:4]x9 : ffffff8017c5bd70 x8 : ffffffc02050c970
[ 182.555031] <3>-(3)[13360:kworker/u9:4]x7 : fefefefefefefeff x6 : 0000000000000004
[ 182.555997] <3>-(3)[13360:kworker/u9:4]x5 : 0000000000000000 x4 : 0000000000000a0c
[ 182.556961] <3>-(3)[13360:kworker/u9:4]x3 : ffffff800120a27c x2 : 0000000000000001
[ 182.557925] <3>-(3)[13360:kworker/u9:4]x1 : ffffffc01fb34800 x0 : 0000000000000000
[ 182.558891] <3>-(3)[13360:kworker/u9:4]CPU: 3 PID: 13360 Comm: kworker/u9:4 Tainted: G W O 4.19.205-g783c8d5f5d88 #0
[ 182.560354] <3>-(3)[13360:kworker/u9:4]Hardware name: MediaTek evb6890v1_64_mifi (DT)
[ 182.561348] <3>-(3)[13360:kworker/u9:4]Workqueue: MOAL_WORK_QUEUE woal_main_work_queue [moal]
[ 182.562422] <3>-(3)[13360:kworker/u9:4]Call trace:
[ 182.563034] <3>-(3)[13360:kworker/u9:4] dump_backtrace+0x0/0x120
[ 182.563793] <3>-(3)[13360:kworker/u9:4] show_stack+0x24/0x30
[ 182.564510] <3>-(3)[13360:kworker/u9:4] dump_stack+0x90/0xb8
[ 182.565229] <3>-(3)[13360:kworker/u9:4] mrdump_common_die+0x20c/0x21c
[ 182.566041] <3>-(3)[13360:kworker/u9:4] ipanic_die+0x38/0x44
[ 182.566759] <3>-(3)[13360:kworker/u9:4] notifier_call_chain+0x70/0x90
[ 182.567571] <3>-(3)[13360:kworker/u9:4] atomic_notifier_call_chain+0x3c/0x4c
[ 182.568458] <3>-(3)[13360:kworker/u9:4] notify_die+0x28/0x30
[ 182.569173] <3>-(3)[13360:kworker/u9:4] die+0xc8/0x1e8
[ 182.569823] <3>-(3)[13360:kworker/u9:4] die_kernel_fault+0x68/0x78
[ 182.570606] <3>-(3)[13360:kworker/u9:4] __do_kernel_fault+0xd8/0x100
[ 182.571408] <3>-(3)[13360:kworker/u9:4] do_page_fault+0x3dc/0x3fc
[ 182.572178] <3>-(3)[13360:kworker/u9:4] do_translation_fault+0x54/0x98
[ 182.573002] <3>-(3)[13360:kworker/u9:4] do_mem_abort+0x6c/0x100
[ 182.573748] <3>-(3)[13360:kworker/u9:4] el1_da+0x1c/0xac
[ 182.574430] <3>-(3)[13360:kworker/u9:4] wlan_process_bypass_tx+0x8c/0x1bc [mlan]
[ 182.575371] <3>-(3)[13360:kworker/u9:4] mlan_main_process+0x5c8/0x884 [mlan]
[ 182.576268] <3>-(3)[13360:kworker/u9:4] woal_main_work_queue+0x80/0x91c [moal]
[ 182.577182] <3>-(3)[13360:kworker/u9:4] process_one_work+0x208/0x34c
[ 182.577984] <3>-(3)[13360:kworker/u9:4] worker_thread+0x268/0x350
[ 182.578753] <3>-(3)[13360:kworker/u9:4] kthread+0x124/0x134
[ 182.579458] <3>-(3)[13360:kworker/u9:4] ret_from_fork+0x10/0x18
[ 182.580980] <3>-(3)[13360:kworker/u9:4]mrdump: add MSDC:0x0 sz:0x0 failed
[ 182.581841] <3>-(3)[13360:kworker/u9:4]mrdump: add UFS:0x0 sz:0x0 failed
[ 182.582686] <3>-(3)[13360:kworker/u9:4]mrdump: add BLOCKIO:0x0 sz:0x0 failed
[ 182.583574] <3>-(3)[13360:kworker/u9:4]mrdump: add CCCI:0xffffffc02cf68000 sz:0x0 failed
[ 182.584593] <3>-(3)[13360:kworker/u9:4]mrdump: add MD:0xffffffc024c00000 sz:0x0 failed
INFO: [ATF](3)[182.589425][DRAMC-ATF] DRM_DEBUG_CTL(0x1000D030):0x83f1

 

 

 

0 Kudos
Reply
1 Reply

1,500 Views
Alexis_A
NXP TechSupport
NXP TechSupport

Hello @Mike17,

In first instance I notice you're not using the latest driver, I would suggest to check the following link to check if you have access to the latest driver.

Also, I would suggest to check the following hardware recommendations.

Best Regards,

Alexis Andalon

0 Kudos
Reply