Rpi4/UE300 repeated "eth1 carrier on/carrier off" messages and loss of bandwidth?

I am struggling with my OpenWrt Rpi4 router setup. It will run fine at 800 Mbps for a while, but then drop down to ~90 Mbps. WAN is provided using a UE300 USB ethernet adapter (eth1).

This used to run fine without drops in network speed, but recently I can't get it run consistently provide 800 Mbps.

Has anyone encountered these repeated "carrier on/carrier off" messages, and could they be related to my speed issues?

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd083]
[    0.000000] Linux version 5.15.167 (builder@buildhost) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 12.3.0 r24106-10cc5fcd00) 12.3.0, GNU ld (GNU Binutils) 2.40.0) #0 SMP Mon Sep 23 12:34:46 2024
[    0.000000] random: crng init done
[    0.000000] Machine model: Raspberry Pi 4 Model B Rev 1.5
[    0.000000] Reserved memory: created CMA memory pool at 0x000000002ac00000, size 64 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000000000-0x000000003fffffff]
[    0.000000]   DMA32    [mem 0x0000000040000000-0x00000000fbffffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000003b3fffff]
[    0.000000]   node   0: [mem 0x0000000040000000-0x00000000fbffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x00000000fbffffff]
[    0.000000] On node 0, zone DMA32: 19456 pages in unavailable ranges
[    0.000000] On node 0, zone DMA32: 16384 pages in unavailable ranges
[    0.000000] percpu: Embedded 18 pages/cpu s34904 r8192 d30632 u73728
[    0.000000] pcpu-alloc: s34904 r8192 d30632 u73728 alloc=18*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Detected PIPT I-cache on CPU0
[    0.000000] CPU features: detected: Spectre-v2
[    0.000000] CPU features: detected: Spectre-v4
[    0.000000] CPU features: detected: Spectre-BHB
[    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 996912
[    0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=0 bcm2708_fb.fbheight=0 bcm2708_fb.fbswap=1 smsc95xx.macaddr=D8:3A:DD:01:CE:95 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=squashfs,ext4 rootwait
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: mapped [mem 0x0000000037400000-0x000000003b400000] (64MB)
[    0.000000] Memory: 3827212K/4050944K available (8256K kernel code, 912K rwdata, 1296K rodata, 448K init, 554K bss, 158196K reserved, 65536K 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] Root IRQ handler: 0xffffffc0080100d0
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] arch_timer: cp15 timer(s) running at 54.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xc743ce346, max_idle_ns: 440795203123 ns
[    0.000001] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns
[    0.000230] Console: colour dummy device 80x25
[    0.000525] printk: console [tty1] enabled
[    0.000567] Calibrating delay loop (skipped), value calculated using timer frequency.. 108.00 BogoMIPS (lpj=540000)
[    0.000593] pid_max: default: 32768 minimum: 301
[    0.000855] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.000945] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.001599] cgroup: Disabling memory control group subsystem
[    0.002672] rcu: Hierarchical SRCU implementation.
[    0.003362] smp: Bringing up secondary CPUs ...
[    0.003788] Detected PIPT I-cache on CPU1
[    0.003855] CPU1: Booted secondary processor 0x0000000001 [0x410fd083]
[    0.004348] Detected PIPT I-cache on CPU2
[    0.004390] CPU2: Booted secondary processor 0x0000000002 [0x410fd083]
[    0.004838] Detected PIPT I-cache on CPU3
[    0.004880] CPU3: Booted secondary processor 0x0000000003 [0x410fd083]
[    0.004955] smp: Brought up 1 node, 4 CPUs
[    0.005014] SMP: Total of 4 processors activated.
[    0.005027] CPU features: detected: 32-bit EL0 Support
[    0.005040] CPU features: detected: CRC32 instructions
[    0.005122] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[    0.005141] CPU: All CPU(s) started at EL2
[    0.005173] alternatives: patching kernel code
[    0.013728] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.013789] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.015569] pinctrl core: initialized pinctrl subsystem
[    0.016656] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.018335] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations
[    0.018576] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.018960] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.019396] thermal_sys: Registered thermal governor 'step_wise'
[    0.019536] cpuidle: using governor ladder
[    0.019574] cpuidle: using governor menu
[    0.019764] ASID allocator initialised with 65536 entries
[    0.019856] Serial: AMBA PL011 UART driver
[    0.024041] bcm2835-mbox fe00b880.mailbox: mailbox enabled
[    0.039951] raspberrypi-firmware soc:firmware: Attached to firmware from 2023-10-17T15:39:16, variant start
[    0.049956] raspberrypi-firmware soc:firmware: Firmware hash is 30f0c5e4d076da3ab4f341d88e7d505760b93ad7
[    0.082275] cryptd: max_cpu_qlen set to 1000
[    0.083998] bcm2835-dma fe007000.dma: DMA legacy API manager, dmachans=0x1
[    0.086150] SCSI subsystem initialized
[    0.086300] usbcore: registered new interface driver usbfs
[    0.086343] usbcore: registered new interface driver hub
[    0.086383] usbcore: registered new device driver usb
[    0.086510] usb_phy_generic phy: supply vcc not found, using dummy regulator
[    0.087792] clocksource: Switched to clocksource arch_sys_counter
[    0.091130] NET: Registered PF_INET protocol family
[    0.091686] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.094465] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    0.094536] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.094564] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.094833] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
[    0.095399] TCP: Hash tables configured (established 32768 bind 32768)
[    0.095610] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.095689] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.095921] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.095963] PCI: CLS 0 bytes, default 64
[    0.099560] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[    0.103911] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.168384] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    0.171687] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges:
[    0.171729] brcm-pcie fd500000.pcie:   No bus range found for /scb/pcie@7d500000, using [bus 00-ff]
[    0.171776] brcm-pcie fd500000.pcie:      MEM 0x0600000000..0x063fffffff -> 0x00c0000000
[    0.171816] brcm-pcie fd500000.pcie:   IB MEM 0x0000000000..0x00ffffffff -> 0x0400000000
[    0.239859] brcm-pcie fd500000.pcie: link up, 5.0 GT/s PCIe x1 (SSC)
[    0.240053] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00
[    0.240074] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.240097] pci_bus 0000:00: root bus resource [mem 0x600000000-0x63fffffff] (bus address [0xc0000000-0xffffffff])
[    0.240150] pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400
[    0.240233] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.243693] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.243877] pci 0000:01:00.0: [1106:3483] type 00 class 0x0c0330
[    0.243956] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
[    0.244139] pci 0000:01:00.0: PME# supported from D0 D3hot
[    0.247525] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    0.247567] pci 0000:00:00.0: BAR 8: assigned [mem 0x600000000-0x6000fffff]
[    0.247591] pci 0000:01:00.0: BAR 0: assigned [mem 0x600000000-0x600000fff 64bit]
[    0.247654] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.247670] pci 0000:00:00.0:   bridge window [mem 0x600000000-0x6000fffff]
[    0.247867] pcieport 0000:00:00.0: enabling device (0000 -> 0002)
[    0.247999] pcieport 0000:00:00.0: PME: Signaling with IRQ 42
[    0.248276] pcieport 0000:00:00.0: AER: enabled with IRQ 42
[    0.248866] bcm2708_fb soc:fb: Unable to determine number of FBs. Disabling driver.
[    0.248889] bcm2708_fb: probe of soc:fb failed with error -2
[    0.254829] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled
[    0.255584] iproc-rng200 fe104000.rng: hwrng registered
[    0.255701] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[    0.256153] gpiomem-bcm2835 fe200000.gpiomem: Initialised: Registers at 0xfe200000
[    0.263442] brd: module loaded
[    0.266655] loop: module loaded
[    0.267332] Loading iSCSI transport class v2.0-870.
[    0.269223] bcmgenet fd580000.ethernet: GENET 5.0 EPHY: 0x0000
[    0.437847] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus
[    0.486028] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    0.486066] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
[    0.486624] xhci_hcd 0000:01:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x0003800000000890
[    0.487265] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    0.487289] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[    0.487313] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[    0.487534] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[    0.487561] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.487580] usb usb1: Product: xHCI Host Controller
[    0.487595] usb usb1: Manufacturer: Linux 5.15.167 xhci-hcd
[    0.487608] usb usb1: SerialNumber: 0000:01:00.0
[    0.487966] hub 1-0:1.0: USB hub found
[    0.488013] hub 1-0:1.0: 1 port detected
[    0.488459] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.15
[    0.488485] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.488504] usb usb2: Product: xHCI Host Controller
[    0.488517] usb usb2: Manufacturer: Linux 5.15.167 xhci-hcd
[    0.488531] usb usb2: SerialNumber: 0000:01:00.0
[    0.488837] hub 2-0:1.0: USB hub found
[    0.488881] hub 2-0:1.0: 4 ports detected
[    0.489692] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    0.489785] dwc_otg: FIQ enabled
[    0.489791] dwc_otg: NAK holdoff enabled
[    0.489796] dwc_otg: FIQ split-transaction FSM enabled
[    0.489803] Module dwc_common_port init
[    0.490096] usbcore: registered new interface driver uas
[    0.490168] usbcore: registered new interface driver usb-storage
[    0.490251] mousedev: PS/2 mouse device common for all mice
[    0.490787] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[    0.492500] sdhci: Secure Digital Host Controller Interface driver
[    0.492520] sdhci: Copyright(c) Pierre Ossman
[    0.492923] mmc-bcm2835 fe300000.mmcnr: could not get clk, deferring probe
[    0.493328] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.500663] NET: Registered PF_INET6 protocol family
[    0.501136] Segment Routing with IPv6
[    0.501152] In-situ OAM (IOAM) with IPv6
[    0.501181] NET: Registered PF_PACKET protocol family
[    0.501200] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    0.501254] 8021q: 802.1Q VLAN Support v1.8
[    0.501594] Key type .fscrypt registered
[    0.501600] Key type fscrypt-provisioning registered
[    0.504140] uart-pl011 fe201000.serial: there is not valid maps for state default
[    0.504224] uart-pl011 fe201000.serial: cts_event_workaround enabled
[    0.504299] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 17, base_baud = 0) is a PL011 rev2
[    0.777787] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[    0.779104] printk: console [ttyAMA0] enabled
[    0.960375] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.21
[    0.970017] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[    0.972955] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    0.978571] mmc-bcm2835 fe300000.mmcnr: mmc_debug:0 mmc_debug2:0
[    0.982429] usb 1-1: Product: USB2.0 Hub
[    0.987907] mmc-bcm2835 fe300000.mmcnr: DMA channel allocated
[    0.998554] hub 1-1:1.0: USB hub found
[    1.038331] of_cfs_init
[    1.052963] hub 1-1:1.0: 4 ports detected
[    1.057894] of_cfs_init: OK
[    1.123048] usb 2-1: new SuperSpeed USB device number 2 using xhci_hcd
[    1.127273] clk: Disabling unused clocks
[    1.245481] usb 2-1: New USB device found, idVendor=2357, idProduct=0601, bcdDevice=30.00
[    1.318162] mmc1: new high speed SDIO card at address 0001
[    1.320534] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=6
[    1.687518] usb 2-1: Product: USB 10/100/1000 LAN
[    1.687521] usb 2-1: Manufacturer: TP-Link
[    1.696304] usb 2-1: SerialNumber: 000001
[    1.736387] mmc0: SDHCI controller on fe340000.mmc [fe340000.mmc] using ADMA
[    1.743687] Waiting for root device /dev/mmcblk0p2...
[    1.841038] mmc0: new ultra high speed DDR50 SDHC card at address 0001
[    1.847971] mmcblk0: mmc0:0001 EB1QT 29.8 GiB 
[    1.848148] usb 2-2: new SuperSpeed USB device number 3 using xhci_hcd
[    1.853062]  mmcblk0: p1 p2
[    1.861833] mmcblk0: mmc0:0001 EB1QT 29.8 GiB
[    1.874598] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: disabled.
[    1.884743] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    1.891806] Freeing unused kernel memory: 448K
[    1.896323] Run /sbin/init as init process
[    1.899142] usb 2-2: New USB device found, idVendor=1058, idProduct=25a1, bcdDevice=10.14
[    1.900419]   with arguments:
[    1.908587]     /sbin/init
[    1.908589]   with environment:
[    1.908590] usb 2-2: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[    1.908593]     HOME=/
[    1.908595]     TERM=linux
[    1.915720] usb 2-2: Product: Elements 25A1
[    1.919898] usb 2-2: Manufacturer: Western Digital
[    1.924680] usb 2-2: SerialNumber: 575833314533384456364632
[    1.932195] usb-storage 2-2:1.0: USB Mass Storage device detected
[    1.938494] scsi host0: usb-storage 2-2:1.0
[    1.954344] init: Console is alive
[    1.957928] init: - watchdog -
[    2.098476] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    2.153802] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    2.163050] init: - preinit -
[    2.229707] bcmgenet fd580000.ethernet: configuring instance for external RGMII (RX delay)
[    2.238182] bcmgenet fd580000.ethernet eth0: Link is Down
[    2.405087] uart-pl011 fe201000.serial: no DMA platform data
[    2.968458] scsi 0:0:0:0: Direct-Access     WD       Elements 25A1    1014 PQ: 0 ANSI: 6
[    2.978914] sd 0:0:0:0: [sda] Spinning up disk...
[    4.007809] .
[    4.590404] mount_root: mounting /dev/root
[    4.619465] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null). Quota mode: disabled.
[    4.627059] mount_root: loading kmods from internal overlay
[    4.648613] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[    4.656289] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[    4.722174] block: attempting to load /etc/config/fstab
[    4.732225] block: extroot: not configured
[    5.047806] ..ready
[    6.090250] sd 0:0:0:0: [sda] Very big device. Trying to use READ CAPACITY(16).
[    6.097738] sd 0:0:0:0: [sda] 7813969920 512-byte logical blocks: (4.00 TB/3.64 TiB)
[    6.105506] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    6.111294] sd 0:0:0:0: [sda] Write Protect is off
[    6.116091] sd 0:0:0:0: [sda] Mode Sense: 47 00 10 08
[    6.116559] sd 0:0:0:0: [sda] No Caching mode page found
[    6.121869] sd 0:0:0:0: [sda] Assuming drive cache: write through
[    6.306435]  sda: sda1
[    6.310429] sd 0:0:0:0: [sda] Attached SCSI disk
[    6.320836] insmod: module is already loaded - fat
[    6.328215] insmod: module is already loaded - vfat
[    6.342689] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[    6.353528] urandom-seed: Seeding with /etc/urandom.seed
[    6.390612] procd: - early -
[    6.393616] procd: - watchdog -
[    6.931484] procd: - watchdog -
[    6.935495] procd: - ubus -
[    6.990035] procd: - init -
[    7.114774] kmodloader: loading kernel modules from /etc/modules.d/*
[    7.136819] hid: raw HID events driver (C) Jiri Kosina
[    7.143024] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[    7.154509] GACT probability on
[    7.158193] Mirror/redirect action on
[    7.163328] u32 classifier
[    7.166042]     input device check on
[    7.169733]     Actions configured
[    7.186473] Loading modules backported from Linux version v6.1.110-0-g5f55cad62cc9d
[    7.194168] Backport generated by backports.git v6.1.110-1-0-g965f73fc
[    7.202011] usbcore: registered new interface driver lan78xx
[    7.211842] usbcore: registered new device driver r8152-cfgselector
[    7.378251] r8152-cfgselector 2-1: reset SuperSpeed USB device number 2 using xhci_hcd
[    7.448412] r8152 2-1:1.0: load rtl8153a-4 v2 02/07/20 successfully
[    7.499125] r8152 2-1:1.0 eth1: v1.12.13
[    7.503136] usbcore: registered new interface driver r8152
[    7.511869] usbcore: registered new interface driver usbhid
[    7.517454] usbhid: USB HID core driver
[    7.526133] xt_time: kernel timezone is -0000
[    7.531164] usbcore: registered new interface driver cdc_ether
[    7.537629] usbcore: registered new interface driver cdc_ncm
[    7.563447] PPP generic driver version 2.4.2
[    7.568295] NET: Registered PF_PPPOX protocol family
[    7.574297] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    7.582160] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    7.671326] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    7.680204] usbcore: registered new interface driver brcmfmac
[    7.686097] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.bin failed with error -2
[    7.697771] brcmfmac mmc1:0001:1: Falling back to sysfs fallback for: brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.bin
[    7.710035] kmodloader: done loading kernel modules from /etc/modules.d/*
[    7.894145] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: . Quota mode: disabled.
[    8.333519] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Jul 29 2022 02:15:20 version 7.45.250 (70e9766 CY) FWID 01-e53e306b
[    9.716626] bcmgenet fd580000.ethernet: configuring instance for external RGMII (RX delay)
[    9.725291] bcmgenet fd580000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[    9.725494] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    9.740188] br-lan: port 1(eth0.1) entered blocking state
[    9.745602] br-lan: port 1(eth0.1) entered disabled state
[    9.751204] device eth0.1 entered promiscuous mode
[    9.755991] device eth0 entered promiscuous mode
[   10.727827] br-lan: port 1(eth0.1) entered blocking state
[   10.733251] br-lan: port 1(eth0.1) entered forwarding state
[   12.968214] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[   12.968694] r8152 2-1:1.0 eth1: carrier on
[ 1753.786164] r8152 2-1:1.0 eth1: carrier off
[ 1756.774657] r8152 2-1:1.0 eth1: carrier on
[ 1758.988508] r8152 2-1:1.0 eth1: carrier off
[ 1761.991210] r8152 2-1:1.0 eth1: carrier on
[ 4741.655925] r8152 2-1:1.0 eth1: carrier off
[ 4745.380251] r8152 2-1:1.0 eth1: carrier on
[13187.953921] r8152 2-1:1.0 eth1: carrier off
[13196.255072] r8152 2-1:1.0 eth1: carrier on
[13197.635664] r8152 2-1:1.0 eth1: carrier off
[13200.639565] r8152 2-1:1.0 eth1: carrier on
[14804.733495] r8152 2-1:1.0 eth1: carrier off
[14808.505445] r8152 2-1:1.0 eth1: carrier on
[14835.504947] r8152 2-1:1.0 eth1: carrier off
[14839.229530] r8152 2-1:1.0 eth1: carrier on
[15219.052152] r8152 2-1:1.0 eth1: carrier off
[15227.449326] r8152 2-1:1.0 eth1: carrier on
[15228.637589] r8152 2-1:1.0 eth1: carrier off
[15231.625857] r8152 2-1:1.0 eth1: carrier on
[15253.970020] r8152 2-1:1.0 eth1: carrier off
[15257.662036] r8152 2-1:1.0 eth1: carrier on
[18207.070896] hrtimer: interrupt took 2481 ns
[75858.926376] r8152 2-1:1.0 eth1: carrier off
[75862.602858] r8152 2-1:1.0 eth1: carrier on
[75875.376906] r8152 2-1:1.0 eth1: carrier off
[75879.053450] r8152 2-1:1.0 eth1: carrier on
[75880.466060] r8152 2-1:1.0 eth1: carrier off
[75883.453947] r8152 2-1:1.0 eth1: carrier on
[76850.359485] r8152 2-1:1.0 eth1: carrier off
[76854.164005] r8152 2-1:1.0 eth1: carrier on
[76855.576583] r8152 2-1:1.0 eth1: carrier off
[76858.564481] r8152 2-1:1.0 eth1: carrier on
[77473.735919] r8152 2-1:1.0 eth1: carrier off
[77477.428103] r8152 2-1:1.0 eth1: carrier on
[77478.840954] r8152 2-1:1.0 eth1: carrier off
[77481.844857] r8152 2-1:1.0 eth1: carrier on
[77696.395324] r8152 2-1:1.0 eth1: carrier off
[77700.070875] r8152 2-1:1.0 eth1: carrier on
[77754.019014] r8152 2-1:1.0 eth1: carrier off
[77757.775482] r8152 2-1:1.0 eth1: carrier on
[77759.061126] r8152 2-1:1.0 eth1: carrier off
[77762.032113] r8152 2-1:1.0 eth1: carrier on
[77764.756734] r8152 2-1:1.0 eth1: carrier off
[77767.745078] r8152 2-1:1.0 eth1: carrier on
[77858.019418] r8152 2-1:1.0 eth1: carrier off
[77861.728188] r8152 2-1:1.0 eth1: carrier on
[77865.588479] r8152 2-1:1.0 eth1: carrier off
[77868.592540] r8152 2-1:1.0 eth1: carrier on
[77879.414196] r8152 2-1:1.0 eth1: carrier off
[77882.386671] r8152 2-1:1.0 eth1: carrier on
[77883.607523] r8152 2-1:1.0 eth1: carrier off
[77886.596103] r8152 2-1:1.0 eth1: carrier on
[77902.410241] r8152 2-1:1.0 eth1: carrier off
[77905.382773] r8152 2-1:1.0 eth1: carrier on
[77906.731032] r8152 2-1:1.0 eth1: carrier off
[77909.702940] r8152 2-1:1.0 eth1: carrier on
[77911.674962] r8152 2-1:1.0 eth1: carrier off
[77914.679701] r8152 2-1:1.0 eth1: carrier on
[77916.124592] r8152 2-1:1.0 eth1: carrier off
[77919.113223] r8152 2-1:1.0 eth1: carrier on
[77920.430305] r8152 2-1:1.0 eth1: carrier off
[77924.137125] r8152 2-1:1.0 eth1: carrier on
[77925.582682] r8152 2-1:1.0 eth1: carrier off
[77928.537965] r8152 2-1:1.0 eth1: carrier on
[78154.433347] r8152 2-1:1.0 eth1: carrier off
[78166.446571] r8152 2-1:1.0 eth1: carrier on
[78167.731640] r8152 2-1:1.0 eth1: carrier off
[78170.719255] r8152 2-1:1.0 eth1: carrier on
[78172.164098] r8152 2-1:1.0 eth1: carrier off
[78175.167950] r8152 2-1:1.0 eth1: carrier on
[78176.596810] r8152 2-1:1.0 eth1: carrier off
[78179.568841] r8152 2-1:1.0 eth1: carrier on
[78181.014089] r8152 2-1:1.0 eth1: carrier off
[78184.017410] r8152 2-1:1.0 eth1: carrier on
[78227.036264] r8152 2-1:1.0 eth1: carrier off
[78230.841352] r8152 2-1:1.0 eth1: carrier on
[78232.253369] r8152 2-1:1.0 eth1: carrier off
[78235.242215] r8152 2-1:1.0 eth1: carrier on
[78236.686703] r8152 2-1:1.0 eth1: carrier off
[78239.658736] r8152 2-1:1.0 eth1: carrier on
[78243.838590] r8152 2-1:1.0 eth1: carrier off
[78258.909787] r8152 2-1:1.0 eth1: carrier on

My guess is faulty autonegotiation between r8152 adapter and whatever you have in the other end. :wink:

(As mentioned earlier, that and also the USB interface are the two places where equipment from different vendors are connected in a way which may not have been tried before.)

The other "end" is my ISP's FIOS ONT. (Verizon). No changes to that, at least on the proximal side, that I am aware of... certainly not something I can control.

Have you replaced the cables yet? This looks like a classic case of a bad cable. Could also be related to debris or bent pins in the connector. If there are any additional wires or terminations along the way (i.e. structured cabling), it could be anywhere along that route.

1 Like

You already ruled out hardware issues as per @psherman suggestion right?

Might want to try inserting a network switch between r8152 and ONT, just to find out if that helps.

Another idea is setting minimum negotiated speed to 1G full duplex with ethtool on r8152 end; still worth a shot too, just to see what happens, IMHO.

Hmm, yes: I just tried ethtool -s eth1 duplex full speed 1000 and my network speed went back to 800 Mbps. So what does that tell me?

1 Like

That these two pieces of kit are somewhat incompatible and that you might want to look around for a USB adapter based on some other chip (since that's the easiest kit to replace)? :slight_smile:

Probably your USB gadget overheats.

1 Like

IMO, not much.

By forcing your ethernet port to 1Gbps, it will only advertise 1Gbps link speeds during the negotiation. This will appear fine for a little while as long as the cable and remote end are in a good state. However, when something changes just slightly, the link will fail altogether, rather than just dropping down to 100Mbps. So imagine that the issue is a marginal cable... seems fine right now but when the temperature changes slightly, the cable may expand/contract just slightly causing one or more of the conductors to fail to conduct properly... at that point, the link will just drop entirely if you only allow 1Gbps.

I didn't see any response about the cable, though -- have you tried replacing it?

1 Like

Cut a bit here and there

Slab some adhesive thermal paste on there and a flat chunk of copper on top

-or- Saw a corner off an old heatsink, leaving 2-4 fins on top, lightly moisten its bottom with a finger dabbed in some vegetable oil. Slap that thing on top, wrap some household rubber bands around the whole thing and in between the fins to hold it in place.

-or- Just cut a hole; should reduce radiative heat coming back from the enclosure and also allow for a bit of convection.

See if that helps?

1 Like

I haven't run a new cable yet. I can put that on the list, just not the easiest thing since the ONT is outside so I have to run the new cable through an exterior wall.

oof, maybe take the RPi outside instead, connect it with a new cable, throw the whole thing inside a plastic bag, put it somewhere upside down so the plastic bag opening points downward and zip-tie the whole thing shut to keep out the rain.

for testing purposes of course, to see if a new cable helps

might also help if the problem is temperature-related though, so... would end up not really knowing if the fix ended up being the cable or the cool outdoor environment :thinking:

That does sound like a pain. But, on the other hand, also sounds like a potential culprit.

Yeah. And as you predicted, forcing the device to 1 Gb worked for a short period and then the connection was lost completely.

Is there a way I can reliably test a cable between my RPi and a laptop and see if it comes up with an error?

ethtool -S eth1

1 Like

Not really when the behavior is intermittent... I mean, you could see if the same thing happens again, but that's not a totally reliable method. (depending on the electrical design of each of the endpoint devices, they may be more or less tolerant of a marginal cable).

You need a higher end cable tester/verifier to be able to get that kind of diagnostic information, but those tend to be expensive and not the domain of home users (I don't know many home users who will drop nearly $2K USD on a verifier like this)

If you think it could be the USB adapter, try swapping eth0 and eth1 in the Pi networks so that USB is your LAN instead.

Possibly, but I do not think so. The RPi and the adapter have 3 120mm fans running over them. I haven't opened it up, but the case of the USB ethernet device is around only 23C.

Just waiting for a bit of down time to switch the cables between the router and the ISP ONT unit.

You need something more stable to test the cable, just in case.

I've thought about that. I did try two different USB adapters, and the model (TP-Link UE300) is one that is known to be reliable for this purpose. So I don't think that's the issue.