Skip to content
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#1449 - mt7621 - zbt3526 - mtk_soc_eth -> port 3 link up & down all the time :( #7701

Closed
openwrt-bot opened this issue Mar 20, 2018 · 21 comments
Labels

Comments

@openwrt-bot
Copy link

camel:

current runknothing installed only use newest trunk from 20.3.2018

Tue Mar 20 03:10:54 2018 kern.info kernel: [ 1503.788203] mtk_soc_eth 1e100000.ethernet eth0: port 3 link down Tue Mar 20 03:10:56 2018 kern.info kernel: [ 1506.347573] mtk_soc_eth 1e100000.ethernet eth0: port 3 link up Tue Mar 20 03:11:04 2018 kern.info kernel: [ 1513.895790] mtk_soc_eth 1e100000.ethernet eth0: port 3 link down Tue Mar 20 03:11:08 2018 kern.info kernel: [ 1517.832424] mtk_soc_eth 1e100000.ethernet eth0: port 3 link up Tue Mar 20 03:11:13 2018 kern.info kernel: [ 1522.910834] mtk_soc_eth 1e100000.ethernet eth0: port 3 link down Tue Mar 20 03:11:15 2018 kern.info kernel: [ 1525.401597] mtk_soc_eth 1e100000.ethernet eth0: port 3 link up Tue Mar 20 03:11:21 2018 kern.info kernel: [ 1530.798474] mtk_soc_eth 1e100000.ethernet eth0: port 3 link down Tue Mar 20 03:11:23 2018 kern.info kernel: [ 1533.389966] mtk_soc_eth 1e100000.ethernet eth0: port 3 link up Tue Mar 20 03:12:53 2018 kern.info kernel: [ 1623.131837] mtk_soc_eth 1e100000.ethernet eth0: port 3 link down Tue Mar 20 03:12:57 2018 kern.info kernel: [ 1626.897454] mtk_soc_eth 1e100000.ethernet eth0: port 3 link up Tue Mar 20 03:13:20 2018 kern.info kernel: [ 1650.086813] mtk_soc_eth 1e100000.ethernet eth0: port 3 link down Tue Mar 20 03:13:22 2018 kern.info kernel: [ 1652.596397] mtk_soc_eth 1e100000.ethernet eth0: port 3 link up Tue Mar 20 03:14:10 2018 kern.info kernel: [ 1699.974606] mtk_soc_eth 1e100000.ethernet eth0: port 3 link down Tue Mar 20 03:14:12 2018 kern.info kernel: [ 1702.533339] mtk_soc_eth 1e100000.ethernet eth0: port 3 link up Tue Mar 20 03:14:24 2018 kern.info kernel: [ 1714.114599] mtk_soc_eth 1e100000.ethernet eth0: port 3 link down Tue Mar 20 03:14:28 2018 kern.info kernel: [ 1717.966606] mtk_soc_eth 1e100000.ethernet eth0: port 3 link up Tue Mar 20 03:14:34 2018 kern.info kernel: [ 1724.591850] mtk_soc_eth 1e100000.ethernet eth0: port 3 link down Tue Mar 20 03:14:37 2018 kern.info kernel: [ 1727.206909] mtk_soc_eth 1e100000.ethernet eth0: port 3 link up Tue Mar 20 03:15:10 2018 kern.info kernel: [ 1759.837908] mtk_soc_eth 1e100000.ethernet eth0: port 3 link down Tue Mar 20 03:15:12 2018 kern.info kernel: [ 1762.372712] mtk_soc_eth 1e100000.ethernet eth0: port 3 link up Tue Mar 20 03:15:37 2018 kern.info kernel: [ 1787.098031] mtk_soc_eth 1e100000.ethernet eth0: port 3 link down Tue Mar 20 03:15:41 2018 kern.info kernel: [ 1790.955159] mtk_soc_eth 1e100000.ethernet eth0: port 3 link up Tue Mar 20 03:15:43 2018 kern.info kernel: [ 1792.826106] mtk_soc_eth 1e100000.ethernet eth0: port 3 link down Tue Mar 20 03:15:45 2018 kern.info kernel: [ 1795.329556] mtk_soc_eth 1e100000.ethernet eth0: port 3 link up Tue Mar 20 03:16:25 2018 kern.info kernel: [ 1835.067930] mtk_soc_eth 1e100000.ethernet eth0: port 3 link down Tue Mar 20 03:16:28 2018 kern.info kernel: [ 1837.877538] mtk_soc_eth 1e100000.ethernet eth0: port 3 link up

that is new .. not sure, but i guess, that was not existing on images from february ..

@openwrt-bot
Copy link
Author

yuvadm:

Same behavior on mt7620 (UBNT ERX), running 18.06.0-rc2

During random occasions I get a single port that fails on me in the same way:

Fri Aug 3 06:26:15 2018 kern.info kernel: [57235.200816] mtk_soc_eth 1e100000.ethernet eth0: port 2 link down
Fri Aug 3 06:26:18 2018 kern.info kernel: [57238.196017] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up
Fri Aug 3 06:26:19 2018 kern.info kernel: [57238.950528] mtk_soc_eth 1e100000.ethernet eth0: port 2 link down
Fri Aug 3 06:26:22 2018 kern.info kernel: [57241.835316] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up
Fri Aug 3 06:26:22 2018 kern.info kernel: [57242.590277] mtk_soc_eth 1e100000.ethernet eth0: port 2 link down
Fri Aug 3 06:26:25 2018 kern.info kernel: [57245.599794] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up
Fri Aug 3 06:26:26 2018 kern.info kernel: [57246.354240] mtk_soc_eth 1e100000.ethernet eth0: port 2 link down
Fri Aug 3 06:26:29 2018 kern.info kernel: [57249.437390] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up

@openwrt-bot
Copy link
Author

xunkutech:

I encounter the same problem in my mt7621 router(newifi d1) running 18.06.0 final release. Attached is the full kernel log.

