Quad Sata Kit and OpenMediaVault 5 (Raspberry Pi 4)

Hi,

Firstly, very impressed with the overall functionality and design. However I’ve run into a wall.

  • No problem with installation of raspbian and the sata install script. The four drives are seen in linux:

The wall I mention is when i then install OpenMediaVault 5 using their installation method for Raspberry Pi, a one line install script:

wget -O - https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install |sudo bash

Once this completes their is no major errors to be concerned with. However when you login to the OMV WebUI it only shows two HDD’s (and four are connected):

omv_disks_found

So it detects SATA3 ( /dev/sdc ) and SATA4 ( /dev/sdd ) but not SATA1 ( /dev/sda and SATA2 ( /dev/sdb ), so I shutdown and swap the HDD’s from SATA3/4 and put them into SATA1/2 (only now two drives are installed) and OMV is able to detect the two drives (so no errors with HDD’s or the SATA HAT) and its not power related as the drives are detected in linux (and don’t disappear):

omv_disks_found2

I can’t work out why the 4 drives are detected in linux but not in OMV WebUI?

pi@naspi:~ $ dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.19.97-v7l+ (dom@buildbot) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611)) #1294 SMP Thu Jan 30 13:21:14 GMT 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.1
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Reserved 256 MiB at 0x000000001ec00000
[    0.000000] On node 0 totalpages: 516096
[    0.000000]   DMA zone: 1728 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 196608 pages, LIFO batch:63
[    0.000000]   HighMem zone: 319488 pages, LIFO batch:63
[    0.000000] random: get_random_bytes called from start_kernel+0xc0/0x4e8 with crng_init=0
[    0.000000] percpu: Embedded 17 pages/cpu s36928 r8192 d24512 u69632
[    0.000000] pcpu-alloc: s36928 r8192 d24512 u69632 alloc=17*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 514368
[    0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 cma=64M cma=256M  smsc95xx.macaddr=DC:A6:32:5B:51:7F vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000                               000  console=ttyS0,115200 console=tty1 root=PARTUUID=738a4d67-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 1766464K/2064384K available (8192K kernel code, 687K rwdata, 2408K rodata, 2048K init, 850K bss, 35776K reserved, 262144K cma-reserved, 1277952K high                               mem)
[    0.000000] Virtual kernel memory layout:
                   vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                   fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
                   vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
                   lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
                   pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
                   modules : 0xbf000000 - 0xbfe00000   (  14 MB)
                     .text : 0x(ptrval) - 0x(ptrval)   (10208 kB)
                     .init : 0x(ptrval) - 0x(ptrval)   (2048 kB)
                     .data : 0x(ptrval) - 0x(ptrval)   ( 688 kB)
                      .bss : 0x(ptrval) - 0x(ptrval)   ( 851 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 28692 entries in 85 pages
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] arch_timer: cp15 timer(s) running at 54.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xc743ce346, max_idle_ns: 440795203123 ns
[    0.000005] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns
[    0.000022] Switching to timer-based delay loop, resolution 18ns
[    0.000249] Console: colour dummy device 80x30
[    0.000700] console [tty1] enabled
[    0.000755] Calibrating delay loop (skipped), value calculated using timer frequency.. 108.00 BogoMIPS (lpj=540000)
[    0.000792] pid_max: default: 32768 minimum: 301
[    0.001077] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001110] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001886] CPU: Testing write buffer coherency: ok
[    0.002310] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002973] Setting up static identity map for 0x200000 - 0x20003c
[    0.003146] rcu: Hierarchical SRCU implementation.
[    0.004027] smp: Bringing up secondary CPUs ...
[    0.004853] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.005794] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.006694] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.006830] smp: Brought up 1 node, 4 CPUs
[    0.006896] SMP: Total of 4 processors activated (432.00 BogoMIPS).
[    0.006919] CPU: All CPU(s) started in HYP mode.
[    0.006940] CPU: Virtualization extensions available.
[    0.007754] devtmpfs: initialized
[    0.018054] VFP support v0.3: implementor 41 architecture 3 part 40 variant 8 rev 0
[    0.018286] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.018327] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.025822] pinctrl core: initialized pinctrl subsystem
[    0.026695] NET: Registered protocol family 16
[    0.029613] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[    0.031044] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.031077] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.031280] Serial: AMBA PL011 UART driver
[    0.034495] bcm2835-mbox fe00b880.mailbox: mailbox enabled
[    0.050025] raspberrypi-firmware soc:firmware: Attached to firmware from 2020-02-12 12:36, variant start
[    0.060039] raspberrypi-firmware soc:firmware: Firmware hash is c3c8dbdf147686fb0c3f32aece709d0653368810
[    0.103245] bcm2835-dma fe007000.dma: DMA legacy API manager at (ptrval), dmachans=0x1
[    0.106492] vgaarb: loaded
[    0.106858] SCSI subsystem initialized
[    0.107080] usbcore: registered new interface driver usbfs
[    0.107147] usbcore: registered new interface driver hub
[    0.107231] usbcore: registered new device driver usb
[    0.108460] clocksource: Switched to clocksource arch_sys_counter
[    0.187073] VFS: Disk quotas dquot_6.6.0
[    0.187181] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.187341] FS-Cache: Loaded
[    0.187532] CacheFiles: Loaded
[    0.188069] simple-framebuffer: probe of 0.framebuffer failed with error -12
[    0.197329] NET: Registered protocol family 2
[    0.198014] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
[    0.198061] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.198143] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.198227] TCP: Hash tables configured (established 8192 bind 8192)
[    0.198363] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.198408] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.198686] NET: Registered protocol family 1
[    0.199278] RPC: Registered named UNIX socket transport module.
[    0.199304] RPC: Registered udp transport module.
[    0.199325] RPC: Registered tcp transport module.
[    0.199347] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.199375] PCI: CLS 0 bytes, default 64
[    0.202374] Initialise system trusted keyrings
[    0.202555] workingset: timestamp_bits=14 max_order=19 bucket_order=5
[    0.211590] FS-Cache: Netfs 'nfs' registered for caching
[    0.212118] NFS: Registering the id_resolver key type
[    0.212163] Key type id_resolver registered
[    0.212184] Key type id_legacy registered
[    0.212215] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.214515] Key type asymmetric registered
[    0.214541] Asymmetric key parser 'x509' registered
[    0.214662] bounce: pool size: 64 pages
[    0.214716] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    0.214903] io scheduler noop registered
[    0.214927] io scheduler deadline registered (default)
[    0.215101] io scheduler cfq registered
[    0.215123] io scheduler mq-deadline registered (default)
[    0.215146] io scheduler kyber registered
[    0.218302] brcm-pcie fd500000.pcie: could not get clock
[    0.218377] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges:
[    0.218428] brcm-pcie fd500000.pcie:   MEM 0x600000000..0x603ffffff -> 0xf8000000
[    0.258529] brcm-pcie fd500000.pcie: link up, 5.0 Gbps x1 (!SSC)
[    0.258855] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00
[    0.258887] pci_bus 0000:00: root bus resource [bus 00-01]
[    0.258918] pci_bus 0000:00: root bus resource [mem 0x600000000-0x603ffffff] (bus address [0xf8000000-0xfbffffff])
[    0.258987] pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400
[    0.259125] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.261900] PCI: bus0: Fast back to back transfers disabled
[    0.261933] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.262158] pci 0000:01:00.0: [1106:3483] type 00 class 0x0c0330
[    0.262282] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
[    0.262599] pci 0000:01:00.0: PME# supported from D0 D3cold
[    0.265383] PCI: bus1: Fast back to back transfers disabled
[    0.265413] pci_bus 0000:01: busn_res: [bus 01] end is updated to 01
[    0.265459] pci 0000:00:00.0: BAR 8: assigned [mem 0x600000000-0x6000fffff]
[    0.265493] pci 0000:01:00.0: BAR 0: assigned [mem 0x600000000-0x600000fff 64bit]
[    0.265583] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.265614] pci 0000:00:00.0:   bridge window [mem 0x600000000-0x6000fffff]
[    0.265842] pcieport 0000:00:00.0: enabling device (0140 -> 0142)
[    0.266028] pcieport 0000:00:00.0: Signaling PME with IRQ 54
[    0.266201] pcieport 0000:00:00.0: AER enabled with IRQ 54
[    0.266384] pci 0000:01:00.0: enabling device (0140 -> 0142)
[    0.270534] iproc-rng200 fe104000.rng: hwrng registered
[    0.270773] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[    0.271297] vc-sm: Videocore shared memory driver
[    0.271717] gpiomem-bcm2835 fe200000.gpiomem: Initialised: Registers at 0xfe200000
[    0.281925] brd: module loaded
[    0.291566] loop: module loaded
[    0.292323] Loading iSCSI transport class v2.0-870.
[    0.294066] libphy: Fixed MDIO Bus: probed
[    0.294507] bcmgenet fd580000.genet: failed to get enet clock
[    0.294538] bcmgenet fd580000.genet: GENET 5.0 EPHY: 0x0000
[    0.294567] bcmgenet fd580000.genet: failed to get enet-wol clock
[    0.294596] bcmgenet fd580000.genet: failed to get enet-eee clock
[    0.294632] bcmgenet: Skipping UMAC reset
[    0.294876] unimac-mdio unimac-mdio.-19: DMA mask not set
[    0.308488] libphy: bcmgenet MII bus: probed
[    0.359007] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus at 0x(ptrval)
[    0.359918] usbcore: registered new interface driver r8152
[    0.360002] usbcore: registered new interface driver lan78xx
[    0.360070] usbcore: registered new interface driver smsc95xx
[    0.360391] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    0.360436] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
[    0.362278] xhci_hcd 0000:01:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x0000001000000890
[    0.362603] genirq: irq_chip Brcm_MSI did not update eff. affinity mask of irq 55
[    0.363468] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[    0.363502] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.363531] usb usb1: Product: xHCI Host Controller
[    0.363555] usb usb1: Manufacturer: Linux 4.19.97-v7l+ xhci-hcd
[    0.363579] usb usb1: SerialNumber: 0000:01:00.0
[    0.364115] hub 1-0:1.0: USB hub found
[    0.364207] hub 1-0:1.0: 1 port detected
[    0.364695] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    0.364731] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[    0.364767] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[    0.365152] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.19
[    0.365184] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.365213] usb usb2: Product: xHCI Host Controller
[    0.365236] usb usb2: Manufacturer: Linux 4.19.97-v7l+ xhci-hcd
[    0.365259] usb usb2: SerialNumber: 0000:01:00.0
[    0.365760] hub 2-0:1.0: USB hub found
[    0.365844] hub 2-0:1.0: 4 ports detected
[    0.367070] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    0.367282] dwc_otg: FIQ enabled
[    0.367290] dwc_otg: NAK holdoff enabled
[    0.367299] dwc_otg: FIQ split-transaction FSM enabled
[    0.367312] Module dwc_common_port init
[    0.367518] usbcore: registered new interface driver uas
[    0.367631] usbcore: registered new interface driver usb-storage
[    0.367831] mousedev: PS/2 mouse device common for all mice
[    0.369071] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[    0.370543] sdhci: Secure Digital Host Controller Interface driver
[    0.370568] sdhci: Copyright(c) Pierre Ossman
[    0.370983] mmc-bcm2835 fe300000.mmcnr: could not get clk, deferring probe
[    0.371390] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.374503] ledtrig-cpu: registered to indicate activity on CPUs
[    0.374665] hidraw: raw HID events driver (C) Jiri Kosina
[    0.374808] usbcore: registered new interface driver usbhid
[    0.374831] usbhid: USB HID core driver
[    0.375605] vchiq: vchiq_init_state: slot_zero = (ptrval), is_master = 0
[    0.377368] [vc_sm_connected_init]: start
[    0.386233] [vc_sm_connected_init]: end - returning 0
[    0.387360] Initializing XFRM netlink socket
[    0.387403] NET: Registered protocol family 17
[    0.387500] Key type dns_resolver registered
[    0.387768] Registering SWP/SWPB emulation handler
[    0.388413] registered taskstats version 1
[    0.388477] Loading compiled-in X.509 certificates
[    0.395418] uart-pl011 fe201000.serial: cts_event_workaround enabled
[    0.395498] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 34, base_baud = 0) is a PL011 rev2
[    0.400586] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[    0.401114] brcmstb_thermal fd5d2200.thermal: registered AVS TMON of-sensor driver
[    0.401760] mmc-bcm2835 fe300000.mmcnr: mmc_debug:0 mmc_debug2:0
[    0.401786] mmc-bcm2835 fe300000.mmcnr: DMA channel allocated
[    0.427817] sdhci-iproc fe340000.emmc2: Linked as a consumer to regulator.3
[    0.427934] sdhci-iproc fe340000.emmc2: Linked as a consumer to regulator.4
[    0.447356] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[    0.449002] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    0.450722] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    0.453653] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[    0.455294] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    0.461944] mmc0: SDHCI controller on fe340000.emmc2 [fe340000.emmc2] using ADMA
[    0.464377] of_cfs_init
[    0.464472] of_cfs_init: OK
[    0.465083] Waiting for root device PARTUUID=738a4d67-02...
[    0.510973] random: fast init done
[    0.563042] mmc0: new ultra high speed DDR50 SDHC card at address aaaa
[    0.565169] mmc1: new high speed SDIO card at address 0001
[    0.565951] mmcblk0: mmc0:aaaa SC16G 14.8 GiB
[    0.568414]  mmcblk0: p1 p2
[    0.590546] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    0.590617] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    0.595479] devtmpfs: mounted
[    0.603196] Freeing unused kernel memory: 2048K
[    0.628716] Run /sbin/init as init process
[    0.728515] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[    0.911194] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.21
[    0.911242] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    0.911271] usb 1-1: Product: USB2.0 Hub
[    0.912990] hub 1-1:1.0: USB hub found
[    0.913338] hub 1-1:1.0: 4 ports detected
[    1.045572] systemd[1]: System time before build time, advancing clock.
[    1.134463] NET: Registered protocol family 10
[    1.135718] Segment Routing with IPv6
[    1.169789] systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SEC                               COMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[    1.170521] systemd[1]: Detected architecture arm.
[    1.181691] systemd[1]: Set hostname to <naspi>.
[    1.557998] random: lvmconfig: uninitialized urandom read (4 bytes read)
[    2.113000] 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.s                               tatd.pid; please update the unit file accordingly.
[    2.157483] random: systemd: uninitialized urandom read (16 bytes read)
[    2.177662] random: systemd: uninitialized urandom read (16 bytes read)
[    2.217474] systemd[1]: Listening on RPCbind Server Activation Socket.
[    2.242112] systemd[1]: Condition check resulted in Journal Audit Socket being skipped.
[    2.243155] systemd[1]: Listening on LVM2 poll daemon socket.
[    2.243672] systemd[1]: Reached target System Time Synchronized.
[    2.244423] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[    2.245128] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    2.338549] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    2.905619] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    2.991852] systemd-journald[128]: Received request to flush runtime journal from PID 1
[    3.545808] Driver for 1-wire Dallas network protocol.
[    3.553718] gpio-4 (onewire@0): enforced open drain please flag it properly in DT/ACPI DSDT/board file
[    3.576220] rpivid-mem feb00000.hevc-decoder: rpivid-hevcmem initialised: Registers at 0xfeb00000 length 0x0000ffff
[    3.579964] rpivid-mem feb10000.rpivid-local-intc: rpivid-intcmem initialised: Registers at 0xfeb10000 length 0x00000fff
[    3.583634] rpivid-mem feb20000.h264-decoder: rpivid-h264mem initialised: Registers at 0xfeb20000 length 0x0000ffff
[    3.585661] rpivid-mem feb30000.vp9-decoder: rpivid-vp9mem initialised: Registers at 0xfeb30000 length 0x0000ffff
[    3.622901] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[    3.626697] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[    3.626712] [vc_sm_connected_init]: start
[    3.631558] [vc_sm_connected_init]: installed successfully
[    3.644587] media: Linux media interface: v0.10
[    3.666918] videodev: Linux video capture interface: v2.00
[    3.686398] w1_master_driver w1_bus_master1: Attaching one wire slave 28.00000aadd5e0 crc e5
[    3.707137] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[    3.709144] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[    3.718136] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[    3.735975] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[    3.751595] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
[    3.751631] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
[    3.767533] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
[    3.767573] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
[    3.775539] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[    3.780839] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
[    3.780872] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
[    3.807422] bcm2835_audio soc:audio: card created with 8 channels
[    3.932460] bcmgenet: Skipping UMAC reset
[    3.938085] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    4.021078] [drm] Initialized v3d 1.0.0 20180419 for fec00000.v3d on minor 0
[    4.029731] bcmgenet fd580000.genet: configuring instance for external RGMII (no delay)
[    4.030036] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    4.038279] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    4.050241] [drm] No displays found. Consider forcing hotplug if HDMI is attached
[    4.050338] vc4-drm soc:gpu: bound fe600000.firmwarekms (ops vc4_fkms_ops [vc4])
[    4.050858] [drm] Initialized vc4 0.0.0 20140616 for soc:gpu on minor 1
[    4.050870] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    4.050879] [drm] No driver support for vblank timestamp query.
[    4.050891] [drm] Setting vblank_disable_immediate to false because get_vblank_timestamp == NULL
[    4.079695] brcmfmac: F1 signature read @0x18000000=0x15264345
[    4.090939] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    4.091307] usbcore: registered new interface driver brcmfmac
[    4.330084] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    4.344372] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Mar  2 2020 23:30:41 version 7.45.202 (r724630 CY) FWID 01-72f6ece2
[    5.048681] bcmgenet fd580000.genet eth0: Link is Down
[    7.537247] uart-pl011 fe201000.serial: no DMA platform data
[    8.091130] Adding 102396k swap on /var/swap.  Priority:-2 extents:1 across:102396k SSFS
[    8.562612] NFSD: starting 90-second grace period (net f0000041)
[    8.769982] random: crng init done
[    8.769998] random: 7 urandom warning(s) missed due to ratelimiting
[    9.208646] bcmgenet fd580000.genet eth0: Link is Up - 1Gbps/Full - flow control off
[    9.208671] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    9.429108] i2c /dev entries driver
[   11.588829] usb 2-2: new SuperSpeed Gen 1 USB device number 2 using xhci_hcd
[   11.619914] usb 2-2: New USB device found, idVendor=1058, idProduct=0a10, bcdDevice=80.34
[   11.619922] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=5
[   11.619927] usb 2-2: Product: Go To Final Lap
[   11.619932] usb 2-2: SerialNumber: 1234567890123
[   11.631053] scsi host0: uas
[   11.632779] scsi 0:0:0:0: Direct-Access     ACASIS                    8034 PQ: 0 ANSI: 6
[   11.635695] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[   11.635938] sd 0:0:0:0: [sda] Write Protect is off
[   11.635944] sd 0:0:0:0: [sda] Mode Sense: 67 00 10 08
[   11.636291] scsi 0:0:0:1: Direct-Access     ACASIS                    8034 PQ: 0 ANSI: 6
[   11.636439] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA
[   11.637206] sd 0:0:0:0: [sda] Optimal transfer size 33553920 bytes
[   11.640120] sd 0:0:0:1: [sdb] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[   11.640454] sd 0:0:0:1: [sdb] Write Protect is off
[   11.640462] sd 0:0:0:1: [sdb] Mode Sense: 67 00 10 08
[   11.640916] sd 0:0:0:1: [sdb] Write cache: enabled, read cache: enabled, supports DPO and FUA
[   11.693652] sd 0:0:0:1: [sdb] Optimal transfer size 33553920 bytes
[   11.695955] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   11.696051] sd 0:0:0:1: Attached scsi generic sg1 type 0
[   11.755133] sd 0:0:0:0: [sda] Attached SCSI disk
[   11.756876] sd 0:0:0:1: [sdb] Attached SCSI disk
[   12.158859] usb 2-1: new SuperSpeed Gen 1 USB device number 3 using xhci_hcd
[   12.200061] usb 2-1: New USB device found, idVendor=1058, idProduct=0a10, bcdDevice=80.34
[   12.200069] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=5
[   12.200074] usb 2-1: Product: Go To Final Lap
[   12.200079] usb 2-1: SerialNumber: 1234567890123
[   12.214827] scsi host1: uas
[   12.216056] scsi 1:0:0:0: Direct-Access     ACASIS                    8034 PQ: 0 ANSI: 6
[   12.218194] sd 1:0:0:0: Attached scsi generic sg2 type 0
[   12.218960] sd 1:0:0:0: [sdc] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[   12.219198] sd 1:0:0:0: [sdc] Write Protect is off
[   12.219205] sd 1:0:0:0: [sdc] Mode Sense: 67 00 10 08
[   12.219641] sd 1:0:0:0: [sdc] Write cache: enabled, read cache: enabled, supports DPO and FUA
[   12.220343] sd 1:0:0:0: [sdc] Optimal transfer size 33553920 bytes
[   12.272845] scsi 1:0:0:1: Direct-Access     ACASIS                    8034 PQ: 0 ANSI: 6
[   12.274997] sd 1:0:0:1: [sdd] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[   12.275012] sd 1:0:0:1: Attached scsi generic sg3 type 0
[   12.275270] sd 1:0:0:1: [sdd] Write Protect is off
[   12.275277] sd 1:0:0:1: [sdd] Mode Sense: 67 00 10 08
[   12.275723] sd 1:0:0:1: [sdd] Write cache: enabled, read cache: enabled, supports DPO and FUA
[   12.276353] sd 1:0:0:1: [sdd] Optimal transfer size 33553920 bytes
[   12.283842] sd 1:0:0:0: [sdc] Attached SCSI disk
[   12.349216] sd 1:0:0:1: [sdd] Attached SCSI disk
[   14.353480] Bluetooth: Core ver 2.22
[   14.353525] NET: Registered protocol family 31
[   14.353530] Bluetooth: HCI device and connection manager initialized
[   14.353653] Bluetooth: HCI socket layer initialized
[   14.353661] Bluetooth: L2CAP socket layer initialized
[   14.353683] Bluetooth: SCO socket layer initialized
[   14.364503] Bluetooth: HCI UART driver ver 2.3
[   14.364511] Bluetooth: HCI UART protocol H4 registered
[   14.364580] Bluetooth: HCI UART protocol Three-wire (H5) registered
[   14.365905] Bluetooth: HCI UART protocol Broadcom registered
[   14.501184] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   14.501190] Bluetooth: BNEP filters: protocol multicast
[   14.501200] Bluetooth: BNEP socket layer initialized
pi@naspi:~ $

