Network NIC got error packets when porting new device

Hi, i'm trying to porting openwrt to a new device. The soc is 88F6282 and the switch is 88E6095F. I managed to recorgnize switch but still no Internet, however if I try to ping from the device, eth0 rx errors grows. Any suggestions?

// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
 
/dts-v1/;
 
#include "kirkwood.dtsi"
#include "kirkwood-6282.dtsi"
 
/ {
	model = "Cisco Systems CVR328W-K9-CN";
	compatible = "cisco,cvr328w", "cisco,cybertan", "marvell,kirkwood-88f6282", "marvell,kirkwood";
 
	aliases {
		led-boot = &led_power;
		led-failsafe = &led_sys_red;
		led-running = &led_power;
		led-upgrade = &led_sys_green;
		serial0 = &uart0;
	};
 
	chosen {
		/*
		 * "root" argument from the stock bootloader should be ignored
		 * as it'll prevent the kernel from finding the correct rootfs.
		 */
		bootargs-append = " root=";
		stdout-path = "serial0:115200n8";
	};
 
	memory@0 {
		device_type = "memory";
		reg = <0x00000000 0x10000000>;
	};
 
	gpio-keys {
		compatible = "gpio-keys";
		pinctrl-0 = <&pmx_buttons>;
		pinctrl-names = "default";
 
		reset {
			label = "reset";
			gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
			linux,code = <KEY_RESTART>;
		};
	};
 
	gpio-leds {
		compatible = "gpio-leds";
		pinctrl-0 = <&pmx_leds>;
		pinctrl-names = "default";
 
		led_sys_green: sys-green {
			label = "green:sys";
			gpios = <&gpio1 8 GPIO_ACTIVE_LOW>;
		};
 
		led_power: power {
			label = "green:power";
			gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
		};
 
		/*
		 * Note: sys-green and sys-red cannot be activated simultaneously
		 */
		led_sys_red: sys-red {
			label = "red:sys";
			gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
		};
 
		vpn {
			label = "green:vpn";
			gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
		};
 
		usb {
			label = "green:usb";
			gpios = <&gpio1 12 GPIO_ACTIVE_HIGH>;
			trigger-sources = <&hub_port1>;
			linux,default-trigger = "usbport";
		};
 
		3g {
			label = "green:3g";
			gpios = <&gpio1 16 GPIO_ACTIVE_HIGH>;
			trigger-sources = <&hub_port4>;
			linux,default-trigger = "usbport";
		};
 
		nms {
			label = "green:nms";
			gpios = <&gpio1 17 GPIO_ACTIVE_LOW>;
		};
	};
};
 
&eth0 {
	status = "okay";
 
	ethernet0-port@0 {
		speed = <1000>;
		duplex = <1>;
	};
};
 
&mdio {
	status = "okay";
 
	switch0: switch@0 {
		/* Marvell 88E6095F */
		compatible = "marvell,mv88e6085";
		reg = <0>;
 
		ports {
			#address-cells = <1>;
			#size-cells = <0>;
 
			port@0 {
				reg = <0>;
				label = "lan1";
			};
 
			port@1 {
				reg = <1>;
				label = "lan2";
			};
 
			port@2 {
				reg = <2>;
				label = "lan3";
			};
 
			port@3 {
				reg = <3>;
				label = "lan4";
			};
 
			port@4 {
				reg = <4>;
				label = "lan5";
			};
 
			port@5 {
				reg = <5>;
				label = "lan6";
			};
 
			port@6 {
				reg = <6>;
				label = "lan7";
			};
 
			port@7 {
				reg = <7>;
				label = "lan8";
			};
 
			port@8 {
				reg = <8>;
				label = "lan0";
			};
 
			switch0port9: port@9 {
				reg = <9>;
				label = "cpu";
				phy-mode = "gmii";
				ethernet = <&eth0port>;
 
				fixed-link {
					speed = <1000>;
					full-duplex;
				};
			};
 
			port@a {
				reg = <10>;
				label = "wan0";
			};
		};
 
		mdio {
			#address-cells = <1>;
			#size-cells = <0>;
 
			lan1phy: switch0phy0@0 {
				reg = <0>;
			};
 
			lan2phy: switch0phy1@1 {
				reg = <1>;
			};
 
			lan3phy: switch0phy2@2 {
				reg = <2>;
			};
 
			lan4phy: switch0phy3@3 {
				reg = <3>;
			};
 
			lan5phy: switch0phy4@4 {
				reg = <4>;
			};
 
			lan6phy: switch0phy5@5 {
				reg = <5>;
			};
 
			lan7phy: switch0phy6@6 {
				reg = <6>;
			};
 
			lan8phy: switch0phy7@7 {
				reg = <7>;
			};
 
			lan0phy: ethernet-phy@8 {
				/* Marvell 88E1112 */
				reg = <8>;
				/* Disable WAN1 LED */
				marvell,reg-init = <3 16 0xff0f 0x80>;
			};
 
			wan0phy: ethernet-phy@a {
				/* Marvell 88E1112 */
				reg = <10>;
			};
		};
	};
};
 
