Quad SATA Raspberry Pi Hat blues

Background:
I purchased complete Raspberry Pi 4B quad sata hat/4 WD 2TB 2.5 SATA hdd and got it working straight up with OMV + RAID 10 as nas and tickled with it but need more capacity.
Purchased another board + psu only from AllChina.net as WD 4TB 2.5 sata drives will not fit in the enclosure for the full kit as they are too thick. Got it working and went to bed waiting for mdadm to sync drives and all 4 blue lights flashing nicely. Got up in the morning and only 2 blue lights on; no flashing and only /dev/sda & /dev/sdb devices visible in Linux. I have reinstalled os (buster 32 & 64 bit) and rockpi-sata.service software and jMicron fix & firmware update countless times. I replaced the Raspberry Pi. I switched the usb bridge connectors between both sata hats. I tried A-A usb cables 3.0 type in place of bridge. Still only 2 blue lights and still only /dev/sda & /dev/sdb. I connected the 4TB drives to the first sata hat board and they work correctly. I swapped psu from other kit. All four drives are spinning up. At the moment all I have is a very expensive piece of JUNK. I can’t find anything else to try from the forum to fix issue. Methinks the sata hat is duff as I have exchanged/swapped everything else. What to do?
Tks
D
.

I’m sorry for the bad experience.

The 4TB hard drive doesn’t fit either the box or the slot. How did you install it? Can you send some photos?

Please also provide dmesg by the way.