Hoping someone might have/or know of a solution to this?

1 Like

I’ll have a look at it tomorrow.

There is correspondence over at the OMV forums referring to this situation being related to the JMicron controllers and its inability to pass-through the serial numbers from the connected HDDs. Like it simply auto assigns the same generic made up one for all connected HDDs.

Solution.

Refer to https://openmediavault.readthedocs.io/en/5.x/troubleshooting.html specifically I am using JMicron drive enclosures and some of my drives are not appearing. then perform the changes in https://forum.openmediavault.org/index.php?thread/32184-rpi4-quad-says-hat/&postID=237203#post237203

Then all four HDDs will be shown in the OMV WebUI:

Thanks for your feedback.

I found that the suggested fix, where the subsystem was stated as usb did not work for me.

KERNEL==“sd*”, ATTRS{idVendor}==“152d”, ATTRS{idProduct}==“2338”, SUBSYSTEMS==“usb”, PROGRAM="/root/serial.sh %k", ENV{ID_SERIAL}=“USB-%c”, ENV{ID_SERIAL_SHORT}="%c"

(With the right vendor and product ids of your drives.)

Since it appeared (using “sudo udevadm monitor”) that the device was actually being processed as a scsi rule, rather than the usb rule. After creating the “/root/serial.sh” as suggested in the fix (and chmod +x on it), the udev rule:

