Archer C2 and USB hub

On Archer C2 with one USB port running 21.02.1 I'm trying to use USB hab to boot from extroot device. Flash disk works properly connected directly to usb port. However, if I connect it via usb hub (axagon hue-x6gb) it is not possible to read data. The same hub with the same usb drive works on WDR4300 with the same 21.02.1 without any issues. Any ideas how to fix the issue? Is it something related to usb driver? Thanks

dmesg

[    0.000000] Linux version 5.4.154 (builder@buildhost) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r16325-88151b8303)) #0 Sun Oct 24 09:01:35 2021
[    0.000000] Board has DDR2
[    0.000000] Analog PMU set to hw control
[    0.000000] Digital PMU set to hw control
[    0.000000] SoC Type: MediaTek MT7620A ver:2 eco:6
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019650 (MIPS 24KEc)
[    0.000000] MIPS: machine is TP-Link Archer C2 v1
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] On node 0 totalpages: 16384
[    0.000000]   Normal zone: 144 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16384 pages, LIFO batch:3
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16240
[    0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.000000] Writing ErrCtl register=0000000e
[    0.000000] Readback ErrCtl register=0000000e
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 57492K/65536K available (5065K kernel code, 211K rwdata, 632K rodata, 1188K init, 213K bss, 8044K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 256
[    0.000000] random: get_random_bytes called from 0x805c7a28 with crng_init=0
[    0.000000] CPU Clock: 580MHz
[    0.000000] clocksource: systick: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 583261500 ns
[    0.000000] systick: enable autosleep mode
[    0.000000] systick: running - mult: 214748, shift: 32
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6590553264 ns
[    0.000011] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns
[    0.007623] Calibrating delay loop... 385.02 BogoMIPS (lpj=770048)
[    0.045512] pid_max: default: 32768 minimum: 301
[    0.050209] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.057277] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.071988] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.081464] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.088149] pinctrl core: initialized pinctrl subsystem
[    0.094767] NET: Registered protocol family 16
[    0.560182] PCI host bridge /pcie@10140000 ranges:
[    0.564802]  MEM 0x0000000020000000..0x000000002fffffff
[    0.569856]   IO 0x0000000010160000..0x000000001016ffff
[    0.598181] rt2880_gpio 10000600.gpio: registering 24 gpios
[    0.603661] rt2880_gpio 10000600.gpio: registering 24 irq handlers
[    0.610038] rt2880_gpio 10000638.gpio: registering 16 gpios
[    0.615477] rt2880_gpio 10000638.gpio: registering 16 irq handlers
[    0.621815] rt2880_gpio 10000660.gpio: registering 32 gpios
[    0.627253] rt2880_gpio 10000660.gpio: registering 32 irq handlers
[    0.633593] rt2880_gpio 10000688.gpio: registering 1 gpios
[    0.638937] rt2880_gpio 10000688.gpio: registering 1 irq handlers
[    0.645801] PCI host bridge to bus 0000:00
[    0.649783] pci_bus 0000:00: root bus resource [mem 0x20000000-0x2fffffff]
[    0.656410] pci_bus 0000:00: root bus resource [io  0x10160000-0x1016ffff]
[    0.663087] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.669677] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.677415] pci 0000:00:00.0: [1814:0801] type 01 class 0x060400
[    0.683238] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    0.689299] pci 0000:00:00.0: reg 0x14: [mem 0x00000000-0x0000ffff]
[    0.695460] pci 0000:00:00.0: supports D1
[    0.699284] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    0.707239] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.715214] pci 0000:01:00.0: [14c3:7650] type 00 class 0x028000
[    0.721067] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
[    0.727254] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    0.733408] pci 0000:01:00.1: [14c3:8650] type 00 class 0x0d1100
[    0.739250] pci 0000:01:00.1: reg 0x10: [mem 0x00000000-0x000fffff]
[    0.745427] pci 0000:01:00.1: supports D1
[    0.749250] pci 0000:01:00.1: PME# supported from D0 D1 D3hot D3cold
[    0.757790] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    0.764202] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 01
[    0.770625] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    0.777015] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    0.783780] pci 0000:00:00.0: BAR 8: assigned [mem 0x20000000-0x201fffff]
[    0.790374] pci 0000:00:00.0: BAR 1: assigned [mem 0x20200000-0x2020ffff]
[    0.796977] pci 0000:01:00.0: BAR 0: assigned [mem 0x20000000-0x200fffff]
[    0.803567] pci 0000:01:00.1: BAR 0: assigned [mem 0x20100000-0x201fffff]
[    0.810153] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.814967] pci 0000:00:00.0:   bridge window [mem 0x20000000-0x201fffff]
[    0.821673] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[    0.837926] clocksource: Switched to clocksource systick
[    0.844241] thermal_sys: Registered thermal governor 'step_wise'
[    0.844685] NET: Registered protocol family 2
[    0.854900] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.862820] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.870980] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.878395] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.885230] TCP: Hash tables configured (established 1024 bind 1024)
[    0.891552] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.897913] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.904985] NET: Registered protocol family 1
[    0.909300] PCI: CLS 0 bytes, default 32
[    0.916291] rt-timer 10000100.timer: maximum frequency is 1220Hz
[    0.924420] workingset: timestamp_bits=14 max_order=14 bucket_order=0
[    0.939417] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.945082] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.970212] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.980530] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.989732] printk: console [ttyS0] disabled
[    0.993970] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20, base_baud = 2500000) is a Palmchip BK-3103
[    1.003585] printk: console [ttyS0] enabled
[    1.012057] printk: bootconsole [early0] disabled
[    1.031076] spi spi0.0: force spi mode3
[    1.040436] spi-nor spi0.0: mx25l6405d (8192 Kbytes)
[    1.045602] 6 fixed-partitions partitions found on MTD device spi0.0
[    1.052104] Creating 6 MTD partitions on "spi0.0":
[    1.057017] 0x000000000000-0x000000020000 : "u-boot"
[    1.063256] 0x000000020000-0x0000007c0000 : "firmware"
[    1.072160] 2 tplink-fw partitions found on MTD device firmware
[    1.078289] Creating 2 MTD partitions on "firmware":
[    1.083385] 0x000000000000-0x0000001e665a : "kernel"
[    1.089598] 0x0000001e665c-0x0000007a0000 : "rootfs"
[    1.095816] mtd: device 3 (rootfs) set to be root filesystem
[    1.103756] 1 squashfs-split partitions found on MTD device rootfs
[    1.110163] 0x00000050b000-0x0000007a0000 : "rootfs_data"
[    1.116859] 0x0000007c0000-0x0000007d0000 : "config"
[    1.123100] 0x0000007d0000-0x0000007e0000 : "rom"
[    1.129086] 0x0000007e0000-0x0000007f0000 : "romfile"
[    1.135431] 0x0000007f0000-0x000000800000 : "radio"
[    1.142616] libphy: Fixed MDIO Bus: probed
[    1.160607] gsw: setting port4 to ephy mode
[    1.165328] libphy: mdio: probed
[    1.168729] mtk_soc_eth 10100000.ethernet: using fixed link parameters
[    1.175617] mtk_soc_eth 10100000.ethernet: loaded mt7620 driver
[    1.182430] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
[    1.191448] rt2880_wdt 10000120.watchdog: Initialized
[    1.198446] NET: Registered protocol family 10
[    1.207866] Segment Routing with IPv6
[    1.211853] NET: Registered protocol family 17
[    1.216497] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.229746] 8021q: 802.1Q VLAN Support v1.8
[    1.241268] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[    1.255281] Freeing unused kernel memory: 1188K
[    1.259939] This architecture does not have kernel memory protection.
[    1.266520] Run /sbin/init as init process
[    1.415969] random: fast init done
[    2.355331] init: Console is alive
[    2.359237] init: - watchdog -
[    3.864135] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    4.090540] usbcore: registered new interface driver usbfs
[    4.096300] usbcore: registered new interface driver hub
[    4.101881] usbcore: registered new device driver usb
[    4.114127] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.122707] ehci-fsl: Freescale EHCI Host controller driver
[    4.130269] ehci-platform: EHCI generic platform driver
[    4.146043] phy phy-usbphy.0: remote usb device wakeup disabled
[    4.152110] phy phy-usbphy.0: UTMI 16bit 30MHz
[    4.156662] ehci-platform 101c0000.ehci: EHCI Host Controller
[    4.162576] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
[    4.170820] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
[    4.181703] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
[    4.189149] hub 1-0:1.0: USB hub found
[    4.193551] hub 1-0:1.0: 1 port detected
[    4.204523] rtl8367b rtl8367rb: using MDIO bus 'mdio'
[    4.210701] rtl8367b rtl8367rb: RTL8367RB chip found
[    4.296615] usb 1-1: new high-speed USB device number 2 using ehci-platform
[    4.356861] hub 1-1:1.0: USB hub found
[    4.361252] hub 1-1:1.0: 4 ports detected
[    4.496892] usb 1-1.1: new high-speed USB device number 3 using ehci-platform
[    5.328087] libphy: rtl8367rb: probed
[    5.335506] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    5.343258] ohci-platform: OHCI generic platform driver
[    5.348946] ohci-platform 101c1000.ohci: Generic Platform OHCI controller
[    5.355970] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
[    5.364191] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
[    5.394818] hub 2-0:1.0: USB hub found
[    5.399180] hub 2-0:1.0: 1 port detected
[    5.408763] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    5.420666] init: - preinit -
[    6.685759] random: jshn: uninitialized urandom read (4 bytes read)
[    6.782987] random: jshn: uninitialized urandom read (4 bytes read)
[    7.047202] random: jshn: uninitialized urandom read (4 bytes read)
[    8.247068] mtk_soc_eth 10100000.ethernet eth0: port 5 link up (1000Mbps/Full duplex)
[    8.255936] 8021q: adding VLAN 0 to HW filter on device eth0
[    8.311904] urandom_read: 4 callbacks suppressed
[    8.311913] random: procd: uninitialized urandom read (4 bytes read)
[    8.876768] usb 1-1.2: new low-speed USB device number 4 using ehci-platform
[   10.084586] jffs2: notice: (554) jffs2_build_xattr_subsystem: complete building xattr subsystem, 48 of xdatum (30 unchecked, 18 orphan) and 60 of xref (10 dead, 11 orphan) found.
[   10.116068] mount_root: loading kmods from internal overlay
[   10.583306] kmodloader: loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
[   11.278270] SCSI subsystem initialized
[   11.347236] usb-storage 1-1.1:1.0: USB Mass Storage device detected
[   11.354194] scsi host0: usb-storage 1-1.1:1.0
[   11.359572] usbcore: registered new interface driver usb-storage
[   11.368170] kmodloader: done loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
[   11.795027] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[   11.809168] block: extroot: device not present, retrying in 5 seconds
[   12.026967] scsi 0:0:0:0: Direct-Access     Generic  Flash Disk       8.07 PQ: 0 ANSI: 2
[   12.039466] sd 0:0:0:0: [sda] 7823360 512-byte logical blocks: (4.01 GB/3.73 GiB)
[   12.048315] sd 0:0:0:0: [sda] Write Protect is off
[   12.053507] sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
[   12.054092] sd 0:0:0:0: [sda] No Caching mode page found
[   12.059591] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   16.729288] usb 1-1.2: USB disconnect, device number 4
[   23.636867] usb 1-1.1: reset high-speed USB device number 3 using ehci-platform
[   23.717701] sd 0:0:0:0: [sda] Attached SCSI removable disk
[   23.725423] sd 0:0:0:0: [sda] 7823360 512-byte logical blocks: (4.01 GB/3.73 GiB)
[   23.737201] random: crng init done
[   23.740937]  sda: sda1
[   23.749134] block: extroot: cannot find device with UUID 6bab48d9-8113-4fbc-8689-23a4d78be0e2
[   23.759292] mount_root: switching to jffs2 overlay
[   23.766972] overlayfs: upper fs does not support tmpfile.
[   23.777307] urandom-seed: Seeding with /etc/urandom.seed
[   23.899553] mtk_soc_eth 10100000.ethernet eth0: port 5 link down
[   23.930957] procd: - early -
[   23.934127] procd: - watchdog -
[   24.541390] procd: - watchdog -
[   24.546010] procd: - ubus -
[   24.626289] procd: - init -
[   25.800379] kmodloader: loading kernel modules from /etc/modules.d/*
[   26.055466] Loading modules backported from Linux version v5.10.68-0-g4d8524048a35
[   26.063284] Backport generated by backports.git v5.10.68-1-0-ga4f9ba32
[   26.133610] xt_time: kernel timezone is -0000
[   26.408985] PPP generic driver version 2.4.2
[   26.419614] urngd: jent-rng init failed, err: 2
[   26.425580] NET: Registered protocol family 24
[   26.462371] mt76x0e 0000:01:00.0: card - bus=0x1, slot = 0x0 irq=4
[   26.469023] mt76x0e 0000:01:00.0: ASIC revision: 76100002
[   26.476801] mt76x0e 0000:01:00.0: Firmware Version: 0.1.00
[   26.563860] mt76x0e 0000:01:00.0: EEPROM ver:02 fae:00
[   26.571927] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   26.599434] rt2800_wmac 10180000.wmac: loaded eeprom from mtd device "radio"
[   26.606704] ieee80211 phy1: rt2x00_set_rt: Info - RT chipset 6352, rev 0500 detected
[   26.614776] ieee80211 phy1: rt2x00_set_rf: Info - RF chipset 7620 detected
[   26.622092] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[   26.630612] kmodloader: done loading kernel modules from /etc/modules.d/*
[   38.648048] mtk_soc_eth 10100000.ethernet eth0: port 5 link up (1000Mbps/Full duplex)
[   38.656612] 8021q: adding VLAN 0 to HW filter on device eth0
[   38.669466] br-lan: port 1(eth0.1) entered blocking state
[   38.675102] br-lan: port 1(eth0.1) entered disabled state
[   38.681228] device eth0.1 entered promiscuous mode
[   38.686192] device eth0 entered promiscuous mode
[   38.695005] br-lan: port 1(eth0.1) entered blocking state
[   38.700599] br-lan: port 1(eth0.1) entered forwarding state
[   39.664275] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   46.449548] usb 1-1.1: reset high-speed USB device number 3 using ehci-platform
[   46.580224] sd 0:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x03 driverbyte=0x00
[   46.588648] sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x28 28 00 00 00 01 00 00 00 08 00
[   46.596414] blk_update_request: I/O error, dev sda, sector 256 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
[   46.608232] sd 0:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
[   46.616655] sd 0:0:0:0: [sda] tag#0 Sense Key : 0x6 [current] 
[   46.622633] sd 0:0:0:0: [sda] tag#0 ASC=0x28 ASCQ=0x0 
[   46.627912] sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x28 28 00 00 00 01 00 00 00 08 00
[   46.635669] blk_update_request: I/O error, dev sda, sector 256 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[   46.645895] Buffer I/O error on dev sda, logical block 32, async page read
[   46.662195]  sda: sda1
[   57.565787] usb 1-1.1: reset high-speed USB device number 3 using ehci-platform
[   57.663957] sd 0:0:0:0: [sda] 7823360 512-byte logical blocks: (4.01 GB/3.73 GiB)
[   57.677054]  sda: sda1
[   74.459029] usb 1-1.1: reset high-speed USB device number 3 using ehci-platform
[   74.547101] sd 0:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x03 driverbyte=0x00
[   74.555527] sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x28 28 00 00 77 5d 58 00 00 08 00
[   74.563299] blk_update_request: I/O error, dev sda, sector 7822680 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
[   74.590001] sd 0:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
[   74.598434] sd 0:0:0:0: [sda] tag#0 Sense Key : 0x6 [current] 
[   74.604413] sd 0:0:0:0: [sda] tag#0 ASC=0x28 ASCQ=0x0 
[   74.609691] sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x28 28 00 00 77 5d 58 00 00 08 00
[   74.617445] blk_update_request: I/O error, dev sda, sector 7822680 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[   74.628025] Buffer I/O error on dev sda, logical block 977835, async page read
[   74.643992]  sda: sda1

lsusb

/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ohci-platform/1p, 12M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-platform/1p, 480M
    |__ Port 1: Dev 2, If 0, Class=, Driver=hub/4p, 480M
        |__ Port 1: Dev 3, If 0, Class=, Driver=usb-storage, 480M

Possibly an issue with the power? Are you using a SUB stick or a hard disk? If a hard disk, any chance you could try a 3.5" HDD with external power supply?

I don't think so. The hub is powered over microusb charger. I'm using only hub and flash drive, which should not exceed 500mA anyway.

I've checked with 2.5 hdd. I didn't want to start without charger, now it is spinnig but throwing errors.