Quad Sata Kit and OpenMediaVault 5 (Raspberry Pi 4)

I was able to get OMV setup after executing the JMicron controller fix outlined in the main troubleshooting area of the instructions here:
https://wiki.radxa.com/Dual_Quad_SATA_HAT

After that I set up a raid 5 manually because OMV doesn’t handle usb automatically. For this I used these two commands:

sudo mdadm -Cv -l5 -c64 -n4 -pls /dev/md0 /dev/sd{a,b,c,d}
sudo mkfs.ext4 /dev/md0

Following this I was able to setup and access the disks via SMB/CIFS. So far so good. But then decided to modify the /etc/rockpi-sata.conf file and execute sudo systemctl restart rockpi-sata.service

Unfortunately after reboot I’ve lot ssh access entirely. OMV works and I’m able to view the logs to see what’s happening. I think that the main pi memory isn’t mounting or booting properly.

I got the hint from a comment on this youtube video >>>https://youtu.be/Eix0PCB0byQ

This backed up by a missing disk that I can’t mount in OMV. Ordinarily this would be the sd card.

Lastly, when I check out the OMV logs it’s clear that there’s the volume that needs to be mounted to run the pi and ssh isn’t getting mounted. I’d be super grateful if anyone could tell enlighten me about a workaround to change the mount order so that the pi system disk mounts before the HDDS.

I figured out a quick and dirty way to get ssh back. I booted the system without the four port usb connector plugged in. That forced it to first mount the main memory which reactivated my ssh access. After that I plugged it back in and OMV mounted the disks.

Strangely I never had this problem in my setup… also had omv and manually created the raid array with mdadm… when I boot up my system, I did see a message indicating that they raid array is waiting for some disks… and it always successfully waits and loads the array… it could be some of the setting flags u used when creating the array that caused it not to wait for disks to come online n fail…

Hi guys, found a solution for the problem that there’s no raid array after reboot: just follow this guide and you should be done. Worked for me after several reboots:

Good day all

i have tried to modify the rules so that my 4 drives will be visible. however on linux itself the 2 other drives are not detected

the light indicator is only working for disk 1 and disk 3.

i thought it was the HD that was not working, so i tried to switch the drives to these HD slots and they were detected but still the other 2 were not

HD ports 2 and 4 are not lighting up

any advise on how i can check if my SATA Hat HD ports are working well ?

here is my lsblk

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 223.6G 0 disk
└─sda1 8:1 0 223.6G 0 part /srv/disk2
sdb 8:16 0 223.6G 0 disk
└─sdb1 8:17 0 223.6G 0 part /srv/disk1
mmcblk0 179:0 0 14.9G 0 disk
├─mmcblk0p1 179:1 0 256M 0 part /boot
└─mmcblk0p2 179:2 0 14.6G 0 part /