Sata-Hat drive fix

KERNEL==“sd*”, ATTRS{idVendor}==“1058”, ATTRS{idProduct}==“0a10”, SUBSYSTEMS==“scsi”, PROGRAM="/root/serial.sh %k", ENV{ID_SERIAL}=“USB-%c”, ENV{ID_SERIAL_SHORT}="%c"

Found the drives and got their correct serial number so I got all four drives.

I am struggling with this. I can only see the correct SNs and all 4 drives when using:
KERNEL=="sd*", ATTRS{idVendor}=="1058", ATTRS{idProduct}=="0a10", SUBSYSTEMS=="usb", PROGRAM="/root/serial.sh %k", ENV{ID_SERIAL}="USB-%c", ENV{ID_SERIAL_SHORT}="%c"

If I change the subsystems to scsi, I lose two drives and my SNs become generalized (1234567890123).

That had been my expectation as well, that it should be a usb rule. However for me it turned out to be a scsi rule which was prompted by the udevadm monitor command, where I saw that the device was appearing on my system as a scsi, for some unknown reason.

It would appear that there can be some variance in how things look, for whatever unknown reason. So my hack rule, which worked for me, does not appear to work for you.

I’d love to hear if there is an explanation of these two results.

Thanks Oket. That solution worked for me. The only thing missing was I had to chmod+x the /root/serial.sh file and then reboot.