&nand {
	status = "okay";
 
	partitions {
		compatible = "fixed-partitions";
		#address-cells = <1>;
		#size-cells = <1>;
 
		partition@0 {
			label = "u-boot";
			reg = <0x0 0xa0000>;
			read-only;
		};
 
		partition@a0000 {
			label = "u-boot-env";
			reg = <0xa0000 0x60000>;
		};
 
		partition@100000 {
			compatible = "denx,uimage";
			label = "firmware1";
			reg = <0x100000 0x2800000>;
			openwrt,cmdline-match = "cur_runtime_image_num=1";
		};
 
		partition@2900000 {
			compatible = "denx,uimage";
			label = "firmware";
			reg = <0x2900000 0x5540000>;
			openwrt,cmdline-match = "cur_runtime_image_num=2";
		};
 
		partition@7e40000 {
			label = "nvram";
			reg = <0x7e40000 0x100000>;
			read-only;
		};
 
		/*
		 * There is a JFFS2 filesystem at offset 0x80000 mounted at /etc/ca
		 */
		partition@7f40000 {
			label = "CA_DATA";
			reg = <0x7f40000 0xc0000>;
			read-only;
		};
	};
};
 
&pinctrl {
	pmx_buttons: pmx-buttons {
		marvell,pins = "mpp17";
		marvell,function = "gpio";
	};
 
	pmx_leds: pmx-leds {
		marvell,pins = "mpp40", "mpp41", "mpp42", "mpp43", "mpp44", "mpp48";
		marvell,function = "gpio";
	};
};
 
/* There is no battery on the board, so the RTC does not keep
 * time when there is no power, making it useless.
 */
&rtc {
	status = "disabled";
};
 
&pciec {
	status = "okay";
};
 
&pcie0 {
	status = "okay";
};
 
&uart0 {
	status = "okay";
};
 
&usb0 {
	status = "okay";
	#address-cells = <1>;
	#size-cells = <0>;
 
	port@1 {
		reg = <1>;
		#address-cells = <1>;
		#size-cells = <0>;
		#trigger-source-cells = <0>;
 
		hub_port1: port@1 {
			reg = <1>;
			#trigger-source-cells = <0>;
		};
 
		hub_port4: port@4 {
			reg = <4>;
			#trigger-source-cells = <0>;
		};
	};
};