[ 0.000000] Linux version 4.14.54 (buildbot@builds-03.infra.lede-project.org) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r7102-3f3a2c9)) #0 SMP Mon Jul 30 16:25:17 2018 [ 0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3 [ 0.000000] bootconsole [early0] enabled [ 0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc) [ 0.000000] MIPS: machine is Newifi-D1 [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 10000000 @ 00000000 (usable) [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] VPE topology {2,2} total 4 [ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x0000000000000000-0x000000000fffffff] [ 0.000000] HighMem empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x000000000fffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff] [ 0.000000] On node 0 totalpages: 65536 [ 0.000000] free_area_init_node: node 0, pgdat 80545e00, node_mem_map 81003000 [ 0.000000] Normal zone: 512 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 65536 pages, LIFO batch:15 [ 0.000000] random: get_random_bytes called from 0x80549740 with crng_init=0 [ 0.000000] percpu: Embedded 14 pages/cpu @8120f000 s26256 r8192 d22896 u57344 [ 0.000000] pcpu-alloc: s26256 r8192 d22896 u57344 alloc=14*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 65024 [ 0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2 [ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes) [ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.000000] Writing ErrCtl register=000158e0 [ 0.000000] Readback ErrCtl register=000158e0 [ 0.000000] Memory: 253668K/262144K available (4593K kernel code, 242K rwdata, 564K rodata, 220K init, 270K bss, 8476K reserved, 0K cma-reserved, 0K highmem) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] Hierarchical RCU implementation. [ 0.000000] NR_IRQS: 256 [ 0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns [ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns [ 0.000011] sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 4880645118ns [ 0.007822] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688) [ 0.073983] pid_max: default: 32768 minimum: 301 [ 0.078762] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.085269] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.094083] Hierarchical SRCU implementation. [ 0.099161] smp: Bringing up secondary CPUs ... [ 2.363009] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 2.363018] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 2.363030] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. [ 2.363178] CPU1 revision is: 0001992f (MIPS 1004Kc) [ 0.163933] Synchronize counters for CPU 1: done. [ 9.107175] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 9.107183] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 9.107192] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. [ 9.107266] CPU2 revision is: 0001992f (MIPS 1004Kc) [ 0.255070] Synchronize counters for CPU 2: done. [ 1.246479] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 1.246486] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 1.246495] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. [ 1.246574] CPU3 revision is: 0001992f (MIPS 1004Kc) [ 0.340251] Synchronize counters for CPU 3: done. [ 0.370110] smp: Brought up 1 node, 4 CPUs [ 0.377648] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.387435] futex hash table entries: 1024 (order: 3, 32768 bytes) [ 0.393745] pinctrl core: initialized pinctrl subsystem [ 0.399584] NET: Registered protocol family 16 [ 0.410042] Can't analyze schedule() prologue at 80477e04 [ 0.415401] FPU Affinity set after 11720 emulations [ 0.416160] pull PCIe RST: RALINK_RSTCTRL = 0 [ 0.720790] release PCIe RST: RALINK_RSTCTRL = 7000000 [ 0.725839] ***** Xtal 40MHz ***** [ 0.729194] release PCIe RST: RALINK_RSTCTRL = 7000000 [ 0.734291] Port 0 N_FTS = 1b102800 [ 0.737759] Port 1 N_FTS = 1b102800 [ 0.741205] Port 2 N_FTS = 1b102800 [ 1.896174] PCIE2 no card, disable it(RST&CLK) [ 1.900532] -> 21007f2 [ 1.902937] PCIE0 enabled [ 1.905526] PCIE1 enabled [ 1.908129] PCI host bridge /pcie@1e140000 ranges: [ 1.912905] MEM 0x0000000060000000..0x000000006fffffff [ 1.918059] IO 0x000000001e160000..0x000000001e16ffff [ 1.923263] PCI coherence region base: 0xbfbf8000, mask/settings: 0x60000000 [ 1.938839] mt7621_gpio 1e000600.gpio: registering 32 gpios [ 1.944753] mt7621_gpio 1e000600.gpio: registering 32 gpios [ 1.950544] mt7621_gpio 1e000600.gpio: registering 32 gpios [ 1.957495] PCI host bridge to bus 0000:00 [ 1.961530] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff] [ 1.968384] pci_bus 0000:00: root bus resource [io 0xffffffff] [ 1.974215] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0] [ 1.980970] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff] [ 1.988864] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400 [ 1.988905] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff] [ 1.988916] pci 0000:00:00.0: reg 0x14: [mem 0x00000000-0x0000ffff] [ 1.988989] pci 0000:00:00.0: supports D1 [ 1.988998] pci 0000:00:00.0: PME# supported from D0 D1 D3hot [ 1.989271] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400 [ 1.989307] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff] [ 1.989323] pci 0000:00:01.0: reg 0x14: [mem 0x00000000-0x0000ffff] [ 1.989388] pci 0000:00:01.0: supports D1 [ 1.989397] pci 0000:00:01.0: PME# supported from D0 D1 D3hot [ 1.989662] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 1.997592] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 2.005713] pci 0000:01:00.0: [14c3:7662] type 00 class 0x028000 [ 2.005778] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit] [ 2.005824] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref] [ 2.005919] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold [ 2.006132] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01 [ 2.006359] pci 0000:02:00.0: [14c3:7603] type 00 class 0x028000 [ 2.006412] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x000fffff] [ 2.006538] pci 0000:02:00.0: PME# supported from D0 D3hot D3cold [ 2.006731] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02 [ 2.006755] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 02 [ 2.006842] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000] [ 2.013397] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000] [ 2.020270] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000] [ 2.026842] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000] [ 2.033743] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff] [ 2.040498] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x601fffff pref] [ 2.047658] pci 0000:00:01.0: BAR 8: assigned [mem 0x60200000-0x602fffff] [ 2.054408] pci 0000:00:00.0: BAR 1: assigned [mem 0x60300000-0x6030ffff] [ 2.061134] pci 0000:00:01.0: BAR 1: assigned [mem 0x60310000-0x6031ffff] [ 2.067900] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit] [ 2.075143] pci 0000:01:00.0: BAR 6: assigned [mem 0x60100000-0x6010ffff pref] [ 2.082320] pci 0000:00:00.0: PCI bridge to [bus 01] [ 2.087226] pci 0000:00:00.0: bridge window [mem 0x60000000-0x600fffff] [ 2.093979] pci 0000:00:00.0: bridge window [mem 0x60100000-0x601fffff pref] [ 2.101145] pci 0000:02:00.0: BAR 0: assigned [mem 0x60200000-0x602fffff] [ 2.107890] pci 0000:00:01.0: PCI bridge to [bus 02] [ 2.112796] pci 0000:00:01.0: bridge window [mem 0x60200000-0x602fffff] [ 2.120904] clocksource: Switched to clocksource GIC [ 2.127419] NET: Registered protocol family 2 [ 2.132575] TCP established hash table entries: 2048 (order: 1, 8192 bytes) [ 2.139459] TCP bind hash table entries: 2048 (order: 2, 16384 bytes) [ 2.145892] TCP: Hash tables configured (established 2048 bind 2048) [ 2.152307] UDP hash table entries: 256 (order: 1, 8192 bytes) [ 2.158070] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) [ 2.164565] NET: Registered protocol family 1 [ 2.168887] PCI: CLS 0 bytes, default 32 [ 2.400850] 4 CPUs re-calibrate udelay(lpj = 2924544) [ 2.407287] Crashlog allocated RAM at address 0x3f00000 [ 2.412634] workingset: timestamp_bits=30 max_order=16 bucket_order=0 [ 2.426120] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 2.431896] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 2.444175] random: fast init done [ 2.448135] io scheduler noop registered [ 2.452010] io scheduler deadline registered (default) [ 2.457849] gpio-export gpio_export: 2 gpio(s) exported [ 2.463828] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled [ 2.473192] console [ttyS0] disabled [ 2.476739] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 18, base_baud = 3125000) is a 16550A [ 2.485827] console [ttyS0] enabled [ 2.492707] bootconsole [early0] disabled [ 2.501472] cacheinfo: Failed to find cpu0 device node [ 2.506594] cacheinfo: Unable to detect cache hierarchy for CPU 0 [ 2.513415] MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error [ 2.520635] spi-mt7621 1e000b00.spi: sys_freq: 50000000 [ 2.526962] m25p80 spi0.0: mx25l25635e (32768 Kbytes) [ 2.532132] 4 fixed-partitions partitions found on MTD device spi0.0 [ 2.538454] Creating 4 MTD partitions on "spi0.0": [ 2.543246] 0x000000000000-0x000000030000 : "u-boot" [ 2.549165] 0x000000030000-0x000000040000 : "u-boot-env" [ 2.555341] 0x000000040000-0x000000050000 : "factory" [ 2.561302] 0x000000050000-0x000002000000 : "firmware" [ 2.643038] 2 uimage-fw partitions found on MTD device firmware [ 2.648955] 0x000000050000-0x00000020b87a : "kernel" [ 2.654803] 0x00000020b87a-0x000002000000 : "rootfs" [ 2.660531] mtd: device 5 (rootfs) set to be root filesystem [ 2.666322] 1 squashfs-split partitions found on MTD device rootfs [ 2.672500] 0x000000470000-0x000002000000 : "rootfs_data" [ 2.679361] libphy: Fixed MDIO Bus: probed [ 2.752909] libphy: mdio: probed [ 4.155734] mtk_soc_eth 1e100000.ethernet: loaded mt7530 driver [ 4.162333] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 21 [ 4.172808] NET: Registered protocol family 10 [ 4.178838] Segment Routing with IPv6 [ 4.182656] NET: Registered protocol family 17 [ 4.187158] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 4.200068] 8021q: 802.1Q VLAN Support v1.8 [ 4.206742] hctosys: unable to open rtc device (rtc0) [ 4.219229] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. [ 4.226822] Freeing unused kernel memory: 220K [ 4.231294] This architecture does not have kernel memory protection. [ 4.514474] random: crng init done [ 4.890744] init: Console is alive [ 4.894440] init: - watchdog - [ 5.685444] kmodloader: loading kernel modules from /etc/modules-boot.d/* [ 5.707932] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 5.818103] usbcore: registered new interface driver usbfs [ 5.823710] usbcore: registered new interface driver hub [ 5.829149] usbcore: registered new device driver usb [ 5.843353] xhci-mtk 1e1c0000.xhci: xHCI Host Controller [ 5.848692] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 1 [ 5.861117] xhci-mtk 1e1c0000.xhci: hcc params 0x01401198 hci version 0x96 quirks 0x00210010 [ 5.869597] xhci-mtk 1e1c0000.xhci: irq 20, io mem 0x1e1c0000 [ 5.876309] hub 1-0:1.0: USB hub found [ 5.880125] hub 1-0:1.0: 2 ports detected [ 5.884707] xhci-mtk 1e1c0000.xhci: xHCI Host Controller [ 5.890014] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 2 [ 5.897520] xhci-mtk 1e1c0000.xhci: Host supports USB 3.0 SuperSpeed [ 5.904146] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. [ 5.913054] hub 2-0:1.0: USB hub found [ 5.916866] hub 2-0:1.0: 1 port detected [ 5.923350] kmodloader: done loading kernel modules from /etc/modules-boot.d/* [ 5.951198] init: - preinit - [ 6.092876] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up [ 6.098978] mtk_soc_eth 1e100000.ethernet eth0: port 4 link up [ 6.752310] mtk_soc_eth 1e100000.ethernet: PPE started [ 7.760905] usb 1-2: new high-speed USB device number 2 using xhci-mtk [ 10.159670] jffs2: notice: (466) jffs2_build_xattr_subsystem: complete building xattr subsystem, 6 of xdatum (3 unchecked, 3 orphan) and 68 of xref (3 dead, 1 orphan) found. [ 10.190155] mount_root: loading kmods from internal overlay [ 10.693350] kmodloader: loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/* [ 11.065606] SCSI subsystem initialized [ 11.141937] MTK MSDC device init. [ 11.201229] mtk-sd: MediaTek MT6575 MSDC Driver [ 11.231870] usb-storage 1-2:1.0: USB Mass Storage device detected [ 11.238410] scsi host0: usb-storage 1-2:1.0 [ 11.243355] usbcore: registered new interface driver usb-storage [ 11.259980] mmc0: new high speed SDHC card at address fb83 [ 11.268250] mmcblk0: mmc0:fb83 SE08G 7.22 GiB [ 11.276372] mmcblk0: p1 [ 11.280276] kmodloader: done loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/* [ 11.568074] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab [ 11.579297] block: extroot: not configured [ 11.642001] mount_root: switching to jffs2 overlay [ 11.669708] overlayfs: upper fs does not support tmpfile. [ 11.679509] urandom-seed: Seeding with /etc/urandom.seed [ 11.922586] mtk_soc_eth 1e100000.ethernet: 0x100 = 0x6060000c, 0x10c = 0x80818 [ 11.937691] procd: - early - [ 11.940673] procd: - watchdog - [ 12.321869] scsi 0:0:0:0: Direct-Access YuanTech GD2500-ESATA 2.10 PQ: 0 ANSI: 4 [ 12.332766] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB) [ 12.340996] sd 0:0:0:0: [sda] Write Protect is off [ 12.345792] sd 0:0:0:0: [sda] Mode Sense: 21 00 00 00 [ 12.346392] sd 0:0:0:0: [sda] No Caching mode page found [ 12.351731] sd 0:0:0:0: [sda] Assuming drive cache: write through [ 12.385502] sda: sda1 [ 12.390595] sd 0:0:0:0: [sda] Attached SCSI disk [ 12.891319] procd: - watchdog - [ 12.895091] procd: - ubus - [ 13.010080] procd: - init - [ 13.885042] kmodloader: loading kernel modules from /etc/modules.d/* [ 13.897107] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 14.367142] Netfilter messages via NETLINK v0.30. [ 14.387610] ip_set: protocol 6 [ 14.571345] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180 [ 14.579343] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d [ 14.588659] ip_tables: (C) 2000-2006 Netfilter Core Team [ 14.600788] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: [ 15.127538] nf_conntrack version 0.5.0 (4096 buckets, 16384 max) [ 15.414760] xt_time: kernel timezone is -0000 [ 15.576497] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: [ 15.688219] bus=0x2, slot = 0x1, irq=0xff [ 15.692292] PCI: Enabling device 0000:00:01.0 (0004 -> 0006) [ 15.698092] mt7603e 0000:02:00.0: ASIC revision: 76030010 [ 15.707069] mt7603e 0000:02:00.0: Firmware Version: ap_pcie [ 15.712667] mt7603e 0000:02:00.0: Build Time: 20160107100755 [ 15.750907] firmware init done [ 15.922256] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht' [ 15.930255] bus=0x1, slot = 0x0, irq=0xff [ 15.934368] PCI: Enabling device 0000:00:00.0 (0004 -> 0006) [ 15.940250] mt76x2e 0000:01:00.0: ASIC revision: 76120044 [ 15.971970] mt76x2e 0000:01:00.0: ROM patch build: 20141115060606a [ 16.040407] mt76x2e 0000:01:00.0: Firmware Version: 0.0.00 [ 16.045914] mt76x2e 0000:01:00.0: Build: 1 [ 16.049990] mt76x2e 0000:01:00.0: Build Time: 201507311614____ [ 16.071025] mt76x2e 0000:01:00.0: Firmware running! [ 16.077547] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht' [ 16.087616] PPP generic driver version 2.4.2 [ 16.093751] NET: Registered protocol family 24 [ 16.101381] kmodloader: done loading kernel modules from /etc/modules.d/* [ 25.320700] mtk_soc_eth 1e100000.ethernet: PPE started [ 25.331466] device eth0 entered promiscuous mode [ 25.337772] br-lan: port 1(eth0.1) entered blocking state [ 25.343226] br-lan: port 1(eth0.1) entered disabled state [ 25.349355] device eth0.1 entered promiscuous mode [ 25.358671] br-lan: port 1(eth0.1) entered blocking state [ 25.364147] br-lan: port 1(eth0.1) entered forwarding state [ 25.370154] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready [ 26.075873] pppoe-wan: renamed from ppp0 [ 26.324074] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready [ 28.125026] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready [ 28.139163] br-lan: port 2(wlan1) entered blocking state [ 28.144594] br-lan: port 2(wlan1) entered disabled state [ 28.150550] device wlan1 entered promiscuous mode [ 28.456931] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 28.469866] br-lan: port 3(wlan0) entered blocking state [ 28.475349] br-lan: port 3(wlan0) entered disabled state [ 28.481418] device wlan0 entered promiscuous mode [ 28.486598] br-lan: port 3(wlan0) entered blocking state [ 28.491996] br-lan: port 3(wlan0) entered forwarding state [ 29.105965] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 29.113027] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready [ 29.119697] br-lan: port 2(wlan1) entered blocking state [ 29.125090] br-lan: port 2(wlan1) entered forwarding state [ 130.219970] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 133.062263] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 141.678285] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 144.398431] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 152.205159] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 154.915318] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 231.649560] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 234.405251] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 243.485470] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 246.144439] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 249.536504] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 252.263072] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 259.300763] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 262.025640] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 275.970263] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 278.640875] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 324.001977] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 326.766867] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 374.777763] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 377.540587] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 400.873107] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 403.677608] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 424.666414] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 427.417759] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 442.838761] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 445.543879] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 455.024673] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 457.770186] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 463.371905] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 466.158670] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 468.947547] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 471.648146] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 476.760049] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 479.499951] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 565.039253] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 567.756252] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 587.357716] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 590.040213] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 720.586395] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 723.270453] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 754.191705] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 756.889899] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 820.784417] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 823.528115] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 859.658341] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 862.405335] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 1116.228663] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 1118.890251] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 1170.899256] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 1173.664429] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 1261.155142] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 1263.881640] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 1352.152458] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 1354.896585] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 2126.125036] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 2128.875698] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 2661.579422] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 2664.275040] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 2798.043835] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 2800.756866] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 2807.516116] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 2810.267749] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 3220.367758] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 3223.152987] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 3458.323812] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 3461.030345] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 3595.129452] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 3597.885510] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 3628.309469] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 3631.020629] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 4054.349716] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 4057.013498] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 4269.680573] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 4272.403387] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 4539.192435] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 4541.875369] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 4567.304427] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 4570.022185] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 5099.046520] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 5101.772665] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 5187.726216] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 5190.401219] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 5568.707421] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 5571.403510] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 7176.028092] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 7178.777575] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 7207.046462] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 7209.784014] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 7249.995536] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 7252.766551] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 7315.541212] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 7318.283714] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 7349.124493] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 7351.891678] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 7372.329237] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 7375.013551] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 7376.755123] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 7379.510648] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 7421.800429] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 7424.511169] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 7457.864212] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 7460.646386] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 7538.262499] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 7541.027085] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 7542.757557] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 7545.511335] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 7546.761584] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 7549.515958] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 7551.631899] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 7554.402102] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 8323.549141] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 8326.276313] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 8619.950690] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 8622.656124] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 9594.754844] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 9597.543567] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [10107.974761] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [10110.665185] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [10267.015140] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [10269.776891] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [10277.454975] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [10280.184356] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [10396.441303] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [10399.153574] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [10427.152607] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [10429.889464] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [10728.773645] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [10731.553774] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [11608.546209] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [11611.263709] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [14572.354111] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [14575.042009] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [14605.000359] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [14607.785770] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [14674.656085] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [14677.402165] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [14706.885371] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [14709.678416] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [14756.045219] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [14758.775366] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [14764.368752] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [14767.142308] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [14770.108702] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [14772.760761] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [15629.811614] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [15632.517050] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [15639.808398] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [15642.531272] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [15810.219396] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [15812.893891] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [16041.225765] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [16043.876735] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up

