MT7688 0.1.6版本 wifi驱动挂掉



  •   ...
    

    [ 4847.900000] Call Trace:
    [ 4847.900000] [<8007594c>] put_page+0x0/0x4c
    [ 4847.900000] [<801d5d20>] skb_release_data+0x9c/0xfc
    [ 4847.900000] [<801d5dd0>] __kfree_skb+0x14/0xd0
    [ 4847.900000] [<828620e4>] rtmp_rx_done_handle+0x3a0/0x3bc [mt_wifi]
    [ 4847.900000] [<82878880>] mt_mac_int_4_tasklet+0x1014/0x10f4 [mt_wifi]

    版主看下,是不是已经解决了。


  • administrators



  • @mango
    用新的版本,也是会出现这个问题:
    root@Widora:/# [ 196.870000] ****** wm8960_postinit ******
    [ 196.910000] playback free_dma_buffer
    [ 196.910000] ptri2s_config->mmap_index:0
    [ 196.930000] ummap MMAP[0]=0x81D40000
    [ 196.930000] playback free_dma_buffer
    [ 196.940000] ptri2s_config->mmap_index:8
    [ 197.060000] CPU 0 Unable to handle kernel paging request at virtual address fffe0000, epc == 8007594c, ra == 801d5d20
    [ 197.080000] Oops[#1]:
    [ 197.080000] CPU: 0 PID: 1668 Comm: wget Not tainted 3.18.29 #52
    [ 197.080000] task: 82b28000 ti: 82a3a000 task.ti: 82a3a000
    [ 197.080000] $ 0 : 00000000 00000001 81d40f40 00200000
    [ 197.080000] $ 4 : fffe0000 00000001 00000000 00000000
    [ 197.080000] $ 8 : 00000001 270000a4 420000a4 62005e43
    [ 197.080000] $12 : 00000102 00000019 00000000 0c02f250
    [ 197.080000] $16 : 81d40f40 00000001 82a14900 00000000
    [ 197.080000] $20 : 82a14900 00000101 10020180 828c0000
    [ 197.080000] $24 : 00000003 80040e68
    [ 197.080000] $28 : 82a3a000 82a3bd68 828c0000 801d5d20
    [ 197.080000] Hi : 0000002d
    [ 197.080000] Lo : e1b0f900
    [ 197.080000] epc : 8007594c put_page+0x0/0x4c
    [ 197.080000] ra : 801d5d20 skb_release_data+0x9c/0xfc
    [ 197.080000] Status: 1100e403 KERNEL EXL IE
    [ 197.080000] Cause : 00800008
    [ 197.080000] BadVA : fffe0000
    [ 197.080000] PrId : 00019655 (MIPS 24KEc)
    [ 197.080000] Modules linked in: pppoe ppp_async iptable_nat pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 ipt_REJECT ipt_MASQUERADE xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_id xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT slhc nf_reject_ipv4 nf_nat_masquerade_ipv4 nf_nat_ftp nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack_ftp nf_conntrack iptable_raw iptable_mangle iptable_filter ip_tables crc_ccitt snd_soc_mt76xx_machine snd_soc_mt76xx_pcm snd_soc_mt76xx_i2s snd_soc_mt76xx_i2s_ctl i2c_wm8960 snd_soc_wm8960 ralink_gdma i2c_ralink snd_soc_core mt_wifi i2c_dev ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_raw ip6table_mangle ip6table_filter ip6_tables x_tables snd_compress snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_rawmidi snd_seq_device snd_hwdep snd input_core soundcore vfat fat autofs4 nls_utf8 nls_iso8859_1 nls_cp437 regmap_spi regmap_i2c i2c_core regmap_core lzo_decompress lzo_compress ipv6 mmc_block usb_storage sdhci_pltfm sdhci mtk_sd mmc_core leds_gpio ohci_platform ohci_hcd ehci_platform ehci_hcd sd_mod scsi_mod gpio_button_hotplug ext4 jbd2 mbcache usbcore nls_base usb_common crc16 crypto_hash
    [ 197.080000] Process wget (pid: 1668, threadinfo=82a3a000, task=82b28000, tls=77610440)
    [ 197.080000] Stack : 82a14900 801d5d94 81d4008a c049e948 82a14900 81d40080 c049d000 801d5dd0
    82a14900 00000101 10020180 828c0000 82a3bdf0 828396ac 01d63780 81d63780
    00000000 0000000f 81d40080 00000001 000000c1 83144400 c049d000 c05cd000
    82a14900 81d40080 82a3bdfc 8283a83c 80353868 00000000 82a3be54 82817e78
    00000000 801d5d94 01d40040 c1330000 00000000 00000040 82a3bdfc 00000000
    ...
    [ 197.080000] Call Trace:
    [ 197.080000] [<8007594c>] put_page+0x0/0x4c
    [ 197.080000] [<801d5d20>] skb_release_data+0x9c/0xfc
    [ 197.080000] [<801d5dd0>] __kfree_skb+0x14/0xd0
    [ 197.080000] [<828396ac>] dev_rx_mgmt_frm+0x1f4/0x214 [mt_wifi]
    [ 197.080000] [<8283a83c>] rtmp_rx_done_handle+0x4c4/0x4f8 [mt_wifi]
    [ 197.080000] [<82872a68>] mt_mac_int_4_tasklet+0xfcc/0x10ac [mt_wifi]
    [ 197.080000]
    [ 197.080000]
    Code: 24a54e28 0801d60a 00003021 <8c820000> 3042c000 10400003 00801821 0801d4d9 00000000
    [ 197.650000] ---[ end trace 8da0b7931ce5a22b ]---
    [ 197.660000] Kernel panic - not syncing: Fatal exception in interrupt
    [ 197.660000] Rebooting in 3 seconds..



  • [  100.830000] Unhandled kernel unaligned access:
    [  100.830000] CPU: 0 PID: 1638 Comm: wget Not tainted 3.18.29 #52
    [  100.830000] task: 81c71d10 ti: 81c1c000 task.ti: 81c1c000
    [  100.830000] $ 0   : 00000000 00000000 81d36f40 00200000
    [  100.830000] $ 4   : ff4f00a9 00000000 ffffb234 00000001
    [  100.830000] $ 8   : 00000000 ffef8459 df84aa24 4e3ced3f
    [  100.830000] $12   : 9501ba3d 055dc471 00000000 3e9e8c86
    [  100.830000] $16   : 81d36f40 00000001 83aee6c0 81d360b8
    [  100.830000] $20   : 000005c0 00000008 8037d0f8 80320e78
    [  100.830000] $24   : 00000000 802113e8                  
    [  100.830000] $28   : 81c1c000 81c1dce8 00000006 801d5d20
    [  100.830000] Hi    : 00002463
    [  100.830000] Lo    : 00000007
    [  100.830000] epc   : 8007594c put_page+0x0/0x4c
    [  100.830000] ra    : 801d5d20 skb_release_data+0x9c/0xfc
    [  100.830000] Status: 1100e403	KERNEL EXL IE 
    [  100.830000] Cause : 00800010
    [  100.830000] BadVA : ff4f00a9
    [  100.830000] PrId  : 00019655 (MIPS 24KEc)
    [  100.830000] Modules linked in: pppoe ppp_async iptable_nat pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 ipt_REJECT ipt_MASQUERADE xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_id xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT slhc nf_reject_ipv4 nf_nat_masquerade_ipv4 nf_nat_ftp nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack_ftp nf_conntrack iptable_raw iptable_mangle iptable_filter ip_tables crc_ccitt snd_soc_mt76xx_machine snd_soc_mt76xx_pcm snd_soc_mt76xx_i2s snd_soc_mt76xx_i2s_ctl i2c_wm8960 snd_soc_wm8960 ralink_gdma i2c_ralink snd_soc_core mt_wifi i2c_dev ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_raw ip6table_mangle ip6table_filter ip6_tables x_tables snd_compress snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_rawmidi snd_seq_device snd_hwdep snd input_core soundcore vfat fat autofs4 nls_utf8 nls_iso8859_1 nls_cp437 regmap_spi regmap_i2c i2c_core regmap_core lzo_decompress lzo_compress ipv6 mmc_block usb_storage sdhci_pltfm sdhci mtk_sd mmc_core leds_gpio ohci_platform ohci_hcd ehci_platform ehci_hcd sd_mod scsi_mod gpio_button_hotplug ext4 jbd2 mbcache usbcore nls_base usb_common crc16 crypto_hash
    [  100.830000] Process wget (pid: 1638, threadinfo=81c1c000, task=81c71d10, tls=7773f440)
    [  100.830000] Stack : 83aee6c0 801d5d94 00000020 83bde700 83aee6c0 83aee6c0 00000001 801d5dd0
    	  82a11000 83bde700 83bde700 83aee6c0 83bde700 80229760 c0884000 82bba400
    	  00000000 83114604 00000000 82a11000 81c1ddc0 83aee6c0 83bde700 81d19800
    	  81d360a4 8031f688 00000008 8023152c 81c1ddc0 8020b510 80210f60 8021f6a8
    	  9b00a8c0 ea96bb01 80210dc4 83aee6c0 80307830 8021aa28 80307828 83aee6c0
    	  ...
    [  100.830000] Call Trace:
    [  100.830000] [<8007594c>] put_page+0x0/0x4c
    [  100.830000] [<801d5d20>] skb_release_data+0x9c/0xfc
    [  100.830000] [<801d5dd0>] __kfree_skb+0x14/0xd0
    [  100.830000] [<80229760>] tcp_rcv_established+0x554/0x604
    [  100.830000] [<8023152c>] tcp_v4_do_rcv+0x90/0x2a4
    [  100.830000] [<80233a58>] tcp_v4_rcv+0x43c/0x7fc
    [  100.830000] [<80210e9c>] ip_local_deliver_finish+0xd8/0x19c
    [  100.830000] [<801e3c80>] __netif_receive_skb_core+0x480/0x540
    [  100.830000] [<801e52a0>] process_backlog+0x8c/0x148
    [  100.830000] [<801e4b3c>] net_rx_action+0x10c/0x1e0
    [  100.830000] [<800269f0>] __do_softirq+0xf8/0x230
    [  100.830000] [<80026d5c>] irq_exit+0x54/0x70
    [  100.830000] [<80004830>] ret_from_irq+0x0/0x4
    [  100.830000] 
    [  100.830000] 
    Code: 24a54e28  0801d60a  00003021 <8c820000> 3042c000  10400003  00801821  0801d4d9  00000000 
    [  101.450000] ---[ end trace bf59cb949658f9e1 ]---
    [  101.470000] Kernel panic - not syncing: Fatal exception in interrupt
    [  101.470000] Rebooting in 3 seconds..]
    

  • administrators

    贴的出错的oops和WiFI驱动没关系。