NEWIFI D2 on 19.07.2 USB HDD issue

Folks,
I have a WDS setup of three routers. My gateway is NEWIFI D2 on 19.07.2 and I have a USB Seagate HDD attached to it. The HDD is 1TB USB3 and its working fine.

On std image, I have installed the following packages

opkg install nano luci-app-samba4

opkg install kmod-usb-storage kmod-usb-storage-uas usbutils block-mount kmod-fs-ext4

And it works fine.

I recently decided to add the 4TB passport Seagate drive.
However this drive does not show up on /dev/sdx

lsusb produces following result:

root@newifi-gw:/dev# lsusb -t
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-mtk/1p, 5000M
    |__ Port 1: Dev 2, If 0, Class=Mass Storage, Driver=uas, 5000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci-mtk/2p, 480M
root@newifi-gw:/dev# 

Any pointers? Much appreciate.

Does it have a power supply or is it drawing power from usb port?

Trendy: Its drawing power from the USB port. And the USB drive uses a Micro B connector that has extra power connector but on the router end it uses a single A. I has a 12V / 2A power supply that I connected to the router suspecting that power may be an issue. I too am suspecting this....What are your thoughts?

Try to disconnect first the 1TB drive and try again with the 4TB only.

Trendy: It has only one USB port and so I had to remove the 1TB before connecting 4TB.

I have a Netgear R6100 on which I have earlier attached usb hdd. I will test on that.

OK. on Netgear R6100 installed 19.07.02
then I updated packages and

opkg install kmod-usb2 kmod-usb-storage kmod-usb-storage-uas usbutils block-mount kmod-fs-ext4 kmod-fs-ntfs nano luci-app-samba4

And voila, both 1TB and 4TB showup in Luci when I connect one or the other. I will give Newifi one more shot to see if I am doing anything wrong.

Anil

I checked again on the NEWIFI D2 device and no luck. The 4TB drive is not working its USB port. The dmesg out put is attached.