here is my dmesg

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.10.17-v7l+ (dom@buildbot) (arm-linux-gnueabihf-gcc-8 (Ubuntu/Linaro 8.4.0-3ubuntu1) 8.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1403 SMP Mon Feb 22 11:33:35 GMT 2021
[ 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] Zone ranges:
[ 0.000000] DMA [mem 0x0000000000000000-0x000000002fffffff]
[ 0.000000] Normal empty
[ 0.000000] HighMem [mem 0x0000000030000000-0x00000000fbffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x000000003b3fffff]
[ 0.000000] node 0: [mem 0x0000000040000000-0x00000000fbffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x00000000fbffffff]
[ 0.000000] On node 0 totalpages: 1012736
[ 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: 816128 pages, LIFO batch:63
[ 0.000000] percpu: Embedded 20 pages/cpu s50700 r8192 d23028 u81920
[ 0.000000] pcpu-alloc: s50700 r8192 d23028 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: 1010432
[ 0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 smsc95xx.macaddr=DC:A6:32:87:E5:03 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyS0,115200 console=tty1 root=PARTUUID=1aa9f0ed-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
[ 0.000000] Kernel parameter elevator= does not have any effect anymore.
Please use sysfs to set IO scheduler for individual devices.
[ 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 0x0000000017cc0000-0x000000001bcc0000] (64MB)
[ 0.000000] Memory: 3654936K/4050944K available (10240K kernel code, 1358K rwdata, 3160K rodata, 2048K init, 890K bss, 133864K reserved, 262144K cma-reserved, 3264512K highmem)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] ftrace: allocating 33942 entries in 67 pages
[ 0.000000] ftrace: allocated 67 pages with 3 groups
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] Rude variant of Tasks RCU enabled.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] NR_IRQS: 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+0x3c8/0x59c with crng_init=0
[ 0.000009] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 2147483647500ns
[ 0.000035] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275 ns
[ 0.000098] bcm2835: system timer (irq = 25)
[ 0.000753] arch_timer: cp15 timer(s) running at 54.00MHz (phys).
[ 0.000775] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xc743ce346, max_idle_ns: 440795203123 ns
[ 0.000796] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns
[ 0.000814] Switching to timer-based delay loop, resolution 18ns
[ 0.001069] Console: colour dummy device 80x30
[ 0.001809] printk: console [tty1] enabled
[ 0.001874] Calibrating delay loop (skipped), value calculated using timer frequency… 108.00 BogoMIPS (lpj=540000)
[ 0.001928] pid_max: default: 32768 minimum: 301
[ 0.002111] LSM: Security Framework initializing
[ 0.002309] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.002355] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.003929] Disabling memory control group subsystem
[ 0.004065] CPU: Testing write buffer coherency: ok
[ 0.004538] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.005759] Setting up static identity map for 0x200000 - 0x20003c
[ 0.005974] rcu: Hierarchical SRCU implementation.
[ 0.006917] smp: Bringing up secondary CPUs …
[ 0.008141] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.009505] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[ 0.010814] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[ 0.010973] smp: Brought up 1 node, 4 CPUs
[ 0.011019] SMP: Total of 4 processors activated (432.00 BogoMIPS).
[ 0.011049] CPU: All CPU(s) started in HYP mode.
[ 0.011075] CPU: Virtualization extensions available.
[ 0.011921] devtmpfs: initialized
[ 0.025819] VFP support v0.3: implementor 41 architecture 3 part 40 variant 8 rev 0
[ 0.026078] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.026131] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.033181] pinctrl core: initialized pinctrl subsystem
[ 0.034277] NET: Registered protocol family 16
[ 0.038278] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[ 0.039066] audit: initializing netlink subsys (disabled)
[ 0.039338] audit: type=2000 audit(0.030:1): state=initialized audit_enabled=0 res=1
[ 0.039909] thermal_sys: Registered thermal governor ‘step_wise’
[ 0.040602] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.040657] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.041089] Serial: AMBA PL011 UART driver
[ 0.074151] bcm2835-mbox fe00b880.mailbox: mailbox enabled
[ 0.090981] raspberrypi-firmware soc:firmware: Attached to firmware from 2021-02-25T12:10:40, variant start
[ 0.100995] raspberrypi-firmware soc:firmware: Firmware hash is 564e5f9b852b23a330b1764bcf0b2d022a20afd0
[ 0.145898] bcm2835-dma fe007000.dma: DMA legacy API manager, dmachans=0x1
[ 0.150097] vgaarb: loaded
[ 0.150554] SCSI subsystem initialized
[ 0.150793] usbcore: registered new interface driver usbfs
[ 0.150868] usbcore: registered new interface driver hub
[ 0.150979] usbcore: registered new device driver usb
[ 0.151748] usb_phy_generic phy: supply vcc not found, using dummy regulator
[ 0.153641] clocksource: Switched to clocksource arch_sys_counter
[ 1.152358] VFS: Disk quotas dquot_6.6.0
[ 1.152487] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 1.152667] FS-Cache: Loaded
[ 1.152893] CacheFiles: Loaded
[ 1.163316] NET: Registered protocol family 2
[ 1.164182] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 1.164344] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 1.164425] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 1.164511] TCP: Hash tables configured (established 8192 bind 8192)
[ 1.164689] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 1.164744] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 1.165024] NET: Registered protocol family 1
[ 1.165768] RPC: Registered named UNIX socket transport module.
[ 1.165801] RPC: Registered udp transport module.
[ 1.165829] RPC: Registered tcp transport module.
[ 1.165856] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.165894] PCI: CLS 0 bytes, default 64
[ 1.168800] Initialise system trusted keyrings
[ 1.169048] workingset: timestamp_bits=14 max_order=20 bucket_order=6
[ 1.177632] zbud: loaded
[ 1.179532] FS-Cache: Netfs ‘nfs’ registered for caching
[ 1.180307] NFS: Registering the id_resolver key type
[ 1.180359] Key type id_resolver registered
[ 1.180387] Key type id_legacy registered
[ 1.180551] nfs4filelayout_init: NFSv4 File Layout Driver Registering…
[ 1.181588] Key type asymmetric registered
[ 1.181620] Asymmetric key parser ‘x509’ registered
[ 1.181825] bounce: pool size: 64 pages
[ 1.181900] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[ 1.182133] io scheduler mq-deadline registered
[ 1.182164] io scheduler kyber registered
[ 1.186657] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges:
[ 1.186710] brcm-pcie fd500000.pcie: No bus range found for /scb/pcie@7d500000, using [bus 00-ff]
[ 1.186812] brcm-pcie fd500000.pcie: MEM 0x0600000000…0x063fffffff -> 0x00c0000000
[ 1.186922] brcm-pcie fd500000.pcie: IB MEM 0x0000000000…0x00bfffffff -> 0x0400000000
[ 1.245743] brcm-pcie fd500000.pcie: link up, 5.0 GT/s PCIe x1 (SSC)
[ 1.246158] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00
[ 1.246195] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 1.246230] pci_bus 0000:00: root bus resource [mem 0x600000000-0x63fffffff] (bus address [0xc0000000-0xffffffff])
[ 1.246339] pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400
[ 1.246597] pci 0000:00:00.0: PME# supported from D0 D3hot
[ 1.250090] PCI: bus0: Fast back to back transfers disabled
[ 1.250445] pci 0000:01:00.0: [1106:3483] type 00 class 0x0c0330
[ 1.250590] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
[ 1.251040] pci 0000:01:00.0: PME# supported from D0 D3cold
[ 1.254546] PCI: bus1: Fast back to back transfers disabled
[ 1.254659] pci 0000:00:00.0: BAR 8: assigned [mem 0x600000000-0x6000fffff]
[ 1.254699] pci 0000:01:00.0: BAR 0: assigned [mem 0x600000000-0x600000fff 64bit]
[ 1.254801] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 1.254841] pci 0000:00:00.0: bridge window [mem 0x600000000-0x6000fffff]
[ 1.255261] pcieport 0000:00:00.0: enabling device (0140 -> 0142)
[ 1.255504] pcieport 0000:00:00.0: PME: Signaling with IRQ 63
[ 1.264073] iproc-rng200 fe104000.rng: hwrng registered
[ 1.264399] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[ 1.265290] gpiomem-bcm2835 fe200000.gpiomem: Initialised: Registers at 0xfe200000
[ 1.277565] brd: module loaded
[ 1.289822] loop: module loaded
[ 1.291506] Loading iSCSI transport class v2.0-870.
[ 1.294022] libphy: Fixed MDIO Bus: probed
[ 1.295748] bcmgenet fd580000.ethernet: GENET 5.0 EPHY: 0x0000
[ 1.313716] libphy: bcmgenet MII bus: probed
[ 1.393802] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus
[ 1.394983] usbcore: registered new interface driver r8152
[ 1.395069] usbcore: registered new interface driver lan78xx
[ 1.395146] usbcore: registered new interface driver smsc95xx
[ 1.396770] xhci_hcd 0000:01:00.0: enabling device (0140 -> 0142)
[ 1.396950] xhci_hcd 0000:01:00.0: xHCI Host Controller
[ 1.397000] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
[ 1.400365] xhci_hcd 0000:01:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x0000030000000890
[ 1.401718] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[ 1.401759] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.401795] usb usb1: Product: xHCI Host Controller
[ 1.401825] usb usb1: Manufacturer: Linux 5.10.17-v7l+ xhci-hcd
[ 1.401855] usb usb1: SerialNumber: 0000:01:00.0
[ 1.402613] hub 1-0:1.0: USB hub found
[ 1.402738] hub 1-0:1.0: 1 port detected
[ 1.403423] xhci_hcd 0000:01:00.0: xHCI Host Controller
[ 1.403479] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[ 1.403525] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[ 1.404118] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10
[ 1.404157] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.404193] usb usb2: Product: xHCI Host Controller
[ 1.404223] usb usb2: Manufacturer: Linux 5.10.17-v7l+ xhci-hcd
[ 1.404253] usb usb2: SerialNumber: 0000:01:00.0
[ 1.404980] hub 2-0:1.0: USB hub found
[ 1.405088] hub 2-0:1.0: 4 ports detected
[ 1.406820] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 1.407149] dwc_otg: FIQ enabled
[ 1.407164] dwc_otg: NAK holdoff enabled
[ 1.407178] dwc_otg: FIQ split-transaction FSM enabled
[ 1.407196] Module dwc_common_port init
[ 1.407635] usbcore: registered new interface driver uas
[ 1.407765] usbcore: registered new interface driver usb-storage
[ 1.407976] mousedev: PS/2 mouse device common for all mice
[ 1.409678] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[ 1.413192] sdhci: Secure Digital Host Controller Interface driver
[ 1.413226] sdhci: Copyright© Pierre Ossman
[ 1.413975] mmc-bcm2835 fe300000.mmcnr: could not get clk, deferring probe
[ 1.414635] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.418828] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.419190] hid: raw HID events driver © Jiri Kosina
[ 1.419416] usbcore: registered new interface driver usbhid
[ 1.419447] usbhid: USB HID core driver
[ 1.425176] Initializing XFRM netlink socket
[ 1.425237] NET: Registered protocol family 17
[ 1.425371] Key type dns_resolver registered
[ 1.425741] Registering SWP/SWPB emulation handler
[ 1.425938] registered taskstats version 1
[ 1.425979] Loading compiled-in X.509 certificates
[ 1.426829] Key type ._fscrypt registered
[ 1.426860] Key type .fscrypt registered
[ 1.426888] Key type fscrypt-provisioning registered
[ 1.438390] uart-pl011 fe201000.serial: there is not valid maps for state default
[ 1.438731] uart-pl011 fe201000.serial: cts_event_workaround enabled
[ 1.438838] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 36, base_baud = 0) is a PL011 rev2
[ 1.445568] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[ 1.446645] mmc-bcm2835 fe300000.mmcnr: mmc_debug:0 mmc_debug2:0
[ 1.446679] mmc-bcm2835 fe300000.mmcnr: DMA channel allocated
[ 1.476977] of_cfs_init
[ 1.477258] of_cfs_init: OK
[ 1.498353] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[ 1.500060] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 1.501764] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 1.504957] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[ 1.506660] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 1.514476] mmc0: SDHCI controller on fe340000.emmc2 [fe340000.emmc2] using ADMA
[ 1.515168] Waiting for root device PARTUUID=1aa9f0ed-02…
[ 1.548862] random: fast init done
[ 1.573180] mmc1: new high speed SDIO card at address 0001
[ 1.617721] mmc0: new ultra high speed DDR50 SDHC card at address aaaa
[ 1.618733] mmcblk0: mmc0:aaaa SC16G 14.8 GiB
[ 1.622150] mmcblk0: p1 p2
[ 1.656244] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 1.656341] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 1.663383] devtmpfs: mounted
[ 1.672303] Freeing unused kernel memory: 2048K
[ 1.683995] Run /sbin/init as init process
[ 1.684026] with arguments:
[ 1.684040] /sbin/init
[ 1.684055] with environment:
[ 1.684069] HOME=/
[ 1.684083] TERM=linux
[ 1.773704] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[ 1.956329] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.21
[ 1.956376] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 1.956410] usb 1-1: Product: USB2.0 Hub
[ 1.958402] hub 1-1:1.0: USB hub found
[ 1.958711] hub 1-1:1.0: 4 ports detected
[ 2.116925] systemd[1]: System time before build time, advancing clock.
[ 2.228164] NET: Registered protocol family 10
[ 2.229537] Segment Routing with IPv6
[ 2.295718] 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.297022] systemd[1]: Detected architecture arm.
[ 2.343318] systemd[1]: Set hostname to .
[ 2.772485] random: lvmconfig: uninitialized urandom read (4 bytes read)
[ 3.292377] systemd[1]: /lib/systemd/system/smbd.service:9: PIDFile= references path below legacy directory /var/run/, updating /var/run/samba/smbd.pid → /run/samba/smbd.pid; please update the unit file accordingly.
[ 3.321836] systemd[1]: /lib/systemd/system/nmbd.service:9: PIDFile= references path below legacy directory /var/run/, updating /var/run/samba/nmbd.pid → /run/samba/nmbd.pid; please update the unit file accordingly.
[ 3.386794] systemd[1]: /lib/systemd/system/rpc-statd.service:13: PIDFile= references path below legacy directory /var/run/, updating /var/run/rpc.statd.pid → /run/rpc.statd.pid; please update the unit file accordingly.
[ 3.459687] random: systemd: uninitialized urandom read (16 bytes read)
[ 3.487335] random: systemd: uninitialized urandom read (16 bytes read)
[ 3.487454] systemd[1]: Reached target Swap.
[ 3.493880] systemd[1]: Listening on fsck to fsckd communication Socket.
[ 3.497528] systemd[1]: Created slice system-getty.slice.
[ 3.498603] systemd[1]: Listening on LVM2 poll daemon socket.
[ 3.742448] Installing knfsd (copyright © 1996 okir@monad.swb.de).
[ 4.287079] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 4.385753] systemd-journald[131]: Received request to flush runtime journal from PID 1
[ 5.006698] Driver for 1-wire Dallas network protocol.
[ 5.011858] gpio-4 (onewire@0): enforced open drain please flag it properly in DT/ACPI DSDT/board file
[ 5.056032] rpivid-mem feb00000.hevc-decoder: rpivid-hevcmem initialised: Registers at 0xfeb00000 length 0x00010000
[ 5.056653] rpivid-mem feb10000.rpivid-local-intc: rpivid-intcmem initialised: Registers at 0xfeb10000 length 0x00001000
[ 5.057557] rpivid-mem feb20000.h264-decoder: rpivid-h264mem initialised: Registers at 0xfeb20000 length 0x00010000
[ 5.059321] rpivid-mem feb30000.vp9-decoder: rpivid-vp9mem initialised: Registers at 0xfeb30000 length 0x00010000
[ 5.118797] mc: Linux media interface: v0.10
[ 5.121448] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.126158] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[ 5.126186] [vc_sm_connected_init]: start
[ 5.138013] [vc_sm_connected_init]: installed successfully
[ 5.145530] videodev: Linux video capture interface: v2.00
[ 5.185167] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.197965] bcm2835_audio bcm2835_audio: card created with 8 channels
[ 5.200376] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.200383] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.226911] bcmgenet fd580000.ethernet: configuring instance for external RGMII (RX delay)
[ 5.227416] bcmgenet fd580000.ethernet eth0: Link is Down
[ 5.253148] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.254342] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.274945] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video13
[ 5.275480] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video14
[ 5.275946] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video15
[ 5.276383] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video16
[ 5.276414] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[ 5.276440] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[ 5.276463] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[ 5.276486] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[ 5.276758] bcm2835-isp bcm2835-isp: Loaded V4L2 bcm2835-isp
[ 5.299863] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.320491] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
[ 5.320561] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
[ 5.338548] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
[ 5.338609] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
[ 5.346933] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
[ 5.347049] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
[ 5.508589] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 5.527685] [drm] Initialized v3d 1.0.0 20180419 for fec00000.v3d on minor 0
[ 5.661346] cfg80211: Loaded X.509 cert ‘sforshee: 00b28ddf47aef9cea7’
[ 5.662999] [drm] No displays found. Consider forcing hotplug if HDMI is attached
[ 5.663129] vc4-drm gpu: bound fe600000.firmwarekms (ops vc4_fkms_ops [vc4])
[ 5.665397] [drm] Initialized vc4 0.0.0 20140616 for gpu on minor 1
[ 5.724650] brcmfmac: F1 signature read @0x18000000=0x15264345
[ 5.738814] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 5.740716] usbcore: registered new interface driver brcmfmac
[ 5.769065] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.txt failed with error -2
[ 6.007879] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 6.024266] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Jan 4 2021 19:56:29 version 7.45.229 (617f1f5 CY) FWID 01-2dbd9d2e
[ 7.274036] bcmgenet fd580000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[ 7.274094] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 10.011946] uart-pl011 fe201000.serial: no DMA platform data
[ 10.580329] Adding 102396k swap on /var/swap. Priority:-2 extents:1 across:102396k SSFS
[ 11.983752] random: crng init done
[ 11.983773] random: 7 urandom warning(s) missed due to ratelimiting
[ 12.475764] NFSD: Using UMH upcall client tracking operations.
[ 12.475793] NFSD: starting 90-second grace period (net f0000089)
[ 13.127641] i2c /dev entries driver
[ 14.534129] usb 2-1: new SuperSpeed Gen 1 USB device number 2 using xhci_hcd
[ 14.575435] usb 2-1: New USB device found, idVendor=152d, idProduct=0561, bcdDevice= 0.01
[ 14.575460] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=5
[ 14.575479] usb 2-1: Product: JMS56x Series
[ 14.575496] usb 2-1: Manufacturer: JMicron
[ 14.575513] usb 2-1: SerialNumber: RANDOM__04AD244B74CD
[ 14.582345] usb-storage 2-1:1.0: USB Mass Storage device detected
[ 14.583176] scsi host0: usb-storage 2-1:1.0
[ 15.474179] usb 2-2: new SuperSpeed Gen 1 USB device number 3 using xhci_hcd
[ 15.515712] usb 2-2: New USB device found, idVendor=1058, idProduct=0a10, bcdDevice=81.36
[ 15.515735] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=5
[ 15.515753] usb 2-2: Product: JMS56x Series
[ 15.515771] usb 2-2: Manufacturer: JMicron
[ 15.515788] usb 2-2: SerialNumber: 1234567890123
[ 15.540573] scsi host1: uas
[ 15.542106] scsi 1:0:0:0: Direct-Access kimtigo SSD 240GB 8136 PQ: 0 ANSI: 6
[ 15.545443] sd 1:0:0:0: [sda] 468862128 512-byte logical blocks: (240 GB/224 GiB)
[ 15.545729] sd 1:0:0:0: [sda] Write Protect is off
[ 15.545750] sd 1:0:0:0: [sda] Mode Sense: 67 00 10 08
[ 15.545925] scsi 1:0:0:1: Direct-Access kimtigo SSD 240GB 8136 PQ: 0 ANSI: 6
[ 15.546437] sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA
[ 15.549495] sd 1:0:0:0: [sda] Optimal transfer size 33553920 bytes
[ 15.554044] sd 1:0:0:1: [sdb] 468862128 512-byte logical blocks: (240 GB/224 GiB)
[ 15.554373] sd 1:0:0:1: [sdb] Write Protect is off
[ 15.554394] sd 1:0:0:1: [sdb] Mode Sense: 67 00 10 08
[ 15.554974] sd 1:0:0:1: [sdb] Write cache: enabled, read cache: enabled, supports DPO and FUA
[ 15.555920] sd 1:0:0:1: [sdb] Optimal transfer size 33553920 bytes
[ 15.639424] sdb: sdb1
[ 15.639922] sda: sda1
[ 15.646186] sd 1:0:0:1: [sdb] Attached SCSI disk
[ 15.646286] sd 1:0:0:0: [sda] Attached SCSI disk
[ 15.661802] sd 1:0:0:0: Attached scsi generic sg0 type 0
[ 15.662050] sd 1:0:0:1: Attached scsi generic sg1 type 0
[ 16.926463] Bluetooth: Core ver 2.22
[ 16.926566] NET: Registered protocol family 31
[ 16.926582] Bluetooth: HCI device and connection manager initialized
[ 16.926611] Bluetooth: HCI socket layer initialized
[ 16.926635] Bluetooth: L2CAP socket layer initialized
[ 16.926676] Bluetooth: SCO socket layer initialized
[ 16.943484] Bluetooth: HCI UART driver ver 2.3
[ 16.943508] Bluetooth: HCI UART protocol H4 registered
[ 16.943609] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 16.944166] Bluetooth: HCI UART protocol Broadcom registered
[ 17.267328] EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl
[ 17.289421] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl
[ 17.349159] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 17.349179] Bluetooth: BNEP filters: protocol multicast
[ 17.349208] Bluetooth: BNEP socket layer initialized

thank you for the help in advance

Hi!

I think you have similar problem like me had a few weeks ago.
SATA2 and SATA4 ports not working
My dmesg contained the same USB SerialNumber like you:
[ 14.575513] usb 2-1: SerialNumber: RANDOM__04AD244B74CD

Try to upgrade that USB firmware port under Windows:
How to upgrade F/W with jms561 under Windows

It should “reset” the USB SerialNumber to a normal one (RANDOM__ isn’t that) and it should work again.
I had to wait while Windows could recognize them, I tried it several times (and changing the USB ports) until I got success.

Watch out for the options!!!
Untick partition and format (otherwise you data is loss)!!!

Good luck!

Thanks RayMondDrakon

Only via windows did it work ?

i have already done the upgrade via linux and still no success.

lsusb shows the undetected drive

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

but in my OMV this disk is not detected

will try to get a usb cable and try the windows approach

thanks will update this thread soon

Can you post a new dmesg and lsblk?

After you upgrade under Windows, the Vendor ID and Product ID are change.
As I can see, you upgraded only one of the two controller from Windows (changed Product and Vendor ID from Western Digital to JMicron).

The default is Western Digital (I don’t know why, when it’s a JMicron product).
You have to upgrade under Windows the second one to get the same Product and Vendor ID (to rewrite them).

Finally, you have to change these IDs in this file: /lib/udev/rules.d/60-persistent-storage.rules
For more information check out: https://wiki.radxa.com/Dual_Quad_SATA_HAT#OpenMediaVault

Check out my last post in this thread for more information: https://forum.radxa.com/t/sata2-and-sata4-ports-not-working/5826/14

Sorry it took me a while

i had to source out a USB Cable for me to do the Windows Firmware upgrade

But yes that did the trick :smiley:

posting my logs

dmsg


[ 1.424008] sdhci: Secure Digital Host Controller Interface driver
[ 1.424043] sdhci: Copyright© Pierre Ossman
[ 1.425376] sdhci-pltfm: SDHCI platform and OF driver helper
[ 4.995495] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 5.028152] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.txt failed with error -2
[ 5.264806] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 345.621523] sd 0:0:0:0: [sda] 468862128 512-byte logical blocks: (240 GB/224 GiB)
[ 345.621982] sd 0:0:0:0: [sda] Write Protect is off
[ 345.622001] sd 0:0:0:0: [sda] Mode Sense: 67 00 10 08
[ 345.622898] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA
[ 345.623757] sd 0:0:0:0: [sda] Optimal transfer size 33553920 bytes
[ 345.625525] sd 0:0:0:1: [sdb] 468862128 512-byte logical blocks: (240 GB/224 GiB)
[ 345.625827] sd 0:0:0:1: [sdb] Write Protect is off
[ 345.625845] sd 0:0:0:1: [sdb] Mode Sense: 67 00 10 08
[ 345.626355] sd 0:0:0:1: [sdb] Write cache: enabled, read cache: enabled, supports DPO and FUA
[ 345.627220] sd 0:0:0:1: [sdb] Optimal transfer size 33553920 bytes
[ 345.705878] sdb: sdb1
[ 345.706357] sda: sda1
[ 345.708922] sd 0:0:0:1: [sdb] Attached SCSI disk
[ 345.709739] sd 0:0:0:0: [sda] Attached SCSI disk
[ 345.719023] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 345.719120] sd 0:0:0:1: Attached scsi generic sg1 type 0
[ 346.177585] sd 1:0:0:0: Attached scsi generic sg2 type 0
[ 346.178892] sd 1:0:0:0: [sdc] 468862128 512-byte logical blocks: (240 GB/224 GiB)
[ 346.180153] sd 1:0:0:0: [sdc] Write Protect is off
[ 346.180176] sd 1:0:0:0: [sdc] Mode Sense: 67 00 10 08
[ 346.180694] sd 1:0:0:0: [sdc] Write cache: enabled, read cache: enabled, supports DPO and FUA
[ 346.181506] sd 1:0:0:0: [sdc] Optimal transfer size 33553920 bytes
[ 346.181860] sd 1:0:0:1: [sdd] 468862128 512-byte logical blocks: (240 GB/224 GiB)
[ 346.182171] sd 1:0:0:1: [sdd] Write Protect is off
[ 346.182180] sd 1:0:0:1: [sdd] Mode Sense: 67 00 10 08
[ 346.182659] sd 1:0:0:1: [sdd] Write cache: enabled, read cache: enabled, supports DPO and FUA
[ 346.183399] sd 1:0:0:1: [sdd] Optimal transfer size 33553920 bytes
[ 346.186937] sd 1:0:0:1: Attached scsi generic sg3 type 0
[ 346.266184] sdc: sdc1
[ 346.266308] sd 1:0:0:1: [sdd] Attached SCSI disk
[ 346.269866] sd 1:0:0:0: [sdc] Attached SCSI disk

lsblk

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 223.6G 0 disk
└─sda1 8:1 0 223.6G 0 part
sdb 8:16 0 223.6G 0 disk
└─sdb1 8:17 0 223.6G 0 part
sdc 8:32 0 223.6G 0 disk
└─sdc1 8:33 0 223.6G 0 part
sdd 8:48 0 223.6G 0 disk
mmcblk0 179:0 0 14.9G 0 disk
├─mmcblk0p1 179:1 0 256M 0 part /boot
└─mmcblk0p2 179:2 0 14.6G 0 part /

df


Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 15020844 1883488 12494404 14% /
devtmpfs 1827468 0 1827468 0% /dev
tmpfs 1959564 28 1959536 1% /dev/shm
tmpfs 1959564 8744 1950820 1% /run
tmpfs 5120 4 5116 1% /run/lock
tmpfs 1959564 0 1959564 0% /sys/fs/cgroup
tmpfs 1959564 0 1959564 0% /tmp
/dev/mmcblk0p1 258095 48783 209312 19% /boot
folder2ram 1959564 2064 1957500 1% /var/log
folder2ram 1959564 0 1959564 0% /var/tmp
folder2ram 1959564 268 1959296 1% /var/lib/openmediavault/rrd
folder2ram 1959564 744 1958820 1% /var/spool
folder2ram 1959564 11484 1948080 1% /var/lib/rrdcached
folder2ram 1959564 4 1959560 1% /var/lib/monit
folder2ram 1959564 1288 1958276 1% /var/cache/samba
/dev/sdc1 229701520 61488 229623648 1% /srv/dev-disk-by-uuid-4cb9b09f-64b3-4eb8-990a-7bbd12022b16
/dev/sdb1 229701520 5897216 223787920 3% /srv/dev-disk-by-uuid-293eadc5-a591-47e9-bc3e-72ff91e3a976
/dev/sda1 229701520 61488 229623648 1% /srv/dev-disk-by-uuid-c5331dee-0050-4d91-bf8f-1b833f207366
/dev/sdd1 229701520 61484 229623652 1% /srv/dev-disk-by-uuid-f219745c-951c-47e3-8888-909674750658
tmpfs 391912 0 391912 0% /run/user/1000

Thank you @ RayMondDrakon bless your kind heart!

1 Like

Just wanted to drop this information:
OMV recently changed its way of detecting harddrives to cope with JMicron problems.
See notes in changelog of v5.5.21
Don’t know whether this helps anyone as I don’t own any JMicron products.

1 Like