@openwrt-bot
Copy link
Author

yuvadm:

Still happens on 18.06.1

@openwrt-bot
Copy link
Author

yuvadm:

Also tracking on the forum at https://forum.openwrt.org/t/er-x-lan-port-connection-interruption/5709/7

@openwrt-bot
Copy link
Author

NicholasAsimov:

Constantly happens to me as well.
MediaTek MT7621 ver:1 eco:3
OpenWrt 18.06.1 r7258-5eb055306f

[ 1061.865283] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 1064.322364] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 1076.787265] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 1080.527044] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 1090.050896] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 1092.461798] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 1100.641746] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 1103.071606] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 1117.668628] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 1121.386225] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 1131.159693] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 1133.555952] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 1145.542216] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 1148.095645] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 1160.142738] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 1163.945347] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 1173.560738] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 1176.095075] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 1186.187011] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 1188.614819] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 1197.831976] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 1201.569600] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 1211.883538] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 1214.319327] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 1559.125079] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 1561.569057] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 2333.919810] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 2337.663575] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 2350.589182] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 2353.023328] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 2368.298434] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 2370.678101] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 2388.555931] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 2392.362791] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 2406.342071] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down [ 2408.802565] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up

@openwrt-bot
Copy link
Author

xwsnet:

原来以为是一个问题,经过十多天的测试观察,这似乎不是一个问题,当物理接口出现插拔网线时会出现这样一个日志。
I thought it was a problem. After more than ten days of testing and observation, this does not seem to be a problem. When the physical interface is plugged or unplugged, such a log will appear.

mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
mtk_soc_eth 1e100000.ethernet eth0: port 1 link up


[ 0.000000] Linux version 4.14.81 (vimers@ubuntu) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r8463-59ff868)) #0 SMP Thu Nov 15 20:19:37 2018
[ 0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[ 0.000000] MIPS: machine is Newifi-D2
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 1c000000 @ 00000000 (usable)
[ 0.000000] memory: 04000000 @ 20000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] VPE topology {2,2} total 4
[ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x000000000fffffff]
[ 0.000000] HighMem [mem 0x0000000010000000-0x0000000023ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x000000001bffffff]
[ 0.000000] node 0: [mem 0x0000000020000000-0x0000000023ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000023ffffff]
[ 0.000000] On node 0 totalpages: 131072
[ 0.000000] free_area_init_node: node 0, pgdat 80589f20, node_mem_map 81003000
[ 0.000000] Normal zone: 512 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 65536 pages, LIFO batch:15
[ 0.000000] HighMem zone: 65536 pages, LIFO batch:15
[ 0.000000] random: get_random_bytes called from start_kernel+0x90/0x4a4 with crng_init=0
[ 0.000000] percpu: Embedded 14 pages/cpu @81490000 s26192 r8192 d22960 u57344
[ 0.000000] pcpu-alloc: s26192 r8192 d22960 u57344 alloc=144096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 130560
[ 0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Writing ErrCtl register=00005b00
[ 0.000000] Readback ErrCtl register=00005b00
[ 0.000000] Memory: 512948K/524288K available (4451K kernel code, 228K rwdata, 992K rodata, 268K init, 248K bss, 11340K reserved, 0K cma-reserved, 262144K highmem)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS: 256
[ 0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns
[ 0.000010] sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 4880645118ns
[ 0.007820] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[ 0.073976] pid_max: default: 32768 minimum: 301
[ 0.078749] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.085257] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.094129] Hierarchical SRCU implementation.
[ 0.099290] smp: Bringing up secondary CPUs ...
[ 3.587391] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 3.587400] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 3.587413] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 3.587558] CPU1 revision is: 0001992f (MIPS 1004Kc)
[ 0.164042] Synchronize counters for CPU 1: done.
[ 3.305218] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 3.305227] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 3.305235] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 3.305312] CPU2 revision is: 0001992f (MIPS 1004Kc)
[ 0.255069] Synchronize counters for CPU 2: done.
[ 3.394573] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 3.394581] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 3.394589] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 3.394669] CPU3 revision is: 0001992f (MIPS 1004Kc)
[ 0.340247] Synchronize counters for CPU 3: done.
[ 0.370110] smp: Brought up 1 node, 4 CPUs
[ 0.377915] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.387701] futex hash table entries: 1024 (order: 3, 32768 bytes)
[ 0.394028] pinctrl core: initialized pinctrl subsystem
[ 0.400804] NET: Registered protocol family 16
[ 0.415649] FPU Affinity set after 11720 emulations
[ 0.416389] pull PCIe RST: RALINK_RSTCTRL = 0
[ 0.721058] release PCIe RST: RALINK_RSTCTRL = 7000000
[ 0.726090] ***** Xtal 40MHz *****
[ 0.729461] release PCIe RST: RALINK_RSTCTRL = 7000000
[ 0.734570] Port 0 N_FTS = 1b105000
[ 0.738012] Port 1 N_FTS = 1b105000
[ 0.741472] Port 2 N_FTS = 1b102800
[ 1.896491] PCIE2 no card, disable it(RST&CLK)
[ 1.900835] -> 21007f2
[ 1.903254] PCIE0 enabled
[ 1.905844] PCIE1 enabled
[ 1.908467] PCI host bridge /pcie@1e140000 ranges:
[ 1.913210] MEM 0x0000000060000000..0x000000006fffffff
[ 1.918377] IO 0x000000001e160000..0x000000001e16ffff
[ 1.923582] PCI coherence region base: 0xbfbf8000, mask/settings: 0x60000000
[ 1.939446] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 1.945278] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 1.950985] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 1.958017] PCI host bridge to bus 0000:00
[ 1.962055] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[ 1.968889] pci_bus 0000:00: root bus resource [io 0xffffffff]
[ 1.974741] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 1.981502] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 1.989393] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[ 1.989436] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[ 1.989449] pci 0000:00:00.0: reg 0x14: [mem 0x60300000-0x6030ffff]
[ 1.989518] pci 0000:00:00.0: supports D1
[ 1.989527] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[ 1.989791] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400
[ 1.989822] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[ 1.989837] pci 0000:00:01.0: reg 0x14: [mem 0x60310000-0x6031ffff]
[ 1.989895] pci 0000:00:01.0: supports D1
[ 1.989903] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[ 1.990311] pci 0000:01:00.0: [14c3:7662] type 00 class 0x028000
[ 1.990365] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[ 1.990411] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[ 1.990506] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[ 1.990692] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[ 1.990884] pci 0000:02:00.0: [14c3:7603] type 00 class 0x028000
[ 1.990931] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
[ 1.991059] pci 0000:02:00.0: PME# supported from D0 D3hot D3cold
[ 1.991246] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[ 1.991268] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 02
[ 1.991339] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[ 1.997876] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[ 2.004773] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[ 2.011347] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[ 2.018248] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[ 2.025004] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x601fffff pref]
[ 2.032152] pci 0000:00:01.0: BAR 8: assigned [mem 0x60200000-0x602fffff]
[ 2.038909] pci 0000:00:00.0: BAR 1: assigned [mem 0x60300000-0x6030ffff]
[ 2.045644] pci 0000:00:01.0: BAR 1: assigned [mem 0x60310000-0x6031ffff]
[ 2.052401] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit]
[ 2.059645] pci 0000:01:00.0: BAR 6: assigned [mem 0x60100000-0x6010ffff pref]
[ 2.066819] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 2.071725] pci 0000:00:00.0: bridge window [mem 0x60000000-0x600fffff]
[ 2.078477] pci 0000:00:00.0: bridge window [mem 0x60100000-0x601fffff pref]
[ 2.085647] pci 0000:02:00.0: BAR 0: assigned [mem 0x60200000-0x602fffff]
[ 2.092395] pci 0000:00:01.0: PCI bridge to [bus 02]
[ 2.097301] pci 0000:00:01.0: bridge window [mem 0x60200000-0x602fffff]
[ 2.105469] clocksource: Switched to clocksource GIC
[ 2.111858] NET: Registered protocol family 2
[ 2.116925] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[ 2.123813] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[ 2.130241] TCP: Hash tables configured (established 2048 bind 2048)
[ 2.136657] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 2.142425] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 2.148897] NET: Registered protocol family 1
[ 2.153219] PCI: CLS 0 bytes, default 32
[ 2.385408] 4 CPUs re-calibrate udelay(lpj = 2924544)
[ 2.391730] Crashlog allocated RAM at address 0x3f00000
[ 2.397159] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[ 2.409934] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 2.415715] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 2.428161] random: fast init done
[ 2.432352] bounce: pool size: 64 pages
[ 2.436151] io scheduler noop registered
[ 2.439979] io scheduler deadline registered (default)
[ 2.445695] gpio-export gpio_export: 1 gpio(s) exported
[ 2.451608] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[ 2.459366] console [ttyS0] disabled
[ 2.462910] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 18, base_baud = 3125000) is a 16550A
[ 2.471931] console [ttyS0] enabled
[ 2.478809] bootconsole [early0] disabled
[ 2.487408] cacheinfo: Unable to detect cache hierarchy for CPU 0
[ 2.494146] MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error
[ 2.501532] spi-mt7621 1e000b00.spi: sys_freq: 50000000
[ 2.518792] m25p80 spi0.0: w25q256 (32768 Kbytes)
[ 2.523533] 4 fixed-partitions partitions found on MTD device spi0.0
[ 2.529911] Creating 4 MTD partitions on "spi0.0":
[ 2.534689] 0x000000000000-0x000000030000 : "u-boot"
[ 2.540677] 0x000000030000-0x000000040000 : "u-boot-env"
[ 2.546963] 0x000000040000-0x000000050000 : "factory"
[ 2.552857] 0x000000050000-0x000002000000 : "firmware"
[ 2.629553] 2 uimage-fw partitions found on MTD device firmware
[ 2.635503] 0x000000050000-0x00000021d897 : "kernel"
[ 2.641411] 0x00000021d897-0x000002000000 : "rootfs"
[ 2.647275] mtd: device 5 (rootfs) set to be root filesystem
[ 2.653015] 1 squashfs-split partitions found on MTD device rootfs
[ 2.659229] 0x0000007d0000-0x000002000000 : "rootfs_data"
[ 2.666219] libphy: Fixed MDIO Bus: probed
[ 2.737453] libphy: mdio: probed
[ 4.140292] mtk_soc_eth 1e100000.ethernet: loaded mt7530 driver
[ 4.146897] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 20
[ 4.157435] NET: Registered protocol family 10
[ 4.163279] Segment Routing with IPv6
[ 4.167103] NET: Registered protocol family 17
[ 4.171572] 8021q: 802.1Q VLAN Support v1.8
[ 4.178228] hctosys: unable to open rtc device (rtc0)
[ 4.190715] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[ 4.198456] Freeing unused kernel memory: 268K
[ 4.202896] This architecture does not have kernel memory protection.
[ 4.448779] random: crng init done
[ 4.890282] init: Console is alive
[ 4.893934] init: - watchdog -
[ 5.998449] kmodloader: loading kernel modules from /etc/modules-boot.d/