root@newifi-gw:/dev# dmesg
[    0.000000] Linux version 4.14.171 (builder@buildhost) (gcc version 7.5.0 (OpenWrt GCC 7.5.0 r10947-65030d81f3)) #0 SMP Thu Feb 27 21:05:12 2020
[    0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[    0.000000] MIPS: machine is Newifi-D2
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 1c000000 @ 00000000 (usable)
[    0.000000]  memory: 04000000 @ 20000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] VPE topology {2,2} total 4
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000]   HighMem  [mem 0x0000000010000000-0x0000000023ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000001bffffff]
[    0.000000]   node   0: [mem 0x0000000020000000-0x0000000023ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000023ffffff]
[    0.000000] On node 0 totalpages: 131072
[    0.000000] free_area_init_node: node 0, pgdat 805727a0, node_mem_map 81003000
[    0.000000]   Normal zone: 512 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 65536 pages, LIFO batch:15
[    0.000000]   HighMem zone: 65536 pages, LIFO batch:15
[    0.000000] random: get_random_bytes called from 0x80575744 with crng_init=0
[    0.000000] percpu: Embedded 14 pages/cpu s26224 r8192 d22928 u57344
[    0.000000] pcpu-alloc: s26224 r8192 d22928 u57344 alloc=14*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 130560
[    0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Writing ErrCtl register=00000208
[    0.000000] Readback ErrCtl register=00000208
[    0.000000] Memory: 512044K/524288K available (4746K kernel code, 241K rwdata, 588K rodata, 1260K init, 255K bss, 12244K reserved, 0K cma-reserved, 262144K highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS: 256
[    0.000000] CPU Clock: 880MHz
[    0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns
[    0.000010] sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 4880645118ns
[    0.007826] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[    0.073979] pid_max: default: 32768 minimum: 301
[    0.078752] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.085260] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.094128] Hierarchical SRCU implementation.
[    0.099276] smp: Bringing up secondary CPUs ...
[    2.078807] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    2.078816] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    2.078828] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    2.078968] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.164010] Synchronize counters for CPU 1: done.
[    1.802959] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    1.802968] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    1.802974] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    1.803045] CPU2 revision is: 0001992f (MIPS 1004Kc)
[    0.254973] Synchronize counters for CPU 2: done.
[    0.977738] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.977746] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.977753] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.977829] CPU3 revision is: 0001992f (MIPS 1004Kc)
[    0.340149] Synchronize counters for CPU 3: done.
[    0.370008] smp: Brought up 1 node, 4 CPUs
[    0.377922] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.387707] futex hash table entries: 1024 (order: 3, 32768 bytes)
[    0.394029] pinctrl core: initialized pinctrl subsystem
[    0.400854] NET: Registered protocol family 16
[    0.411105] FPU Affinity set after 11720 emulations
[    0.411893] pull PCIe RST: RALINK_RSTCTRL = 0
[    0.716558] release PCIe RST: RALINK_RSTCTRL = 7000000
[    0.721611] ***** Xtal 40MHz *****
[    0.724962] release PCIe RST: RALINK_RSTCTRL = 7000000
[    0.730060] Port 0 N_FTS = 1b102800
[    0.733526] Port 1 N_FTS = 1b102800
[    0.736969] Port 2 N_FTS = 1b102800
[    1.891998] PCIE2 no card, disable it(RST&CLK)
[    1.896364]  -> 21007f2
[    1.898761] PCIE0 enabled
[    1.901353] PCIE1 enabled
[    1.903961] PCI host bridge /pcie@1e140000 ranges:
[    1.908733]  MEM 0x0000000060000000..0x000000006fffffff
[    1.913890]   IO 0x000000001e160000..0x000000001e16ffff
[    1.919086] PCI coherence region base: 0xbfbf8000, mask/settings: 0x60000000
[    1.936049] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    1.941940] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    1.947691] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    1.954928] PCI host bridge to bus 0000:00
[    1.958964] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    1.965811] pci_bus 0000:00: root bus resource [io  0xffffffff]
[    1.971646] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    1.978406] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    1.986297] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[    1.986338] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    1.986349] pci 0000:00:00.0: reg 0x14: [mem 0x00000000-0x0000ffff]
[    1.986416] pci 0000:00:00.0: supports D1
[    1.986425] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    1.986701] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400
[    1.986736] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    1.986753] pci 0000:00:01.0: reg 0x14: [mem 0x00000000-0x0000ffff]
[    1.986821] pci 0000:00:01.0: supports D1
[    1.986831] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[    1.987097] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.995026] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    2.003162] pci 0000:01:00.0: [14c3:7662] type 00 class 0x028000
[    2.003232] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[    2.003280] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    2.003380] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    2.003599] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    2.003846] pci 0000:02:00.0: [14c3:7603] type 00 class 0x028000
[    2.003901] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
[    2.004030] pci 0000:02:00.0: PME# supported from D0 D3hot D3cold
[    2.004237] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    2.004264] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 02
[    2.004350] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    2.010889] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    2.017783] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[    2.024355] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[    2.031254] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    2.038014] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x601fffff pref]
[    2.045168] pci 0000:00:01.0: BAR 8: assigned [mem 0x60200000-0x602fffff]
[    2.051917] pci 0000:00:00.0: BAR 1: assigned [mem 0x60300000-0x6030ffff]
[    2.058654] pci 0000:00:01.0: BAR 1: assigned [mem 0x60310000-0x6031ffff]
[    2.065408] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit]
[    2.072649] pci 0000:01:00.0: BAR 6: assigned [mem 0x60100000-0x6010ffff pref]
[    2.079829] pci 0000:00:00.0: PCI bridge to [bus 01]
[    2.084740] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    2.091488] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x601fffff pref]
[    2.098658] pci 0000:02:00.0: BAR 0: assigned [mem 0x60200000-0x602fffff]
[    2.105407] pci 0000:00:01.0: PCI bridge to [bus 02]
[    2.110309] pci 0000:00:01.0:   bridge window [mem 0x60200000-0x602fffff]
[    2.118560] clocksource: Switched to clocksource GIC
[    2.125053] NET: Registered protocol family 2
[    2.130224] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    2.137110] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[    2.143572] TCP: Hash tables configured (established 2048 bind 2048)
[    2.150016] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    2.155783] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    2.162247] NET: Registered protocol family 1
[    2.166579] PCI: CLS 0 bytes, default 32
[    2.398500] 4 CPUs re-calibrate udelay(lpj = 2924544)
[    2.405110] Crashlog allocated RAM at address 0x3f00000
[    2.410529] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    2.423486] random: fast init done
[    2.423605] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    2.432654] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    2.446123] bounce: pool size: 64 pages
[    2.449965] io scheduler noop registered
[    2.453790] io scheduler deadline registered (default)
[    2.459673] gpio-export gpio_export: 1 gpio(s) exported
[    2.465597] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    2.475074] console [ttyS0] disabled
[    2.478816] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A
[    2.487775] console [ttyS0] enabled
[    2.494677] bootconsole [early0] disabled
[    2.505043] MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error
[    2.512461] spi-mt7621 1e000b00.spi: sys_freq: 220000000
[    2.529958] m25p80 spi0.0: w25q256 (32768 Kbytes)
[    2.534700] 4 fixed-partitions partitions found on MTD device spi0.0
[    2.541113] Creating 4 MTD partitions on "spi0.0":
[    2.545892] 0x000000000000-0x000000030000 : "u-boot"
[    2.551910] 0x000000030000-0x000000040000 : "u-boot-env"
[    2.558168] 0x000000040000-0x000000050000 : "factory"
[    2.564139] 0x000000050000-0x000002000000 : "firmware"
[    2.570476] 2 uimage-fw partitions found on MTD device firmware
[    2.576381] Creating 2 MTD partitions on "firmware":
[    2.581411] 0x000000000000-0x0000001c9664 : "kernel"
[    2.587545] 0x0000001c9664-0x000001fb0000 : "rootfs"
[    2.593598] mtd: device 5 (rootfs) set to be root filesystem
[    2.599395] 1 squashfs-split partitions found on MTD device rootfs
[    2.605560] 0x000000450000-0x000001fb0000 : "rootfs_data"
[    2.612773] libphy: Fixed MDIO Bus: probed
[    2.680567] libphy: mdio: probed
[    4.083493] mtk_soc_eth 1e100000.ethernet: loaded mt7530 driver
[    4.090182] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 21
[    4.101523] NET: Registered protocol family 10
[    4.107609] Segment Routing with IPv6
[    4.111406] NET: Registered protocol family 17
[    4.115924] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    4.128839] 8021q: 802.1Q VLAN Support v1.8
[    4.135788] hctosys: unable to open rtc device (rtc0)
[    4.149927] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[    4.161891] Freeing unused kernel memory: 1260K
[    4.166421] This architecture does not have kernel memory protection.
[    4.383033] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up
[    4.984988] init: Console is alive
[    4.988738] init: - watchdog -
[    5.479359] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[    6.012833] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    6.190108] usbcore: registered new interface driver usbfs
[    6.195654] usbcore: registered new interface driver hub
[    6.201155] usbcore: registered new device driver usb
[    6.213713] xhci-mtk 1e1c0000.xhci: 1e1c0000.xhci supply vbus not found, using dummy regulator
[    6.222456] xhci-mtk 1e1c0000.xhci: 1e1c0000.xhci supply vusb33 not found, using dummy regulator
[    6.231416] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[    6.236738] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 1
[    6.248721] xhci-mtk 1e1c0000.xhci: hcc params 0x01401198 hci version 0x96 quirks 0x0000000000210010
[    6.257894] xhci-mtk 1e1c0000.xhci: irq 20, io mem 0x1e1c0000
[    6.264658] hub 1-0:1.0: USB hub found
[    6.268486] hub 1-0:1.0: 2 ports detected
[    6.273085] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[    6.278400] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 2
[    6.285889] xhci-mtk 1e1c0000.xhci: Host supports USB 3.0  SuperSpeed
[    6.292497] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    6.301455] hub 2-0:1.0: USB hub found
[    6.305272] hub 2-0:1.0: 1 port detected
[    6.314684] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    6.328938] init: - preinit -
[    6.582662] mtk_soc_eth 1e100000.ethernet eth0: port 4 link up
[    6.678713] usb 2-1: new SuperSpeed USB device number 2 using xhci-mtk
[    6.840486] random: procd: uninitialized urandom read (4 bytes read)
[    7.355959] mtk_soc_eth 1e100000.ethernet: PPE started
[   10.971251] jffs2: notice: (486) jffs2_build_xattr_subsystem: complete building xattr subsystem, 10 of xdatum (3 unchecked, 7 orphan) and 71 of xref (10 dead, 0 orphan) found.
[   11.016311] mount_root: loading kmods from internal overlay
[   11.597154] random: crng init done
[   11.609756] kmodloader: loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
[   12.057723] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   12.213824] SCSI subsystem initialized
[   12.250387] ehci-platform: EHCI generic platform driver
[   12.282741] usbcore: registered new interface driver usb-storage
[   12.296973] scsi host0: uas
[   12.300560] xhci-mtk 1e1c0000.xhci: ERROR Transfer event for unknown stream ring slot 1 ep 4
[   12.308980] xhci-mtk 1e1c0000.xhci: @000000000f618170 0eff4000 00000000 05000000 01058001
[   12.317120] xhci-mtk 1e1c0000.xhci: ERROR Transfer event for unknown stream ring slot 1 ep 6
[   12.325520] xhci-mtk 1e1c0000.xhci: @000000000f618180 0eff4100 00000000 05000000 01078001
[   33.178580] scsi 0:0:0:0: tag#0 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD IN 
[   33.186146] scsi 0:0:0:0: tag#0 CDB: opcode=0x12 12 00 00 00 24 00
[   33.192410] xhci-mtk 1e1c0000.xhci: Mismatch between completed Set TR Deq Ptr command & xHCI internal state.
[   33.202197] xhci-mtk 1e1c0000.xhci: ep deq seg = 8eff0180, deq ptr = aefee010
[   34.288547] scsi host0: uas_eh_device_reset_handler FAILED to get lock err -16
[   34.295751] scsi 0:0:0:0: Device offlined - not ready after error recovery
[   34.303057] usbcore: registered new interface driver uas
[   34.308770] kmodloader: done loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
[   34.705344] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[   34.741192] block: extroot: not configured
[   34.800292] mount_root: switching to jffs2 overlay
[   34.911556] overlayfs: upper fs does not support tmpfile.
[   34.924036] urandom-seed: Seeding with /etc/urandom.seed
[   35.055583] mtk_soc_eth 1e100000.ethernet: 0x100 = 0x6060000c, 0x10c = 0x80818
[   35.097398] procd: - early -
[   35.100446] procd: - watchdog -
[   35.778735] procd: - watchdog -
[   35.782216] procd: - ubus -
[   35.910007] procd: - init -
[   36.710998] kmodloader: loading kernel modules from /etc/modules.d/*
[   36.809291] ntfs: driver 2.1.32 [Flags: R/O MODULE].
[   36.910302] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   36.924786] Loading modules backported from Linux version v4.19.98-0-gd183c8e2647a
[   36.932376] Backport generated by backports.git v4.19.98-1-0-g8204eb99
[   36.940827] ip_tables: (C) 2000-2006 Netfilter Core Team
[   36.954287] nf_conntrack version 0.5.0 (8192 buckets, 32768 max)
[   36.993030] urngd: v1.0.2 started.
[   37.005153] xt_time: kernel timezone is -0000
[   37.072797] bus=0x2, slot = 0x1, irq=0xff
[   37.076845] PCI: Enabling device 0000:00:01.0 (0004 -> 0006)
[   37.082743] mt7603e 0000:02:00.0: ASIC revision: 76030010
[   38.120008] mt7603e 0000:02:00.0: Firmware Version: ap_pcie
[   38.125582] mt7603e 0000:02:00.0: Build Time: 20160107100755
[   38.168577] mt7603e 0000:02:00.0: firmware init done
[   38.336441] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   38.347472] bus=0x1, slot = 0x0, irq=0xff
[   38.351586] PCI: Enabling device 0000:00:00.0 (0004 -> 0006)
[   38.357503] mt76x2e 0000:01:00.0: ASIC revision: 76120044
[   39.073500] mt76x2e 0000:01:00.0: ROM patch build: 20141115060606a
[   39.083332] mt76x2e 0000:01:00.0: Firmware Version: 0.0.00
[   39.088865] mt76x2e 0000:01:00.0: Build: 1
[   39.092945] mt76x2e 0000:01:00.0: Build Time: 201507311614____
[   39.118566] mt76x2e 0000:01:00.0: Firmware running!
[   39.126481] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[   39.135387] PPP generic driver version 2.4.2
[   39.141303] NET: Registered protocol family 24
[   39.148832] kmodloader: done loading kernel modules from /etc/modules.d/*
[   45.747803] mtk_soc_eth 1e100000.ethernet: PPE started
[   45.759956] br-lan: port 1(eth0.1) entered blocking state
[   45.765451] br-lan: port 1(eth0.1) entered disabled state
[   45.771598] device eth0.1 entered promiscuous mode
[   45.776431] device eth0 entered promiscuous mode
[   45.784607] br-lan: port 1(eth0.1) entered blocking state
[   45.790049] br-lan: port 1(eth0.1) entered forwarding state
[   45.796131] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   46.759480] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   47.727837] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   48.137746] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[   48.143820] br-lan: port 2(wlan0) entered blocking state
[   48.149227] br-lan: port 2(wlan0) entered disabled state
[   48.155296] device wlan0 entered promiscuous mode
[   48.160546] br-lan: port 2(wlan0) entered blocking state
[   48.165951] br-lan: port 2(wlan0) entered forwarding state
[   48.172974] br-lan: port 2(wlan0) entered disabled state
[   48.181204] br-lan: port 3(wlan1) entered blocking state
[   48.186624] br-lan: port 3(wlan1) entered disabled state
[   48.192625] device wlan1 entered promiscuous mode
[   53.978690] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[   53.985480] br-lan: port 3(wlan1) entered blocking state
[   53.990851] br-lan: port 3(wlan1) entered forwarding state
[   56.589059] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   56.595806] br-lan: port 2(wlan0) entered blocking state
[   56.601214] br-lan: port 2(wlan0) entered forwarding state
[   57.403130] br-lan: port 4(wlan1.sta1) entered blocking state
[   57.408948] br-lan: port 4(wlan1.sta1) entered disabled state
[   57.415333] device wlan1.sta1 entered promiscuous mode
[   57.422108] br-lan: port 4(wlan1.sta1) entered blocking state
[   57.427900] br-lan: port 4(wlan1.sta1) entered forwarding state
[   57.805332] br-lan: port 5(wlan1.sta2) entered blocking state
[   57.811144] br-lan: port 5(wlan1.sta2) entered disabled state
[   57.817571] device wlan1.sta2 entered promiscuous mode
[   57.824331] br-lan: port 5(wlan1.sta2) entered blocking state
[   57.830195] br-lan: port 5(wlan1.sta2) entered forwarding state
[   61.287475] br-lan: port 6(wlan1.sta3) entered blocking state
[   61.293297] br-lan: port 6(wlan1.sta3) entered disabled state
[   61.299649] device wlan1.sta3 entered promiscuous mode
[   61.306679] br-lan: port 6(wlan1.sta3) entered blocking state
[   61.312474] br-lan: port 6(wlan1.sta3) entered forwarding state
[  180.317805] usb 2-1: USB disconnect, device number 2
[  180.323133] xhci-mtk 1e1c0000.xhci: Mismatch between completed Set TR Deq Ptr command & xHCI internal state.
[  180.332918] xhci-mtk 1e1c0000.xhci: ep deq seg = 8eff6900, deq ptr = af65a010
[  182.287651] usb 2-1: new SuperSpeed USB device number 3 using xhci-mtk
[  182.321506] scsi host0: uas
[  182.325303] xhci-mtk 1e1c0000.xhci: ERROR Transfer event for unknown stream ring slot 1 ep 4
[  182.333732] xhci-mtk 1e1c0000.xhci: @000000000f6183c0 0eff4200 00000000 05000000 01058001
[  182.341875] xhci-mtk 1e1c0000.xhci: ERROR Transfer event for unknown stream ring slot 1 ep 6
[  182.350277] xhci-mtk 1e1c0000.xhci: @000000000f6183d0 0eff4100 00000000 05000000 01078001
[  193.877649] xhci-mtk 1e1c0000.xhci: ERROR Transfer event for unknown stream ring slot 1 ep 7
[  193.886077] xhci-mtk 1e1c0000.xhci: @000000000f618430 0eff4000 00000000 05000000 01088001
[  203.417325] scsi 0:0:0:0: tag#0 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD IN 
[  203.424891] scsi 0:0:0:0: tag#0 CDB: opcode=0x12 12 00 00 00 24 00
[  203.431194] xhci-mtk 1e1c0000.xhci: Mismatch between completed Set TR Deq Ptr command & xHCI internal state.
[  203.440987] xhci-mtk 1e1c0000.xhci: ep deq seg = 8eff8a80, deq ptr = aef69010
[  204.507241] scsi host0: uas_eh_device_reset_handler FAILED to get lock err -16
[  204.514466] scsi 0:0:0:0: Device offlined - not ready after error recovery
root@newifi-gw:/dev# ^C
root@newifi-gw:/dev# 
root@newifi-gw:/dev# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 003: ID 0bc2:231a Seagate RSS LLC Expansion Portable
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
root@newifi-gw:/dev# ls /dev/sd* 
ls: /dev/sd*: No such file or directory
root@newifi-gw:/dev# block info
/dev/mtdblock5: UUID="3cd99de6-a66054b4-ff5ba1c2-71fec960" VERSION="4.0" MOUNT="/rom" TYPE="squashfs"
/dev/mtdblock6: MOUNT="/overlay" TYPE="jffs2"
root@newifi-gw:/dev# 

Pls help.

There are some errors by the end of the dmesg but I am not sure how to interpret them.
Maybe someone else will be more resourceful.

So I have done some experiments and my conclusion is that there is not enough electric current on the USB3 port of the router. It appears that the 1TB 2.5 inch USB drive works fine as do numerous other drives which have some way to accept injection of power on its USB adapter. The 4TB 2.5 inch Seagate drive works fine when connected to laptops but does not when connected to the NEWIFI D2 device and this USB drive has no port from which I can inject and externally sourced electricity.

Marking this solved. Use drives that need less electricity from the router USB port or use drives that can receive an electric supply before its plugged to the USB3 port of the router.

1 Like

Sounds very plausible. Powering from the USB port devices that need more than 0,5A is out of the specs.

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