Hi, thanks all for the info its been helpful
i was able to get all 4 drives to show up in OMV under the “disks” section
But when i go to RAID Management, and try to create an array, no disks are listed.
Im guessing this is because its not showing USB disks, how have you guys worked around that?

I saw the comment about somehow marking them for SCSI, but im not sure if that is what i should be doing (or even how)

i followed the info on the instructions page, and then watched through the youtube video but int he video when he got to the the raid section, his array was already setup
Any more direction would be helpful

Did you operate it on OMV?

You will have to create your raid array with mdadm. The “Create Raid Array” dialog on OMV will refuse to show you USB drives, with the warning below the disk display area of:

image

After you have created it externally, it will show up under OMV’s Raid management.

OMV appears to be pretty terrible… i eventually got a raid pair (just mirrored for now) working using mdadm command and much other magic spells, but it IS working. slow as shat, but working.

Is your RAID fully built? You can check with cat /proc/mdstat until it’s fully built performance will be degraded

I am only seeing the 2 drives as well I have been trying to use the script:

KERNEL==“sd*”, ATTRS{idVendor}==“1058”, ATTRS{idProduct}==“0a10”, SUBSYSTEMS==“usb”, PROGRAM="/root/serial.sh %k", ENV{ID_SERIAL}=“USB-%c”, ENV{ID_SERIAL_SHORT}="%c"

I get this error:
-bash: ATTRS{idVendor}==1058,: command not found

Am i doing something wrong?

@rpachco6 Do you use it in the terminal?

Yes, terminal on my mac

Please refer to the WiKi for operation.

@rpachco6 you are missing the script in root folder… you need to create a file called serial.sh on the root folder…

sudo nano /root/serial.sh, then paste the following commands into the script:

#!/bin/bash
/sbin/hdparm -I /dev/$1 2>/dev/null | grep 'Serial Number' | awk '{print $3}'

then issue sudo chmod +x /root/serial.sh to get the script to be executable…

Thanks @setq and @eskimo I was able to get it set up.