Internet connection gone after performing speed tests

Yes it is safe to assume that it "should not consume more" as that is what the standard dictates, but real devices have been reported to violate standards, shocking, I know :wink:

Me? Just because you reported a load dependent instability, and higher load means more demands on the ethernet chip -> more work to do and there fore probably higher current draw. But from my side that is pure speculation.

2 Likes

that's relative to good 3A supply and usb-c cable... limitations there will easily get you below 900mA (yes for all 4 ports)

  • add a small usb flash drive or whatever... and the situation is even dicier...
  • 8gb board with higher cpu-freq? guess what...

there is no way we can current/voltage test everyone's supply... so there is no way to reliably state what current is supported or not

the pi-foundation forums are absolutely littered with stories of devices over wanting... or the pi undersupplying power...

2 Likes

IMO, it is a real possibility that should be tested and ruled out before you pull your hair out chasing other things. My reasoning is the same as given by @moeller0 and @anon50098793 .

I'll give you another example where power comes into play even when the specs say it should be fine: I used to be active on the Ubiquiti forums and there were many examples of people powering an ER-X router using PoE input and then using the PoE passthrough to power their APs. This eliminates a power brick, so seems great, and the math says that it should be within the limit. However, some users would experience crashes/reboots of their router and/or AP when under high load. The solution was simple -- power each device individually and things will be stable.

2 Likes

Fair enough. I asked for help here, so i'll take into account your remarks.

Currently running a test with a powered hub (it's more like a USB KVM but also works as a simple hub if only plugged to one PC; it features an additional 5V micro USB input, power supplied with a 5V 2A mobile phone charger).

Before that, I stress tested (stress-ng) the RPI while download an .iso file at full speed, 8W max @ 'default' and 12 W max once OCed to 2GHz and over_voltage set to +8).

To sum things up:

