root@OpenWrt:/# dmesg [ 0.000000] Linux version 5.10.75 (mangix@ryzen) (mips-openwrt-linux-musl-gcc (OpenWrt GCC 11.2.0 r17876+50-f5d071a508) 11.2.0, GNU ld (GNU Binutils) 2.37) #0 Fri Oct 29 20:39:01 2021 [ 0.000000] printk: bootconsole [early0] enabled [ 0.000000] CPU0 revision is: 00019750 (MIPS 74Kc) [ 0.000000] MIPS: machine is LibreRouter v1 [ 0.000000] SoC: Qualcomm Atheros QCA9558 ver 1 rev 0 [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes. [ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x0000000000000000-0x0000000007ffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x0000000007ffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff] [ 0.000000] On node 0 totalpages: 32768 [ 0.000000] Normal zone: 288 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 32768 pages, LIFO batch:7 [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32480 [ 0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2 [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear) [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear) [ 0.000000] Writing ErrCtl register=00000000 [ 0.000000] Readback ErrCtl register=00000000 [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 120708K/131072K available (5760K kernel code, 597K rwdata, 1244K rodata, 1220K init, 201K bss, 10364K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS: 51 [ 0.000000] random: get_random_bytes called from start_kernel+0x3c0/0x5b0 with crng_init=0 [ 0.000000] CPU clock: 720.000 MHz [ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5309056796 ns [ 0.000008] sched_clock: 32 bits at 360MHz, resolution 2ns, wraps every 5965232126ns [ 0.008292] Calibrating delay loop... 358.80 BogoMIPS (lpj=1794048) [ 0.074977] pid_max: default: 32768 minimum: 301 [ 0.080032] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.087809] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.097625] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build [ 0.108470] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.118968] futex hash table entries: 256 (order: -1, 3072 bytes, linear) [ 0.126289] pinctrl core: initialized pinctrl subsystem [ 0.132683] NET: Registered protocol family 16 [ 0.188539] clocksource: Switched to clocksource MIPS [ 0.194999] NET: Registered protocol family 2 [ 0.199804] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear) [ 0.207969] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear) [ 0.216954] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.225128] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.232641] TCP: Hash tables configured (established 1024 bind 1024) [ 0.239514] UDP hash table entries: 256 (order: 0, 4096 bytes, linear) [ 0.246479] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear) [ 0.254162] NET: Registered protocol family 1 [ 0.258857] PCI: CLS 0 bytes, default 32 [ 0.268514] workingset: timestamp_bits=14 max_order=15 bucket_order=1 [ 0.279036] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.285246] jffs2: version 2.2 (NAND) (SUMMARY) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.299632] pinctrl-single 1804002c.pinmux: 544 pins, size 68 [ 0.306718] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled [ 0.314140] printk: console [ttyS0] disabled [ 0.318796] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 2500000) is a 16550A [ 0.327976] printk: console [ttyS0] enabled [ 0.336884] printk: bootconsole [early0] disabled [ 0.356265] spi-nor spi0.0: w25q128 (16384 Kbytes) [ 0.361219] 6 fixed-partitions partitions found on MTD device spi0.0 [ 0.367665] Creating 6 MTD partitions on "spi0.0": [ 0.372557] 0x000000000000-0x000000040000 : "u-boot" [ 0.380770] 0x000000040000-0x000000050000 : "u-boot-env" [ 0.386910] 0x000000050000-0x000000810000 : "firmware" [ 0.394416] 2 uimage-fw partitions found on MTD device firmware [ 0.400473] Creating 2 MTD partitions on "firmware": [ 0.405519] 0x000000000000-0x000000240000 : "kernel" [ 0.411959] 0x000000240000-0x0000007c0000 : "rootfs" [ 0.417680] mtd: device 4 (rootfs) set to be root filesystem [ 0.424209] 1 squashfs-split partitions found on MTD device rootfs [ 0.430539] 0x0000007a0000-0x0000007c0000 : "rootfs_data" [ 0.437433] 0x000000810000-0x000000fe0000 : "fw2" [ 0.443023] 0x000000fd0000-0x000000ff0000 : "res" [ 0.449924] 0x000000ff0000-0x000001000000 : "art" [ 0.460521] libphy: Fixed MDIO Bus: probed [ 0.831132] libphy: ag71xx_mdio: probed [ 0.838971] ag71xx 19000000.eth: connected to PHY at fixed-0:00 [uid=00000000, driver=Generic PHY] [ 0.848617] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: rgmii [ 1.190446] ag71xx 1a000000.eth: connected to PHY at fixed-0:01 [uid=00000000, driver=Generic PHY] [ 1.200118] eth1: Atheros AG71xx at 0xba000000, irq 5, mode: sgmii [ 1.206592] i2c /dev entries driver [ 1.210352] ath79-wdt 18060008.wdt: unable to register misc device, err=-16 [ 1.217429] ath79-wdt: probe of 18060008.wdt failed with error -16 [ 1.225075] NET: Registered protocol family 10 [ 1.234906] Segment Routing with IPv6 [ 1.238763] NET: Registered protocol family 17 [ 1.243520] 8021q: 802.1Q VLAN Support v1.8 [ 1.248428] PCI host bridge /ahb/pcie-controller@180c0000 ranges: [ 1.254684] MEM 0x0000000010000000..0x0000000011ffffff [ 1.259998] IO 0x0000000000000000..0x0000000000000000 [ 1.265469] PCI host bridge to bus 0000:00 [ 1.269661] pci_bus 0000:00: root bus resource [mem 0x10000000-0x11ffffff] [ 1.276629] pci_bus 0000:00: root bus resource [io 0x0000] [ 1.282291] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0] [ 1.289187] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff] [ 1.297260] pci 0000:00:00.0: [168c:0033] type 00 class 0x028000 [ 1.303403] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x0001ffff 64bit] [ 1.310346] pci 0000:00:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref] [ 1.317215] pci 0000:00:00.0: supports D1 [ 1.321293] pci 0000:00:00.0: PME# supported from D0 D1 D3hot [ 1.328267] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00 [ 1.335028] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1001ffff 64bit] [ 1.342480] pci 0000:00:00.0: BAR 6: assigned [mem 0x10020000-0x1002ffff pref] [ 1.350080] PCI host bridge /ahb/pcie-controller@18250000 ranges: [ 1.356291] MEM 0x0000000012000000..0x0000000013ffffff [ 1.361635] IO 0x0000000000000001..0x0000000000000001 [ 1.367082] PCI host bridge to bus 0000:01 [ 1.371277] pci_bus 0000:01: root bus resource [mem 0x12000000-0x13ffffff] [ 1.378251] pci_bus 0000:01: root bus resource [io 0x0001] [ 1.383913] pci_bus 0000:01: root bus resource [??? 0x00000000 flags 0x0] [ 1.390800] pci_bus 0000:01: No busn resource found for root bus, will use [bus 01-ff] [ 1.398883] pci 0000:01:00.0: [168c:0033] type 00 class 0x028000 [ 1.405010] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x0001ffff 64bit] [ 1.411955] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref] [ 1.418831] pci 0000:01:00.0: supports D1 [ 1.422893] pci 0000:01:00.0: PME# supported from D0 D1 D3hot [ 1.429854] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01 [ 1.436585] pci 0000:01:00.0: BAR 0: assigned [mem 0x12000000-0x1201ffff 64bit] [ 1.444056] pci 0000:01:00.0: BAR 6: assigned [mem 0x12020000-0x1202ffff pref] [ 1.456657] libphy: qca8k slave mii: probed [ 1.524454] qca8k mdio.0:00: configuring for fixed/rgmii-id link mode [ 1.538200] qca8k mdio.0:00: Link is Up - 1Gbps/Full - flow control off [ 1.632463] qca8k mdio.0:00 lan (uninitialized): PHY [qca8k-0:03] driver [Qualcomm Atheros 8337 internal PHY] (irq=POLL) [ 1.722466] qca8k mdio.0:00 wan (uninitialized): PHY [qca8k-0:04] driver [Qualcomm Atheros 8337 internal PHY] (irq=POLL) [ 1.736960] qca8k mdio.0:00: configuring for fixed/sgmii link mode [ 1.746234] DSA: tree 0 setup [ 1.751560] qca8k mdio.0:00: Link is Up - 1Gbps/Full - flow control off [ 1.764340] VFS: Mounted root (squashfs filesystem) readonly on device 31:4. [ 1.775934] Freeing unused kernel memory: 1220K [ 1.780563] This architecture does not have kernel memory protection. [ 1.787100] Run /sbin/init as init process [ 1.791260] with arguments: [ 1.791264] /sbin/init [ 1.791268] with environment: [ 1.791272] HOME=/ [ 1.791276] TERM=linux [ 2.168549] random: fast init done [ 2.428115] init: Console is alive [ 2.432047] init: - watchdog - [ 4.561130] kmodloader: loading kernel modules from /etc/modules-boot.d/* [ 4.609686] usbcore: registered new interface driver usbfs [ 4.615308] usbcore: registered new interface driver hub [ 4.620818] usbcore: registered new device driver usb [ 4.639053] raid6: skip pq benchmark and using algorithm int32x8 [ 4.645155] raid6: using intx1 recovery algorithm [ 4.651090] xor: measuring software checksum speed [ 4.673698] 8regs : 557 MB/sec [ 4.695795] 8regs_prefetch : 556 MB/sec [ 4.711937] 32regs : 839 MB/sec [ 4.729372] 32regs_prefetch : 755 MB/sec [ 4.733787] xor: using function: 32regs (839 MB/sec) [ 5.118494] Btrfs loaded, crc32c=crc32c-generic [ 5.129622] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 5.154252] SCSI subsystem initialized [ 5.166430] usbcore: registered new interface driver usb-storage [ 5.174200] kmodloader: done loading kernel modules from /etc/modules-boot.d/* [ 5.183178] init: - preinit - [ 6.844486] random: jshn: uninitialized urandom read (4 bytes read) [ 6.896894] random: jshn: uninitialized urandom read (4 bytes read) [ 6.946176] random: jshn: uninitialized urandom read (4 bytes read) [ 7.066689] eth0: link up (1000Mbps/Full duplex) [ 7.071624] qca8k mdio.0:00 lan: configuring for phy/internal link mode [ 7.078427] 8021q: adding VLAN 0 to HW filter on device lan [ 7.084261] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 7.096446] qca8k mdio.0:00 lan: Link is Up - 1Gbps/Full - flow control rx/tx [ 7.116994] IPv6: ADDRCONF(NETDEV_CHANGE): lan: link becomes ready [ 11.422311] Too few erase blocks (2) [ 11.426547] mount_root: failed to mount -t jffs2 /dev/mtdblock5 /tmp/overlay: Invalid argument [ 11.435786] mount_root: overlay filesystem has not been fully initialized yet [ 11.444030] mount_root: switching to jffs2 overlay [ 11.449259] mount_root: switching to jffs2 failed - fallback to ramoverlay [ 11.463577] urandom-seed: Seed file not found (/etc/urandom.seed) [ 11.586987] qca8k mdio.0:00 lan: Link is Down [ 11.607852] procd: - early - [ 11.611689] procd: - watchdog - [ 12.283478] procd: - watchdog - [ 12.313179] procd: - ubus - [ 12.435589] urandom_read: 3 callbacks suppressed [ 12.435597] random: ubusd: uninitialized urandom read (4 bytes read) [ 12.448906] random: ubusd: uninitialized urandom read (4 bytes read) [ 12.455801] random: ubusd: uninitialized urandom read (4 bytes read) [ 12.465296] procd: - init - [ 13.725241] kmodloader: loading kernel modules from /etc/modules.d/* [ 14.130580] urngd: v1.0.2 started. [ 14.302508] random: crng init done [ 14.305971] random: 1 urandom warning(s) missed due to ratelimiting [ 14.312999] Key type cifs.idmap registered [ 14.332997] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver [ 14.603618] Loading modules backported from Linux version v5.15-rc6-0-g519d81956ee2 [ 14.611430] Backport generated by backports.git v5.15-rc6-1-0-gd44432d6 [ 14.774826] xt_time: kernel timezone is -0000 [ 15.291157] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information. [ 15.299157] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld . All Rights Reserved. [ 15.525557] ath: EEPROM regdomain sanitized [ 15.525571] ath: EEPROM regdomain: 0x64 [ 15.525576] ath: EEPROM indicates we should expect a direct regpair map [ 15.525596] ath: Country alpha2 being used: 00 [ 15.525600] ath: Regpair used: 0x64 [ 15.541931] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht' [ 15.543654] ieee80211 phy0: Atheros AR9550 Rev:0 mem=0xb8100000, irq=13 [ 15.550742] ath9k 0000:00:00.0: enabling device (0000 -> 0002) [ 15.648823] ath: EEPROM regdomain sanitized [ 15.648835] ath: EEPROM regdomain: 0x64 [ 15.648840] ath: EEPROM indicates we should expect a direct regpair map [ 15.648860] ath: Country alpha2 being used: 00 [ 15.648864] ath: Regpair used: 0x64 [ 15.658316] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht' [ 15.660156] ieee80211 phy1: Atheros AR9300 Rev:4 mem=0xb0000000, irq=18 [ 15.667051] ath9k 0000:01:00.0: enabling device (0000 -> 0002) [ 15.765156] ath: EEPROM regdomain sanitized [ 15.765169] ath: EEPROM regdomain: 0x64 [ 15.765174] ath: EEPROM indicates we should expect a direct regpair map [ 15.765194] ath: Country alpha2 being used: 00 [ 15.765199] ath: Regpair used: 0x64 [ 15.774701] ieee80211 phy2: Selected rate control algorithm 'minstrel_ht' [ 15.776523] ieee80211 phy2: Atheros AR9300 Rev:4 mem=0xb2000000, irq=19 [ 16.439007] kmodloader: done loading kernel modules from /etc/modules.d/* [ 106.055221] eth0: link down [ 106.075774] eth0: link up (1000Mbps/Full duplex) [ 106.088605] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 106.102277] qca8k mdio.0:00 lan: configuring for phy/internal link mode [ 106.188665] 8021q: adding VLAN 0 to HW filter on device lan [ 106.198273] br-lan: port 1(lan) entered blocking state [ 106.203548] br-lan: port 1(lan) entered disabled state [ 106.211468] device lan entered promiscuous mode [ 106.216071] device eth0 entered promiscuous mode [ 106.270342] qca8k mdio.0:00 wan: configuring for phy/internal link mode [ 106.277192] 8021q: adding VLAN 0 to HW filter on device wan [ 109.300663] qca8k mdio.0:00 lan: Link is Up - 1Gbps/Full - flow control rx/tx [ 109.307936] br-lan: port 1(lan) entered blocking state [ 109.313180] br-lan: port 1(lan) entered forwarding state [ 109.324231] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready root@OpenWrt:/# root@OpenWrt:/# ip a 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 1502 qdisc fq_codel state UP qlen 1000 link/ether a8:40:41:1e:fa:02 brd ff:ff:ff:ff:ff:ff inet6 fe80::aa40:41ff:fe1e:fa02/64 scope link valid_lft forever preferred_lft forever 3: eth1: mtu 1502 qdisc noop state DOWN qlen 1000 link/ether a8:40:41:1e:fa:03 brd ff:ff:ff:ff:ff:ff 4: lan@eth0: mtu 1500 qdisc noqueue master br-lan state UP qlen 1000 link/ether a8:40:41:1e:fa:02 brd ff:ff:ff:ff:ff:ff 5: wan@eth0: mtu 1500 qdisc noqueue state LOWERLAYERDOWN qlen 1000 link/ether a8:40:41:1e:fa:02 brd ff:ff:ff:ff:ff:ff 6: sit0@NONE: mtu 1480 qdisc noop state DOWN qlen 1000 link/sit 0.0.0.0 brd 0.0.0.0 7: wlan0: mtu 1500 qdisc noop state DOWN qlen 1000 link/ether a8:40:41:1e:fa:00 brd ff:ff:ff:ff:ff:ff 8: wlan1: mtu 1500 qdisc noop state DOWN qlen 1000 link/ether a8:40:41:1c:83:d9 brd ff:ff:ff:ff:ff:ff 9: wlan2: mtu 1500 qdisc noop state DOWN qlen 1000 link/ether a8:40:41:1c:84:53 brd ff:ff:ff:ff:ff:ff 10: br-lan: mtu 1500 qdisc noqueue state UP qlen 1000 link/ether a8:40:41:1e:fa:02 brd ff:ff:ff:ff:ff:ff inet 192.168.1.1/24 brd 192.168.1.255 scope global br-lan valid_lft forever preferred_lft forever inet6 fdfb:f7c:9fc3::1/60 scope global noprefixroute valid_lft forever preferred_lft forever inet6 fe80::aa40:41ff:fe1e:fa02/64 scope link valid_lft forever preferred_lft forever root@OpenWrt:/# ethtool eth0 # This is WAN/CPU Settings for eth0: Supported ports: [ TP MII ] Supported link modes: 1000baseT/Full Supported pause frame use: Symmetric Receive-only Supports auto-negotiation: Yes Supported FEC modes: Not reported Advertised link modes: 1000baseT/Full Advertised pause frame use: Symmetric Receive-only Advertised auto-negotiation: Yes Advertised FEC modes: Not reported Link partner advertised link modes: 1000baseT/Full Link partner advertised pause frame use: No Link partner advertised auto-negotiation: No Link partner advertised FEC modes: Not reported Speed: 1000Mb/s Duplex: Full Port: MII PHYAD: 0 Transceiver: external Auto-negotiation: on Current message level: 0x000000ff (255) drv probe link timer ifdown ifup rx_err tx_err Link detected: yes root@OpenWrt:/# ethtool eth1 # LAN/CPU Settings for eth1: Supported ports: [ TP MII ] Supported link modes: 1000baseT/Full Supported pause frame use: Symmetric Receive-only Supports auto-negotiation: Yes Supported FEC modes: Not reported Advertised link modes: 1000baseT/Full Advertised pause frame use: No Advertised auto-negotiation: Yes Advertised FEC modes: Not reported Speed: 1000Mb/s Duplex: Full Port: MII PHYAD: 1 Transceiver: external Auto-negotiation: on Current message level: 0x000000ff (255) drv probe link timer ifdown ifup rx_err tx_err Link detected: no root@OpenWrt:/# ethtool lan Settings for lan: Supported ports: [ TP MII ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Supported pause frame use: Symmetric Receive-only Supports auto-negotiation: Yes Supported FEC modes: Not reported Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Advertised pause frame use: Symmetric Receive-only Advertised auto-negotiation: Yes Advertised FEC modes: Not reported Link partner advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Link partner advertised pause frame use: Symmetric Receive-only Link partner advertised auto-negotiation: Yes Link partner advertised FEC modes: Not reported Speed: 1000Mb/s Duplex: Full Port: Twisted Pair PHYAD: 3 Transceiver: internal Auto-negotiation: on MDI-X: Unknown Supports Wake-on: d Wake-on: d Link detected: yes