not using the case and modding ( using cable extensions it could work im even thinking doing this my self so i can provide my own cooling tho the drives: gpio cable extension, sata (data and power extensions) some acrilic cnc casing for mounting the 4 harddrives and provide the pi4 better cooling also. 2 80mm high static pressure fans and some custom cabling for powering the additional hardware.

Hi

Tks for responding. I am using a micro tower case to house all (plus another rpi) and hoping to eventually connect it all up to the internal case atx psu instead of the 12v 60w psu supplied by AllChina but currently the setup is removed from the case for swapping out boards, cables etc whilst trying to find the problem. The rpi+SATA hat are connected together using standoffs supplied with the kit (as in the full kit), the hss’s are standing on their edges and drives/cpu units connected together using the SATA cables. A photograph at this time would be difficult but if you insist I shall endevour to supply pics. I am using standard SATA male to female cables approximately 12 inches long to connect between the SATA board and hdd’s. The cables work fine as I have tried them with other hdd units without issue.

I have tried the drive/cable combination with my other SATA hat kit setup and all 4 blue lights do light up when power is applied.

After sending my message I decided to look over the SATA hat board with the 40x magnifier and unfortunately I did notice many solder joints on the top side of the board which looked to be quite possibly dodgy. Instead of being nice and shiny many were dark gray and grainy looking blobs, typical of a solder joint where the solder did not flow correctly, indicating possible bad solder joints. All solder connections on the bottom looked fine.

Here is all the dmesg (filtered containing usb), lsusb, etc, info.

pi@nas2:~/jms561-fw-update $ lsusb
Bus 002 Device 003: ID 1058:0a10 Western Digital Technologies, Inc.
Bus 002 Device 002: ID 152d:0561 JMicron Technology Corp. / JMicron USA Technology Corp. JMS551 - Sharkoon SATA QuickPort Duo
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


pi@nas2:~/jms561-fw-update $ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 3.7T 0 disk
sdb 8:16 0 3.7T 0 disk
mmcblk0 179:0 0 30G 0 disk
├─mmcblk0p1 179:1 0 256M 0 part /boot
└─mmcblk0p2 179:2 0 29.8G 0 part /


pi@nas2:~/jms561-fw-update $ sudo ./JMS561FwUpdate -b backup.bin -f jms561b_v8.1.3.6.bin -d /dev/sda
Backup Firmware file name: backup.bin
Update Firmware file name: jms561b_v8.1.3.6.bin
Backup the ROM code sucessfully.
Programming & Compare Success!!

pi@nas2:~/jms561-fw-update $ sudo ./JMS561FwUpdate -b backup.bin -f jms561b_v8.1.3.6.bin -d /dev/sdc
Backup Firmware file name: backup.bin
Update Firmware file name: jms561b_v8.1.3.6.bin
ERR : open device fail
Get Bridge version FAIL!

ERR : open device fail
Read Back to Backup Error!!
pi@nas2:~/jms561-fw-update $ sudo ./JMS561FwUpdate -b backup.bin -f jms561b_v8.1.3.6.bin -d /dev/sdb
Backup Firmware file name: backup.bin
Update Firmware file name: jms561b_v8.1.3.6.bin
Backup the ROM code sucessfully.
Programming & Compare Success!!

pi@nas2:~/jms561-fw-update $ sudo ./JMS561FwUpdate -b backup.bin -f jms561b_v8.1.3.6.bin -d /dev/sdd
Backup Firmware file name: backup.bin
Update Firmware file name: jms561b_v8.1.3.6.bin
ERR : open device fail
Get Bridge version FAIL!

ERR : open device fail
Read Back to Backup Error!!


pi@nas2:~ $ cd jms561-fw-update/
pi@nas2:~/jms561-fw-update $ sudo ./JMS561FwUpdate -d /dev/sda -v
Bridge Firmware Version: v8.1.3.6

pi@nas2:~/jms561-fw-update $ sudo ./JMS561FwUpdate -d /dev/sdb -v
Bridge Firmware Version: v8.1.3.6

pi@nas2:~/jms561-fw-update $ sudo ./JMS561FwUpdate -d /dev/sdc -v
ERR : open device fail
Get Bridge version FAIL!

pi@nas2:~/jms561-fw-update $ sudo ./JMS561FwUpdate -d /dev/sdd -v
ERR : open device fail
Get Bridge version FAIL!


pi@nas2:~/jms561-fw-update $ dmesg | grep usb
[ 0.251456] usbcore: registered new interface driver usbfs
[ 0.251505] usbcore: registered new interface driver hub
[ 0.251610] usbcore: registered new device driver usb
[ 1.157947] usbcore: registered new interface driver r8152
[ 1.158028] usbcore: registered new interface driver lan78xx
[ 1.158085] usbcore: registered new interface driver smsc95xx
[ 1.160621] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[ 1.160636] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.160648] usb usb1: Product: xHCI Host Controller
[ 1.160659] usb usb1: Manufacturer: Linux 5.4.51-v8+ xhci-hcd
[ 1.160671] usb usb1: SerialNumber: 0000:01:00.0
[ 1.162329] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.04
[ 1.162343] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.162355] usb usb2: Product: xHCI Host Controller
[ 1.162366] usb usb2: Manufacturer: Linux 5.4.51-v8+ xhci-hcd
[ 1.162377] usb usb2: SerialNumber: 0000:01:00.0
[ 1.169096] usbcore: registered new interface driver uas
[ 1.169196] usbcore: registered new interface driver usb-storage
[ 1.178272] usbcore: registered new interface driver usbhid
[ 1.178280] usbhid: USB HID core driver
[ 1.501042] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[ 1.651658] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.21
[ 1.651672] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 1.651684] usb 1-1: Product: USB2.0 Hub
[ 5.616084] usbcore: registered new interface driver brcmfmac
[ 9.913254] usb 2-1: new SuperSpeed Gen 1 USB device number 2 using xhci_hcd
[ 9.934302] usb 2-1: New USB device found, idVendor=152d, idProduct=0561, bcdDevice= 0.01
[ 9.934311] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=5
[ 9.934316] usb 2-1: Product: JMS56x Series
[ 9.934321] usb 2-1: Manufacturer: JMicron
[ 9.934325] usb 2-1: SerialNumber: RANDOM__397067CDEBB6
[ 9.936733] usb-storage 2-1:1.0: USB Mass Storage device detected
[ 9.937048] scsi host0: usb-storage 2-1:1.0
[ 11.585247] usb 2-2: new SuperSpeed Gen 1 USB device number 3 using xhci_hcd
[ 11.606483] usb 2-2: New USB device found, idVendor=1058, idProduct=0a10, bcdDevice=81.36
[ 11.606492] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=5
[ 11.606497] usb 2-2: Product: JMS56x Series
[ 11.606502] usb 2-2: Manufacturer: JMicron
[ 11.606506] usb 2-2: SerialNumber: 1234567890123


