Open aparcar opened 6 years ago
lumixen:
Hello everyone. I'm also intermittently facing with the random reboots on Xiaomi Mi 3G. Having the latest stable build 18.06.4.
Few crash logs:
<1>[237511.056267] CPU 1 Unable to handle kernel paging request at virtual address 07406000, epc == 8010ea50, ra == 8010e934
<4>[237511.066971] Oops[#1]:
<4>[237511.069325] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.14.131 #0
<4>[237511.075487] task: 8fc3be80 task.stack: 8fc5c000
<4>[237511.080088] $ 0 : 00000000 00000001 00000000 812266b0
<4>[237511.085407] $ 4 : 8056e1b8 00000001 00000001 07406000
<4>[237511.090710] $ 8 : 000282e2 000282e1 00000838 00000001
<4>[237511.096012] $12 : 00000000 8e9d7518 00000001 00000002
<4>[237511.101314] $16 : 8fc02a00 01090220 8d720000 8032bfa8
<4>[237511.106615] $20 : 00000700 000005ea 00000000 00000036
<4>[237511.111916] $24 : 00000005 00000003
<4>[237511.117217] $28 : 8fc5c000 8fc0b9c8 8b99f12c 8010e934
<4>[237511.122520] Hi : 00000002
<4>[237511.125470] Lo : 00000001
<4>[237511.128431] epc : 8010ea50 __kmalloc_track_caller+0x1d4/0x228
<4>[237511.134409] ra : 8010e934 __kmalloc_track_caller+0xb8/0x228
<4>[237511.140301] Status: 11007c03 KERNEL EXL IE
<4>[237511.144559] Cause : 40800008 (ExcCode 02)
<4>[237511.148630] BadVA : 07406000
<4>[237511.151581] PrId : 0001992f (MIPS 1004Kc)
<4>[237511.155741] Modules linked in: pppoe ppp_async l2tp_ppp pptp pppox ppp_mppe ppp_generic nf_nat_pptp nf_flow_table_ipv6 nf_flow_table_ipv4 nf_flow_table_inet nf_conntrack_pptp nf_conntrack_ipv6 mt76x2e mt76x2_common mt76x02_lib mt7603e mt76 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_tcpmss xt_string xt_statistic xt_state xt_recent xt_quota xt_pkttype xt_owner xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_iprange xt_hl xt_helper xt_esp xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_bpf xt_addrtype xt_TCPMSS xt_REDIRECT xt_NETMAP xt_LOG xt_IPMARK xt_HL xt_FLOWOFFLOAD xt_DSCP xt_CT xt_CLASSIFY usblp ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda ts_fsm ts_bm
<4>[237511.226181] slhc nft_set_rbtree nft_set_hash nft_reject_ipv6 nft_reject_ipv4 nft_reject_inet nft_reject nft_redir_ipv4 nft_redir nft_quota nft_numgen nft_nat nft_meta nft_masq_ipv4 nft_masq nft_log nft_limit nft_flow_offload nft_exthdr nft_ct nft_counter nft_chain_route_ipv6 nft_chain_route_ipv4 nft_chain_nat_ipv4 nf_tables_ipv6 nf_tables_ipv4 nf_tables_inet nf_tables_arp nf_tables 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_ftp 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_ftp nf_conntrack_broadcast
<4>[237511.298385] ts_kmp nf_conntrack_amanda nf_conntrack iptable_raw iptable_mangle iptable_filter ipt_ah ipt_ECN ip_tables crc_ccitt compat_xtables compat fuse ledtrig_usbport 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_rt ip6t_frag ip6t_hbh ip6t_eui64 ip6t_mh ip6t_ah ip6t_ipv6header ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables nfsv4 nfsv3 nfs msdos ip_gre gre l2tp_netlink l2tp_core udp_tunnel ip6_udp_tunnel ip_tunnel tun vfat fat ntfs lockd sunrpc grace dns_resolver nls_utf8 nls_iso8859_1
<4>[237511.369942] nls_cp437 sha1_generic ecb uas usb_storage leds_gpio xhci_mtk xhci_plat_hcd xhci_pci xhci_hcd uhci_hcd ohci_platform ohci_hcd sd_mod scsi_mod gpio_button_hotplug ext4 jbd2 mbcache usbcore nls_base usb_common crc32c_generic
<4>[237511.390908] Process swapper/1 (pid: 0, threadinfo=8fc5c000, task=8fc3be80, tls=00000000)
<4>[237511.399056] Stack : 8eaa20a4 8e805560 8e805bd0 00000001 8d3d1300 8fc0ba27 01080020 8032bea8
<4>[237511.407485] 00000001 8e8cc108 8e804bc0 00000000 8d3d1300 0000064f 01080020 8fc18600
<4>[237511.415923] 00000000 8032bfa8 40c00050 8e805bd4 bb01fefd c30000ff 8eaa2098 8e805560
<4>[237511.424359] 8e805bd0 00000802 000005b4 00000000 000005b4 8d556900 000005ea 803320ec
<4>[237511.432789] 8d08f000 8e9ad948 00000002 8e9a9e28 8e804bc0 8e804bc0 00000001 00000036
<4>[237511.441222] ...
<4>[237511.443765] Call Trace:
<4>[237511.446301] [<8010ea50>] __kmalloc_track_caller+0x1d4/0x228
<4>[237511.451961] [<8032bea8>] __kmalloc_reserve.isra.7+0x40/0xa4
<4>[237511.457612] [<8032bfa8>] __alloc_skb+0x9c/0x180
<4>[237511.462227] [<803320ec>] skb_segment+0x4e8/0xb14
<4>[237511.466954] [<803b0790>] tcp_gso_segment+0x494/0x4d8
<4>[237511.472033] [<803c1c2c>] inet_gso_segment+0x1b4/0x360
<4>[237511.477212] [<80342930>] skb_mac_gso_segment+0x94/0xf8
<4>[237511.482441] [<80342adc>] __skb_gso_segment+0x148/0x1bc
<4>[237511.487656] [<80343074>] validate_xmit_skb+0x1c4/0x334
<4>[237511.492864] [<803439b0>] __dev_queue_xmit+0x4e4/0x6b8
<4>[237511.497985] [<8042fed0>] br_dev_queue_push_xmit+0x120/0x154
<4>[237511.503625] [<8042d5e0>] br_dev_xmit+0x2a8/0x2e8
<4>[237511.508309] [<80343310>] dev_hard_start_xmit+0xa4/0x148
<4>[237511.513600] [<80343a18>] __dev_queue_xmit+0x54c/0x6b8
<4>[237511.518721] [<803853d4>] ip_finish_output2+0x2fc/0x378
<4>[237511.523929] [<80387518>] ip_output+0xb0/0xc8
<4>[237511.528266] [<8038396c>] ip_forward+0x368/0x40c
<4>[237511.532865] [<803828a0>] ip_rcv+0x2a8/0x2d8
<4>[237511.537121] [<8033e704>] __netif_receive_skb_core+0x850/0xa4c
<4>[237511.542936] [<80341214>] process_backlog+0x9c/0x164
<4>[237511.547879] [<803448e0>] net_rx_action+0x150/0x30c
<4>[237511.552760] [<80462738>] __do_softirq+0x128/0x2ec
<4>[237511.557547] [<80033094>] irq_exit+0xac/0xc8
<4>[237511.561840] [<8025095c>] plat_irq_dispatch+0xfc/0x138
<4>[237511.566984] [<8000b5e8>] except_vec_vi_end+0xb8/0xc4
<4>[237511.572025] [<8000cfb0>] r4k_wait_irqoff+0x1c/0x24
<4>[237511.576884] Code: 00000000 8e020014 00e23821 <8ce20000> 10000009 cc400000 1040ffbd 00000000 8e060010
<4>[237511.586700]
<4>[237511.588489] ---[ end trace 5556ee4a643a334d ]---
===================================
bartekm:
Device problem occurs on Xiaomi mi router 3G (R3G)
Software versions of OpenWrt/LEDE release, packages, etc. Latest trunk (r6893-bfbdeeb) custom build
Steps to reproduce Did not notice there is a pattern here.
The issue The kernel crash causes the router to reboot. Here are two traces I was able to catch
May 13 07:24:52 router kernel: [82948.434471] CPU 1 Unable to handle kernel paging request at virtual address 07407800, epc == 80136a70, ra == 8013694c May 13 07:24:52 router kernel: [82948.445103] Oops[#1]: May 13 07:24:52 router kernel: [82948.447387] CPU: 1 PID: 1977 Comm: kworker/u8:1 Not tainted 4.14.37 #0 May 13 07:24:52 router kernel: [82948.453909] Workqueue: writeback wb_workfn (flush-8:0) May 13 07:24:52 router kernel: [82948.459046] task: 8ff3ddc0 task.stack: 8dd62000 May 13 07:24:52 router kernel: [82948.463565] $ 0 : 00000000 00000001 00000000 812286b0 May 13 07:24:52 router kernel: [82948.468800] $ 4 : 805aa44c 00000001 00000001 07407800 May 13 07:24:52 router kernel: [82948.474019] $ 8 : 000facb3 000facb2 00000002 00064000 May 13 07:24:52 router kernel: [82948.479248] $12 : 00000009 0004001a fffeffff 00001000 May 13 07:24:52 router kernel: [82948.484473] $16 : 8fc02c00 000001b8 01011200 8022b6f0 May 13 07:24:52 router kernel: [82948.489695] $20 : 8ebb0000 8006a664 8e56d81c 01400000 May 13 07:24:52 router kernel: [82948.494913] $24 : 81196320 00000000 May 13 07:24:52 router kernel: [82948.500133] $28 : 8dd62000 8dd63950 8fd77d40 8013694c May 13 07:24:52 router kernel: [82948.505351] Hi : 00000000 May 13 07:24:52 router kernel: [82948.508214] Lo : 00840480 May 13 07:24:52 router kernel: [82948.511113] epc : 80136a70 kmalloc+0x1f8/0x2ec May 13 07:24:52 router kernel: [82948.515887] ra : 8013694c kmalloc+0xd4/0x2ec May 13 07:24:52 router kernel: [82948.520568] Status: 11007c03#011KERNEL EXL IE May 13 07:24:52 router kernel: [82948.524750] Cause : 40800008 (ExcCode 02) May 13 07:24:52 router kernel: [82948.528740] BadVA : 07407800 May 13 07:24:52 router kernel: [82948.531605] PrId : 0001992f (MIPS 1004Kc) May 13 07:24:52 router kernel: [82948.535679] Modules linked in: pppoe ppp_async pppox ppp_generic nf_conntrack_ipv6 mt76x2e mt7603e mt76 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 cdc_ether xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper 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_CLASSIFY usbnet slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack libcrc32c iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt compat ledtrig_usbport xt_set ip_set_list_set ip_set_hash_netiface ip_set_hash_netport May 13 07:24:52 router kernel: [82948.606444] 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 vfat fat nls_utf8 nls_iso8859_1 nls_cp437 usb_storage leds_gpio xhci_mtk xhci_plat_hcd xhci_pci xhci_hcd sd_mod scsi_mod gpio_button_hotplug ext4 jbd2 mbcache usbcore nls_base usb_common mii crc32c_generic May 13 07:24:52 router kernel: [82948.655996] Process kworker/u8:1 (pid: 1977, threadinfo=8dd62000, task=8ff3ddc0, tls=00000000) May 13 07:24:52 router kernel: [82948.664578] Stack : 01011200 00400000 8006a664 8f0c719c 00000001 00000000 8fd33300 01011200 May 13 07:24:52 router kernel: [82948.672925] 8fe74850 01011200 00000001 00400000 8006a664 8022b6f0 8fe74850 01011200 May 13 07:24:52 router kernel: [82948.681267] 01411200 8fdf9e00 01011200 01411200 8e56d800 800ecd30 8fe74850 01011200 May 13 07:24:52 router kernel: [82948.689609] 01411200 8fdf9d00 01400000 00400000 8006a664 800ecd30 00060000 00000001 May 13 07:24:52 router kernel: [82948.697952] 8dd63a48 8fe74850 00000000 8fe74850 00000001 8fe74850 00000000 8fe74878 May 13 07:24:52 router kernel: [82948.706292] ... May 13 07:24:52 router kernel: [82948.708733] Call Trace: May 13 07:24:52 router kernel: [82948.711201] [<80136a70>] __kmalloc+0x1f8/0x2ec May 13 07:24:52 router kernel: [82948.715643] [<8022b6f0>] alloc_request_size+0x2c/0x7c May 13 07:24:52 router kernel: [82948.720708] [<800ecd30>] mempool_alloc+0x6c/0x178 May 13 07:24:52 router kernel: [82948.725402] [<8022cf88>] get_request+0x360/0x76c May 13 07:24:52 router kernel: [82948.730005] [<802303c4>] blk_queue_bio+0x1cc/0x430 May 13 07:24:52 router kernel: [82948.734781] [<8022e3cc>] generic_make_request+0xd8/0x288 May 13 07:24:52 router kernel: [82948.740078] [<8022e6a0>] submit_bio+0x124/0x164 May 13 07:24:52 router kernel: [82948.744663] [<8f1c3014>] ext4_io_submit+0x50/0x64 [ext4] May 13 07:24:52 router kernel: [82948.749989] [<8f1a5994>] ext4_mark_inode_dirty+0xeac/0x1368 [ext4] May 13 07:24:52 router kernel: [82948.756166] Code: 32428000 8e020014 00e23821 <8ce20000> 1000002c cc400000 1280ffbc 00000000 8e060010 May 13 07:24:52 router kernel: [82948.765910] May 13 07:24:52 router kernel: [82948.767638] ---[ end trace e8f9893fb33e6a26 ]---
and the second case
May 15 15:52:16 router kernel: [67618.480256] CPU 0 Unable to handle kernel paging request at virtual address 07402800, epc == 80136784, ra == 800ecd30 May 15 15:52:16 router kernel: [67618.490997] Oops[#1]: May 15 15:52:16 router kernel: [67618.493275] CPU: 0 PID: 14159 Comm: kworker/u8:1 Not tainted 4.14.37 #0 May 15 15:52:16 router kernel: [67618.499875] Workqueue: writeback wb_workfn (flush-8:0) May 15 15:52:16 router kernel: [67618.504997] task: 8c3276c0 task.stack: 8b656000 May 15 15:52:16 router kernel: [67618.509500] $ 0 : 00000000 00000001 00000000 8121a6c0 May 15 15:52:16 router kernel: [67618.514709] $ 4 : 805aa44c 00000001 00000001 07402800 May 15 15:52:16 router kernel: [67618.519918] $ 8 : 00005ddf 00005dde 8fb9b6a0 00000120 May 15 15:52:16 router kernel: [67618.525127] $12 : 8000001f 00000010 00000124 00000001 May 15 15:52:16 router kernel: [67618.530336] $16 : 8fd4a200 01011200 800ecd30 8b0e0000 May 15 15:52:16 router kernel: [67618.535545] $20 : 00400000 8006a664 8fd4981c 80660000 May 15 15:52:16 router kernel: [67618.540754] $24 : ffffffe0 ffff0000 May 15 15:52:16 router kernel: [67618.545963] $28 : 8b656000 8b657970 8f1c2c24 800ecd30 May 15 15:52:16 router kernel: [67618.551174] Hi : 00000000 May 15 15:52:16 router kernel: [67618.554035] Lo : 008402f0 May 15 15:52:16 router kernel: [67618.556924] epc : 80136784 kmem_cache_alloc+0x13c/0x230 May 15 15:52:16 router kernel: [67618.562323] ra : 800ecd30 mempool_alloc+0x6c/0x178 May 15 15:52:16 router kernel: [67618.567345] Status: 11008403#011KERNEL EXL IE May 15 15:52:16 router kernel: [67618.571515] Cause : 40800008 (ExcCode 02) May 15 15:52:16 router kernel: [67618.575499] BadVA : 07402800 May 15 15:52:16 router kernel: [67618.578361] PrId : 0001992f (MIPS 1004Kc) May 15 15:52:16 router kernel: [67618.582431] Modules linked in: pppoe ppp_async pppox ppp_generic nf_conntrack_ipv6 mt76x2e mt7603e mt76 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 cdc_ether xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper 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_CLASSIFY usbnet slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack libcrc32c iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt compat ledtrig_usbport xt_set ip_set_list_set ip_set_hash_netiface ip_set_hash_netport May 15 15:52:16 router kernel: [67618.653177] 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 vfat fat nls_utf8 nls_iso8859_1 nls_cp437 usb_storage leds_gpio xhci_mtk xhci_plat_hcd xhci_pci xhci_hcd sd_mod scsi_mod gpio_button_hotplug ext4 jbd2 mbcache usbcore nls_base usb_common mii crc32c_generic May 15 15:52:16 router kernel: [67618.702675] Process kworker/u8:1 (pid: 14159, threadinfo=8b656000, task=8c3276c0, tls=00000000) May 15 15:52:16 router kernel: [67618.711326] Stack : 8e648b20 8f147e00 8e648b20 01011200 00000001 8022b710 00000002 01011200 May 15 15:52:16 router kernel: [67618.719658] 01411200 8fd49800 01400000 00400000 8006a664 800ecd30 00000001 01011200 May 15 15:52:16 router kernel: [67618.727990] 01411200 8fd49700 01400000 00400000 8006a664 800ecd30 8e330030 8c499000 May 15 15:52:16 router kernel: [67618.736322] 8fd9f000 8b657a2c 01400000 8fd49800 01400000 01400000 8e47fa00 8d44d8f8 May 15 15:52:16 router kernel: [67618.744655] 80660000 80225974 8fd49600 00000100 01400000 8d48d7c0 8e47fa00 8fd49600 May 15 15:52:16 router kernel: [67618.752989] ... May 15 15:52:16 router kernel: [67618.755425] Call Trace: May 15 15:52:16 router kernel: [67618.757859] [<80136784>] kmem_cache_alloc+0x13c/0x230 May 15 15:52:16 router kernel: [67618.762897] [<800ecd30>] mempool_alloc+0x6c/0x178 May 15 15:52:16 router kernel: [67618.767596] [<80225974>] bvec_alloc+0xdc/0x154 May 15 15:52:16 router kernel: [67618.772020] [<80225b44>] bio_alloc_bioset+0x158/0x250 May 15 15:52:16 router kernel: [67618.777111] [<8f1c3358>] ext4_bio_write_page+0x320/0x5c4 [ext4] May 15 15:52:16 router kernel: [67618.783028] [<8f19e3f4>] ext4_convert_inline_data+0x874/0x21a8 [ext4] May 15 15:52:16 router kernel: [67618.789461] [<8f19e860>] ext4_convert_inline_data+0xce0/0x21a8 [ext4] May 15 15:52:16 router kernel: [67618.795881] Code: 32228000 8e020014 00e23821 <8ce20000> 1000002d cc400000 1260ffbc 00000000 8e060010 May 15 15:52:16 router kernel: [67618.805607] May 15 15:52:16 router kernel: [67618.807332] ---[ end trace 3b32ff5399a1bc64 ]---