Log

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.10.138 (builder@buildhost) (arm-openwrt-linux-muslgnueabi-gcc (OpenWrt GCC 11.2.0 r19685-512e76967f) 11.2.0, GNU ld (GNU Binutils) 2.37) #0 Sat Sep 3 02:55:34 2022
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] OF: fdt: Machine model: Cisco Systems CVR328W-K9-CN
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x000000000fffffff]
[    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] Built 1 zonelists, mobility grouping on.  Total pages: 64960
[    0.000000] Kernel command line: console=ttyS0,115200 root=
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 250520K/262144K available (5973K kernel code, 599K rwdata, 924K rodata, 1024K init, 211K bss, 11624K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000007] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000034] Switching to timer-based delay loop, resolution 5ns
[    0.000151] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.000175] pid_max: default: 32768 minimum: 301
[    0.000309] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.000330] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001032] CPU: Testing write buffer coherency: ok
[    0.001918] Setting up static identity map for 0x100000 - 0x10003c
[    0.002106] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[    0.002275] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build
[    0.004923] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.004946] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.005040] pinctrl core: initialized pinctrl subsystem
[    0.006279] NET: Registered protocol family 16
[    0.006591] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.007375] thermal_sys: Registered thermal governor 'step_wise'
[    0.007455] cpuidle: using governor ladder
[    0.007695] Feroceon L2: Enabling L2
[    0.007730] Feroceon L2: Cache support initialised.
[    0.015230] No ATAGs?
[    0.051312] SCSI subsystem initialized
[    0.052540] usbcore: registered new interface driver usbfs
[    0.052584] usbcore: registered new interface driver hub
[    0.052623] usbcore: registered new device driver usb
[    0.057141] clocksource: Switched to clocksource orion_clocksource
[    0.057761] NET: Registered protocol family 2
[    0.057923] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.058474] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.058518] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.058552] TCP bind hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.058583] TCP: Hash tables configured (established 2048 bind 2048)
[    0.058647] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.058671] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.058814] NET: Registered protocol family 1
[    0.058839] PCI: CLS 0 bytes, default 32
[    0.062535] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[    0.065504] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.065518] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.066116] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.067949] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    0.068900] mvebu-pcie mbus@f1000000:pcie@82000000: host bridge /mbus@f1000000/pcie@82000000 ranges:
[    0.068935] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1040000..0x00f1041fff -> 0x0000040000
[    0.068957] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1044000..0x00f1045fff -> 0x0000044000
[    0.068977] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1080000..0x00f1081fff -> 0x0000080000
[    0.068995] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    0.069013] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    0.069031] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    0.069044] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    0.069198] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[    0.069214] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.069226] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf1041fff] (bus address [0x00040000-0x00041fff])
[    0.069238] pci_bus 0000:00: root bus resource [mem 0xf1044000-0xf1045fff] (bus address [0x00044000-0x00045fff])
[    0.069249] pci_bus 0000:00: root bus resource [mem 0xf1080000-0xf1081fff] (bus address [0x00080000-0x00081fff])
[    0.069258] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    0.069267] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    0.069348] pci 0000:00:01.0: [11ab:6282] type 01 class 0x060400
[    0.070397] PCI: bus0: Fast back to back transfers disabled
[    0.070412] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.070516] pci 0000:01:00.0: [168c:002a] type 00 class 0x028000
[    0.070547] pci 0000:01:00.0: reg 0x10: [mem 0x90000000-0x9000ffff 64bit]
[    0.070661] pci 0000:01:00.0: supports D1
[    0.070670] pci 0000:01:00.0: PME# supported from D0 D1 D3hot
[    0.071609] PCI: bus1: Fast back to back transfers disabled
[    0.071624] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    0.071766] pci 0000:00:01.0: BAR 8: assigned [mem 0xe0000000-0xe00fffff]
[    0.071781] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe000ffff 64bit]
[    0.071798] pci 0000:00:01.0: PCI bridge to [bus 01]
[    0.071810] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe00fffff]
[    0.072169] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.073431] printk: console [ttyS0] disabled
[    0.073507] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 25, base_baud = 12500000) is a 16550A
[    0.710475] printk: console [ttyS0] enabled
[    0.715169] Loading iSCSI transport class v2.0-870.
[    0.723919] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1
[    0.730331] nand: Hynix H27U1G8F2BTR-BC
[    0.734187] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    0.741817] Scanning device for bad blocks
[    0.805989] 6 fixed-partitions partitions found on MTD device orion_nand
[    0.812727] Creating 6 MTD partitions on "orion_nand":
[    0.817900] 0x000000000000-0x0000000a0000 : "u-boot"
[    0.824871] 0x0000000a0000-0x000000100000 : "u-boot-env"
[    0.830683] 0x000000100000-0x000002900000 : "firmware1"
[    0.850035] 0x000002900000-0x000007e40000 : "firmware"
[    0.856008] 2 uimage-fw partitions found on MTD device firmware
[    0.861976] Creating 2 MTD partitions on "firmware":
[    0.866963] 0x000000000000-0x0000002a0000 : "kernel"
[    0.873305] 0x0000002a0000-0x000005540000 : "ubi"
[    0.878680] 0x000007e40000-0x000007f40000 : "nvram"
[    0.884934] 0x000007f40000-0x000008000000 : "CA_DATA"
[    0.902595] mv88e6085 f1072004.mdio-bus-mii:00: switch 0x950 detected: Marvell 88E6095/88E6095F, revision 3
[    0.929803] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    0.937337] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:50:43:00:02:02
[    0.946241] i2c /dev entries driver
[    0.950441] orion_wdt: Initial timeout 21 sec
[    0.966140] marvell-cesa f1030000.crypto: CESA device successfully registered
[    0.974026] NET: Registered protocol family 10
[    0.980256] Segment Routing with IPv6
[    0.983988] NET: Registered protocol family 17
[    0.988518] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.001666] 8021q: 802.1Q VLAN Support v1.8
[    1.008870] mv88e6085 f1072004.mdio-bus-mii:00: switch 0x950 detected: Marvell 88E6095/88E6095F, revision 3
[    1.126114] mv88e6085 f1072004.mdio-bus-mii:00 lan1 (uninitialized): PHY [!ocp@f1000000!mdio-bus@72004!switch@0!mdio:00] driver [Generic PHY] (irq=POLL)
[    1.142547] mv88e6085 f1072004.mdio-bus-mii:00 lan2 (uninitialized): PHY [!ocp@f1000000!mdio-bus@72004!switch@0!mdio:01] driver [Generic PHY] (irq=POLL)
[    1.158606] mv88e6085 f1072004.mdio-bus-mii:00 lan3 (uninitialized): PHY [!ocp@f1000000!mdio-bus@72004!switch@0!mdio:02] driver [Generic PHY] (irq=POLL)
[    1.173840] mv88e6085 f1072004.mdio-bus-mii:00 lan4 (uninitialized): PHY [!ocp@f1000000!mdio-bus@72004!switch@0!mdio:03] driver [Generic PHY] (irq=POLL)
[    1.189803] mv88e6085 f1072004.mdio-bus-mii:00 lan5 (uninitialized): PHY [!ocp@f1000000!mdio-bus@72004!switch@0!mdio:04] driver [Generic PHY] (irq=POLL)
[    1.204473] mv88e6085 f1072004.mdio-bus-mii:00 lan6 (uninitialized): PHY [!ocp@f1000000!mdio-bus@72004!switch@0!mdio:05] driver [Generic PHY] (irq=POLL)
[    1.220613] mv88e6085 f1072004.mdio-bus-mii:00 lan7 (uninitialized): PHY [!ocp@f1000000!mdio-bus@72004!switch@0!mdio:06] driver [Generic PHY] (irq=POLL)
[    1.235282] mv88e6085 f1072004.mdio-bus-mii:00 lan8 (uninitialized): PHY [!ocp@f1000000!mdio-bus@72004!switch@0!mdio:07] driver [Generic PHY] (irq=POLL)
[    1.327749] mv88e6085 f1072004.mdio-bus-mii:00 lan0 (uninitialized): PHY [!ocp@f1000000!mdio-bus@72004!switch@0!mdio:08] driver [Marvell 88E1112] (irq=POLL)
[    1.342734] mv88e6085 f1072004.mdio-bus-mii:00: configuring for fixed/gmii link mode
[    1.351765] mv88e6085 f1072004.mdio-bus-mii:00: Link is Up - 1Gbps/Full - flow control off
[    1.437756] mv88e6085 f1072004.mdio-bus-mii:00 wan0 (uninitialized): PHY [!ocp@f1000000!mdio-bus@72004!switch@0!mdio:0a] driver [Marvell 88E1112] (irq=POLL)
[    1.452406] DSA: tree 0 setup
[    1.455847] UBI: auto-attach mtd5
[    1.459206] ubi0: attaching mtd5
[    1.518926] ubi0: scanning is finished
[    1.527607] ubi0: attached mtd5 (name "ubi", size 82 MiB)
[    1.533036] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes
[    1.539958] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512
[    1.546690] ubi0: VID header offset: 512 (aligned 512), data offset: 2048
[    1.553523] ubi0: good PEBs: 661, bad PEBs: 0, corrupted PEBs: 0
[    1.559560] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[    1.566817] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 1662173734
[    1.575997] ubi0: available PEBs: 0, total reserved PEBs: 661, PEBs reserved for bad PEB handling: 20
[    1.585481] ubi0: background thread "ubi_bgt0d" started, PID 562
[    1.592166] block ubiblock0_0: created from ubi0:0(rootfs)
[    1.597701] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[    1.608074] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    1.618428] Freeing unused kernel memory: 1024K
[    1.623357] Run /sbin/init as init process
[    1.821800] init: Console is alive
[    1.825391] init: - watchdog -
[    2.164027] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    2.208478] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.217504] ehci-fsl: Freescale EHCI Host controller driver
[    2.225862] ehci-orion: EHCI orion driver
[    2.230057] orion-ehci f1050000.ehci: EHCI Host Controller
[    2.235586] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    2.243409] orion-ehci f1050000.ehci: irq 29, io mem 0xf1050000
[    2.277159] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    2.283678] hub 1-0:1.0: USB hub found
[    2.287975] hub 1-0:1.0: 1 port detected
[    2.294815] ehci-platform: EHCI generic platform driver
[    2.305768] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    2.315825] init: - preinit -
[    2.587191] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    2.818180] random: procd: uninitialized urandom read (4 bytes read)
[    2.824948] hub 1-1:1.0: USB hub found
[    2.831123] hub 1-1:1.0: 4 ports detected
[    2.871062] random: jshn: uninitialized urandom read (4 bytes read)
[    2.945559] random: jshn: uninitialized urandom read (4 bytes read)
[    3.504069] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[    3.514365] mv88e6085 f1072004.mdio-bus-mii:00 lan0: configuring for phy/gmii link mode
[    3.522816] 8021q: adding VLAN 0 to HW filter on device lan0
[    3.528553] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[    7.670712] UBIFS (ubi0:1): Mounting in unauthenticated mode
[    7.685732] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 698
[    7.702533] UBIFS (ubi0:1): recovery needed
[    7.766477] UBIFS (ubi0:1): recovery completed
[    7.771047] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[    7.778925] UBIFS (ubi0:1): LEB size: 129024 bytes (126 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    7.788887] UBIFS (ubi0:1): FS size: 77414400 bytes (73 MiB, 600 LEBs), journal size 3870720 bytes (3 MiB, 30 LEBs)
[    7.799374] UBIFS (ubi0:1): reserved for root: 3656473 bytes (3570 KiB)
[    7.806014] UBIFS (ubi0:1): media format: w5/r0 (latest is w5/r0), UUID DCC7EFCF-5F6E-4115-A782-9D92C5C5E571, small LPT model
[    7.820797] mount_root: switching to ubifs overlay
[    7.830178] urandom-seed: Seeding with /etc/urandom.seed
[    7.893369] procd: - early -
[    7.896376] procd: - watchdog -
[    8.492626] procd: - watchdog -
[    8.496112] procd: - ubus -
[    8.531832] random: ubusd: uninitialized urandom read (4 bytes read)
[    8.549193] random: ubusd: uninitialized urandom read (4 bytes read)
[    8.557896] random: ubusd: uninitialized urandom read (4 bytes read)
[    8.568905] procd: - init -
Please press Enter to activate this console.
[    9.045290] kmodloader: loading kernel modules from /etc/modules.d/*
[    9.172145] urngd: v1.0.2 started.
[    9.223742] random: crng init done
[    9.227185] random: 29 urandom warning(s) missed due to ratelimiting
[    9.240868] Loading modules backported from Linux version v5.15.58-0-g7d8048d4e064
[    9.248508] Backport generated by backports.git v5.15.58-1-0-g42a95ce7
[    9.355782] PPP generic driver version 2.4.2
[    9.364062] NET: Registered protocol family 24
[    9.401323] pci 0000:00:01.0: enabling device (0140 -> 0142)
[    9.855239] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xd0be0000, irq=40
[   10.127113] kmodloader: done loading kernel modules from /etc/modules.d/*
 
 
 
BusyBox v1.35.0 (2022-09-19 01:48:26 UTC) built-in shell (ash)
 
  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 22.03.0, r19685-512e76967f
 -----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:/# [   15.759765] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[   15.781333] mv88e6085 f1072004.mdio-bus-mii:00 lan0: configuring for phy/gmii link mode
p[   15.807335] 8021q: adding VLAN 0 to HW filter on device lan0
[   15.821134] br-lan: port 1(lan0) entered blocking state
[   15.826390] br-lan: port 1(lan0) entered disabled state
[   15.842677] device lan0 entered promiscuous mode
[   15.847354] device eth0 entered promiscuous mode
[   15.934820] mv88e6085 f1072004.mdio-bus-mii:00 lan1: configuring for phy/gmii link mode
[   15.952723] 8021q: adding VLAN 0 to HW filter on device lan1
[   15.962162] br-lan: port 2(lan1) entered blocking state
[   15.967456] br-lan: port 2(lan1) entered disabled state
[   15.983310] device lan1 entered promiscuous mode
[   16.002008] mv88e6085 f1072004.mdio-bus-mii:00 lan2: configuring for phy/gmii link mode
[   16.017783] 8021q: adding VLAN 0 to HW filter on device lan2
[   16.023692] br-lan: port 3(lan2) entered blocking state
[   16.028977] br-lan: port 3(lan2) entered disabled state
[   16.044337] device lan2 entered promiscuous mode
[   16.060321] mv88e6085 f1072004.mdio-bus-mii:00 lan3: configuring for phy/gmii link mode
[   16.077626] 8021q: adding VLAN 0 to HW filter on device lan3
[   16.090279] br-lan: port 4(lan3) entered blocking state
[   16.095533] br-lan: port 4(lan3) entered disabled state
[   16.113363] device lan3 entered promiscuous mode
[   16.135601] mv88e6085 f1072004.mdio-bus-mii:00 lan4: configuring for phy/gmii link mode
[   16.157597] 8021q: adding VLAN 0 to HW filter on device lan4
[   16.163514] br-lan: port 5(lan4) entered blocking state
[   16.168796] br-lan: port 5(lan4) entered disabled state
[   16.198350] device lan4 entered promiscuous mode
[   16.227357] mv88e6085 f1072004.mdio-bus-mii:00 lan5: configuring for phy/gmii link mode
[   16.247574] 8021q: adding VLAN 0 to HW filter on device lan5
[   16.253501] br-lan: port 6(lan5) entered blocking state
[   16.258786] br-lan: port 6(lan5) entered disabled state
[   16.289735] device lan5 entered promiscuous mode
[   16.308299] mv88e6085 f1072004.mdio-bus-mii:00 lan6: configuring for phy/gmii link mode
[   16.323073] 8021q: adding VLAN 0 to HW filter on device lan6
[   16.347494] br-lan: port 7(lan6) entered blocking state
[   16.352757] br-lan: port 7(lan6) entered disabled state
[   16.368687] device lan6 entered promiscuous mode
[   16.397192] mv88e6085 f1072004.mdio-bus-mii:00 lan7: configuring for phy/gmii link mode
[   16.405706] 8021q: adding VLAN 0 to HW filter on device lan7
[   16.417422] br-lan: port 8(lan7) entered blocking state
[   16.422688] br-lan: port 8(lan7) entered disabled state
[   16.448878] device lan7 entered promiscuous mode
[   16.477408] mv88e6085 f1072004.mdio-bus-mii:00 lan8: configuring for phy/gmii link mode
[   16.491744] 8021q: adding VLAN 0 to HW filter on device lan8
[   16.498590] br-lan: port 9(lan8) entered blocking state
[   16.503846] br-lan: port 9(lan8) entered disabled state
[   16.511590] device lan8 entered promiscuous mode
[   16.532950] mv88e6085 f1072004.mdio-bus-mii:00 wan0: configuring for phy/gmii link mode
[   16.541450] 8021q: adding VLAN 0 to HW filter on device wan0
[   18.167883] mv88e6085 f1072004.mdio-bus-mii:00 lan2: Link is Up - 100Mbps/Full - flow control rx/tx
[   18.177002] br-lan: port 3(lan2) entered blocking state
[   18.182271] br-lan: port 3(lan2) entered forwarding state
[   18.189904] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   19.207677] br-lan: port 3(lan2) entered disabled state
[   19.213049] mv88e6085 f1072004.mdio-bus-mii:00 lan2: Link is Down
[   21.287888] mv88e6085 f1072004.mdio-bus-mii:00 lan2: Link is Up - 100Mbps/Full - flow control rx/tx
[   21.297008] br-lan: port 3(lan2) entered blocking state
[   21.302279] br-lan: port 3(lan2) entered forwarding state
 
/bin/ash: p: not found
root@OpenWrt:/# ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:50:43:00:02:02  
          inet6 addr: fe80::250:43ff:fe00:202/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1504  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:23 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:2818 (2.7 KiB)
          Interrupt:31 
 
root@OpenWrt:/# ping 192.168.1.2
PING 192.168.1.2 (192.168.1.2): 56 data bytes
^C
--- 192.168.1.2 ping statistics ---
5 packets transmitted, 0 packets received, 100% packet loss
root@OpenWrt:/# ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:50:43:00:02:02  
          inet6 addr: fe80::250:43ff:fe00:202/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1504  Metric:1
          RX packets:78 errors:78 dropped:78 overruns:0 frame:0
          TX packets:29 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:32064 (31.3 KiB)  TX bytes:3226 (3.1 KiB)
          Interrupt:31 
 
root@OpenWrt:/# 

I managed to hook kernel function and dumped some error packets

send:

0000   33 33 00 00 00 01 12 34 56 12 34 56 86 dd 60 05
0010   fd 5b 00 40 3a 01 fe 80 00 00 00 00 00 00 1e b7
0020   2c ff fe 3b 05 fb ff 02 00 00 00 00 00 00 00 00
0030   00 00 00 00 00 01 80 00 d0 db 63 bb 00 01 c8 69
0040   2d 63 00 00 00 00 45 db 03 00 00 00 00 00 10 11
0050   12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f 20 21
0060   22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f 30 31
0070   32 33 34 35 36 37

got:
0000   BD 0B 00 A0 1A E1 0E 00 00 00 00 00 00 E0 7E C7
0010   FC EF BE 5B B5 FB 2F 02 00 00 00 00 00 00 00 00
0020   00 00 00 00 10 01 00 00 B0 3B B3 0B 10 81 98 D9
0030   3D 03 00 00 00 50 B5 3B 03 00 00 00 00 00 10 21
0040   32 43 54 65 76 87 98 A9 BA CB DC ED FE 0F 10 21
0050   32 43 54 65 76 87 98 A9 BA CB DC ED FE 0F 10 21
0060   32 43 54 65 76 E7 6E 16 C1 0C 54 65

=

send:
0000   33 33 00 00 00 01 12 34 56 12 34 56 dd 60 05
0010   fd 5b 00 44 3a 01 fe 80 00 00 00 00 00 00 1e b7
0020   2c ff fe 3b 05 fb ff 02 00 00 00 00 00 00 00 00
0030   00 00 00 00 00 01 80 00 58 c4 19 bf 00 01 90 9f
0040   2d 63 00 00 00 00 c5 40 0b 00 00 00 00 00 10 11
0050   12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f 20 21
0060   22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f 30 31
0070   32 33 34 35 36 37 38 39 3a 3b

got:
0000   BD 0B 40 A4 1A E1 0E 00 00 00 00 00 00 E0 7E C7
0010   FC EF BE 5B B5 FB 2F 02 00 00 00 00 00 00 00 00
0020   00 00 00 00 10 01 00 80 48 94 F9 0F 10 01 F0 DF
0030   3D 03 00 00 00 50 05 B0 0B 00 00 00 00 00 10 21
0040   32 43 54 65 76 87 98 A9 BA CB DC ED FE 0F 10 21
0050   32 43 54 65 76 87 98 A9 BA CB DC ED FE 0F 10 21
0060   32 43 54 65 76 87 98 A9 BA 7B F7 DF 7D 07 1E 04

From what I have observed, last 4 bits of latter octet is always equal to first 4 bits of former octet, while last 4 bits of every octet can correspond to those in real packet. What is the possible problem?

Solved: GMII being interpreted as RGMII

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.