OpenWrt/LEDE Project

  • Status Unconfirmed
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category Kernel
  • Assigned To No-one
  • Operating System All
  • Severity Medium
  • Priority Very Low
  • Reported Version Trunk
  • Due in Version Undecided
  • Due Date Undecided
  • Votes 2
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by BertLammers - 10.12.2018

FS#1994 - Kernel crash when hardware flow offloading is enabled

Using device Xiaomi Mir3G and OpenWrt SNAPSHOT, r8631+22-f381cbc

Device restarts regularly (on average 1 or 2 times a day) when hardware flow offloading is enabled. The issue don’t seem to occur when only software flow offloading is enabled.

cat /sys/kernel/debug/crashlog:

<3>[394940.982588] CM_ERROR=2002b481 COH_RD_ERR <CCA=5 TR=mmio MCmd=Coherent Read Share STag=0 SPort=1
<3>[394940.982588] >
<3>[394940.992997] CM_ADDR =1c000000
<3>[394940.996034] CM_OTHER=00000000 None
<1>[394940.999504] Data bus error, epc == 80385b78, ra == 803875dc
<4>[394941.005138] Oops[#1]:
<4>[394941.007489] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 4.14.82 #0
<4>[394941.013557] task: 8fc444c0 task.stack: 8fc66000
<4>[394941.018150] $ 0 : 00000000 00000001 0a992c52 00000000
<4>[394941.023448] $ 4 : 8d1e1c10 9c000004 8d1e1c1c 0e1ef713
<4>[394941.028744] $ 8 : 00000001 00c5f000 8fc02e00 00000001
<4>[394941.034042] $12 : 000f087f 86591380 86591380 171e46bc
<4>[394941.039340] $16 : 8086e9c0 80596d80 8fd90fc0 00000003
<4>[394941.044636] $20 : 00000001 00000000 00000000 00000000
<4>[394941.049932] $24 : 00000000 00000001
<4>[394941.055230] $28 : 8fc66000 8fc11cd8 80596d80 803875dc
<4>[394941.060530] Hi : 00926b02
<4>[394941.063478] Lo : 65497170
<4>[394941.066449] epc : 80385b78 ip_send_check+0×50/0×80 <4>[394941.071482] ra : 803875dc ip_local_out+0x3c/0xc8
<4>[394941.076591] Status: 11007c03 KERNEL EXL IE <4>[394941.080849] Cause : 5080001c (ExcCode 07)
<4>[394941.084922] PrId : 0001992f (MIPS 1004Kc)
<4>[394941.089078] 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_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_CT xt_CLASSIFY wireguard 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 iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt compat fuse sch_cake nf_conntrack act_skbedit act_mirred em_u32 cls_u32
<4>[394941.159842] cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress ledtrig_usbport ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables ifb ip6_udp_tunnel udp_tunnel usb_storage leds_gpio xhci_mtk xhci_plat_hcd xhci_pci xhci_hcd sd_mod scsi_mod gpio_button_hotplug usbcore nls_base usb_common
<4>[394941.192038] Process swapper/2 (pid: 0, threadinfo=8fc66000, task=8fc444c0, tls=00000000)
<4>[394941.200176] Stack : 8fd91100 803bba10 8fc11dc8 00000130 8086e9c0 8d453c00 8086e9c0 8d453c00
<4>[394941.208596] 8fd911d8 80388784 8fc11d90 00000000 8086e9c0 80596d80 8fd90fc0 8038768c
<4>[394941.217020] 8086e780 80570000 8e30f214 00000003 8086e780 80570000 8e30f214 803887dc
<4>[394941.225442] 8086e780 80570000 8e30f214 00000003 00000001 803bc430 81231db0 00000000
<4>[394941.233864] 81231d80 805761b8 8fd90fc0 80590000 8fd91030 00000000 00000000 80570000
<4>[394941.242285] ...
<4>[394941.244810] Call Trace:
<4>[394941.247340] [<80385b78>] ip_send_check+0×50/0×80 <4>[394941.252034] [<803875dc>]
ip_local_out+0x3c/0xc8
<4>[394941.256803] [<8038768c>] ip_local_out+0×24/0×78 <4>[394941.261404] [<803887dc>] ip_send_skb+0×14/0x3c
<4>[394941.265925] [<803bc430>] icmp_send+0×420/0x4d4
<4>[394941.270436] [<8037d1fc>] ipv4_link_failure+0×20/0x6c
<4>[394941.275464] [<803b96b8>] arp_error_report+0×40/0×54 <4>[394941.280435] [<80349b40>] neigh_invalidate+0xe0/0×150 <4>[394941.285466] [<8034f990>] neigh_timer_handler+0x1c4/0x2d8
<4>[394941.290859] [<800864f4>] call_timer_fn.isra.3+0×24/0×84 <4>[394941.296146] [<80086710>] run_timer_softirq+0x1bc/0×248 <4>[394941.301368] [<80466058>] __do_softirq+0×128/0x2ec
<4>[394941.306150] [<80032a94>] irq_exit+0xac/0xc8
<4>[394941.310410] [<80243b7c>] plat_irq_dispatch+0xfc/0×138 <4>[394941.315530] [<8000b5e8>] except_vec_vi_end+0xb8/0xc4
<4>[394941.320568] [<8000cfb0>] r4k_wait_irqoff+0x1c/0×24 <4>[394941.325448] [<800665dc>] do_idle+0xe4/0×168 <4>[394941.329698] [<80066858>] cpu_startup_entry+0×24/0x2c
<4>[394941.334740] [<800180b4>] not_nmi+0x8c/0x1d8
<4>[394941.338991] Code: 00481021 8ca30000 24a50004 <00621021> 0043182b 14c5fffb 00431021 00021c00 00621821
<4>[394941.348805]
<4>[394941.350616] —[ end trace 2751015d45562c0d ]—


theonedemon commented on 16.12.2018 17:42

cat /etc/openwrt_release

DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='18.06.1'
DISTRIB_REVISION='r7258-5eb055306f'
DISTRIB_TARGET='ramips/mt7621'
DISTRIB_ARCH='mipsel_24kc'
DISTRIB_DESCRIPTION='OpenWrt 18.06.1 r7258-5eb055306f'
DISTRIB_TAINTS=''

uname -a

Linux OpenWrt 4.14.63 #0 SMP Thu Aug 16 07:51:15 2018 mips GNU/Linux
Time: 1544979423.205660
Modules:	pppoe@8f26c000+2260	ppp_async@8f266000+1b90	pppox@8eab1000+4b0	ppp_generic@8ebf8000+58d0	nf_conntrack_ipv6@8ebf2000+1590	mt76x2e@8eb40000+b2e0	mt7603e@8eaa0000+73c0	mt76@8e828000+4d80	mac80211@8f180000+67ce0	iptable_nat@8f0d1000+2c0	ipt_REJECT@8f11d000+3c0	ipt_MASQUERADE@8ea8a000+2a0	cfg80211@8f140000+34d60	xt_time@8f11b000+6e0	xt_tcpudp@8f118000+700	xt_state@8f0d5000+2c0	xt_nat@8e80b000+600	xt_multiport@8e808000+500	xt_mark@8e96a000+2a0	xt_mac@8f7a6000+260	xt_limit@8f06e000+4a0	xt_conntrack@8ea6f000+900	xt_comment@8e80e000+1e0	xt_TCPMSS@8f0f1000+ae0	xt_REDIRECT@8f0f5000+2c0	xt_LOG@8f0f7000+300	xt_FLOWOFFLOAD@8f0f9000+af0	xt_CT@8f0fc000+a80	slhc@8f0ba000+13c0	nf_reject_ipv4@8f032000+840	nf_nat_redirect@8f03b000+580	nf_nat_masquerade_ipv4@8f111000+5b0	nf_conntrack_ipv4@8e9a2000+1420	nf_nat_ipv4@8e869000+f30nf_nat@8e9a4000+37d0	nf_log_ipv4@8e9f2000+d80	nf_flow_table_hw@8e845000+8d0	nf_flow_table@8f0bc000+32b0	nf_defrag_ipv6@8f114000+33f0	nf_defrag_ipv4@8e843000+440	nf_conntrack_rtcache@8e862000+aa0	nf_conntrack@8f0e0000+10210	iptable_mangle@8e9a0000+380	iptable_filter@8e94f000+280	ip_tables@8f0b4000+2af0	crc_ccitt@8f112000+3e0	compat@8e81e000+240	ledtrig_usbport@8e960000+ab0	ip6t_REJECT@8f056000+400	nf_reject_ipv6@8e860000+9e0	nf_log_ipv6@8e84c000+1020	nf_log_common@8e863000+aa0	ip6table_mangle@8e969000+480	ip6table_filter@8eab3000+280	ip6_tables@8f100000+29c0	x_tables@8eaf8000+3210	vfat@8eaf4000+21a0	fat@8eac0000+c8c0	nls_utf8@8e825000+340	nls_iso8859_1@8e826000+b20	nls_cp437@8f0d2000+1120	usb_storage@8e9c0000+9dc0	sd_mod@8e9d8000+7310	scsi_mod@8e980000+155b0	ext4@8ea00000+5cac0	jbd2@8e970000+d290	mbcache@8f07f000+e30	crc32c_generic@8e8d0000+560	leds_gpio@8f7b7000+b60	xhci_mtk@8f024000+1300	xhci_plat_hcd@8f022000+1600	xhci_pci@8f7ae000+ac0	xhci_hcd@8f000000+15d10	gpio_button_hotplug@8f798000+1900	usbcore@8f7e0000+1f590	nls_base@8f7a2000+1410	usb_common@8f795000+8c0
<4>[    2.492791] cacheinfo: Unable to detect cache hierarchy for CPU 0
<4>[    2.499743] MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error
<4>[    2.506866] Enable NFI Clock
<4>[    2.509735] # MTK NAND # : Use HW ECC
<6>[    2.513395] Device found in MTK table, ID: c8d1, EXT_ID: 809540
<4>[    2.519304] Support this Device in MTK table! c8d1 
<4>[    2.524252] [NAND]select ecc bit:4, sparesize :64 spare_per_sector=16
<6>[    2.530731] nand: device found, Manufacturer ID: 0xc8, Chip ID: 0xd1
<6>[    2.537068] nand: ESMT NAND 128MiB 3,3V 8-bit
<6>[    2.541404] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
<6>[    2.548973] Scanning device for bad blocks
<5>[    2.697420] 10 fixed-partitions partitions found on MTD device MT7621-NAND
<5>[    2.704261] Creating 10 MTD partitions on "MT7621-NAND":
<5>[    2.709570] 0x000000000000-0x000000080000 : "Bootloader"
<5>[    2.716021] 0x000000080000-0x0000000c0000 : "Config"
<5>[    2.722041] 0x0000000c0000-0x000000100000 : "Bdata"
<5>[    2.727974] 0x000000100000-0x000000140000 : "Factory"
<5>[    2.734035] 0x000000140000-0x000000180000 : "crash"
<5>[    2.740006] 0x000000180000-0x0000001c0000 : "crash_syslog"
<5>[    2.746580] 0x0000001c0000-0x000000200000 : "reserved0"
<5>[    2.752834] 0x000000200000-0x000000600000 : "kernel_stock"
<5>[    2.759475] 0x000000600000-0x000000a00000 : "kernel"
<5>[    2.765470] 0x000000a00000-0x000007f80000 : "ubi"
<4>[    2.772198] [mtk_nand] probe successfully!
<4>[    2.777050] Signature matched and data read!
<4>[    2.781298] load_fact_bbt success 1023
<6>[    2.785830] libphy: Fixed MDIO Bus: probed
<6>[    2.858771] libphy: mdio: probed
<6>[    4.262376] mtk_soc_eth 1e100000.ethernet: loaded mt7530 driver
<6>[    4.269035] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 20
<6>[    4.279831] NET: Registered protocol family 10
<6>[    4.285866] Segment Routing with IPv6
<6>[    4.289685] NET: Registered protocol family 17
<6>[    4.294179] 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.307093] 8021q: 802.1Q VLAN Support v1.8
<5>[    4.314257] UBI: auto-attach mtd9
<5>[    4.317618] ubi0: attaching mtd9
<5>[    5.427244] ubi0: scanning is finished
<5>[    5.447178] ubi0: attached mtd9 (name "ubi", size 117 MiB)
<5>[    5.452651] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
<5>[    5.459535] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
<5>[    5.466308] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
<5>[    5.473234] ubi0: good PEBs: 940, bad PEBs: 0, corrupted PEBs: 0
<5>[    5.479231] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
<5>[    5.486437] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 1136273717
<5>[    5.495524] ubi0: available PEBs: 0, total reserved PEBs: 940, PEBs reserved for bad PEB handling: 20
<5>[    5.504746] ubi0: background thread "ubi_bgt0d" started, PID 388
<6>[    5.506877] block ubiblock0_0: created from ubi0:0(rootfs)
<5>[    5.506893] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
<6>[    5.506912] hctosys: unable to open rtc device (rtc0)
<6>[    5.535482] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
<6>[    5.543140] Freeing unused kernel memory: 220K
<4>[    5.547618] This architecture does not have kernel memory protection.
<14>[    6.070187] init: Console is alive
<14>[    6.073828] init: - watchdog -
<6>[    6.307490] mtk_soc_eth 1e100000.ethernet eth0: port 3 link up
<14>[    6.646599] kmodloader: loading kernel modules from /etc/modules-boot.d/*
<6>[    6.735443] usbcore: registered new interface driver usbfs
<6>[    6.741048] usbcore: registered new interface driver hub
<6>[    6.746544] usbcore: registered new device driver usb
<6>[    6.761040] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
<6>[    6.766407] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 1
<6>[    6.786400] xhci-mtk 1e1c0000.xhci: hcc params 0x01401198 hci version 0x96 quirks 0x00210010
<6>[    6.794880] xhci-mtk 1e1c0000.xhci: irq 19, io mem 0x1e1c0000
<6>[    6.801675] hub 1-0:1.0: USB hub found
<6>[    6.805495] hub 1-0:1.0: 2 ports detected
<6>[    6.810190] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
<6>[    6.815500] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 2
<6>[    6.823007] xhci-mtk 1e1c0000.xhci: Host supports USB 3.0  SuperSpeed
<6>[    6.829629] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
<6>[    6.838665] hub 2-0:1.0: USB hub found
<6>[    6.842484] hub 2-0:1.0: 1 port detected
<14>[    6.849721] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
<14>[    6.876523] init: - preinit -
<6>[    7.442993] usb 1-1: new high-speed USB device number 2 using xhci-mtk
<6>[    7.585142] mtk_soc_eth 1e100000.ethernet: PPE started
<5>[    7.662236] random: procd: uninitialized urandom read (4 bytes read)
<5>[   10.813232] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 487
<5>[   10.887072] UBIFS (ubi0:1): recovery needed
<5>[   11.027619] UBIFS (ubi0:1): recovery completed
<5>[   11.032184] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
<5>[   11.040030] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
<5>[   11.049919] UBIFS (ubi0:1): FS size: 112373760 bytes (107 MiB, 885 LEBs), journal size 5586944 bytes (5 MiB, 44 LEBs)
<5>[   11.060489] UBIFS (ubi0:1): reserved for root: 4952683 bytes (4836 KiB)
<5>[   11.067094] UBIFS (ubi0:1): media format: w4/r0 (latest is w5/r0), UUID 69FB257D-C968-49D7-8BAB-1C7717E7E67E, small LPT model
<14>[   11.091597] mount_root: loading kmods from internal overlay
<14>[   11.190041] kmodloader: loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
<5>[   11.438649] SCSI subsystem initialized
<6>[   11.466368] usb-storage 1-1:1.0: USB Mass Storage device detected
<6>[   11.472938] scsi host0: usb-storage 1-1:1.0
<6>[   11.477931] usbcore: registered new interface driver usb-storage
<14>[   11.484198] kmodloader: done loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
<14>[   11.712114] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
<14>[   11.723945] block: extroot: not configured
<14>[   11.769592] mount_root: switching to ubifs overlay
<12>[   11.803433] urandom-seed: Seeding with /etc/urandom.seed
<6>[   11.906941] mtk_soc_eth 1e100000.ethernet: 0x100 = 0x6060000c, 0x10c = 0x80818
<14>[   11.925352] procd: - early -
<14>[   11.928360] procd: - watchdog -
<5>[   12.517255] scsi 0:0:0:0: Direct-Access     JetFlash Transcend 8GB    8.07 PQ: 0 ANSI: 2
<5>[   12.527643] sd 0:0:0:0: [sda] 15687680 512-byte logical blocks: (8.03 GB/7.48 GiB)
<5>[   12.535447] sd 0:0:0:0: [sda] Write Protect is off
<7>[   12.540270] sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
<3>[   12.540531] sd 0:0:0:0: [sda] No Caching mode page found
<3>[   12.545822] sd 0:0:0:0: [sda] Assuming drive cache: write through
<14>[   12.606379] procd: - watchdog -
<14>[   12.609840] procd: - ubus -
<5>[   12.676817] random: ubusd: uninitialized urandom read (4 bytes read)
<5>[   12.688032] random: ubusd: uninitialized urandom read (4 bytes read)
<5>[   12.694782] random: ubusd: uninitialized urandom read (4 bytes read)
<14>[   12.702026] procd: - init -
<6>[   12.906267]  sda: sda1
<5>[   12.911290] sd 0:0:0:0: [sda] Attached SCSI removable disk
<14>[   13.118447] kmodloader: loading kernel modules from /etc/modules.d/*
<6>[   13.158213] ip6_tables: (C) 2000-2006 Netfilter Core Team
<6>[   13.532869] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
<6>[   13.540934] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
<6>[   13.549435] ip_tables: (C) 2000-2006 Netfilter Core Team
<6>[   13.871521] nf_conntrack version 0.5.0 (4096 buckets, 16384 max)
<6>[   14.084667] xt_time: kernel timezone is -0000
<4>[   14.321501] bus=0x1, slot = 0x0, irq=0xff
<6>[   14.325708] mt7603e 0000:01:00.0: ASIC revision: 76030010
<6>[   14.334477] mt7603e 0000:01:00.0: Firmware Version: ap_pcie
<6>[   14.340093] mt7603e 0000:01:00.0: Build Time: 20160107100755
<4>[   14.386219] firmware init done
<7>[   14.554873] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
<4>[   14.562344] bus=0x2, slot = 0x1, irq=0xff
<6>[   14.566675] mt76x2e 0000:02:00.0: ASIC revision: 76120044
<6>[   14.597008] mt76x2e 0000:02:00.0: ROM patch build: 20141115060606a
<6>[   14.708634] mt76x2e 0000:02:00.0: Firmware Version: 0.0.00
<6>[   14.714124] mt76x2e 0000:02:00.0: Build: 1
<6>[   14.718300] mt76x2e 0000:02:00.0: Build Time: 201507311614____
<6>[   14.746284] mt76x2e 0000:02:00.0: Firmware running!
<7>[   14.752639] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
<6>[   14.760743] PPP generic driver version 2.4.2
<6>[   14.766545] NET: Registered protocol family 24
<14>[   14.773587] kmodloader: done loading kernel modules from /etc/modules.d/*
<5>[   20.460255] random: crng init done
<5>[   20.463686] random: 6 urandom warning(s) missed due to ratelimiting
<6>[   21.048131] mtk_soc_eth 1e100000.ethernet: PPE started
<6>[   21.058513] device eth0 entered promiscuous mode
<6>[   21.065030] br-lan: port 1(eth0.1) entered blocking state
<6>[   21.070564] br-lan: port 1(eth0.1) entered disabled state
<6>[   21.076690] device eth0.1 entered promiscuous mode
<6>[   21.085548] br-lan: port 1(eth0.1) entered blocking state
<6>[   21.091033] br-lan: port 1(eth0.1) entered forwarding state
<6>[   21.097131] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
<6>[   22.116810] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
<6>[   23.320120] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
<6>[   23.330119] br-lan: port 2(wlan0) entered blocking state
<6>[   23.335433] br-lan: port 2(wlan0) entered disabled state
<6>[   23.341434] device wlan0 entered promiscuous mode
<6>[   25.260944] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
<6>[   25.267630] br-lan: port 2(wlan0) entered blocking state
<6>[   25.272930] br-lan: port 2(wlan0) entered forwarding state
<1>[ 1169.526621] CPU 0 Unable to handle kernel paging request at virtual address 00a9bc30, epc == 80069ce4, ra == 80069c5c
<4>[ 1169.537203] Oops[#1]:
<4>[ 1169.539469] CPU: 0 PID: 1840 Comm: hostapd Not tainted 4.14.63 #0
<4>[ 1169.545534] task: 8fe20640 task.stack: 8ec5c000
<4>[ 1169.550039] $ 0   : 00000000 00000001 00000000 8051e8f0
<4>[ 1169.555250] $ 4   : 00000000 00040000 07406000 07406000
<4>[ 1169.560459] $ 8   : 0000ffff ffff0000 00000110 0016730d
<4>[ 1169.565668] $12   : 00000000 00000000 ffffffff 40000000
<4>[ 1169.570877] $16   : 8eaf0000 81216340 00040000 8051e1b8
<4>[ 1169.576087] $20   : 00a9bc30 00630750 00000020 00000001
<4>[ 1169.581296] $24   : 0f1f0800 80058a3c                  
<4>[ 1169.586505] $28   : 8ec5c000 8ec5d9f0 00000017 80069c5c
<4>[ 1169.591716] Hi    : 0016730d
<4>[ 1169.594578] Lo    : e81cbd97
<4>[ 1169.597444] epc   : 80069ce4 0x80069ce4
<4>[ 1169.601257] ra    : 80069c5c 0x80069c5c
<4>[ 1169.605068] Status: 11008402	KERNEL EXL 
<4>[ 1169.608977] Cause : c080000c (ExcCode 03)
<4>[ 1169.612961] BadVA : 00a9bc30
<4>[ 1169.615824] PrId  : 0001992f (MIPS 1004Kc)
<4>[ 1169.619895] Modules linked in: pppoe ppp_async pppox ppp_generic nf_conntrack_ipv6 mt76x2e 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 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 sd_mod scsi_mod ext4 jbd2 mbcache crc32c_generic leds_gpio xhci_mtk
<4>[ 1169.690295]  xhci_plat_hcd xhci_pci xhci_hcd gpio_button_hotplug usbcore nls_base usb_common
<4>[ 1169.698716] Process hostapd (pid: 1840, threadinfo=8ec5c000, task=8fe20640, tls=77ff4dc0)
<4>[ 1169.706849] Stack : 00000fff 00000011 003127a1 00000000 00000000 00000000 8ec5da08 00000000
<4>[ 1169.715181]         00000001 8eaf0000 00000000 8ec5db0c 00000017 8047c824 80086cd8 81214c20
<4>[ 1169.723513]         00000000 00000000 8fe20640 07406000 8ec5dbf0 80065584 00000000 8047bfe4
<4>[ 1169.731844]         8dc665d0 8ec5db08 00000000 8ec5dbf0 00000007 80121684 00000003 80121740
<4>[ 1169.740174]         0d326f7e 00000000 00000003 00800000 00000145 00000000 00000104 80121f24
<4>[ 1169.748505]         ...
<4>[ 1169.750939] Call Trace:
<4>[ 1169.750983] [<8047c824>] 0x8047c824
<4>[ 1169.756876] [<80086cd8>] 0x80086cd8
<4>[ 1169.760348] [<80065584>] 0x80065584
<4>[ 1169.763817] [<8047bfe4>] 0x8047bfe4
<4>[ 1169.767293] [<80121684>] 0x80121684
<4>[ 1169.770761] [<80121740>] 0x80121740
<4>[ 1169.774231] [<80121f24>] 0x80121f24
<4>[ 1169.777749] [<8012176c>] 0x8012176c
<4>[ 1169.781226] [<8012176c>] 0x8012176c
<4>[ 1169.784706] [<8012176c>] 0x8012176c
<4>[ 1169.788186] [<8012176c>] 0x8012176c
<4>[ 1169.791664] [<8012176c>] 0x8012176c
<4>[ 1169.795144] [<8012176c>] 0x8012176c
<4>[ 1169.798622] [<8012176c>] 0x8012176c
<4>[ 1169.802106] [<8012176c>] 0x8012176c
<4>[ 1169.805593] [<8012176c>] 0x8012176c
<4>[ 1169.809076] [<8037e2f8>] 0x8037e2f8
<4>[ 1169.812560] [<80334be0>] 0x80334be0
<4>[ 1169.816030] [<8037e468>] 0x8037e468
<4>[ 1169.819516] [<800657b4>] 0x800657b4
<4>[ 1169.822988] [<8032dce4>] 0x8032dce4
<4>[ 1169.826485] [<8006580c>] 0x8006580c
<4>[ 1169.829953] [<80333b4c>] 0x80333b4c
<4>[ 1169.833429] [<8037bba4>] 0x8037bba4
<4>[ 1169.836912] [<80122854>] 0x80122854
<4>[ 1169.840414] [<80084ec8>] 0x80084ec8
<4>[ 1169.843888] [<80122594>] 0x80122594
<4>[ 1169.847357] [<80121404>] 0x80121404
<4>[ 1169.850837] [<801229e4>] 0x801229e4
<4>[ 1169.854316] [<80019578>] 0x80019578
<4>[ 1169.857793] 
<4>[ 1169.859270] Code: 00021080  0282a021  0283a021 <10000001> ae910000  8e220004  0000000f  1040fffd  00000000 
<4>[ 1169.868993] 
<4>[ 1169.872145] ---[ end trace 6a2d4695141322c7 ]---

BertLammers commented on 23.12.2018 09:37

Update:

The crashes seem to be caused by the combination of flow offloading and QoS. There are no crashes anymore with QoS disabled and both software and hardware flow offloading enabled (router running stable for over 10 days now).

There seems to be no difference between software and hardware flow offloading in terms of stability. The crashes also appear when only software flow offloading is enabled in combination with QoS.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing