New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FS#2639 - kernel oops when visit a invalid virtual address #7468
Comments
shihhuangti: boot info :
BusyBox v1.31.1 () built-in shell (ash)
|
shihhuangti: download the image from. |
shihhuangti: another oops
BusyBox v1.31.1 () built-in shell (ash)
|
shihhuangti:
Supply the following if possible:
Device problem occurs on
youku-l2
Software versions of OpenWrt/LEDE release, packages, etc.
snapshot. at
Linux OpenWrt 4.14.155 #0 SMP Sun Nov 24 22:17:34 2019 mips GNU/Linux
Steps to reproduce
I don't know. but this problem occurs, from the device reboot, after several hours or one or two days, the oops occurs.
BusyBox v1.31.1 () built-in shell (ash)
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -| || | | || || |
|_____|| |||||___||| |____|
|| W I R E L E S S F R E E D O M
OpenWrt SNAPSHOT, r11591-c5497ebb1c
root@OpenWrt:~# cat /sys/kernel/debug/crashlog
Time: 1574977671.59411
Modules: pppoe@8ee64000+22f0 ppp_async@8efa2000+1bc0 pppox@8e8de000+58a ppp_generic@8e9f8000+5c82 nf_conntrack_ipv6@8f094000+15c0 mt76x2e@8f0ec000+2910 mt76x2_common@8f0f0000+2d88 mt76x02_lib@8f150000+a421 mt7603e@8ef30000+96cc mt76@8e978000+7f5d mac80211@8e900000+77c89 iptable_nat@8eff6000+3b0 ipt_REJECT@8f023000+410 ipt_MASQUERADE@8e80b000+2f0 cfg80211@8ef40000+3f4f9 xt_time@8f0ba000+730 xt_tcpudp@8f0b7000+750 xt_state@8f0b4000+310 xt_nat@8f0b0000+650 xt_multiport@8f0a7000+550 xt_mark@8f0a4000+2f0 xt_mac@8f0a0000+2b0 xt_limit@8f09e000+4f0 xt_conntrack@8f07e000+910 xt_comment@8f067000+230 xt_TCPMSS@8e8d7000+b30 xt_REDIRECT@8f09c000+310 xt_LOG@8e8fb000+350 xt_FLOWOFFLOAD@8e8f8000+c30 xt_CT@8e8f5000+ab0 slhc@8f090000+14bb nf_reject_ipv4@8ef96000+903 nf_nat_redirect@8ef9a000+63b nf_nat_masquerade_ipv4@8ef9d000+71c nf_conntrack_ipv4@8f064000+1450 nf_nat_ipv4@8e8b0000+1031 nf_nat@8f080000+3a7c nf_log_ipv4@8efd5000+df0 nf_flow_table_hw@8e8e5000+920 nf_flow_table@8efb8000+367f nf_defrag_ipv6@8efb2000+147e nf_defrag_ipv4@8e8e8000+4b6 nf_conntrack_rtcache@8e8ea000+b10 nf_conntrack@8ef80000+11bca iptable_mangle@8e8d8000+470 iptable_filter@8f7ed000+3d0 ip_tables@8e8d4000+2bdd crc_ccitt@8e80e000+42b compat@8e8d0000+1de4 ledtrig_usbport@8f7e4000+b00 nf_log_ipv6@8e8c6000+10d0 nf_log_common@8f001000+baf ip6table_mangle@8f76b000+570 ip6table_filter@8f75e000+3d0 ip6_tables@8e8c0000+2ae1 ip6t_REJECT@8efc7000+450 x_tables@8efdc000+38af nf_reject_ipv6@8eff7000+ac8 leds_gpio@8f794000+bb0 xhci_plat_hcd@8f790000+1650 xhci_pci@8f72e000+c30 xhci_mtk@8f7f2000+1490 xhci_hcd@8f7a0000+16e09 gpio_button_hotplug@8f78e000+1ad0 usbcore@8f7c0000+21591 nls_base@8f734000+1570 usb_common@8ffe1000+a37
<6>[ 2.021026] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
<6>[ 2.027787] pci 0000:00:01.0: BAR 8: assigned [mem 0x60100000-0x601fffff]
<6>[ 2.034511] pci 0000:00:01.0: BAR 9: assigned [mem 0x60200000-0x602fffff pref]
<6>[ 2.041702] pci 0000:00:00.0: BAR 1: assigned [mem 0x60300000-0x6030ffff]
<6>[ 2.048423] pci 0000:00:01.0: BAR 1: assigned [mem 0x60310000-0x6031ffff]
<6>[ 2.055183] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff]
<6>[ 2.061894] pci 0000:00:00.0: PCI bridge to [bus 01]
<6>[ 2.066846] pci 0000:00:00.0: bridge window [mem 0x60000000-0x600fffff]
<6>[ 2.073574] pci 0000:02:00.0: BAR 0: assigned [mem 0x60100000-0x601fffff 64bit]
<6>[ 2.080852] pci 0000:02:00.0: BAR 6: assigned [mem 0x60200000-0x6020ffff pref]
<6>[ 2.087987] pci 0000:00:01.0: PCI bridge to [bus 02]
<6>[ 2.092933] pci 0000:00:01.0: bridge window [mem 0x60100000-0x601fffff]
<6>[ 2.099653] pci 0000:00:01.0: bridge window [mem 0x60200000-0x602fffff pref]
<6>[ 2.108218] clocksource: Switched to clocksource GIC
<6>[ 2.114767] NET: Registered protocol family 2
<6>[ 2.119945] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
<6>[ 2.126839] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
<6>[ 2.133270] TCP: Hash tables configured (established 2048 bind 2048)
<6>[ 2.139690] UDP hash table entries: 256 (order: 1, 8192 bytes)
<6>[ 2.145452] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
<6>[ 2.151946] NET: Registered protocol family 1
<7>[ 2.156268] PCI: CLS 0 bytes, default 32
<6>[ 2.388167] 4 CPUs re-calibrate udelay(lpj = 2924544)
<4>[ 2.394747] Crashlog allocated RAM at address 0x3f00000
<6>[ 2.400168] workingset: timestamp_bits=14 max_order=16 bucket_order=2
<6>[ 2.414833] squashfs: version 4.0 (2009/01/31) Phillip Lougher
<6>[ 2.420603] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
<5>[ 2.431036] random: fast init done
<6>[ 2.434139] io scheduler noop registered
<6>[ 2.438310] io scheduler deadline registered (default)
<6>[ 2.444494] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
<6>[ 2.454582] console [ttyS0] disabled
<6>[ 2.458130] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A
<6>[ 2.467147] console [ttyS0] enabled
<6>[ 2.474027] bootconsole [early0] disabled
<4>[ 2.484276] MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error
<6>[ 2.491904] spi-mt7621 1e000b00.spi: sys_freq: 220000000
<6>[ 2.498139] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
<5>[ 2.503281] 4 fixed-partitions partitions found on MTD device spi0.0
<5>[ 2.509651] Creating 4 MTD partitions on "spi0.0":
<5>[ 2.514435] 0x000000000000-0x000000030000 : "u-boot"
<5>[ 2.520678] 0x000000030000-0x000000040000 : "u-boot-env"
<5>[ 2.527090] 0x000000040000-0x000000050000 : "factory"
<5>[ 2.533241] 0x000000050000-0x000001000000 : "firmware"
<5>[ 2.539665] 2 uimage-fw partitions found on MTD device firmware
<5>[ 2.545569] Creating 2 MTD partitions on "firmware":
<5>[ 2.550579] 0x000000000000-0x0000001ffad5 : "kernel"
<5>[ 2.556604] 0x0000001ffad5-0x000000fb0000 : "rootfs"
<5>[ 2.562721] mtd: device 5 (rootfs) set to be root filesystem
<5>[ 2.568570] 1 squashfs-split partitions found on MTD device rootfs
<5>[ 2.574736] 0x000000430000-0x000000fb0000 : "rootfs_data"
<6>[ 2.582044] libphy: Fixed MDIO Bus: probed
<6>[ 2.650253] libphy: mdio: probed
<6>[ 4.054512] mtk_soc_eth 1e100000.ethernet: loaded mt7530 driver
<6>[ 4.061238] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 22
<6>[ 4.072283] NET: Registered protocol family 10
<6>[ 4.078487] Segment Routing with IPv6
<6>[ 4.082230] NET: Registered protocol family 17
<6>[ 4.086730] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
<6>[ 4.099677] 8021q: 802.1Q VLAN Support v1.8
<6>[ 4.106481] hctosys: unable to open rtc device (rtc0)
<6>[ 4.119110] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
<6>[ 4.130502] Freeing unused kernel memory: 1260K
<4>[ 4.135030] This architecture does not have kernel memory protection.
<14>[ 4.872669] init: Console is alive
<14>[ 4.876317] init: - watchdog -
<14>[ 5.882569] kmodloader: loading kernel modules from /etc/modules-boot.d/*
<6>[ 6.029362] usbcore: registered new interface driver usbfs
<6>[ 6.034945] usbcore: registered new interface driver hub
<6>[ 6.040467] usbcore: registered new device driver usb
<4>[ 6.054247] xhci-mtk 1e1c0000.xhci: 1e1c0000.xhci supply vbus not found, using dummy regulator
<4>[ 6.062995] xhci-mtk 1e1c0000.xhci: 1e1c0000.xhci supply vusb33 not found, using dummy regulator
<6>[ 6.071955] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
<6>[ 6.077277] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 1
<6>[ 6.088345] xhci-mtk 1e1c0000.xhci: hcc params 0x01401198 hci version 0x96 quirks 0x0000000000210010
<6>[ 6.097519] xhci-mtk 1e1c0000.xhci: irq 21, io mem 0x1e1c0000
<6>[ 6.104357] hub 1-0:1.0: USB hub found
<6>[ 6.108234] hub 1-0:1.0: 2 ports detected
<6>[ 6.112875] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
<6>[ 6.118241] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 2
<6>[ 6.125705] xhci-mtk 1e1c0000.xhci: Host supports USB 3.0 SuperSpeed
<6>[ 6.132341] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
<6>[ 6.141347] hub 2-0:1.0: USB hub found
<6>[ 6.145168] hub 2-0:1.0: 1 port detected
<14>[ 6.154150] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
<14>[ 6.178545] init: - preinit -
<6>[ 7.177582] mtk_soc_eth 1e100000.ethernet: PPE started
<5>[ 7.252645] random: procd: uninitialized urandom read (4 bytes read)
<5>[ 10.531863] jffs2: notice: (482) jffs2_build_xattr_subsystem: complete building xattr subsystem, 7 of xdatum (3 unchecked, 4 orphan) and 43 of xref (4 dead, 0 orphan) found.
<14>[ 10.553355] mount_root: switching to jffs2 overlay
<4>[ 10.576616] overlayfs: upper fs does not support tmpfile.
<12>[ 10.592158] urandom-seed: Seeding with /etc/urandom.seed
<6>[ 10.695023] mtk_soc_eth 1e100000.ethernet: 0x100 = 0x6060000c, 0x10c = 0x80818
<14>[ 10.716965] procd: - early -
<14>[ 10.719988] procd: - watchdog -
<14>[ 11.368370] procd: - watchdog -
<14>[ 11.371872] procd: - ubus -
<5>[ 11.397531] random: ubusd: uninitialized urandom read (4 bytes read)
<5>[ 11.430071] random: ubusd: uninitialized urandom read (4 bytes read)
<5>[ 11.436790] random: ubusd: uninitialized urandom read (4 bytes read)
<14>[ 11.444092] procd: - init -
<14>[ 12.071546] kmodloader: loading kernel modules from /etc/modules.d/*
<6>[ 12.083773] ip6_tables: (C) 2000-2006 Netfilter Core Team
<6>[ 12.097818] Loading modules backported from Linux version v5.4-rc8-0-gaf42d3466bdc
<6>[ 12.105474] Backport generated by backports.git v5.4-rc8-1-0-g368e8c51
<6>[ 12.114103] ip_tables: (C) 2000-2006 Netfilter Core Team
<6>[ 12.126620] nf_conntrack version 0.5.0 (4096 buckets, 16384 max)
<6>[ 12.177575] xt_time: kernel timezone is -0000
<4>[ 12.240330] bus=0x1, slot = 0x0, irq=0xff
<6>[ 12.244587] mt7603e 0000:01:00.0: ASIC revision: 76030010
<14>[ 12.248691] urngd: v1.0.1 started.
<5>[ 12.400941] random: crng init done
<5>[ 12.404350] random: 6 urandom warning(s) missed due to ratelimiting
<6>[ 13.279501] mt7603e 0000:01:00.0: Firmware Version: ap_pcie
<6>[ 13.285073] mt7603e 0000:01:00.0: Build Time: 20160107100755
<6>[ 13.328226] mt7603e 0000:01:00.0: firmware init done
<7>[ 13.500398] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
<4>[ 13.513858] bus=0x2, slot = 0x1, irq=0xff
<6>[ 13.518248] mt76x2e 0000:02:00.0: ASIC revision: 76120044
<6>[ 14.269373] mt76x2e 0000:02:00.0: ROM patch build: 20141115060606a
<6>[ 14.279042] mt76x2e 0000:02:00.0: Firmware Version: 0.0.00
<6>[ 14.284520] mt76x2e 0000:02:00.0: Build: 1
<6>[ 14.288650] mt76x2e 0000:02:00.0: Build Time: 201507311614____
<6>[ 14.308213] mt76x2e 0000:02:00.0: Firmware running!
<7>[ 14.315892] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
<6>[ 14.323384] PPP generic driver version 2.4.2
<6>[ 14.329343] NET: Registered protocol family 24
<14>[ 14.337138] kmodloader: done loading kernel modules from /etc/modules.d/*
<6>[ 18.442839] mtk_soc_eth 1e100000.ethernet eth0: port 4 link up
<6>[ 20.695431] mtk_soc_eth 1e100000.ethernet: PPE started
<6>[ 20.705271] br-lan: port 1(eth0.1) entered blocking state
<6>[ 20.710862] br-lan: port 1(eth0.1) entered disabled state
<6>[ 20.716991] device eth0.1 entered promiscuous mode
<6>[ 20.721938] device eth0 entered promiscuous mode
<6>[ 20.731335] br-lan: port 1(eth0.1) entered blocking state
<6>[ 20.736800] br-lan: port 1(eth0.1) entered forwarding state
<6>[ 20.743072] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
<6>[ 21.504643] pppoe-wan: renamed from ppp0
<6>[ 21.759034] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
<6>[ 25.485868] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
<6>[ 25.499062] br-lan: port 2(wlan1) entered blocking state
<6>[ 25.504430] br-lan: port 2(wlan1) entered disabled state
<6>[ 25.510505] device wlan1 entered promiscuous mode
<6>[ 25.555437] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
<6>[ 25.566445] br-lan: port 3(wlan0) entered blocking state
<6>[ 25.571826] br-lan: port 3(wlan0) entered disabled state
<6>[ 25.577853] device wlan0 entered promiscuous mode
<6>[ 25.583186] br-lan: port 3(wlan0) entered blocking state
<6>[ 25.588566] br-lan: port 3(wlan0) entered forwarding state
<6>[ 26.063776] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
<6>[ 26.077173] br-lan: port 4(wlan0-1) entered blocking state
<6>[ 26.083073] br-lan: port 4(wlan0-1) entered disabled state
<6>[ 26.089464] device wlan0-1 entered promiscuous mode
<6>[ 26.099208] IPv6: ADDRCONF(NETDEV_UP): wlan0-1: link is not ready
<6>[ 26.105510] br-lan: port 4(wlan0-1) entered blocking state
<6>[ 26.111095] br-lan: port 4(wlan0-1) entered forwarding state
<6>[ 26.662628] br-lan: port 4(wlan0-1) entered disabled state
<6>[ 26.669241] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
<6>[ 26.676001] br-lan: port 2(wlan1) entered blocking state
<6>[ 26.681401] br-lan: port 2(wlan1) entered forwarding state
<6>[ 26.695246] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0-1: link becomes ready
<6>[ 26.703001] br-lan: port 4(wlan0-1) entered blocking state
<6>[ 26.708650] br-lan: port 4(wlan0-1) entered forwarding state
<6>[ 26.723751] br-lan: port 5(wlan0-2) entered blocking state
<6>[ 26.729417] br-lan: port 5(wlan0-2) entered disabled state
<6>[ 26.735733] device wlan0-2 entered promiscuous mode
<6>[ 26.742641] IPv6: ADDRCONF(NETDEV_UP): wlan0-2: link is not ready
<6>[ 26.748867] br-lan: port 5(wlan0-2) entered blocking state
<6>[ 26.754465] br-lan: port 5(wlan0-2) entered forwarding state
<6>[ 27.177925] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0-2: link becomes ready
<1>[159983.016519] CPU 1 Unable to handle kernel paging request at virtual address 07406000, epc == 801317c0, ra == 80131674
<4>[159983.027206] Oops[#1]:
<4>[159983.029559] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.14.155 #0
<4>[159983.035718] task: 8fc3c100 task.stack: 8fc5c000
<4>[159983.040314] $ 0 : 00000000 00000001 00000000 81266650
<4>[159983.045615] $ 4 : 806061fc 00000001 00000001 07406000
<4>[159983.050915] $ 8 : 000289b4 000289b3 00000000 00000001
<4>[159983.056211] $12 : 00000002 00000000 c0222b40 00009180
<4>[159983.061507] $16 : 8fc02a00 01090220 807a0000 8ea80000
<4>[159983.066803] $20 : 00000018 00000800 00000000 01080020
<4>[159983.072101] $24 : 3b9aca00 80008e2c
<4>[159983.077399] $28 : 8fc5c000 8fc0b9c8 00000000 80131674
<4>[159983.082697] Hi : 00002665
<4>[159983.085647] Lo : 94af5487
<4>[159983.088611] epc : 801317c0 __kmalloc_track_caller+0x20c/0x290
<4>[159983.094591] ra : 80131674 __kmalloc_track_caller+0xc0/0x290
<4>[159983.100478] Status: 11007c03 KERNEL EXL IE
<4>[159983.104737] Cause : 40800008 (ExcCode 02)
<4>[159983.108810] BadVA : 07406000
<4>[159983.111762] PrId : 0001992f (MIPS 1004Kc)
<4>[159983.115920] Modules linked in: pppoe ppp_async pppox ppp_generic nf_conntrack_ipv6 mt76x2e mt76x2_common mt76x02_lib mt7603e mt76 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_FLOWOFFLOAD xt_CT 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 iptable_mangle iptable_filter ip_tables crc_ccitt compat ledtrig_usbport nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 leds_gpio xhci_plat_hcd xhci_pci xhci_mtk xhci_hcd gpio_button_hotplug usbcore nls_base usb_common
<4>[159983.186680] Process swapper/1 (pid: 0, threadinfo=8fc5c000, task=8fc3c100, tls=00000000)
<4>[159983.194820] Stack : 80666658 8eec1e00 00000000 00000000 0000006c 8ee726c0 00000000 01080020
<4>[159983.203242] 8038772c 80383e60 00000000 00000000 284162c7 b901a8c0 fb0000e0 8ee726c0
<4>[159983.211663] 8ee726c0 00000000 00000740 00000018 8ef3cc00 8038772c 00000000 80600000
<4>[159983.220082] 00000004 00000000 00000000 8ef3cc00 8ee726c0 8ef77ab2 8ee726c0 00000018
<4>[159983.228504] 8ef3cc00 00000000 00000000 8e932214 000000e1 806061fc 8fc0bb44 8fc0bb4c
<4>[159983.236932] ...
<4>[159983.239455] Call Trace:
<4>[159983.241987] [<801317c0>] __kmalloc_track_caller+0x20c/0x290
<4>[159983.247645] [<80383e60>] __kmalloc_reserve.isra.45+0x44/0xac
<4>[159983.253388] [<8038772c>] pskb_expand_head+0x8c/0x328
<4>[159983.258565] [<8e932214>] ieee80211_skb_resize+0x19c/0xde0 [mac80211]
<4>[159983.265045] [<8e932b44>] ieee80211_skb_resize+0xacc/0xde0 [mac80211]
<4>[159983.271514] [<8f080e1c>] nf_xfrm_me_harder+0x830/0xa90 [nf_nat]
<4>[159983.277497] Code: 00000000 8e020014 00e23821 <8ce20000> 10000012 cc400000 10400005 00000000 8e060010
<4>[159983.287311]
<4>[159983.289013] ---[ end trace de892621f972e570 ]---
===================================
Time: 1574977671.67638
root@OpenWrt:~#
The text was updated successfully, but these errors were encountered: