BPI-R3 can't dial-up internet through pppoe normally

Can’t dial up the Internet normally through pppoe SFP Module Information Alcatel G-10S-p OpenWrt Kernel version 5.15.105 How errors are reproduced

  1. Link the sfp module to the sfp1 port of the device (corresponding to system eth1)
  2. Set the pppoe port to eth1.41
  3. pppoe dial-up

This is the error reported in the log

    [ 2028.204291] mtk_soc_eth 15100000.ethernet eth1: configuring for inband/2500base-x link mode
    [ 2028.520386] sfp sfp1: module transmit fault indicated
    [ 2030.592513] mtk_soc_eth 15100000.ethernet eth1: configuring for inband/2500base-x link mode
    [ 2030.928135] sfp sfp1: module transmit fault indicated
    [ 2031.817877] mt7530 mdio-bus:1f wan: Link is Down
    [ 2036.343119] sfp sfp1: module persistently indicates fault, disabling
    [ 2101.541275] mtk_soc_eth 15100000.ethernet eth1: configuring for inband/2500base-x link mode
    [ 2101.853935] sfp sfp1: module transmit fault indicated
    [ 2107.310463] sfp sfp1: module persistently indicates fault, disabling
    [ 2115.680558] mtk_soc_eth 15100000.ethernet eth1: configuring for inband/2500base-x link mode
    [ 2115.995047] sfp sfp1: module transmit fault indicated
    [ 2121.461693] sfp sfp1: module persistently indicates fault, disabling
    [ 2134.069109] mtk_soc_eth 15100000.ethernet eth1: configuring for inband/2500base-x link mode
    [ 2134.384012] sfp sfp1: module transmit fault indicated
    [ 2139.850826] sfp sfp1: module persistently indicates fault, disabling

Please share full logs including complete identifiers of the SFP module, we may need another quirk telling Linux that TX_FAULT is broken on that module…

root@OpenWrt:~# ethtool eth1

Settings for eth1:

    Supported ports: [ FIBRE ]

    Supported link modes:   2500baseX/Full
                            1000baseX/Full
    Supported pause frame use: Symmetric Receive-only

    Supports auto-negotiation: Yes

    Supported FEC modes: Not reported

    Advertised link modes:  2500baseX/Full

    Advertised pause frame use: Symmetric Receive-only

    Advertised auto-negotiation: Yes

    Advertised FEC modes: Not reported

    Speed: 10Mb/s

    Duplex: Half

    Auto-negotiation: on

    Port: FIBRE


    PHYAD: 0

    Transceiver: internal

    Current message level: 0x000000ff (255)
                           drv probe link timer ifdown ifup rx_err tx_err
    Link detected: no

root@OpenWrt:~# ethtool -m eth1

    Identifier                                : 0x03 (SFP)
    Extended identifier                       : 0x04 (GBIC/SFP defined by 2-wire interface ID)
    Connector                                 : 0x01 (SC)
    Transceiver codes                         : 0x00 0x00 0x00 0x02 0x00 0x00 0x00 0x00 0x00
    Transceiver type                          : Ethernet: 1000BASE-LX
    Encoding                                  : 0x03 (NRZ)
    BR, Nominal                               : 2500MBd
    Rate identifier                           : 0x0c (reserved or unknown)
    Length (SMF,km)                           : 20km
    Length (SMF)                              : 20000m
    Length (50um)                             : 0m
    Length (62.5um)                           : 0m
    Length (Copper)                           : 0m
    Length (OM3)                              : 0m
    Laser wavelength                          : 33685nm
    Vendor name                               : ALCATELLUCENT
    Vendor OUI                                : 00:00:00
    Vendor PN                                 : G010SP
    Vendor rev                                : 10
    Option values                             : 0x00 0x1a
    Option                                    : RX_LOS implemented
    Option                                    : TX_FAULT implemented
    Option                                    : TX_DISABLE implemented
    BR margin, max                            : 0%
    BR margin, min                            : 0%
    Vendor SN                                 : ALCLFAB7BD2D
    Date code                                 : 171023
    Optical diagnostics support               : Yes
    Laser bias current                        : 5.788 mA
    Laser output power                        : 0.0001 mW / -40.00 dBm
    Receiver signal average optical power     : 0.0001 mW / -40.00 dBm
    Module temperature                        : 42.58 degrees C / 108.64 degrees F
    Module voltage                            : 3.3602 V
    Alarm/warning flags implemented           : Yes
    Laser bias current high alarm             : On
    Laser bias current low alarm              : Off
    Laser bias current high warning           : On
    Laser bias current low warning            : Off
    Laser output power high alarm             : On
    Laser output power low alarm              : Off
    Laser output power high warning           : On
    Laser output power low warning            : Off
    Module temperature high alarm             : On
    Module temperature low alarm              : Off
    Module temperature high warning           : On
    Module temperature low warning            : Off
    Module voltage high alarm                 : On
    Module voltage low alarm                  : Off
    Module voltage high warning               : On
    Module voltage low warning                : Off
    Laser rx power high alarm                 : On
    Laser rx power low alarm                  : Off
    Laser rx power high warning               : On
    Laser rx power low warning                : Off
    Laser bias current high alarm threshold   : 0.000 mA
    Laser bias current low alarm threshold    : 0.000 mA
    Laser bias current high warning threshold : 0.000 mA
    Laser bias current low warning threshold  : 0.000 mA
    Laser output power high alarm threshold   : 0.0000 mW / -inf dBm
    Laser output power low alarm threshold    : 0.0000 mW / -inf dBm
    Laser output power high warning threshold : 0.0000 mW / -inf dBm
    Laser output power low warning threshold  : 0.0000 mW / -inf dBm
    Module temperature high alarm threshold   : 0.00 degrees C / 32.00 degrees F
    Module temperature low alarm threshold    : 0.00 degrees C / 32.00 degrees F
    Module temperature high warning threshold : 0.00 degrees C / 32.00 degrees F
    Module temperature low warning threshold  : 0.00 degrees C / 32.00 degrees F
    Module voltage high alarm threshold       : 0.0000 V
    Module voltage low alarm threshold        : 0.0000 V
    Module voltage high warning threshold     : 0.0000 V
    Module voltage low warning threshold      : 0.0000 V
    Laser rx power high alarm threshold       : 0.0000 mW / -inf dBm
    Laser rx power low alarm threshold        : 0.0000 mW / -inf dBm
    Laser rx power high warning threshold     : 0.0000 mW / -inf dBm
    Laser rx power low warning threshold      : 0.0000 mW / -inf dBm

dmesg

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.15.105 (ghhc@ghhccghk-pc) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 11.3.0 r0-46476960) 11.3.0, GNU ld (GNU Binutils) 2.37) #0 SMP Sun Apr 30 08:57:31 2023
[    0.000000] Machine model: Bananapi BPI-R3
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000040000000-0x00000000bfffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000040000000-0x0000000042ffffff]
[    0.000000]   node   0: [mem 0x0000000043000000-0x000000004302ffff]
[    0.000000]   node   0: [mem 0x0000000043030000-0x000000004fbfffff]
[    0.000000]   node   0: [mem 0x000000004fc00000-0x000000004ffbffff]
[    0.000000]   node   0: [mem 0x000000004ffc0000-0x00000000bfffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x00000000bfffffff]
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.2
[    0.000000] percpu: Embedded 17 pages/cpu s29592 r8192 d31848 u69632
[    0.000000] pcpu-alloc: s29592 r8192 d31848 u69632 alloc=17*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] CPU features: kernel page table isolation disabled by kernel configuration
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 516096
[    0.000000] Kernel command line: root=/dev/mmcblk0p65
[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 2040316K/2097152K available (8448K kernel code, 888K rwdata, 2148K rodata, 448K init, 288K bss, 56836K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] 	Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 640 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] GICv3: Distributor has no Range Selector support
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] GICv3: 16 PPIs implemented
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x000000000c080000
[    0.000000] arch_timer: cp15 timer(s) running at 13.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2ff89eacb, max_idle_ns: 440795202429 ns
[    0.000000] sched_clock: 56 bits at 13MHz, resolution 76ns, wraps every 4398046511101ns
[    0.000148] Calibrating delay loop (skipped), value calculated using timer frequency.. 26.00 BogoMIPS (lpj=130000)
[    0.000156] pid_max: default: 32768 minimum: 301
[    0.000248] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.000261] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.001188] rcu: Hierarchical SRCU implementation.
[    0.001282] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build
[    0.001502] smp: Bringing up secondary CPUs ...
[    0.001750] Detected VIPT I-cache on CPU1
[    0.001773] GICv3: CPU1: found redistributor 1 region 0:0x000000000c0a0000
[    0.001801] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.002075] Detected VIPT I-cache on CPU2
[    0.002087] GICv3: CPU2: found redistributor 2 region 0:0x000000000c0c0000
[    0.002098] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.002327] Detected VIPT I-cache on CPU3
[    0.002337] GICv3: CPU3: found redistributor 3 region 0:0x000000000c0e0000
[    0.002346] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.002372] smp: Brought up 1 node, 4 CPUs
[    0.002386] SMP: Total of 4 processors activated.
[    0.002389] CPU features: detected: 32-bit EL0 Support
[    0.002393] CPU features: detected: CRC32 instructions
[    0.002486] CPU: All CPU(s) started at EL2
[    0.002496] alternatives: patching kernel code
[    0.004924] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.004947] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.005063] pinctrl core: initialized pinctrl subsystem
[    0.005518] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.005742] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
[    0.005772] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.005800] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.006031] thermal_sys: Registered thermal governor 'fair_share'
[    0.006034] thermal_sys: Registered thermal governor 'bang_bang'
[    0.006037] thermal_sys: Registered thermal governor 'step_wise'
[    0.006040] thermal_sys: Registered thermal governor 'user_space'
[    0.006223] ASID allocator initialised with 65536 entries
[    0.006477] pstore: Registered ramoops as persistent store backend
[    0.006481] ramoops: using 0x10000@0x42ff0000, ecc: 0
[    0.015478] cryptd: max_cpu_qlen set to 1000
[    0.017253] SCSI subsystem initialized
[    0.017336] libata version 3.00 loaded.
[    0.018124] clocksource: Switched to clocksource arch_sys_counter
[    0.018542] NET: Registered PF_INET protocol family
[    0.018656] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.019210] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    0.019232] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.019242] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.019309] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear)
[    0.019483] TCP: Hash tables configured (established 16384 bind 16384)
[    0.019556] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.019584] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.019686] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.019707] PCI: CLS 0 bytes, default 64
[    0.021575] workingset: timestamp_bits=46 max_order=19 bucket_order=0
[    0.023585] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.023599] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.047032] pwm-mediatek 10048000.pwm: clock: top fail: -517
[    0.047326] mtk-pcie-gen3 11280000.pcie: host bridge /soc/pcie@11280000 ranges:
[    0.047348] mtk-pcie-gen3 11280000.pcie: Parsing ranges property...
[    0.047358] mtk-pcie-gen3 11280000.pcie:      MEM 0x0020000000..0x002fffffff -> 0x0020000000
[    0.047404] phy phy-soc:[email protected]: u3 auto load valid efuse: ENABLE with value: 1
[    0.047433] phy phy-soc:[email protected]: pcie auto load valid efuse: ENABLE with value: 1
[    0.047455] phy phy-soc:[email protected]: u3 lane1 efuse - intr 29, rx_imp f, tx_imp e
[    0.047523] /soc/pcie@11280000: Failed to get clk index: 0 ret: -517
[    0.047535] mtk-pcie-gen3 11280000.pcie: failed to get clocks
[    0.049768] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[    0.050360] printk: console [ttyS0] disabled
[    0.070530] 11002000.serial: ttyS0 at MMIO 0x11002000 (irq = 122, base_baud = 2500000) is a ST16650V2
[    0.766306] printk: console [ttyS0] enabled
[    0.791063] 11003000.serial: ttyS1 at MMIO 0x11003000 (irq = 123, base_baud = 1625000) is a ST16650V2
[    0.800906] mtk_rng 1020f000.trng: registered RNG driver
[    0.800964] hwrng: no data available
[    0.806444] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.817719] loop: module loaded
[    0.821973] spi-nand spi0.0: Winbond SPI NAND was found.
[    0.827279] spi-nand spi0.0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 64
[    0.835532] 4 fixed-partitions partitions found on MTD device spi0.0
[    0.841876] Creating 4 MTD partitions on "spi0.0":
[    0.846649] 0x000000580000-0x000008000000 : "ubi"
[    0.977307] 0x000000380000-0x000000580000 : "fip"
[    0.984365] 0x000000080000-0x000000380000 : "reserved"
[    0.992916] 0x000000000000-0x000000080000 : "bl2"
[    1.131199] mtk_soc_eth 15100000.ethernet eth0: mediatek frame engine at 0xffffffc009600000, irq 134
[    1.140965] mtk_soc_eth 15100000.ethernet eth1: mediatek frame engine at 0xffffffc009600000, irq 134
[    1.150523] i2c_dev: i2c /dev entries driver
[    1.156206] mtk-wdt 1001c000.watchdog: Watchdog enabled (timeout=31 sec, nowayout=0)
[    1.164637] NET: Registered PF_INET6 protocol family
[    1.170231] Segment Routing with IPv6
[    1.173906] In-situ OAM (IOAM) with IPv6
[    1.177839] NET: Registered PF_PACKET protocol family
[    1.182941] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.195957] 8021q: 802.1Q VLAN Support v1.8
[    1.201050] pstore: Using crash dump compression: deflate
[    1.211742] mtk-pcie-gen3 11280000.pcie: host bridge /soc/pcie@11280000 ranges:
[    1.219086] mtk-pcie-gen3 11280000.pcie: Parsing ranges property...
[    1.225339] mtk-pcie-gen3 11280000.pcie:      MEM 0x0020000000..0x002fffffff -> 0x0020000000
[    1.233805] phy phy-soc:[email protected]: u3 auto load valid efuse: ENABLE with value: 1
[    1.241900] phy phy-soc:[email protected]: pcie auto load valid efuse: ENABLE with value: 1
[    1.250162] phy phy-soc:[email protected]: u3 lane1 efuse - intr 29, rx_imp f, tx_imp e
[    1.328785] mmc0: new MMC card at address 0001
[    1.334008] mmcblk0: mmc0:0001 008GB0 7.28 GiB 
[    1.342605] Alternate GPT is invalid, using primary GPT.
[    1.349053] FIT: Default configuration: "config-mt7986a-bananapi-bpi-r3" (OpenWrt bananapi_bpi-r3)
[    1.357996] FIT:           kernel sub-image 0x00001000 - 0x0050f0e1 "kernel-1" (ARM64 OpenWrt Linux-5.15.105) 
[    1.367986] FIT:          flat_dt sub-image 0x00510000 - 0x00518000 "fdt-1" (ARM64 OpenWrt bananapi_bpi-r3 device tree blob) 
[    1.379278] FIT:          flat_dt sub-image 0x00518000 - 0x00520000 "fdt-mt7986a-bananapi-bpi-r3-nor" (ARM64 OpenWrt bananapi_bpi-r3 device tree overlay mt7986a-bananapi-bpi-r3-nor) 
[    1.395508] FIT:          flat_dt sub-image 0x00520000 - 0x00528000 "fdt-mt7986a-bananapi-bpi-r3-emmc-nor" (ARM64 OpenWrt bananapi_bpi-r3 device tree overlay mt7986a-bananapi-bpi-r3-emmc-nor) 
[    1.412605] FIT:          flat_dt sub-image 0x00528000 - 0x00530000 "fdt-mt7986a-bananapi-bpi-r3-emmc-snand" (ARM64 OpenWrt bananapi_bpi-r3 device tree overlay mt7986a-bananapi-bpi-r3-emmc-snand) 
[    1.430045] FIT:          flat_dt sub-image 0x00530000 - 0x00538000 "fdt-mt7986a-bananapi-bpi-r3-snand" (ARM64 OpenWrt bananapi_bpi-r3 device tree overlay mt7986a-bananapi-bpi-r3-snand) 
[    1.446616] FIT:       filesystem sub-image 0x00538000 - 0x07281000 "rootfs-1" (ARM64 OpenWrt bananapi_bpi-r3 rootfs) 
[    1.457287] FIT: selecting configured loadable "rootfs-1" to be root filesystem
[    1.464583]  mmcblk0: p1 p2 p3 p4 p5 p6 p7 p65(rootfs-1) p66(rootfs_data)
[    1.472550] mmcblk0boot0: mmc0:0001 008GB0 4.00 MiB 
[    1.478322] mmcblk0boot1: mmc0:0001 008GB0 4.00 MiB 
[    1.479283] mtk-pcie-gen3 11280000.pcie: PCIe link down, ltssm reg val: 0x1000001
[    1.483482] mmcblk0rpmb: mmc0:0001 008GB0 4.00 MiB, chardev (251:0)
[    1.490778] mtk-pcie-gen3: probe of 11280000.pcie failed with error -110
[    1.526097] mt7530 mdio-bus:1f: configuring for fixed/2500base-x link mode
[    1.533247] mt7530 mdio-bus:1f: Link is Up - 2.5Gbps/Full - flow control rx/tx
[    1.542189] mt7530 mdio-bus:1f wan (uninitialized): PHY [mt7530-0:00] driver [MediaTek MT7531 PHY] (irq=142)
[    1.562100] mt7530 mdio-bus:1f lan1 (uninitialized): PHY [mt7530-0:01] driver [MediaTek MT7531 PHY] (irq=143)
[    1.581673] mt7530 mdio-bus:1f lan2 (uninitialized): PHY [mt7530-0:02] driver [MediaTek MT7531 PHY] (irq=144)
[    1.601221] mt7530 mdio-bus:1f lan3 (uninitialized): PHY [mt7530-0:03] driver [MediaTek MT7531 PHY] (irq=145)
[    1.620780] mt7530 mdio-bus:1f lan4 (uninitialized): PHY [mt7530-0:04] driver [MediaTek MT7531 PHY] (irq=146)
[    1.631423] DSA: tree 0 setup
[    1.636559] UBI: auto-attach mtd0
[    1.639898] ubi0: default fastmap pool size: 45
[    1.644411] ubi0: default fastmap WL pool size: 22
[    1.649189] ubi0: attaching mtd0
[    5.261418] ubi0: scanning is finished
[    5.306382] ubi0: attached mtd0 (name "ubi", size 122 MiB)
[    5.311873] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    5.318730] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    5.325495] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    5.332437] ubi0: good PEBs: 980, bad PEBs: 0, corrupted PEBs: 0
[    5.338426] ubi0: user volume: 3, internal volumes: 1, max. volumes count: 128
[    5.345625] ubi0: max/mean erase counter: 2/0, WL threshold: 4096, image sequence number: 1650113974
[    5.354734] ubi0: available PEBs: 465, total reserved PEBs: 515, PEBs reserved for bad PEB handling: 20
[    5.364109] ubi0: background thread "ubi_bgt0d" started, PID 470
[    5.376097] block ubiblock0_1: created from ubi0:1(rootfs)
[    5.390886] VFS: Mounted root (squashfs filesystem) readonly on device 259:0.
[    5.398179] Freeing unused kernel memory: 448K
[    5.438153] Run /sbin/init as init process
[    5.442232]   with arguments:
[    5.445183]     /sbin/init
[    5.447874]   with environment:
[    5.451008]     HOME=/
[    5.453353]     TERM=linux
[    5.767810] init: Console is alive
[    5.771348] init: - watchdog -
[    6.828988] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    6.921668] Key type encrypted registered
[    6.929490] usbcore: registered new interface driver usbfs
[    6.934995] usbcore: registered new interface driver hub
[    6.940342] usbcore: registered new device driver usb
[    6.946622] raid6: skip pq benchmark and using algorithm neonx8
[    6.952559] raid6: using neon recovery algorithm
[    6.957873] xor: measuring software checksum speed
[    6.965167]    8regs           :  3947 MB/sec
[    6.971615]    32regs          :  4675 MB/sec
[    6.978448]    arm64_neon      :  3949 MB/sec
[    6.982787] xor: using function: 32regs (4675 MB/sec)
[    6.995746] Btrfs loaded, crc32c=crc32c-generic, zoned=no, fsverity=no
[    7.004984] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    7.012169] fsl-ehci: Freescale EHCI Host controller driver
[    7.018369] ehci-platform: EHCI generic platform driver
[    7.025159] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    7.031919] ohci-platform: OHCI generic platform driver
[    7.038012] uhci_hcd: USB Universal Host Controller Interface driver
[    7.047335] phy phy-soc:[email protected]: u2 auto load valid efuse: ENABLE with value: 1
[    7.055497] phy phy-soc:[email protected]: u3 auto load valid efuse: ENABLE with value: 1
[    7.063629] phy phy-soc:[email protected]: u2 auto load valid efuse: ENABLE with value: 1
[    7.072167] xhci-mtk 11200000.usb: xHCI Host Controller
[    7.077388] xhci-mtk 11200000.usb: new USB bus registered, assigned bus number 1
[    7.087895] xhci-mtk 11200000.usb: hcc params 0x01403f99 hci version 0x110 quirks 0x0000000000210010
[    7.097049] xhci-mtk 11200000.usb: irq 126, io mem 0x11200000
[    7.102874] xhci-mtk 11200000.usb: xHCI Host Controller
[    7.108085] xhci-mtk 11200000.usb: new USB bus registered, assigned bus number 2
[    7.115483] xhci-mtk 11200000.usb: Host supports USB 3.2 Enhanced SuperSpeed
[    7.122833] hub 1-0:1.0: USB hub found
[    7.126587] hub 1-0:1.0: 2 ports detected
[    7.130864] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    7.139229] hub 2-0:1.0: USB hub found
[    7.142982] hub 2-0:1.0: 1 port detected
[    7.151091] usbcore: registered new interface driver usb-storage
[    7.157847] usbcore: registered new interface driver uas
[    7.163507] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    7.179358] init: - preinit -
[    7.578177] usb 1-1: new high-speed USB device number 2 using xhci-mtk
[    7.758939] hub 1-1:1.0: USB hub found
[    7.762741] hub 1-1:1.0: 4 ports detected
[    7.768389] random: procd: uninitialized urandom read (4 bytes read)
[    8.108623] mtk_soc_eth 15100000.ethernet eth0: configuring for fixed/2500base-x link mode
[    8.117057] mtk_soc_eth 15100000.ethernet eth0: Link is Up - 2.5Gbps/Full - flow control rx/tx
[    8.131576] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[   11.368376] random: crng init done
[   12.349481] mount_root: loading kmods from internal overlay
[   12.369760] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[   12.379783] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[   14.050882] F2FS-fs (mmcblk0p66): Mounted with checkpoint version = 6a3dada9
[   14.058086] block: attempting to load /tmp/f2fs_cfg/upper/etc/config/fstab
[   14.073844] overlayfs: null uuid detected in lower fs '/', falling back to xino=off,index=off,nfs_export=off.
[   14.084144] mount_root: switched to extroot
[   14.097342] urandom-seed: Seeding with /etc/urandom.seed
[   16.191475] procd: - early -
[   16.194399] procd: - watchdog -
[   16.902738] procd: - watchdog -
[   16.907406] procd: - ubus -
[   17.001172] procd: - init -
[   17.823112] urngd: v1.0.2 started.
[   18.433039] kmodloader: loading kernel modules from /etc/modules.d/*
[   18.486159] NET: Registered PF_ALG protocol family
[   18.494670] NET: Registered PF_ATMPVC protocol family
[   18.499747] NET: Registered PF_ATMSVC protocol family
[   18.508670] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: [email protected]
[   18.520724] Key type dns_resolver registered
[   18.530407] RPC: Registered named UNIX socket transport module.
[   18.536322] RPC: Registered udp transport module.
[   18.541029] RPC: Registered tcp transport module.
[   18.545714] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   18.555546] ntfs3: Max link count 4000
[   18.559319] ntfs3: Enabled Linux POSIX ACLs support
[   18.564178] ntfs3: Warning: Activated 64 bits per cluster. Windows does not support this
[   18.572282] ntfs3: Read-only LZX/Xpress compression included
[   18.579340] tun: Universal TUN/TAP device driver, 1.6
[   18.591557] ipip: IPv4 and MPLS over IPv4 tunneling driver
[   18.599667] l2tp_core: L2TP core driver, V2.0
[   18.604716] l2tp_netlink: L2TP netlink interface
[   18.610266] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[   18.617495] nat46: module (version 95ca1c3b99376da2d0306919f2df4a8d3c9bb78b) loaded.
[   18.627688] gre: GRE over IPv4 demultiplexor driver
[   18.633401] ip_gre: GRE over IPv4 tunneling driver
[   18.646884] Installing knfsd (copyright (C) 1996 [email protected]).
[   18.655627] PPP generic driver version 2.4.2
[   18.663207] NFS: Registering the id_resolver key type
[   18.668296] Key type id_resolver registered
[   18.672466] Key type id_legacy registered
[   18.701693] cryptodev: driver 1.12 loaded.
[   18.707603] i2c-gpio i2c-gpio-0: using lines 427 (SDA) and 428 (SCL)
[   18.714325] i2c-gpio i2c-gpio-1: using lines 429 (SDA) and 430 (SCL)
[   18.727342] GACT probability on
[   18.731358] Mirror/redirect action on
[   18.739136] u32 classifier
[   18.741851]     input device check on
[   18.745498]     Actions configured
[   18.755551] fuse: init (API version 7.34)
[   18.763370] GobiNet: Quectel_Linux&Android_GobiNet_Driver_V1.6.3
[   18.769475] usbcore: registered new interface driver GobiNet
[   18.776375] usbcore: registered new interface driver cdc_wdm
[   18.783211] usbcore: registered new interface driver qmi_wwan_q
[   18.791031] crypto-safexcel 10320000.crypto: EIP97:230(0,1,4,4)-HIA:270(0,5,5),PE:150/433(alg:7fcdfc00)/0/0/0
[   18.806755] Bridge firewalling registered
[   18.812516] usbcore: registered new interface driver cdc_acm
[   18.818192] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[   18.827140] usbcore: registered new interface driver cdc_ether
[   18.834209] usbcore: registered new interface driver cdc_ncm
[   18.840569] Loading modules backported from Linux version v5.15.33-0-g06f50ca83ace
[   18.848144] Backport generated by backports.git v5.15.33-1-0-g183c4ab2
[   18.855973] usbcore: registered new interface driver huawei_cdc_ncm
[   18.911948] PPP MPPE Compression module registered
[   18.917576] NET: Registered PF_PPPOX protocol family
[   18.923563] PPTP driver version 0.8.5
[   18.928729] usbcore: registered new interface driver qmi_wwan
[   18.935670] usbcore: registered new interface driver rndis_host
[   18.943416] sfp sfp1: Host maximum power 1.0W
[   18.948632] sfp sfp2: Host maximum power 1.0W
[   18.954534] usbcore: registered new interface driver sierra_net
[   18.963353] usbcore: registered new interface driver ums-alauda
[   18.970507] usbcore: registered new interface driver ums-cypress
[   18.977657] usbcore: registered new interface driver ums-datafab
[   18.984750] usbcore: registered new interface driver ums-freecom
[   18.991977] usbcore: registered new interface driver ums-isd200
[   18.999213] usbcore: registered new interface driver ums-jumpshot
[   19.006443] usbcore: registered new interface driver ums-karma
[   19.013712] usbcore: registered new interface driver ums-sddr09
[   19.020845] usbcore: registered new interface driver ums-sddr55
[   19.028015] usbcore: registered new interface driver ums-usbat
[   19.036855] usbcore: registered new device driver usbip-host
[   19.044057] usbcore: registered new interface driver usblp
[   19.051958] usbcore: registered new interface driver usbserial_generic
[   19.058540] usbserial: USB Serial support registered for generic
[   19.066245] vhci_hcd vhci_hcd.0: USB/IP Virtual Host Controller
[   19.072184] vhci_hcd vhci_hcd.0: new USB bus registered, assigned bus number 3
[   19.079442] vhci_hcd: created sysfs vhci_hcd.0
[   19.084264] hub 3-0:1.0: USB hub found
[   19.088027] hub 3-0:1.0: 8 ports detected
[   19.092712] vhci_hcd vhci_hcd.0: USB/IP Virtual Host Controller
[   19.098644] vhci_hcd vhci_hcd.0: new USB bus registered, assigned bus number 4
[   19.105901] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[   19.114290] hub 4-0:1.0: USB hub found
[   19.118088] hub 4-0:1.0: 8 ports detected
[   19.141873] xt_time: kernel timezone is -0000
[   19.147543] usbcore: registered new interface driver yealink
[   19.154487] usbcore: registered new interface driver cdc_mbim
[   19.169723] usbcore: registered new interface driver ch341
[   19.175275] usbserial: USB Serial support registered for ch341-uart
[   19.197827] l2tp_ppp: PPPoL2TP kernel driver, V2.0
[   19.718356] mt7986-wmac 18000000.wmac: HW/SW Version: 0x8a108a10, Build Time: 20221012174743a
[   19.718356] 
[   19.884684] mt7986-wmac 18000000.wmac: WM Firmware Version: ____000000, Build Time: 20221012174805
[   19.925473] mt7986-wmac 18000000.wmac: WA Firmware Version: DEV_000000, Build Time: 20221012174937
[   22.689383] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[   22.697204] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <[email protected]>. All Rights Reserved.
[   22.709665] batman_adv: B.A.T.M.A.N. advanced 2022.3-openwrt-1 (compatibility version 15) loaded
[   22.719745] usbcore: registered new interface driver option
[   22.725354] usbserial: USB Serial support registered for GSM modem (1-port)
[   22.733370] usbcore: registered new interface driver qcserial
[   22.739201] usbserial: USB Serial support registered for Qualcomm USB modem
[   22.746438] kmodloader: done loading kernel modules from /etc/modules.d/*
[   24.332765] /dev/ubiblock0_1: Can't open blockdev
[   24.338016] UBIFS (ubi0:2): Mounting in unauthenticated mode
[   24.338152] UBIFS (ubi0:2): background thread "ubifs_bgt0_2" started, PID 1541
[   24.798610] UBIFS (ubi0:2): UBIFS: mounted UBI device 0, volume 2, name "rootfs_data"
[   24.798627] UBIFS (ubi0:2): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   24.798633] UBIFS (ubi0:2): FS size: 29839360 bytes (28 MiB, 235 LEBs), max 245 LEBs, journal size 1523712 bytes (1 MiB, 12 LEBs)
[   24.798639] UBIFS (ubi0:2): reserved for root: 1409386 bytes (1376 KiB)
[   24.798643] UBIFS (ubi0:2): media format: w5/r0 (latest is w5/r0), UUID A626D3AC-6E6F-4F58-9630-AB9290803E46, small LPT model
[   26.909848] /dev/ubiblock0_1: Can't open blockdev
[   29.161784] mtk_soc_eth 15100000.ethernet eth0: Link is Down
[   29.167832] mtk_soc_eth 15100000.ethernet eth0: configuring for fixed/2500base-x link mode
[   29.168017] mtk_soc_eth 15100000.ethernet eth0: Link is Up - 2.5Gbps/Full - flow control rx/tx
[   29.168321] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   29.169345] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[   29.172284] br-lan: port 1(lan1) entered blocking state
[   29.172294] br-lan: port 1(lan1) entered disabled state
[   29.173727] device lan1 entered promiscuous mode
[   29.173731] device eth0 entered promiscuous mode
[   29.181818] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode
[   29.184599] br-lan: port 2(lan3) entered blocking state
[   29.184624] br-lan: port 2(lan3) entered disabled state
[   29.186314] device lan3 entered promiscuous mode
[   29.190650] mt7530 mdio-bus:1f lan4: configuring for phy/gmii link mode
[   29.193421] br-lan: port 3(lan4) entered blocking state
[   29.193431] br-lan: port 3(lan4) entered disabled state
[   29.195219] device lan4 entered promiscuous mode
[   29.199668] mt7530 mdio-bus:1f sfp2: configuring for inband/2500base-x link mode
[   29.200955] br-lan: port 4(sfp2) entered blocking state
[   29.200965] br-lan: port 4(sfp2) entered disabled state
[   29.202934] device sfp2 entered promiscuous mode
[   29.208359] mt7530 mdio-bus:1f wan: configuring for phy/gmii link mode
[   29.213590] mt7530 mdio-bus:1f wan: Link is Up - 1Gbps/Full - flow control off
[   29.213638] IPv6: ADDRCONF(NETDEV_CHANGE): wan: link becomes ready
[   29.649749] pppoe-wan: renamed from ppp0
[   30.529358] br-lan: port 5(wlan1) entered blocking state
[   30.529384] br-lan: port 5(wlan1) entered disabled state
[   30.529595] device wlan1 entered promiscuous mode
[   30.529703] br-lan: port 5(wlan1) entered blocking state
[   30.529713] br-lan: port 5(wlan1) entered forwarding state
[   30.532098] br-lan: port 5(wlan1) entered disabled state
[   31.777179] br-lan: port 6(wlan0) entered blocking state
[   31.777200] br-lan: port 6(wlan0) entered disabled state
[   31.777362] device wlan0 entered promiscuous mode
[   31.777451] br-lan: port 6(wlan0) entered blocking state
[   31.777461] br-lan: port 6(wlan0) entered forwarding state
[   31.816052] br-lan: port 6(wlan0) entered disabled state
[   33.530300] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   33.530413] br-lan: port 6(wlan0) entered blocking state
[   33.530423] br-lan: port 6(wlan0) entered forwarding state
[   33.530627] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   64.226414] overlayfs: filesystem on '/opt/docker/check-overlayfs-support1376003122/upper' not supported as upperdir
[   64.333623] overlayfs: filesystem on '/opt/docker/check-overlayfs-support1123749389/upper' not supported as upperdir
[   76.534410] svc: failed to register nfsdv3 RPC service (errno 111).
[   95.680825] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[   95.681019] br-lan: port 5(wlan1) entered blocking state
[   95.681038] br-lan: port 5(wlan1) entered forwarding state
[ 6608.816953] br-lan: port 6(wlan0) entered disabled state
[ 6608.817096] br-lan: port 5(wlan1) entered disabled state
[ 6608.821543] device lan1 left promiscuous mode
[ 6608.821645] br-lan: port 1(lan1) entered disabled state
[ 6608.910063] device lan3 left promiscuous mode
[ 6608.910248] br-lan: port 2(lan3) entered disabled state
[ 6608.978239] device lan4 left promiscuous mode
[ 6608.978455] br-lan: port 3(lan4) entered disabled state
[ 6609.047200] device sfp2 left promiscuous mode
[ 6609.047351] br-lan: port 4(sfp2) entered disabled state
[ 6609.106218] device wlan0 left promiscuous mode
[ 6609.106328] br-lan: port 6(wlan0) entered disabled state
[ 6609.173525] device wlan1 left promiscuous mode
[ 6609.173633] br-lan: port 5(wlan1) entered disabled state
[ 6609.616730] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[ 6609.619724] br-lan: port 1(lan1) entered blocking state
[ 6609.619748] br-lan: port 1(lan1) entered disabled state
[ 6609.621452] device lan1 entered promiscuous mode
[ 6609.627240] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode
[ 6609.630727] br-lan: port 2(lan3) entered blocking state
[ 6609.630747] br-lan: port 2(lan3) entered disabled state
[ 6609.632831] device lan3 entered promiscuous mode
[ 6609.637060] mt7530 mdio-bus:1f lan4: configuring for phy/gmii link mode
[ 6609.640235] br-lan: port 3(lan4) entered blocking state
[ 6609.640261] br-lan: port 3(lan4) entered disabled state
[ 6609.642267] device lan4 entered promiscuous mode
[ 6609.646947] mt7530 mdio-bus:1f sfp2: configuring for inband/2500base-x link mode
[ 6609.647670] br-lan: port 4(sfp2) entered blocking state
[ 6609.647686] br-lan: port 4(sfp2) entered disabled state
[ 6609.649788] device sfp2 entered promiscuous mode
[ 6609.653235] br-lan: port 5(wlan0) entered blocking state
[ 6609.653247] br-lan: port 5(wlan0) entered disabled state
[ 6609.653467] device wlan0 entered promiscuous mode
[ 6609.655608] br-lan: port 6(wlan1) entered blocking state
[ 6609.655622] br-lan: port 6(wlan1) entered disabled state
[ 6609.655800] device wlan1 entered promiscuous mode
[ 6609.657970] br-lan: port 6(wlan1) entered blocking state
[ 6609.657986] br-lan: port 6(wlan1) entered forwarding state
[ 6609.658035] br-lan: port 5(wlan0) entered blocking state
[ 6609.658041] br-lan: port 5(wlan0) entered forwarding state
[ 6624.660039] mt7530 mdio-bus:1f lan2: configuring for phy/gmii link mode
[ 6624.664980] mt7530 mdio-bus:1f lan2: Link is Up - 1Gbps/Full - flow control rx/tx
[ 6624.665556] br-lan: port 7(lan2) entered blocking state
[ 6624.665576] br-lan: port 7(lan2) entered disabled state
[ 6624.668439] device lan2 entered promiscuous mode
[ 6624.670773] br-lan: port 7(lan2) entered blocking state
[ 6624.670798] br-lan: port 7(lan2) entered forwarding state
[ 7958.619532] mt7530 mdio-bus:1f lan2: Link is Down
[ 7958.619701] br-lan: port 7(lan2) entered disabled state
[ 7960.220198] mt7530 mdio-bus:1f lan2: Link is Up - 10Mbps/Full - flow control rx/tx
[ 7960.220241] br-lan: port 7(lan2) entered blocking state
[ 7960.220249] br-lan: port 7(lan2) entered forwarding state
[ 7963.652222] mt7530 mdio-bus:1f lan2: Link is Down
[ 7963.652439] br-lan: port 7(lan2) entered disabled state
[ 7965.738150] mt7530 mdio-bus:1f lan2: Link is Up - 100Mbps/Full - flow control rx/tx
[ 7965.738197] br-lan: port 7(lan2) entered blocking state
[ 7965.738205] br-lan: port 7(lan2) entered forwarding state
[ 7978.452725] br-lan: port 7(lan2) entered disabled state
[ 7978.453099] mt7530 mdio-bus:1f lan2: Link is Down
[ 7982.452029] mt7530 mdio-bus:1f lan2: Link is Up - 1Gbps/Full - flow control rx/tx
[ 7982.452075] br-lan: port 7(lan2) entered blocking state
[ 7982.452082] br-lan: port 7(lan2) entered forwarding state
[ 7983.151156] mt7530 mdio-bus:1f lan2: Link is Down
[ 7983.151230] br-lan: port 7(lan2) entered disabled state
[ 7985.666268] mt7530 mdio-bus:1f lan2: Link is Up - 1Gbps/Full - flow control rx/tx
[ 7985.666325] br-lan: port 7(lan2) entered blocking state
[ 7985.666334] br-lan: port 7(lan2) entered forwarding state
[ 8159.163853] sfp sfp1: module ALCATELLUCENT    G010SP           rev 10   sn ALCLFAB7BD2D     dc 171023  
[ 8162.335446] mt7530 mdio-bus:1f lan2: Link is Down
[ 8162.335523] br-lan: port 7(lan2) entered disabled state
[ 8164.259172] mt7530 mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[ 8164.259220] br-lan: port 1(lan1) entered blocking state
[ 8164.259232] br-lan: port 1(lan1) entered forwarding state
[ 8209.546287] hwmon hwmon3: temp1_input not attached to any thermal zone
[ 8704.145965] mtk_soc_eth 15100000.ethernet eth1: configuring for inband/2500base-x link mode
[ 8704.474005] sfp sfp1: module transmit fault indicated

This module should be fully supported already (quirk for supporting 2.5G speed is present since Linux 5.5). TX_FAULT indication is hence believed to work correctly. Does the module work well on other SFP host devices?

Please try forcing speed to 1G using ethtool.

ethtool -s eth1 speed 1000

But it still doesn’t work

  root@OpenWrt:~# ethtool -s eth1 speed 1000
    netlink error: link settings update failed
    netlink error: Invalid argument
    root@OpenWrt:~#
    [47276.825213] sfp sfp1: module transmit fault indicated
    [47282.290027] sfp sfp1: module persistently indicates fault, disabling