8W max (not really default conf, because I forced the CPU to run at 1.5GHz at all times, to have a more consistent power draw, as I don't think my power meter has a very low polling rate, so it could miss a very short instantaneous power peak, if that could ever happen in the first place):

force_turbo=1
#over_voltage=8
arm_freq=1500

=> Connection eventually failed (WAN only, LAN was OK)

12W max:

force_turbo=1
over_voltage=8
arm_freq=2000

=> System became unresponsive, then lost SSH connection. Maybe it crashed due to power, maybe the CPU was simply overwhelmed, I don't know.

Edit:
Test: so far, so good.

With a 10GB file (go big or go home, right?)

1 Like

Looks like I have both Asix all in one, who would have imagined that was possible?

Now, connected through the hub:

root@OpenWrt:~# dmesg
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd083]
[    0.000000] Linux version 5.4.154 (builder@buildhost) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r16325-88151b8303)) #0 SMP Sun Oct 24           09:01:35 2021
[    0.000000] Machine model: Raspberry Pi 4 Model B Rev 1.2
[    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] On node 0 totalpages: 1012736
[    0.000000]   DMA zone: 3792 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 242688 pages, LIFO batch:63
[    0.000000]   DMA32 zone: 12032 pages used for memmap
[    0.000000]   DMA32 zone: 770048 pages, LIFO batch:63
[    0.000000] percpu: Embedded 21 pages/cpu s45336 r8192 d32488 u86016
[    0.000000] pcpu-alloc: s45336 r8192 d32488 u86016 alloc=21*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: EL2 vector hardening
[    0.000000] ARM_SMCCC_ARCH_WORKAROUND_1 missing from firmware
[    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 bcm27          08_fb.fbwidth=0 bcm2708_fb.fbheight=0 bcm2708_fb.fbswap=1 smsc95xx.macaddr=DC:A6:32:78:5F:57 vc_mem.mem_base=0x3ec00000 vc_mem.mem_si          ze=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 0x37400000-0x3b400000] (64MB)
[    0.000000] Memory: 3829424K/4050944K available (7102K kernel code, 432K rwdata, 1144K rodata, 512K init, 541K bss, 155984K reserv          ed, 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] rcu:     CONFIG_RCU_FANOUT set to non-default value of 32.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] random: get_random_bytes called from 0xffffffc0108a0b98 with crng_init=0
[    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.000002] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns
[    0.000075] Console: colour dummy device 80x25
[    0.000170] printk: console [tty1] enabled
[    0.000187] Calibrating delay loop (skipped), value calculated using timer frequency.. 108.00 BogoMIPS (lpj=216000)
[    0.000196] pid_max: default: 32768 minimum: 301
[    0.000312] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.000368] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.000700] cgroup: Disabling memory control group subsystem
[    0.001120] ASID allocator initialised with 32768 entries
[    0.001162] rcu: Hierarchical SRCU implementation.
[    0.001483] smp: Bringing up secondary CPUs ...
[    0.001677] Detected PIPT I-cache on CPU1
[    0.001706] CPU1: Booted secondary processor 0x0000000001 [0x410fd083]
[    0.001922] Detected PIPT I-cache on CPU2
[    0.001936] CPU2: Booted secondary processor 0x0000000002 [0x410fd083]
[    0.002131] Detected PIPT I-cache on CPU3
[    0.002144] CPU3: Booted secondary processor 0x0000000003 [0x410fd083]
[    0.002173] smp: Brought up 1 node, 4 CPUs
[    0.002196] SMP: Total of 4 processors activated.
[    0.002202] CPU features: detected: 32-bit EL0 Support
[    0.002207] CPU features: detected: CRC32 instructions
[    0.002231] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[    0.002238] CPU: All CPU(s) started at EL2
[    0.002251] alternatives: patching kernel code
[    0.005883] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.005907] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.007139] pinctrl core: initialized pinctrl subsystem
[    0.007633] NET: Registered protocol family 16
[    0.008312] DMA: preallocated 1024 KiB pool for atomic allocations
[    0.008602] cpuidle: using governor ladder
[    0.008614] cpuidle: using governor menu
[    0.008726] Serial: AMBA PL011 UART driver
[    0.009461] bcm2835-mbox fe00b880.mailbox: mailbox enabled
[    0.016006] raspberrypi-firmware soc:firmware: Attached to firmware from 2021-02-16 14:17, variant start
[    0.020003] raspberrypi-firmware soc:firmware: Firmware hash is d6d82cf99bcb3e9a166a34cfde53130957a36bd3
[    0.032651] bcm2835-dma fe007000.dma: DMA legacy API manager, dmachans=0x1
[    0.033465] SCSI subsystem initialized
[    0.033544] usbcore: registered new interface driver usbfs
[    0.033564] usbcore: registered new interface driver hub
[    0.033581] usbcore: registered new device driver usb
[    0.033634] usb_phy_generic phy: phy supply vcc not found, using dummy regulator
[    0.033766] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[    0.034184] clocksource: Switched to clocksource arch_sys_counter
[    0.035575] thermal_sys: Registered thermal governor 'step_wise'
[    0.035685] NET: Registered protocol family 2
[    0.036101] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.037269] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    0.037294] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.037391] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
[    0.037898] TCP: Hash tables configured (established 32768 bind 32768)
[    0.038049] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.038079] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.038215] NET: Registered protocol family 1
[    0.038237] PCI: CLS 0 bytes, default 64
[    0.038841] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[    0.040784] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.050311] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.051251] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges:
[    0.051264] brcm-pcie fd500000.pcie:   No bus range found for /scb/pcie@7d500000, using [bus 00-ff]
[    0.051279] brcm-pcie fd500000.pcie:      MEM 0x0600000000..0x0603ffffff -> 0x00f8000000
[    0.051292] brcm-pcie fd500000.pcie:   IB MEM 0x0000000000..0x00bfffffff -> 0x0400000000
[    0.100235] brcm-pcie fd500000.pcie: link up, 5 GT/s x1 (SSC)
[    0.100307] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00
[    0.100315] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.100323] pci_bus 0000:00: root bus resource [mem 0x600000000-0x603ffffff] (bus address [0xf8000000-0xfbffffff])
[    0.100342] pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400
[    0.100389] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.101774] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.101860] pci 0000:01:00.0: [1106:3483] type 00 class 0x0c0330
[    0.101890] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
[    0.101970] pci 0000:01:00.0: PME# supported from D0 D3cold
[    0.103286] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    0.103305] pci 0000:00:00.0: BAR 8: assigned [mem 0x600000000-0x6000fffff]
[    0.103313] pci 0000:01:00.0: BAR 0: assigned [mem 0x600000000-0x600000fff 64bit]
[    0.103355] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.103362] pci 0000:00:00.0:   bridge window [mem 0x600000000-0x6000fffff]
[    0.103436] pcieport 0000:00:00.0: enabling device (0000 -> 0002)
[    0.103491] pcieport 0000:00:00.0: PME: Signaling with IRQ 38
[    0.103608] pcieport 0000:00:00.0: AER: enabled with IRQ 38
[    0.103699] pci 0000:01:00.0: enabling device (0000 -> 0002)
[    0.103872] bcm2708_fb soc:fb: Unable to determine number of FBs. Disabling driver.
[    0.103884] bcm2708_fb: probe of soc:fb failed with error -2
[    0.104628] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled
[    0.104969] iproc-rng200 fe104000.rng: hwrng registered
[    0.105023] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[    0.105199] gpiomem-bcm2835 fe200000.gpiomem: Initialised: Registers at 0xfe200000
[    0.105290] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.105844] random: fast init done
[    0.106222] random: crng init done
[    0.107945] brd: module loaded
[    0.109506] loop: module loaded
[    0.109859] Loading iSCSI transport class v2.0-870.
[    0.110440] libphy: Fixed MDIO Bus: probed
[    0.110547] bcmgenet fd580000.ethernet: failed to get enet clock
[    0.110556] bcmgenet fd580000.ethernet: GENET 5.0 EPHY: 0x0000
[    0.110563] bcmgenet fd580000.ethernet: failed to get enet-wol clock
[    0.110569] bcmgenet fd580000.ethernet: failed to get enet-eee clock
[    0.110585] bcmgenet: Skipping UMAC reset
[    0.122186] libphy: bcmgenet MII bus: probed
[    0.170195] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus
[    0.170589] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    0.170603] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
[    0.171077] xhci_hcd 0000:01:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x0000009000000890
[    0.171437] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    0.171445] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[    0.171456] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[    0.171590] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[    0.171598] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.171605] usb usb1: Product: xHCI Host Controller
[    0.171610] usb usb1: Manufacturer: Linux 5.4.154 xhci-hcd
[    0.171615] usb usb1: SerialNumber: 0000:01:00.0
[    0.171750] hub 1-0:1.0: USB hub found
[    0.171795] hub 1-0:1.0: 1 port detected
[    0.172063] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.04
[    0.172071] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.172078] usb usb2: Product: xHCI Host Controller
[    0.172083] usb usb2: Manufacturer: Linux 5.4.154 xhci-hcd
[    0.172089] usb usb2: SerialNumber: 0000:01:00.0
[    0.172201] hub 2-0:1.0: USB hub found
[    0.172247] hub 2-0:1.0: 4 ports detected
[    0.172601] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    0.172638] dwc_otg: FIQ enabled
[    0.172639] dwc_otg: NAK holdoff enabled
[    0.172641] dwc_otg: FIQ split-transaction FSM enabled
[    0.172643] Module dwc_common_port init
[    0.172769] usbcore: registered new interface driver uas
[    0.172802] usbcore: registered new interface driver usb-storage
[    0.172832] mousedev: PS/2 mouse device common for all mice
[    0.173025] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[    0.173435] sdhci: Secure Digital Host Controller Interface driver
[    0.173441] sdhci: Copyright(c) Pierre Ossman
[    0.173570] mmc-bcm2835 fe300000.mmcnr: could not get clk, deferring probe
[    0.173660] Error: Driver 'sdhost-bcm2835' is already registered, aborting...
[    0.173665] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.175832] vchiq: vchiq_init_state: slot_zero = 0000000075a4f0c4
[    0.177365] NET: Registered protocol family 10
[    0.177780] Segment Routing with IPv6
[    0.177814] NET: Registered protocol family 17
[    0.177834] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if           you need this.
[    0.177842] 8021q: 802.1Q VLAN Support v1.8
[    0.178006] Key type ._fscrypt registered
[    0.178011] Key type .fscrypt registered
[    0.180349] uart-pl011 fe201000.serial: cts_event_workaround enabled
[    0.180402] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 14, base_baud = 0) is a PL011 rev2
[    0.400048] usb 2-2: new SuperSpeed Gen 1 USB device number 2 using xhci_hcd
[    0.410501] printk: console [ttyAMA0] enabled
[    0.486680] usb 2-2: New USB device found, idVendor=0b95, idProduct=1790, bcdDevice= 1.00
[    0.494900] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[    0.496504] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    0.501828] mmc-bcm2835 fe300000.mmcnr: mmc_debug:0 mmc_debug2:0
[    0.509973] usb 2-2: Product: AX88179
[    0.514058] mmc-bcm2835 fe300000.mmcnr: DMA channel allocated
[    0.563716] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[    0.568469] usb 2-2: Manufacturer: ASIX Elec. Corp.
[    0.568472] usb 2-2: SerialNumber: 00000000000179
[    0.579422] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    0.650183] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[    0.655101] mmc0: SDHCI controller on fe340000.emmc2 [fe340000.emmc2] using ADMA
[    0.870004] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.21
[    0.876177] of_cfs_init
[    0.881217] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    0.881220] usb 1-1: Product: USB2.0 Hub
[    0.888912] of_cfs_init: OK
[    0.921997] hub 1-1:1.0: USB hub found
[    0.929263] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    0.934874] hub 1-1:1.0: 4 ports detected
[    0.940580] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[    1.351087] Waiting for root device /dev/mmcblk0p2...
[    1.357670] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.453293] mmc0: new ultra high speed DDR50 SDXC card at address 0001
[    1.460250] mmcblk0: mmc0:0001 ED4QT 119 GiB
[    1.465342]  mmcblk0: p1 p2
[    1.469186] mmc1: new high speed SDIO card at address 0001
[    1.487936] EXT4-fs (mmcblk0p2): mounted filesystem without journal. Opts: (null)
[    1.495455] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    1.502528] Freeing unused kernel memory: 512K
[    1.514225] Run /sbin/init as init process
[    1.557696] init: Console is alive
[    1.561211] init: - watchdog -
[    1.752125] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    1.765693] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    1.775948] init: - preinit -
[    1.861775] bcmgenet: Skipping UMAC reset
[    1.866982] bcmgenet fd580000.ethernet: configuring instance for external RGMII
[    1.874443] bcmgenet fd580000.ethernet eth0: Link is Down
[    5.911430] mount_root: mounting /dev/root
[    5.915896] EXT4-fs (mmcblk0p2): warning: mounting unchecked fs, running e2fsck is recommended
[    5.925706] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    5.945702] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[    5.954259] bcmgenet fd580000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[    5.963662] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    5.966730] urandom-seed: Seeding with /etc/urandom.seed
[    6.008205] bcmgenet fd580000.ethernet eth0: Link is Down
[    6.015717] procd: - early -
[    6.018851] procd: - watchdog -
[    6.539008] procd: - watchdog -
[    6.542835] procd: - ubus -
[    6.596462] procd: - init -
[    6.600071] uart-pl011 fe201000.serial: no DMA platform data
[    6.666927] kmodloader: loading kernel modules from /etc/modules.d/*
[    6.686419] tun: Universal TUN/TAP device driver, 1.6
[    6.699171] sctp: Hash tables configured (bind 256/256)
[    6.722564] hidraw: raw HID events driver (C) Jiri Kosina
[    6.728825] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[    6.739941] GACT probability on
[    6.743520] Mirror/redirect action on
[    6.748942] u32 classifier
[    6.751660]     input device check on
[    6.755319]     Actions configured
[    6.775190] Loading modules backported from Linux version v5.10.68-0-g4d8524048a35
[    6.782780] Backport generated by backports.git v5.10.68-1-0-ga4f9ba32
[    6.797231] usbcore: registered new interface driver usbhid
[    6.802820] usbhid: USB HID core driver
[    6.813130] xt_time: kernel timezone is -0000
[    7.152071] ax88179_178a 2-2:1.0 eth1: register 'ax88179_178a' at usb-0000:01:00.0-2, ASIX AX88179 USB 3.0 Gigabit Ethernet, 00:0e          :c6:48:54:17
[    7.166319] usbcore: registered new interface driver ax88179_178a
[    7.173402] usbcore: registered new interface driver cdc_ether
[    7.195091] PPP generic driver version 2.4.2
[    7.200004] NET: Registered protocol family 24
[    7.205159] usbcore: registered new interface driver rndis_host
[    7.212803] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    7.220652] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    7.242574] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    7.408676] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    7.426516] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Mar 23 2020 02:20:01 version 7.45.206 (r725000 CY) FWID 01-f          ebaba43
[    7.464833] usbcore: registered new interface driver brcmfmac
[    7.472035] kmodloader: done loading kernel modules from /etc/modules.d/*
[    8.347889] bcmgenet: Skipping UMAC reset
[    8.353075] bcmgenet fd580000.ethernet: configuring instance for external RGMII
[    8.360515] bcmgenet fd580000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[   12.673360] ax88179_178a 2-2:1.0 eth1: ax88179 - Link status is: 1
[  251.363521] usb 1-1.2: new high-speed USB device number 3 using xhci_hcd
[  251.711561] usb 2-2: USB disconnect, device number 2
[  251.716715] xhci_hcd 0000:01:00.0: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
[  251.726317] ax88179_178a 2-2:1.0 eth1: unregister 'ax88179_178a' usb-0000:01:00.0-2, ASIX AX88179 USB 3.0 Gigabit Ethernet
[  251.737448] ax88179_178a 2-2:1.0 eth1: Failed to read reg index 0x0002: -19
[  251.744414] ax88179_178a 2-2:1.0 eth1: Failed to write reg index 0x0002: -19
[  251.787581] ax88179_178a 2-2:1.0 eth1 (unregistered): Failed to write reg index 0x0002: -19
[  251.795969] ax88179_178a 2-2:1.0 eth1 (unregistered): Failed to write reg index 0x0001: -19
[  251.804396] ax88179_178a 2-2:1.0 eth1 (unregistered): Failed to write reg index 0x0002: -19
[  273.503617] usb 1-1.2: new high-speed USB device number 4 using xhci_hcd
[  273.610583] usb 1-1.2: New USB device found, idVendor=05e3, idProduct=0610, bcdDevice=92.26
[  273.618938] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  273.626246] usb 1-1.2: Product: USB2.0 Hub
[  273.630339] usb 1-1.2: Manufacturer: GenesysLogic
[  273.636132] hub 1-1.2:1.0: USB hub found
[  273.640368] hub 1-1.2:1.0: 4 ports detected
[  273.735971] usb 2-2: new SuperSpeed Gen 1 USB device number 3 using xhci_hcd
[  273.762902] usb 2-2: New USB device found, idVendor=05e3, idProduct=0612, bcdDevice=92.26
[  273.771146] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  273.778322] usb 2-2: Product: USB3.1 Hub
[  273.782286] usb 2-2: Manufacturer: GenesysLogic
[  273.788007] hub 2-2:1.0: USB hub found
[  273.792093] hub 2-2:1.0: 4 ports detected
[  312.816294] usb 2-2.4: new SuperSpeed Gen 1 USB device number 4 using xhci_hcd
[  312.846973] usb 2-2.4: New USB device found, idVendor=0b95, idProduct=1790, bcdDevice= 1.00
[  312.855325] usb 2-2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  312.862634] usb 2-2.4: Product: AX88179
[  312.866468] usb 2-2.4: Manufacturer: ASIX Elec. Corp.
[  312.871516] usb 2-2.4: SerialNumber: 00000000000179
[  313.214074] ax88179_178a 2-2.4:1.0 eth1: register 'ax88179_178a' at usb-0000:01:00.0-2.4, ASIX AX88179 USB 3.0 Gigabit Ethernet, 0          0:0e:c6:48:54:17
[  317.531202] ax88179_178a 2-2.4:1.0 eth1: ax88179 - Link status is: 1
[  328.611181] usb 2-2.4: USB disconnect, device number 4
[  328.617306] ax88179_178a 2-2.4:1.0 eth1: unregister 'ax88179_178a' usb-0000:01:00.0-2.4, ASIX AX88179 USB 3.0 Gigabit Ethernet
[  328.628814] ax88179_178a 2-2.4:1.0 eth1: Failed to read reg index 0x0002: -19
[  328.635953] ax88179_178a 2-2.4:1.0 eth1: Failed to write reg index 0x0002: -19
[  328.671836] ax88179_178a 2-2.4:1.0 eth1 (unregistered): Failed to write reg index 0x0002: -19
[  328.680377] ax88179_178a 2-2.4:1.0 eth1 (unregistered): Failed to write reg index 0x0001: -19
[  328.688906] ax88179_178a 2-2.4:1.0 eth1 (unregistered): Failed to write reg index 0x0002: -19
[  331.132335] usb 2-2.4: new SuperSpeed Gen 1 USB device number 5 using xhci_hcd
[  331.163058] usb 2-2.4: New USB device found, idVendor=0b95, idProduct=1790, bcdDevice= 1.00
[  331.171411] usb 2-2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  331.178719] usb 2-2.4: Product: AX88179
[  331.182561] usb 2-2.4: Manufacturer: ASIX Elec. Corp.
[  331.187610] usb 2-2.4: SerialNumber: 00000000000179
[  331.530320] ax88179_178a 2-2.4:1.0 eth1: register 'ax88179_178a' at usb-0000:01:00.0-2.4, ASIX AX88179 USB 3.0 Gigabit Ethernet, 0          0:0e:c6:48:54:17
[  334.695674] ax88179_178a 2-2.4:1.0 eth1: ax88179 - Link status is: 1
root@OpenWrt:~#

root@OpenWrt:~# lsusb -v

Bus 001 Device 004: ID 05e3:0610 GenesysLogic USB2.0 Hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.10
  bDeviceClass            9
  bDeviceSubClass         0
  bDeviceProtocol         2
  bMaxPacketSize0        64
  idVendor           0x05e3
  idProduct          0x0610
  bcdDevice           92.26
  iManufacturer           1 GenesysLogic
  iProduct                2 USB2.0 Hub
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0029
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9
      bInterfaceSubClass      0
      bInterfaceProtocol      1
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              12
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass         9
      bInterfaceSubClass      0
      bInterfaceProtocol      2
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              12
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             4
  wHubCharacteristic 0x00ed
    Per-port power switching
    Compound device
    Per-port overcurrent protection
    TT think time 32 FS bits
    Port indicators
  bPwrOn2PwrGood       50 * 2 milli seconds
  bHubContrCurrent    100 milli Ampere
  DeviceRemovable    0x1e
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0100 power
   Port 2: 0000.0100 power
   Port 3: 0000.0100 power
   Port 4: 0000.0100 power
Binary Object Store Descriptor:
  bLength                 5
  bDescriptorType        15
  wTotalLength       0x002a
  bNumDeviceCaps          3
  USB 2.0 Extension Device Capability:
    bLength                 7
    bDescriptorType        16
    bDevCapabilityType      2
    bmAttributes   0x00000006
      BESL Link Power Management (LPM) Supported
  SuperSpeed USB Device Capability:
    bLength                10
    bDescriptorType        16
    bDevCapabilityType      3
    bmAttributes         0x00
    wSpeedsSupported   0x000e
      Device can operate at Full Speed (12Mbps)
      Device can operate at High Speed (480Mbps)
      Device can operate at SuperSpeed (5Gbps)
    bFunctionalitySupport   1
      Lowest fully-functional device speed is Full Speed (12Mbps)
    bU1DevExitLat           8 micro seconds
    bU2DevExitLat         190 micro seconds
  Container ID Device Capability:
    bLength                20
    bDescriptorType        16
    bDevCapabilityType      4
    bReserved               0
    ContainerID             {bf9e3611-4db0-2845-a5c9-10d935a6605a}
can't get debug descriptor: Resource temporarily unavailable
Device Status:     0x0001
  Self Powered

Bus 002 Device 005: ID 0b95:1790 ASIX Elec. Corp. AX88179
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               3.00
  bDeviceClass          255
  bDeviceSubClass       255
  bDeviceProtocol         0
  bMaxPacketSize0         9
  idVendor           0x0b95
  idProduct          0x1790
  bcdDevice            1.00
  iManufacturer           1 ASIX Elec. Corp.
  iProduct                2 AX88179
  iSerial                 3 00000000000179
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0039
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              496mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass       255
      bInterfaceSubClass    255
      bInterfaceProtocol      0
      iInterface              4 Network_Interface
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval              11
        bMaxBurst               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst               3
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst              15
Binary Object Store Descriptor:
  bLength                 5
  bDescriptorType        15
  wTotalLength       0x0016
  bNumDeviceCaps          2
  USB 2.0 Extension Device Capability:
    bLength                 7
    bDescriptorType        16
    bDevCapabilityType      2
    bmAttributes   0x00000002
      HIRD Link Power Management (LPM) Supported
  SuperSpeed USB Device Capability:
    bLength                10
    bDescriptorType        16
    bDevCapabilityType      3
    bmAttributes         0x00
    wSpeedsSupported   0x000e
      Device can operate at Full Speed (12Mbps)
      Device can operate at High Speed (480Mbps)
      Device can operate at SuperSpeed (5Gbps)
    bFunctionalitySupport   1
      Lowest fully-functional device speed is Full Speed (12Mbps)
    bU1DevExitLat           1 micro seconds
    bU2DevExitLat         101 micro seconds
can't get debug descriptor: Resource temporarily unavailable
Device Status:     0x0000
  (Bus Powered)

Bus 002 Device 003: ID 05e3:0612 GenesysLogic USB3.1 Hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               3.10
  bDeviceClass            9
  bDeviceSubClass         0
  bDeviceProtocol         3
  bMaxPacketSize0         9
  idVendor           0x05e3
  idProduct          0x0612
  bcdDevice           92.26
  iManufacturer           1 GenesysLogic
  iProduct                2 USB3.1 Hub
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x001f
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9
      bInterfaceSubClass      0
      bInterfaceProtocol      0
      iInterface              1 GenesysLogic
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes           19
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Feedback
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval               8
        bMaxBurst               0
Hub Descriptor:
  bLength              12
  bDescriptorType      42
  nNbrPorts             4
  wHubCharacteristic 0x000d
    Per-port power switching
    Compound device
    Per-port overcurrent protection
  bPwrOn2PwrGood       50 * 2 milli seconds
  bHubContrCurrent    576 milli Ampere
  bHubDecLat          0.0 micro seconds
  wHubDelay          1248 nano seconds
  DeviceRemovable    0x1e
 Hub Port Status:
   Port 1: 0000.02a0 lowspeed L1
   Port 2: 0000.02a0 lowspeed L1
   Port 3: 0000.02a0 lowspeed L1
   Port 4: 0000.0203 lowspeed enable connect
Binary Object Store Descriptor:
  bLength                 5
  bDescriptorType        15
  wTotalLength       0x002a
  bNumDeviceCaps          3
  USB 2.0 Extension Device Capability:
    bLength                 7
    bDescriptorType        16
    bDevCapabilityType      2
    bmAttributes   0x00000006
      BESL Link Power Management (LPM) Supported
  SuperSpeed USB Device Capability:
    bLength                10
    bDescriptorType        16
    bDevCapabilityType      3
    bmAttributes         0x00
    wSpeedsSupported   0x000e
      Device can operate at Full Speed (12Mbps)
      Device can operate at High Speed (480Mbps)
      Device can operate at SuperSpeed (5Gbps)
    bFunctionalitySupport   1
      Lowest fully-functional device speed is Full Speed (12Mbps)
    bU1DevExitLat           8 micro seconds
    bU2DevExitLat         190 micro seconds
  Container ID Device Capability:
    bLength                20
    bDescriptorType        16
    bDevCapabilityType      4
    bReserved               0
    ContainerID             {bf9e3611-4db0-2845-a5c9-10d935a6605a}
can't get debug descriptor: Resource temporarily unavailable
Device Status:     0x0001
  Self Powered

Bus 002 Device 001: ID 1d6b:0003 Linux 5.4.154 xhci-hcd xHCI Host Controller
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               3.00
  bDeviceClass            9
  bDeviceSubClass         0
  bDeviceProtocol         3
  bMaxPacketSize0         9
  idVendor           0x1d6b
  idProduct          0x0003
  bcdDevice            5.04
  iManufacturer           3 Linux 5.4.154 xhci-hcd
  iProduct                2 xHCI Host Controller
  iSerial                 1 0000:01:00.0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x001f
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9
      bInterfaceSubClass      0
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              12
        bMaxBurst               0
Hub Descriptor:
  bLength              12
  bDescriptorType      42
  nNbrPorts             4
  wHubCharacteristic 0x0009
    Per-port power switching
    Per-port overcurrent protection
  bPwrOn2PwrGood       10 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  bHubDecLat          0.0 micro seconds
  wHubDelay             0 nano seconds
  DeviceRemovable    0x00
 Hub Port Status:
   Port 1: 0000.02a0 5Gbps power Rx.Detect
   Port 2: 0000.0203 5Gbps power U0 enable connect
   Port 3: 0000.02a0 5Gbps power Rx.Detect
   Port 4: 0000.02a0 5Gbps power Rx.Detect
Binary Object Store Descriptor:
  bLength                 5
  bDescriptorType        15
  wTotalLength       0x000f
  bNumDeviceCaps          1
  SuperSpeed USB Device Capability:
    bLength                10
    bDescriptorType        16
    bDevCapabilityType      3
    bmAttributes         0x02
      Latency Tolerance Messages (LTM) Supported
    wSpeedsSupported   0x0008
      Device can operate at SuperSpeed (5Gbps)
    bFunctionalitySupport   3
      Lowest fully-functional device speed is SuperSpeed (5Gbps)
    bU1DevExitLat           4 micro seconds
    bU2DevExitLat         231 micro seconds
can't get debug descriptor: Resource temporarily unavailable
Device Status:     0x0001
  Self Powered

Bus 001 Device 002: ID 2109:3431  USB2.0 Hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.10
  bDeviceClass            9
  bDeviceSubClass         0
  bDeviceProtocol         1
  bMaxPacketSize0        64
  idVendor           0x2109
  idProduct          0x3431
  bcdDevice            4.21
  iManufacturer           0
  iProduct                1 USB2.0 Hub
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0019
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9
      bInterfaceSubClass      0
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              12
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             4
  wHubCharacteristic 0x00e0
    Ganged power switching
    Ganged overcurrent protection
    TT think time 32 FS bits
    Port indicators
  bPwrOn2PwrGood       50 * 2 milli seconds
  bHubContrCurrent    100 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0100 power
   Port 2: 0000.0507 highspeed power suspend enable connect
   Port 3: 0000.0100 power
   Port 4: 0000.0100 power
Binary Object Store Descriptor:
  bLength                 5
  bDescriptorType        15
  wTotalLength       0x002a
  bNumDeviceCaps          3
  USB 2.0 Extension Device Capability:
    bLength                 7
    bDescriptorType        16
    bDevCapabilityType      2
    bmAttributes   0x00000002
      HIRD Link Power Management (LPM) Supported
  SuperSpeed USB Device Capability:
    bLength                10
    bDescriptorType        16
    bDevCapabilityType      3
    bmAttributes         0x00
    wSpeedsSupported   0x000e
      Device can operate at Full Speed (12Mbps)
      Device can operate at High Speed (480Mbps)
      Device can operate at SuperSpeed (5Gbps)
    bFunctionalitySupport   1
      Lowest fully-functional device speed is Full Speed (12Mbps)
    bU1DevExitLat           4 micro seconds
    bU2DevExitLat         231 micro seconds
  Container ID Device Capability:
    bLength                20
    bDescriptorType        16
    bDevCapabilityType      4
    bReserved               0
    ContainerID             {30eef35c-07d5-2549-b001-802d79434c30}
can't get debug descriptor: Resource temporarily unavailable
Device Status:     0x0001
  Self Powered

Bus 001 Device 001: ID 1d6b:0002 Linux 5.4.154 xhci-hcd xHCI Host Controller
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9
  bDeviceSubClass         0
  bDeviceProtocol         1
  bMaxPacketSize0        64
  idVendor           0x1d6b
  idProduct          0x0002
  bcdDevice            5.04
  iManufacturer           3 Linux 5.4.154 xhci-hcd
  iProduct                2 xHCI Host Controller
  iSerial                 1 0000:01:00.0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0019
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9
      bInterfaceSubClass      0
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              12
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             1
  wHubCharacteristic 0x0009
    Per-port power switching
    Per-port overcurrent protection
    TT think time 8 FS bits
  bPwrOn2PwrGood       10 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x02
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0507 highspeed power suspend enable connect
can't get device qualifier: Resource temporarily unavailable
can't get debug descriptor: Resource temporarily unavailable
Device Status:     0x0001
  Self Powered
root@OpenWrt:~#

One of the downloads failed, but that didn't reset the WAN connection:

root@OpenWrt:~# curl -4 -o /dev/null http://bouygues.testdebit.info/10G.iso
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
 58 9536M   58 5550M    0     0  28.3M      0  0:05:36  0:03:15  0:02:21     0
curl: (56) Recv failure: Connection reset by peer
root@OpenWrt:~#

And no Rx errors:

eth1      Link encap:Ethernet  HWaddr C2:02:15:24:6F:15
          inet addr:xxx.xxx.xxx.xxx    Bcast:xxx.xxx.xxx.xxx  Mask:255.255.254.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:52294860 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12135649 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:78314835571 (72.9 GiB)  TX bytes:936552604 (893.1 MiB)


Plus, downloading almost 73GB without requiring a reboot in the meantime and in so little time, that's probably the RPI's personal best so far !

A bit disappointed by lower speeds when performing the tests from my PC, probably that Windows is to blame :stuck_out_tongue:

Perhaps that was too good to be true.
Since doing the speed tests from my PC, obviously eth0 on the LAN side is solicited.
Basically, the first ifconfig output was obtained after tests performed exclusively from the RPI, and for the second, after adding some tests (DL & UL) from my PC:

So, maybe Windows is not the only one to blame after all?

"Connection reset by peer" looks like the issue is not related to your end of the download, in this case. Since your WAN did not reset and you're testing with significant loads, it seems that things are working properly now, correct? Is this all in the configuration with the USB dongle plugged in through the KVM (which is acting as a powered USB hub here)? If so, that's very promising.

For the purpose of experimentation, put the USB dongle back into the Pi's USB port and repeat the test. In theory, you should see the WAN issues you experienced initially. If the issues return, you can try using a larger capacity power source on the Pi to see if that improves the situation -- it may or may not make any difference. IIRC, the Pi ships with a 30W USB-C power adapter (when you buy the kit). If you have larger one (maybe 60W or more), you can use that and see if it helps. If the whole system was starved of power, a larger USB-C supply should solve that. However, if the issue is that the power supplied to the USB ports on the Pi isn't sufficient, you'll need to either use an external power source for your dongle, or try a different dongle that may use less power.

1 Like

It seemed to work yesterday when I posted the results. I don't know in practice the relevance of the packets errors, as you said, perhaps they purposely reset my connection because, to be honest, I kind of abused their download test :wink: .
And yes, those tests (105MB/s with 10 GB files) were done while the adapter was plugged in through the KVM, which was externally powered by a 5V 2A charger.

But I guess I had the wrong idea to try and isolate the cause of the errors, I wanted to make sure the RPI could keep up with the bandwidth going through it, from eth0 (LAN) to eth1 (WAN) and vice-versa for upload tests.

So I OCed the RPI to 2GHz with OV set to 8 (basically I wanted to see if errors were due to being CPU limited), and that was the beginning of the end. Since I was not able to SSH into it, I removed the microSD card and edited the config.txt file on my PC to restore defaults.
But since then, I was never able to get it to work again properly, I can't access the GUI, DHCP server is apparently down (fortunately I was using a static network config on my PC).
I don't know if the data / micro SD card was corrupted or if that's something else.

Anyway, I'll see if I can grab a more powerful USB C adapter as you advised me (could do that while running a fsck :yum: ).

Otherwise, I could reflash the image (I have a backup, not too old, but I don't know if I can install packages locally, as at first there is no driver for the USB adapter, so not internet to download this driver, you see the irony here? :laughing:).

insert in pc... undo OC in config.txt
(fsck always recommended if possible)

1 Like

I reverted back the config file to the default config.

Looks like something is quite wrong, why so many services are stopped? :grimacing:

root@OpenWrt:~# service
Usage: service <service> [command]
The following services are available:
/etc/init.d/boot                   enabled         stopped
/etc/init.d/collectd               enabled         running
/etc/init.d/cron                   enabled         stopped
/etc/init.d/dnsmasq                enabled         running
/etc/init.d/done                   enabled         stopped
/etc/init.d/dropbear               enabled         running
/etc/init.d/firewall               enabled         stopped
/etc/init.d/freeswitch             enabled         stopped
/etc/init.d/gpio_switch            enabled         stopped
/etc/init.d/led                    enabled         stopped
/etc/init.d/log                    enabled         running
/etc/init.d/network                enabled         running
/etc/init.d/nlbwmon                enabled         running
/etc/init.d/odhcpd                disabled         stopped
/etc/init.d/openvpn                enabled         stopped
/etc/init.d/rpcd                   enabled         running
/etc/init.d/sysctl                 enabled         stopped
/etc/init.d/sysfixtime             enabled         stopped
/etc/init.d/sysntpd                enabled         running
/etc/init.d/system                 enabled         stopped
/etc/init.d/trafficshaper         disabled         stopped
/etc/init.d/ucitrack               enabled         stopped
/etc/init.d/uhttpd                 enabled         running
/etc/init.d/umdns                  enabled         running
/etc/init.d/umount                disabled         stopped
/etc/init.d/urandom_seed           enabled         stopped
/etc/init.d/vpn-policy-routing    disabled         stopped
/etc/init.d/wpad                   enabled         running
/etc/init.d/znc                    enabled         stopped
root@OpenWrt:~#

Speaking of OC, if I remember correctly the RPi4 push 1gbit without even sweating, on one core, perhaps some under clocking might help?

1 Like

I downloaded a few packages for the adapter (admittedly more than necessary, but better safe than sorry) so that I can hopefully reuse them later to install required packages offline.

I tried to include dependencies, but I got a few errors, saying that some packages could not be downloaded for reasons I ignore.

Here is what I used, maybe that could help someone later on:

root@OpenWrt:~#
root@OpenWrt:~# opkg depends kmod-usb-net-asix-ax88179 kmod-usb3 usbutils kmod-usb-net kmod-usb-net-rndis kmod-usb-gadget kmod-usb-gadget-eth kmod-usb-dwc2 kmod-usb-core libusb-1.0-0 usbids usbutils | grep -Ev  '^[a-z]+' | sort -u | sed -rn 's/^\s+(.+)$/\1/p' | grep -vi 'kernel' | tr '\n' ' ' ### command ends here, replace by the packages you wanna install for an offline use ###
kmod-libphy kmod-mii kmod-nls-base kmod-usb-core kmod-usb-gadget kmod-usb-lib-composite kmod-usb-net kmod-usb-net-cdc-ether libc libpthread librt libudev libusb-1.0-0 usbids root@OpenWrt:~#
root@OpenWrt:~#

Then run:

root@OpenWrt:~# opkg download kmod-libphy kmod-mii kmod-nls-base kmod-usb-core kmod-usb-gadget kmod-usb-lib-composite kmod-usb-net kmod-usb-net-cdc-ether libc libpthread librt libudev libusb-1.0-0 usbids
Downloading https://downloads.openwrt.org/releases/21.02.1/targets/bcm27xx/bcm2711/packages/kmod-libphy_5.4.154-1_aarch64_cortex-a72.ipk
Downloaded kmod-libphy as ./kmod-libphy_5.4.154-1_aarch64_cortex-a72.ipk.
Downloading https://downloads.openwrt.org/releases/21.02.1/targets/bcm27xx/bcm2711/packages/kmod-mii_5.4.154-1_aarch64_cortex-a72.ipk
Downloaded kmod-mii as ./kmod-mii_5.4.154-1_aarch64_cortex-a72.ipk.
Downloading https://downloads.openwrt.org/releases/21.02.1/targets/bcm27xx/bcm2711/packages/kmod-nls-base_5.4.154-1_aarch64_cortex-a72.ipk
Downloaded kmod-nls-base as ./kmod-nls-base_5.4.154-1_aarch64_cortex-a72.ipk.
Downloading https://downloads.openwrt.org/releases/21.02.1/targets/bcm27xx/bcm2711/packages/kmod-usb-core_5.4.154-1_aarch64_cortex-a72.ipk
Downloaded kmod-usb-core as ./kmod-usb-core_5.4.154-1_aarch64_cortex-a72.ipk.
Downloading https://downloads.openwrt.org/releases/21.02.1/targets/bcm27xx/bcm2711/packages/kmod-usb-gadget_5.4.154-1_aarch64_cortex-a72.ipk
Downloaded kmod-usb-gadget as ./kmod-usb-gadget_5.4.154-1_aarch64_cortex-a72.ipk.
Downloading https://downloads.openwrt.org/releases/21.02.1/targets/bcm27xx/bcm2711/packages/kmod-usb-lib-composite_5.4.154-1_aarch64_cortex-a72.ipk
Downloaded kmod-usb-lib-composite as ./kmod-usb-lib-composite_5.4.154-1_aarch64_cortex-a72.ipk.
Downloading https://downloads.openwrt.org/releases/21.02.1/targets/bcm27xx/bcm2711/packages/kmod-usb-net_5.4.154-1_aarch64_cortex-a72.ipk
Downloaded kmod-usb-net as ./kmod-usb-net_5.4.154-1_aarch64_cortex-a72.ipk.
Downloading https://downloads.openwrt.org/releases/21.02.1/targets/bcm27xx/bcm2711/packages/kmod-usb-net-cdc-ether_5.4.154-1_aarch64_cortex-a72.ipk
Downloaded kmod-usb-net-cdc-ether as ./kmod-usb-net-cdc-ether_5.4.154-1_aarch64_cortex-a72.ipk.
Downloading https://downloads.openwrt.org/releases/21.02.1/targets/bcm27xx/bcm2711/packages/libpthread_1.1.24-3_aarch64_cortex-a72.ipk
Downloading https://downloads.openwrt.org/releases/21.02.1/targets/bcm27xx/bcm2711/packages/librt_1.1.24-3_aarch64_cortex-a72.ipk
Downloading https://downloads.openwrt.org/releases/21.02.1/packages/aarch64_cortex-a72/packages/libudev-zero_1.0.0-1_aarch64_cortex-a72.ipk
Downloading https://downloads.openwrt.org/releases/21.02.1/packages/aarch64_cortex-a72/base/libusb-1.0-0_1.0.24-4_aarch64_cortex-a72.ipk
Downloading https://downloads.openwrt.org/releases/21.02.1/packages/aarch64_cortex-a72/packages/usbids_0.354-1_aarch64_cortex-a72.ipk
Collected errors:
 * opkg_download_pkg: Package libc is not available from any configured src.
 * opkg_download_cmd: Failed to download libc.
 * opkg_download_cmd: Failed to download libpthread.
 * opkg_download_cmd: Failed to download librt.
 * opkg_download_cmd: Failed to download libudev-zero.
 * opkg_download_cmd: Failed to download libusb-1.0-0.
 * opkg_download_cmd: Failed to download usbids.
root@OpenWrt:~#

Indeed, but at the same time I don't know why I got Rx errors, I didn't with my previous router and my current ISP.
The thing is, I also wanted to add some services (OpenVPN, Wireguard, maybe adblocker, IDS or IPS and QoS of course) once the base functionality is validated (fast, stable & reliable) , so the overall load should be expected to increase as well.

Btw, since I'll reinstall OpenWRT, does anyone know the differences between the image to flash and the iso? So far, I've only used the former.
Does the iso file come with a proper installer, that would allow me to set up partitions layout and use all the space available on my micro SD card for example?

there is no iso for this device (>factory.img.gz)

1 Like

Hence why I could not find it haha. So yeah, I have reinstalled the using the img file.

Does anyone know something like a PoE injector, but for USB 3.0 devices?
I can't keep using my KVM for the RPI, as it was already used for another computer.

Or perhaps, another USB 3.0 <=> Gigabit Ethernet adapter, but based on another chipset than Asix?

Also, are Rx / Tx errors logged somewhere in OpenWRT so that I can find out what is the cause?

Currently, I only got errors or packets dropped for the LAN (eth0):

          RX packets:2298952 errors:3968 dropped:3968 overruns:0 frame:0
          TX packets:2865378 errors:0 dropped:0 overruns:0 carrier:0

WAN (eth1) looks fine so far:

          RX packets:2862430 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2294512 errors:0 dropped:0 overruns:0 carrier:0

That would be a powered USB hub. or a Y cable like one of these:
https://www.amazon.com/Black-Female-Extra-Extension-Mobile/dp/B00ZUA5Z5A/ref=sr_1_10?crid=3NUBGC5LA03H9&keywords=usb+power+injector&qid=1639850558&sprefix=usb+power+inject%2Caps%2C258&sr=8-10

You could try something else. A lot of people seem to be using the UE300 from TP-Link -- not an endorsement, but just seems like a lot of people are happy with it.

2 Likes

that's actually kinda interesting / unexpected in the context of this thread...

(i've seen a few non-21.02.x anomalies with bcgenet which will usually result in some sort of crash info in dmesg... otherwise i'd lean towards environmental)

by any chance are you running an ancient (out of the box) raspberry-pi bootloader firmware version?

1 Like

Thanks, I was looking for something like the Y cable.
But maybe the UE300 is natively recognized by OpenWRT (i.e not need to install additional drivers)? In case I need to reinstall again :laughing:.

I installed the latest version of the RPI 4B bootloader before flashing the OpenWRT image, especially interested by the reduced power consumption / heat output. I'll check dmesg, thank you.

just go here

https://asu.aparcar.org/?version=21.02.1&target=bcm27xx%2Fbcm2711&id=rpi-4

click customize and enter the packages you need...

kmod-usb-net-rtl8152
kmod-usb-net-asix-ax88179

to start with

1 Like