xamofb 发表于 2021-7-21 16:00

mt7612u+mt7688 连接wifi内核崩溃

各位大佬,我用的是mt7688+mt7612u作为硬件,本想加多一个mt7612u来连5G的WiFi,但连是能连,就是换连别的WiFi的时候,openwrt内核直接崩溃,求解决办法,有偿。
具体崩溃日志如下:
root@SmartWSN:/# wlan0: deauthenticating from b0:89:00:0a:13:94 by local choice (Reason: 3=DEAUTH_LEAVING)
CPU 0 Unable to handle kernel paging request at virtual address 00000000, epc == 803664a8, ra == 86e403f4
Oops[#1]:
CPU: 0 PID: 167 Comm: kworker/u2:2 Not tainted 4.14.123 #0
Workqueue: phy0 mt76u_init
task: 87d40000 task.stack: 87dc8000
$ 0   : 00000000 80490000 00000000 00000000
$ 4   : 86da6170 00000002 87d40000 fffffff8
$ 8   : fffffffd 0000a400 00000064 00000000
$12   : 00000000 86ed58a0 00000000 00000000
$16   : 86da6170 86da5460 87dc9da0 86da6174
$20   : 87c05000 00000002 87d31198 00000088
$24   : 80441020 8acab7ea
$28   : 87dc8000 87dc9d80 87d31180 86e403f4
Hi    : 0029a3b3
Lo    : 6745a0e9
epc   : 803664a8 __mutex_lock.isra.0+0x124/0x34c
ra    : 86e403f4 mt76u_single_wr+0x218/0x714
Status: 1100a403 KERNEL EXL IE
Cause : 0080000c (ExcCode 03)
BadVA : 00000000
PrId: 00019655 (MIPS 24KEc)
Modules linked in: rt2800pci rt2800mmio rt2800lib pppoe ppp_async option l2tp_ppp uvcvideo usb_wwan rt2x00pci rt2x00mmio rt2x00lib p p t p pppox ppp_mppe ppp_generic nf_nat_p p t p nf_conntrack_p p t p nf_conntrack_ipv6 mt76x2u mt76x2_common mt76x02_usb mt76x02_lib mt76_usb mt76 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_policy xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_esp xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_FLOWOFFLOAD xt_DSCP xt_CT xt_CLASSIFY videobuf2_v4l2 usbserial ts_fsm ts_bm slhc rtc_pcf8563 qmi_wwan oaf nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_redirect nf_nat_proto_gre nf_nat_masquerade_ipv4
nf_nat_irc nf_conntrack_ipv4 nf_nat_ipv4 nf_nat_h323 nf_nat_amanda nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack_rtcache nf_conntrack_proto_gre nf_conntrack_irc nf_conntrack_h323 nf_conntrack_broadcast ts_kmp nf_conntrack_amanda iptable_raw iptable_mangle iptable_filter ipt_ah ipt_ECN ip_tables input_core crc_itu_t crc_ccitt compat cdc_wdm cdc_ether act_connmark nf_conntrack act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress videobuf2_vmalloc videobuf2_memops videobuf2_core v4l2_common videodev i2c_mt7621 i2c_dev i2c_core ledtrig_oneshot ledtrig_heartbeat ledtrig_gpio gobiNet usbnet xt_set ip_set_list_set ip_set_hash_netiface
ip_set_hash_netport ip_set_hash_netnet ip_set_hash_net ip_set_hash_netportnet ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables ip_gre gre ifb l2tp_netlink l2tp_core udp_tunnel ip6_udp_tunnel ipcomp6 xfrm6_tunnel xfrm6_mode_tunnel xfrm6_mode_transport xfrm6_mode_beet esp6 ah6 ipcomp xfrm4_tunnel xfrm4_mode_tunnel xfrm4_mode_transport xfrm4_mode_beet esp4 ah4 tunnel6 tunnel4 ip_tunnel tun af_key xfrm_user xfrm_ipcomp xfrm_algo vfat fat autofs4 nls_utf8 nls_iso8859_1 nls_cp437 eeprom_93cx6 dma_shared_buffer sha256_generic sha1_generic jitterentropy_rng
drbg md5 hmac echainiv ecb des_generic deflate zlib_inflate zlib_deflate cbc authenc crypto_acompress mmc_block sdhci_pltfm sdhci mtk_sd mmc_core leds_gpio ledtrig_transient ehci_platform ehci_hcd gpio_button_hotplug ext4 jbd2 mbcache usbcore nls_base usb_common crc16 mii aead crypto_null cryptomgr crc32c_generic crypto_hash
Process kworker/u2:2 (pid: 167, threadinfo=87dc8000, task=87d40000, tls=00000000)
Stack : c0052000 801cc300 86da5460 86e400b8 0000012c 00000004 00000000 ffffffff
         86da6174 00000000 80449bc8 80044f3c 86da6170 86da5460 86da5460 86f5f600
         87c05000 00000002 87d31198 00000088 87d31180 86e403f4 87cf6000 86060c78
         87d31198 87d40000 87d17700 00001798 86da4b80 87dc9e30 87dc9e5f 86e52590
         86940488 86aed780 80440000 8023ad80 86da5460 87dc9e5f 86da5460 86e55324
         ...
Call Trace:
[<803664a8>] __mutex_lock.isra.0+0x124/0x34c
[<86e403f4>] mt76u_single_wr+0x218/0x714
[<8023ad80>] __kfree_skb+0x14/0x28
Code: ac920008afb30020afa20024 <ac520000> 8f820000afa200288c8200041452000600000000

---[ end trace 33227be2782c3e9f ]---
Kernel panic - not syncing: Fatal exception
Rebooting in 3 seconds..


如果有解决办法可以加Q:1511955132,有偿。

xamofb 发表于 2021-7-21 16:02

我用的mt76的驱动版本是 PKG_SOURCE_DATE:=2019-01-25      PKG_SOURCE_VERSION:=0b939dc7edf0629ee2d1475b6dd6b9a4a1f9384d
页: [1]
查看完整版本: mt7612u+mt7688 连接wifi内核崩溃