pi@nas2:~ $ sudo systemctl status● rockpi-sata.service - Rockpi SATA Hat
Loaded: loaded (/lib/systemd/system/rockpi-sata.service; enabled; vendor pres
Active: active (running) since Tue 2020-08-25 18:20:40 BST; 17min ago
Main PID: 441 (python3)
Tasks: 3 (limit: 1915)
CGroup: /system.slice/rockpi-sata.service
├─ 441 /usr/bin/python3 /usr/bin/rockpi-sata/main.py on
└─1165 /usr/bin/python3 /usr/bin/rockpi-sata/main.py on

Aug 25 18:20:40 nas2 systemd[1]: Started Rockpi SATA Hat.

Regards
D

Update

After leaving the sata hat setup sit for a few days now upon startup/restart of pi on sata hat sometimes get 1 light, sometimes 2, sometimes 1 on with 1 blinking, sometimes no lights. Also lsblk sometimes shows sda, sometimes sda + sdb, and sometimes neither. Reloaded sd card with fresh os and reinstalled the sata hat software but got same aqs above still. Should I return to ALLNET China for replacement?

Regards
D

Hi

Here is complete dmesg output:

pi@nas2:~ $ sudo dmesg
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.4.51-v7l+ (dom@buildbot) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611)) #1333 SMP Mon Aug 10 16:51:40 BST 2020
[ 0.000000] CPU: ARMv7 Processor [410fd083] revision 3 (ARMv7), cr=30c5383d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[ 0.000000] OF: fdt: Machine model: Raspberry Pi 4 Model B Rev 1.2
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] Reserved memory: created CMA memory pool at 0x000000001ec00000, size 256 MiB
[ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[ 0.000000] On node 0 totalpages: 504832
[ 0.000000] DMA zone: 2304 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 196608 pages, LIFO batch:63
[ 0.000000] HighMem zone: 308224 pages, LIFO batch:63
[ 0.000000] percpu: Embedded 20 pages/cpu s49856 r8192 d23872 u81920
[ 0.000000] pcpu-alloc: s49856 r8192 d23872 u81920 alloc=20*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 502528
[ 0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_headphones=1 smsc95xx.macaddr=DC:A6:32:C3:0D:76 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyS0,115200 console=tty1 root=PARTUUID=a7beba3a-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] software IO TLB: mapped [mem 0x19400000-0x1d400000] (64MB)
[ 0.000000] Memory: 1647812K/2019328K available (10240K kernel code, 725K rwdata, 2740K rodata, 2048K init, 853K bss, 109372K reserved, 262144K cma-reserved, 1232896K highmem)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] ftrace: allocating 30051 entries in 59 pages
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 0.000000] random: get_random_bytes called from start_kernel+0x340/0x518 with crng_init=0
[ 0.000008] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 2147483647500ns
[ 0.000024] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275 ns
[ 0.000100] bcm2835: system timer (irq = 17)
[ 0.000769] arch_timer: cp15 timer(s) running at 54.00MHz (phys).
[ 0.000785] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xc743ce346, max_idle_ns: 440795203123 ns
[ 0.000802] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns
[ 0.000815] Switching to timer-based delay loop, resolution 18ns
[ 0.001051] Console: colour dummy device 80x30
[ 0.001082] printk: console [tty1] enabled
[ 0.001130] Calibrating delay loop (skipped), value calculated using timer frequency… 108.00 BogoMIPS (lpj=540000)
[ 0.001150] pid_max: default: 32768 minimum: 301
[ 0.001462] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.001484] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.002644] Disabling memory control group subsystem
[ 0.002742] CPU: Testing write buffer coherency: ok
[ 0.003215] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.004043] Setting up static identity map for 0x200000 - 0x20003c
[ 0.004231] rcu: Hierarchical SRCU implementation.
[ 0.004850] smp: Bringing up secondary CPUs …
[ 0.005985] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.007245] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[ 0.008449] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[ 0.008595] smp: Brought up 1 node, 4 CPUs
[ 0.008611] SMP: Total of 4 processors activated (432.00 BogoMIPS).
[ 0.008623] CPU: All CPU(s) started in HYP mode.
[ 0.008634] CPU: Virtualization extensions available.
[ 0.009394] devtmpfs: initialized
[ 0.022543] VFP support v0.3: implementor 41 architecture 3 part 40 variant 8 rev 0
[ 0.022782] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.022808] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.030481] pinctrl core: initialized pinctrl subsystem
[ 0.031549] NET: Registered protocol family 16
[ 0.035194] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[ 0.036883] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.036895] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.037238] Serial: AMBA PL011 UART driver
[ 0.040733] bcm2835-mbox fe00b880.mailbox: mailbox enabled
[ 0.060844] raspberrypi-firmware soc:firmware: Attached to firmware from 2020-08-19 17:38, variant start
[ 0.070860] raspberrypi-firmware soc:firmware: Firmware hash is e90cba19a98a0d1f2ef086b9cafcbca00778f094
[ 0.124168] bcm2835-dma fe007000.dma: DMA legacy API manager, dmachans=0x1
[ 0.128602] vgaarb: loaded
[ 0.129046] SCSI subsystem initialized
[ 0.129278] usbcore: registered new interface driver usbfs
[ 0.129335] usbcore: registered new interface driver hub
[ 0.129450] usbcore: registered new device driver usb
[ 0.131038] clocksource: Switched to clocksource arch_sys_counter
[ 0.881690] VFS: Disk quotas dquot_6.6.0
[ 0.881787] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.881940] FS-Cache: Loaded
[ 0.882132] CacheFiles: Loaded
[ 0.882930] simple-framebuffer: probe of 0.framebuffer failed with error -12
[ 0.892767] thermal_sys: Registered thermal governor ‘step_wise’
[ 0.893100] NET: Registered protocol family 2
[ 0.893800] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 0.893830] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 0.893904] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.893977] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.894128] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 0.894159] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 0.894399] NET: Registered protocol family 1
[ 0.895073] RPC: Registered named UNIX socket transport module.
[ 0.895085] RPC: Registered udp transport module.
[ 0.895097] RPC: Registered tcp transport module.
[ 0.895109] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.895128] PCI: CLS 0 bytes, default 64
[ 0.896976] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
[ 0.899103] Initialise system trusted keyrings
[ 0.899312] workingset: timestamp_bits=14 max_order=19 bucket_order=5
[ 0.909850] FS-Cache: Netfs ‘nfs’ registered for caching
[ 0.910548] NFS: Registering the id_resolver key type
[ 0.910580] Key type id_resolver registered
[ 0.910592] Key type id_legacy registered
[ 0.910613] nfs4filelayout_init: NFSv4 File Layout Driver Registering…
[ 0.911741] Key type asymmetric registered
[ 0.911754] Asymmetric key parser ‘x509’ registered
[ 0.911922] bounce: pool size: 64 pages
[ 0.911963] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[ 0.912181] io scheduler mq-deadline registered
[ 0.912194] io scheduler kyber registered
[ 0.915940] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges:
[ 0.915963] brcm-pcie fd500000.pcie: No bus range found for /scb/pcie@7d500000, using [bus 00-ff]
[ 0.916028] brcm-pcie fd500000.pcie: MEM 0x0600000000…0x0603ffffff -> 0x00f8000000
[ 0.916093] brcm-pcie fd500000.pcie: IB MEM 0x0000000000…0x007fffffff -> 0x0000000000
[ 0.973183] brcm-pcie fd500000.pcie: link up, 5 GT/s x1 (SSC)
[ 0.973475] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00
[ 0.973492] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 0.973512] pci_bus 0000:00: root bus resource [mem 0x600000000-0x603ffffff] (bus address [0xf8000000-0xfbffffff])
[ 0.973567] pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400
[ 0.973804] pci 0000:00:00.0: PME# supported from D0 D3hot
[ 0.977174] PCI: bus0: Fast back to back transfers disabled
[ 0.977396] pci 0000:01:00.0: [1106:3483] type 00 class 0x0c0330
[ 0.977540] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
[ 0.977957] pci 0000:01:00.0: PME# supported from D0 D3cold
[ 0.981368] PCI: bus1: Fast back to back transfers disabled
[ 0.981425] pci 0000:00:00.0: BAR 8: assigned [mem 0x600000000-0x6000fffff]
[ 0.981447] pci 0000:01:00.0: BAR 0: assigned [mem 0x600000000-0x600000fff 64bit]
[ 0.981527] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 0.981550] pci 0000:00:00.0: bridge window [mem 0x600000000-0x6000fffff]
[ 0.981853] pcieport 0000:00:00.0: enabling device (0140 -> 0142)
[ 0.982081] pcieport 0000:00:00.0: PME: Signaling with IRQ 56
[ 0.982444] pcieport 0000:00:00.0: AER: enabled with IRQ 56
[ 0.982772] pci 0000:01:00.0: enabling device (0140 -> 0142)
[ 0.989484] iproc-rng200 fe104000.rng: hwrng registered
[ 0.989803] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[ 0.990443] vc-sm: Videocore shared memory driver
[ 0.990972] gpiomem-bcm2835 fe200000.gpiomem: Initialised: Registers at 0xfe200000
[ 1.002629] brd: module loaded
[ 1.014473] loop: module loaded
[ 1.015796] Loading iSCSI transport class v2.0-870.
[ 1.017735] libphy: Fixed MDIO Bus: probed
[ 1.018308] bcmgenet fd580000.ethernet: failed to get enet clock
[ 1.018326] bcmgenet fd580000.ethernet: GENET 5.0 EPHY: 0x0000
[ 1.018347] bcmgenet fd580000.ethernet: failed to get enet-wol clock
[ 1.018367] bcmgenet fd580000.ethernet: failed to get enet-eee clock
[ 1.018393] bcmgenet: Skipping UMAC reset
[ 1.031076] libphy: bcmgenet MII bus: probed
[ 1.121140] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus
[ 1.122152] usbcore: registered new interface driver r8152
[ 1.122227] usbcore: registered new interface driver lan78xx
[ 1.122293] usbcore: registered new interface driver smsc95xx
[ 1.122692] xhci_hcd 0000:01:00.0: xHCI Host Controller
[ 1.122724] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
[ 1.124962] xhci_hcd 0000:01:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x0000001000000890
[ 1.126170] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[ 1.126186] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.126201] usb usb1: Product: xHCI Host Controller
[ 1.126216] usb usb1: Manufacturer: Linux 5.4.51-v7l+ xhci-hcd
[ 1.126230] usb usb1: SerialNumber: 0000:01:00.0
[ 1.126821] hub 1-0:1.0: USB hub found
[ 1.126911] hub 1-0:1.0: 1 port detected
[ 1.127446] xhci_hcd 0000:01:00.0: xHCI Host Controller
[ 1.127471] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[ 1.127493] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[ 1.127974] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.04
[ 1.127991] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.128006] usb usb2: Product: xHCI Host Controller
[ 1.128020] usb usb2: Manufacturer: Linux 5.4.51-v7l+ xhci-hcd
[ 1.128034] usb usb2: SerialNumber: 0000:01:00.0
[ 1.128589] hub 2-0:1.0: USB hub found
[ 1.128666] hub 2-0:1.0: 4 ports detected
[ 1.130080] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 1.130356] dwc_otg: FIQ enabled
[ 1.130368] dwc_otg: NAK holdoff enabled
[ 1.130379] dwc_otg: FIQ split-transaction FSM enabled
[ 1.130394] Module dwc_common_port init
[ 1.130803] usbcore: registered new interface driver uas
[ 1.130908] usbcore: registered new interface driver usb-storage
[ 1.131169] mousedev: PS/2 mouse device common for all mice
[ 1.133235] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[ 1.135688] sdhci: Secure Digital Host Controller Interface driver
[ 1.135700] sdhci: Copyright© Pierre Ossman
[ 1.136274] mmc-bcm2835 fe300000.mmcnr: could not get clk, deferring probe
[ 1.136840] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.140516] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.140825] hidraw: raw HID events driver © Jiri Kosina
[ 1.141004] usbcore: registered new interface driver usbhid
[ 1.141015] usbhid: USB HID core driver
[ 1.142054] vchiq: vchiq_init_state: slot_zero = (ptrval)
[ 1.143945] [vc_sm_connected_init]: start
[ 1.152868] [vc_sm_connected_init]: end - returning 0
[ 1.154868] Initializing XFRM netlink socket
[ 1.154903] NET: Registered protocol family 17
[ 1.155005] Key type dns_resolver registered
[ 1.155446] Registering SWP/SWPB emulation handler
[ 1.155776] registered taskstats version 1
[ 1.155795] Loading compiled-in X.509 certificates
[ 1.156266] Key type ._fscrypt registered
[ 1.156278] Key type .fscrypt registered
[ 1.166185] uart-pl011 fe201000.serial: cts_event_workaround enabled
[ 1.166263] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 29, base_baud = 0) is a PL011 rev2
[ 1.172175] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[ 1.173060] mmc-bcm2835 fe300000.mmcnr: mmc_debug:0 mmc_debug2:0
[ 1.173074] mmc-bcm2835 fe300000.mmcnr: DMA channel allocated
[ 1.222427] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[ 1.224064] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 1.225696] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 1.228631] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[ 1.230266] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 1.238882] mmc0: SDHCI controller on fe340000.emmc2 [fe340000.emmc2] using ADMA
[ 1.241702] of_cfs_init
[ 1.241939] of_cfs_init: OK
[ 1.243014] Waiting for root device PARTUUID=a7beba3a-02…
[ 1.271946] random: fast init done
[ 1.296980] mmc1: new high speed SDIO card at address 0001
[ 1.309747] mmc0: new ultra high speed SDR25 SDHC card at address b368
[ 1.310617] mmcblk0: mmc0:b368 CBADS 30.0 GiB
[ 1.312676] mmcblk0: p1 p2
[ 1.343428] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 1.343491] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 1.351342] devtmpfs: mounted
[ 1.359193] Freeing unused kernel memory: 2048K
[ 1.381336] Run /sbin/init as init process
[ 1.491093] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[ 1.673756] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.21
[ 1.673773] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 1.673789] usb 1-1: Product: USB2.0 Hub
[ 1.675673] hub 1-1:1.0: USB hub found
[ 1.676200] hub 1-1:1.0: 4 ports detected
[ 1.995304] systemd[1]: System time before build time, advancing clock.
[ 2.151437] NET: Registered protocol family 10
[ 2.152697] Segment Routing with IPv6
[ 2.190604] systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[ 2.191439] systemd[1]: Detected architecture arm.
[ 2.236252] systemd[1]: Set hostname to .
[ 2.965065] random: systemd: uninitialized urandom read (16 bytes read)
[ 2.979796] random: systemd: uninitialized urandom read (16 bytes read)
[ 2.987622] systemd[1]: Listening on Syslog Socket.
[ 2.988075] random: systemd: uninitialized urandom read (16 bytes read)
[ 2.988741] systemd[1]: Listening on Journal Socket.
[ 2.995947] systemd[1]: Mounting POSIX Message Queue File System…
[ 2.997766] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[ 2.998863] systemd[1]: Condition check resulted in Huge Pages File System being skipped.
[ 2.999515] systemd[1]: Listening on initctl Compatibility Named Pipe.
[ 3.000876] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ 3.151480] i2c /dev entries driver
[ 3.725759] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 3.840934] systemd-journald[115]: Received request to flush runtime journal from PID 1
[ 4.365053] rpivid-mem feb00000.hevc-decoder: rpivid-hevcmem initialised: Registers at 0xfeb00000 length 0x00010000
[ 4.370335] Driver for 1-wire Dallas network protocol.
[ 4.372336] rpivid-mem feb10000.rpivid-local-intc: rpivid-intcmem initialised: Registers at 0xfeb10000 length 0x00001000
[ 4.373654] rpivid-mem feb20000.h264-decoder: rpivid-h264mem initialised: Registers at 0xfeb20000 length 0x00010000
[ 4.376172] rpivid-mem feb30000.vp9-decoder: rpivid-vp9mem initialised: Registers at 0xfeb30000 length 0x00010000
[ 4.391396] gpio-4 (onewire@0): enforced open drain please flag it properly in DT/ACPI DSDT/board file
[ 4.461416] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[ 4.465823] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[ 4.465843] [vc_sm_connected_init]: start
[ 4.468233] [vc_sm_connected_init]: installed successfully
[ 4.468621] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[ 4.486035] mc: Linux media interface: v0.10
[ 4.492333] bcm2835_audio bcm2835_audio: card created with 8 channels
[ 4.572001] videodev: Linux video capture interface: v2.00
[ 4.698635] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[ 4.701682] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[ 4.709169] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned.
[ 4.715072] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[ 4.716481] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[ 4.723665] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video13
[ 4.724952] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video14
[ 4.729978] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video15
[ 4.730570] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video16
[ 4.730594] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[ 4.730615] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[ 4.730634] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[ 4.730653] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[ 4.730836] bcm2835-isp bcm2835-isp: Loaded V4L2 bcm2835-isp
[ 4.738590] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
[ 4.738653] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
[ 4.752975] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
[ 4.753019] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
[ 4.764813] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
[ 4.764854] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
[ 4.888230] [drm] Initialized v3d 1.0.0 20180419 for fec00000.v3d on minor 0
[ 4.897792] [drm] No displays found. Consider forcing hotplug if HDMI is attached
[ 4.897913] vc4-drm gpu: bound fe600000.firmwarekms (ops vc4_fkms_ops [vc4])
[ 4.897935] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 4.897947] [drm] No driver support for vblank timestamp query.
[ 4.897958] [drm] Setting vblank_disable_immediate to false because get_vblank_timestamp == NULL
[ 4.898321] [drm] Initialized vc4 0.0.0 20140616 for gpu on minor 1
[ 4.987030] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 5.094877] cfg80211: Loaded X.509 cert ‘sforshee: 00b28ddf47aef9cea7’
[ 5.168159] brcmfmac: F1 signature read @0x18000000=0x15264345
[ 5.175194] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 5.175579] usbcore: registered new interface driver brcmfmac
[ 5.209193] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.txt failed with error -2
[ 5.432855] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 5.452653] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Mar 23 2020 02:19:54 version 7.45.206 (r725000 CY) FWID 01-88ee44ea
[ 7.048789] random: crng init done
[ 7.048806] random: 7 urandom warning(s) missed due to ratelimiting
[ 7.138159] uart-pl011 fe201000.serial: no DMA platform data
[ 7.315175] 8021q: 802.1Q VLAN Support v1.8
[ 7.711256] Adding 102396k swap on /var/swap. Priority:-2 extents:1 across:102396k SSFS
[ 8.142486] bcmgenet: Skipping UMAC reset
[ 8.145859] bcmgenet fd580000.ethernet: configuring instance for external RGMII
[ 8.146729] bcmgenet fd580000.ethernet eth0: Link is Down
[ 10.031377] usb 2-1: new SuperSpeed Gen 1 USB device number 2 using xhci_hcd
[ 10.072468] usb 2-1: New USB device found, idVendor=152d, idProduct=0561, bcdDevice= 0.01
[ 10.072483] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=5
[ 10.072496] usb 2-1: Product: JMS56x Series
[ 10.072508] usb 2-1: Manufacturer: JMicron
[ 10.072520] usb 2-1: SerialNumber: RANDOM__BA993A16EF0C
[ 10.076428] usb-storage 2-1:1.0: USB Mass Storage device detected
[ 10.077540] scsi host0: usb-storage 2-1:1.0
[ 11.721408] usb 2-2: new SuperSpeed Gen 1 USB device number 3 using xhci_hcd
[ 11.752600] usb 2-2: New USB device found, idVendor=1058, idProduct=0a10, bcdDevice=81.36
[ 11.752615] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=5
[ 11.752627] usb 2-2: Product: JMS56x Series
[ 11.752640] usb 2-2: Manufacturer: JMicron
[ 11.752651] usb 2-2: SerialNumber: 1234567890123
[ 11.770758] scsi host1: uas
[ 11.772087] scsi 1:0:0:0: Direct-Access ST4000LM 024-2AN17V 8136 PQ: 0 ANSI: 6
[ 11.774497] scsi 1:0:0:1: Direct-Access ST4000LM 024-2AN17V 8136 PQ: 0 ANSI: 6
[ 11.774610] sd 1:0:0:0: [sda] 7814037168 512-byte logical blocks: (4.00 TB/3.64 TiB)
[ 11.774885] sd 1:0:0:0: [sda] Write Protect is off
[ 11.774900] sd 1:0:0:0: [sda] Mode Sense: 67 00 10 08
[ 11.775418] sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA
[ 11.776185] sd 1:0:0:0: [sda] Optimal transfer size 33553920 bytes
[ 11.777216] sd 1:0:0:1: [sdb] 7814037168 512-byte logical blocks: (4.00 TB/3.64 TiB)
[ 11.777462] sd 1:0:0:1: [sdb] Write Protect is off
[ 11.777477] sd 1:0:0:1: [sdb] Mode Sense: 67 00 10 08
[ 11.778149] sd 1:0:0:1: [sdb] Write cache: enabled, read cache: enabled, supports DPO and FUA
[ 11.778960] sd 1:0:0:1: [sdb] Optimal transfer size 33553920 bytes
[ 11.856620] sd 1:0:0:0: Attached scsi generic sg0 type 0
[ 11.856920] sd 1:0:0:1: Attached scsi generic sg1 type 0
[ 11.919256] sd 1:0:0:0: [sda] Attached SCSI disk
[ 11.921260] sd 1:0:0:1: [sdb] Attached SCSI disk
[ 13.351268] bcmgenet fd580000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 13.351315] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 13.875639] Bluetooth: Core ver 2.22
[ 13.875705] NET: Registered protocol family 31
[ 13.875715] Bluetooth: HCI device and connection manager initialized
[ 13.875737] Bluetooth: HCI socket layer initialized
[ 13.875752] Bluetooth: L2CAP socket layer initialized
[ 13.875776] Bluetooth: SCO socket layer initialized
[ 13.884585] Bluetooth: HCI UART driver ver 2.3
[ 13.884600] Bluetooth: HCI UART protocol H4 registered
[ 13.884665] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 13.884908] Bluetooth: HCI UART protocol Broadcom registered
[ 14.166246] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 14.166253] Bluetooth: BNEP filters: protocol multicast
[ 14.166265] Bluetooth: BNEP socket layer initialized
[ 14.285397] Bluetooth: RFCOMM TTY layer initialized
[ 14.285416] Bluetooth: RFCOMM socket layer initialized
[ 14.285430] Bluetooth: RFCOMM ver 1.11

@Neetnada

The dmesg looks normal, but from what you have described, the hat may be broken. You can contact Allnet to replace it with a new one.

The problem is definitely the sata hat board. I ordered another from Allnet China. That board was received yesterday, is working perfectly for almost 24 hours and close examination of it does not reveal any traces of possible dry solder joints. I will contact Allnet and see if I can get a refund for the defective board.

Tks.