[ 6.094563] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[ 6.104832] usbcore: registered new interface driver usbfs
[ 6.110477] usbcore: registered new interface driver hub
[ 6.115967] usbcore: registered new device driver usb
[ 6.131399] xhci-mtk 1e1c0000.xhci: 1e1c0000.xhci supply vbus not found, using dummy regulator
[ 6.140140] xhci-mtk 1e1c0000.xhci: 1e1c0000.xhci supply vusb33 not found, using dummy regulator
[ 6.149127] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[ 6.154450] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 1
[ 6.165623] xhci-mtk 1e1c0000.xhci: hcc params 0x01401198 hci version 0x96 quirks 0x00210010
[ 6.174108] xhci-mtk 1e1c0000.xhci: irq 19, io mem 0x1e1c0000
[ 6.180894] hub 1-0:1.0: USB hub found
[ 6.184719] hub 1-0:1.0: 2 ports detected
[ 6.189291] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[ 6.194601] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 2
[ 6.202102] xhci-mtk 1e1c0000.xhci: Host supports USB 3.0 SuperSpeed
[ 6.208727] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[ 6.217696] hub 2-0:1.0: USB hub found
[ 6.221516] hub 2-0:1.0: 1 port detected
[ 6.228864] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 6.255802] init: - preinit -
[ 6.450298] mtk_soc_eth 1e100000.ethernet eth0: port 4 link up
[ 7.198782] mtk_soc_eth 1e100000.ethernet: PPE started
[ 10.584660] jffs2: notice: (459) jffs2_build_xattr_subsystem: complete building xattr subsystem, 5 of xdatum (0 unchecked, 3 orphan) and 9 of xref (3 dead, 2 orphan) found.
[ 10.602750] mount_root: switching to jffs2 overlay
[ 10.636357] overlayfs: upper fs does not support tmpfile.
[ 10.651104] urandom-seed: Seeding with /etc/urandom.seed
[ 10.738549] mtk_soc_eth 1e100000.ethernet: 0x100 = 0x6060000c, 0x10c = 0x80818
[ 10.753684] procd: - early -
[ 10.756764] procd: - watchdog -
[ 11.425681] procd: - watchdog -
[ 11.429148] procd: - ubus -
[ 11.516476] procd: - init -
[ 11.932254] kmodloader: loading kernel modules from /etc/modules.d/*
[ 11.979079] tun: Universal TUN/TAP device driver, 1.6
[ 11.987801] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 12.000249] Netfilter messages via NETLINK v0.30.
[ 12.006832] ip_set: protocol 6
[ 12.037231] Loading modules backported from Linux version v4.19-rc5-0-g6bf4ca7fbc85
[ 12.044887] Backport generated by backports.git v4.19-rc5-1-0-g05571dcd
[ 12.053746] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 12.068506] nf_conntrack version 0.5.0 (8192 buckets, 32768 max)
[ 12.135139] xt_time: kernel timezone is -0000
[ 12.189461] bus=0x2, slot = 0x1, irq=0xff
[ 12.193688] mt7603e 0000:02:00.0: ASIC revision: 76030010
[ 12.206630] mt7603e 0000:02:00.0: Firmware Version: ap_pcie
[ 12.212206] mt7603e 0000:02:00.0: Build Time: 20160107100755
[ 12.255459] mt7603e 0000:02:00.0: firmware init done
[ 12.425661] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 12.438172] bus=0x1, slot = 0x0, irq=0xff
[ 12.442498] mt76x2e 0000:01:00.0: ASIC revision: 76120044
[ 13.170228] mt76x2e 0000:01:00.0: ROM patch build: 20141115060606a
[ 13.179981] mt76x2e 0000:01:00.0: Firmware Version: 0.0.00
[ 13.185510] mt76x2e 0000:01:00.0: Build: 1
[ 13.189591] mt76x2e 0000:01:00.0: Build Time: 201507311614____
[ 13.215464] mt76x2e 0000:01:00.0: Firmware running!
[ 13.223238] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[ 13.231867] PPP generic driver version 2.4.2
[ 13.237822] NET: Registered protocol family 24
[ 13.245575] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 19.778007] mtk_soc_eth 1e100000.ethernet: PPE started
[ 19.790322] br-lan: port 1(eth0.1) entered blocking state
[ 19.795820] br-lan: port 1(eth0.1) entered disabled state
[ 19.801965] device eth0.1 entered promiscuous mode
[ 19.807071] device eth0 entered promiscuous mode
[ 19.814716] br-lan: port 1(eth0.1) entered blocking state
[ 19.820179] br-lan: port 1(eth0.1) entered forwarding state
[ 19.826256] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 20.835956] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 3266.138204] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[ 3277.604339] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[ 3278.798627] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[ 3281.669537] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[ 3443.737696] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[ 3446.669939] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[ 3601.237307] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[ 3604.603614] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[72354.462415] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[72358.741191] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[72364.420580] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[72367.614989] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[72370.322274] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[72374.634948] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[79476.145932] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[79478.121321] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[79491.291070] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[79495.059054] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[79506.687352] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[79509.629605] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[87589.910804] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[87592.934970] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[129189.885805] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[129194.157079] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[129199.899303] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[129201.638537] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[129205.848122] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[129208.936807] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[129843.790359] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[129846.894017] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[142822.116068] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[142826.377400] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[142832.191132] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[142833.738430] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[142838.078570] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[142841.151792] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[174587.646531] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[174589.387277] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[174602.831057] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[174606.589006] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[174617.990090] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[174621.006709] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[194926.005743] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[194929.091452] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[226497.679004] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[226501.899333] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[226507.675585] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[226509.251692] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[226513.633721] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[226516.770692] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[227886.575541] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[227904.466071] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[229085.810973] vlan egress tag control neither untag nor tag.
[316470.581804] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[316518.465752] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[317076.105611] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[317078.899473] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[317082.811383] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[317138.580853] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[357112.190484] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[357112.203651] br-lan: port 2(wlan0) entered blocking state
[357112.209311] br-lan: port 2(wlan0) entered disabled state
[357112.215609] device wlan0 entered promiscuous mode
[357112.228805] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[357112.235743] br-lan: port 2(wlan0) entered blocking state
[357112.241245] br-lan: port 2(wlan0) entered forwarding state
[357157.348452] device wlan0 left promiscuous mode
[357157.353250] br-lan: port 2(wlan0) entered disabled state
[358268.708095] mtk_soc_eth 1e100000.ethernet eth0: port 0 link up
[359420.476655] mtk_soc_eth 1e100000.ethernet eth0: port 0 link down
[360957.471502] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[360959.874218] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[399002.238781] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[399006.554429] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[399012.252257] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[399013.988128] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[399018.541488] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[399021.696807] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[502380.506280] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[502382.255679] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[502396.146590] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[502400.011321] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[502615.553059] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[502618.709194] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[502629.251720] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[502632.298624] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[502735.689527] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[502737.365975] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[502744.583614] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[502748.829443] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[502754.666248] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[502756.303036] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[502762.897826] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[502766.131013] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[509776.793105] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[510337.649800] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[512942.074358] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[513350.205708] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[518079.777856] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[518122.413714] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[519211.144834] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[519285.242512] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[520059.810311] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[520119.348253] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up

@openwrt-bot
Copy link
Author

lollul:

I have Xiaomi WIFI 3G on SNAPSHOT r8614-78ca6a5.
Had severe issues with port 1 going down and up all the time. Port 1 was connected as WAN to a Huawei B315s which was also detected by mwan3track. The best I could come up with was to change the switch configuration and use one of the two Xiaomi's LAN ports as wan. The B315s is now connected to port 2 of Xiaomi and port 1 is not used. Same cable. Had no disconnects for more than a day now.

@openwrt-bot
Copy link
Author

peter:

[80475.212441] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[80500.084908] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[80514.118736] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[80530.638101] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[80544.710893] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[80599.730817] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[80613.723922] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[80721.179022] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[80735.217097] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[80777.382123] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[80791.541256] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[80798.861232] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[80813.063231] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[80830.543300] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down

and so on...
openwrt-8ba8cc25482534c-ramips-mt7621-mir3g-squashfs-sysupgrade.bin

Freezes the connection to the Internet.

it was not a problem on stable.

@openwrt-bot
Copy link
Author

peter:

Fixed by changing port and cable. (still strange that stable haven't reported up/downs)

@openwrt-bot
Copy link
Author

Vladdrako:

Please check, if the link down only on 100mbit devices connected to the router or not? I have Xiaomi Mi Router 3G and link down only on 100mbit connection, on 1Gbit no problem.

@openwrt-bot
Copy link
Author

pierunie:

Same problem appeared in logs in my Mikrotik RB750Gr3 (mt7621) after update to OpenWrt 19.07-SNAPSHOT r10731-e68d589e7b, though there are no performance issues.

Sun Dec 1 12:07:18 2019 kern.info kernel: [ 5362.844923] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up
Sun Dec 1 12:07:20 2019 kern.info kernel: [ 5364.121162] mtk_soc_eth 1e100000.ethernet eth0: port 2 link down
Sun Dec 1 12:07:22 2019 kern.info kernel: [ 5366.514874] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up
Sun Dec 1 12:08:05 2019 kern.info kernel: [ 5409.514463] mtk_soc_eth 1e100000.ethernet eth0: port 2 link down
Sun Dec 1 12:08:09 2019 kern.info kernel: [ 5413.818387] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up

@openwrt-bot
Copy link
Author

ptpt52:

same problem on kernel 5.4 with DSA driver also

it happens on connecting to 100Mbps devices only
on 1000Mbps devices never happens

@openwrt-bot
Copy link
Author

ptpt52:

Every time it happens, the connection interruption for 2-3 seconds

@openwrt-bot
Copy link
Author

resadent:

Happens to me as well with 19.07.2.

@openwrt-bot
Copy link
Author

ptpt52:

I post a fix for this issue
#2847

@openwrt-bot
Copy link
Author

resadent:

Thank you Chen, I will be testing very soon.

@openwrt-bot
Copy link
Author

resadent:

Hi. For me the problem still persists. I'm afraid the solution is not working :(.

[ 4739.463088] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[ 4742.352628] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[ 4746.087402] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[ 4748.759444] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up

@openwrt-bot
Copy link
Author

andalerom:

Same problem. v19.07.3.
"port 4 link down/up", WAN port, 100mbit.

Seems switching from port 4 to 1 helped. (same cable)

@openwrt-bot
Copy link
Author

md83:

Also happens with Gigabit-Ethernet.
Cudy WR1300, OpenWrt 19.07.3 r11063-85e04e9f46

[161743.368999] mtk_soc_eth 1e100000.ethernet eth0: port 3 link down [161746.426791] mtk_soc_eth 1e100000.ethernet eth0: port 3 link up

But is Port "LAN1" = eth0: port 3?

@openwrt-bot
Copy link
Author

Jeronimo17:

Modelo
Newifi-D2
Arquitectura
MediaTek MT7621 ver:1 eco:3
Versión del firmware
OpenWrt 19.07.4 r11208-ce6496d796 / LuCI openwrt-19.07 branch git-20.247.75781-0d0ab01

[ 38.182117] nf_conntrack: default automatic helper assignment has been turned off for security reasons and CT-based firewall rule not found. Use the iptables CT target to attach helpers instead.
[31777.242898] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[31789.952383] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[31792.624497] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[34876.017443] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[34878.755717] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[42933.731495] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[42936.522773] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[45796.228202] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[45798.719331] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[45805.781058] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[74175.166263] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[74189.676252] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[74192.418049] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[76040.872821] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[76045.817123] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[76065.194283] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[76067.880387] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[79487.421292] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[80786.604203] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[80813.530154] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[80816.121221] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[88353.058094] vlan egress tag control neither untag nor tag.
[88406.407309] vlan egress tag control neither untag nor tag.
[88406.517265] vlan egress tag control neither untag nor tag.
[88441.826751] vlan egress tag control neither untag nor tag.
[88457.556631] vlan egress tag control neither untag nor tag.
[88870.380736] vlan egress tag control neither untag nor tag.
[88870.710742] vlan egress tag control neither untag nor tag.
[88870.716231] vlan egress tag control neither untag nor tag.
[88902.180291] vlan egress tag control neither untag nor tag.
[88902.185779] vlan egress tag control neither untag nor tag.
[88902.730283] vlan egress tag control neither untag nor tag.
[88902.735771] vlan egress tag control neither untag nor tag.
[88912.300164] vlan egress tag control neither untag nor tag.
[88916.920066] vlan egress tag control neither untag nor tag.
[88916.925554] vlan egress tag control neither untag nor tag.
[88921.650002] vlan egress tag control neither untag nor tag.
[88921.655492] vlan egress tag control neither untag nor tag.
[88921.660978] vlan egress tag control neither untag nor tag.
[88922.199999] vlan egress tag control neither untag nor tag.
[88922.205490] vlan egress tag control neither untag nor tag.
[88929.679880] vlan egress tag control neither untag nor tag.
[88930.009900] vlan egress tag control neither untag nor tag.
[88930.449895] vlan egress tag control neither untag nor tag.
[88930.889972] vlan egress tag control neither untag nor tag.
[88930.895457] vlan egress tag control neither untag nor tag.
[88933.749922] vlan egress tag control neither untag nor tag.
[88933.755420] vlan egress tag control neither untag nor tag.
[88944.199684] vlan egress tag control neither untag nor tag.
[88944.205173] vlan egress tag control neither untag nor tag.
[88951.799646] vlan egress tag control neither untag nor tag.
[88951.805142] vlan egress tag control neither untag nor tag.
[88951.810675] vlan egress tag control neither untag nor tag.
[88952.019598] vlan egress tag control neither untag nor tag.
[88952.025086] vlan egress tag control neither untag nor tag.
[88952.030590] vlan egress tag control neither untag nor tag.
[88952.239570] vlan egress tag control neither untag nor tag.
[88952.245053] vlan egress tag control neither untag nor tag.
[88952.250545] vlan egress tag control neither untag nor tag.
[88967.869432] vlan egress tag control neither untag nor tag.
[88967.874924] vlan egress tag control neither untag nor tag.
[88967.979352] vlan egress tag control neither untag nor tag.
[88967.984832] vlan egress tag control neither untag nor tag.
[89063.018114] vlan egress tag control neither untag nor tag.
[89063.128019] vlan egress tag control neither untag nor tag.
[89063.238077] vlan egress tag control neither untag nor tag.
[89063.678048] vlan egress tag control neither untag nor tag.
[89063.898039] vlan egress tag control neither untag nor tag.
[89064.118042] vlan egress tag control neither untag nor tag.
[89176.986515] vlan egress tag control neither untag nor tag.
[95278.074690] mtk_soc_eth 1e100000.ethernet eth0: port 2 link down
[95310.506810] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up
[95323.866288] mtk_soc_eth 1e100000.ethernet eth0: port 2 link down
[95326.306719] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up
[103311.828879] mtk_soc_eth 1e100000.ethernet eth0: port 2 link down
[103316.234784] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up
[103329.319130] mtk_soc_eth 1e100000.ethernet eth0: port 2 link down
[103331.664693] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up
[113081.030135] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[113083.618897] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[123536.394698] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[123539.176036] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[123549.478771] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[123554.074219] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[129578.890790] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[129581.259675] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[129588.049467] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[162327.993771] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[162346.677454] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[162349.454851] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up

@ynezz
Copy link
Member

ynezz commented May 23, 2022

Try to reproduce it with latest 22.03-rc2 or development snapshot and report back, we can re-open the ticket.

@ynezz ynezz closed this as completed May 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants