Apologies, I forgot the other part of the question, which is can I run the hat without GPIO connections at all, ie with only the USB links between the two? Purpose would be to improve heat dissipation for the Pi.
Thanks.
Lightweight Installation (SATA HAT only, no cpu fan, no lcd, no buttons)
Thanks for the prompt answer @setq, appreciate it. What happens if I don’t connect them? Anything bad hardware wise, or sw just won’t work?
Also I guess I can extend the gpio to increase airflow… Do you know which pins are used?
Thanks!
setq posted the script earlier in the thread, it’s hosted here:
https://rock.sh/get-rockpi-sata-lite
Reading the script you can see that GPIO 26 (pin 37) and GPIO 25 (pin 22) are used to turn on/off the sata controller:
SATA0=26
SATA1=25
You can also see it on the pinout section of the wiki:
Pin 37 (GPIO 26) = SATA 3/4
Pin 22 (GPIO 25) = SATA 1/2
https://wiki.radxa.com/Dual_Quad_SATA_HAT
If you don’t connect the GPIO then it won’t work, those pins turn on the jms561 sata controller. Without the controller the USB bus wont connect to the sata ports .
Perfect, thank you guys!
Hello,
Completed the installation but no joy… All the hw seems to work but lsusb gives me nothing but the root hub.
There is a blue light near the hd I have put in, which turns on and off when stating and stopping the service.
To be clear, I installed nothing at all but the lite script which ran without errors (thanks @setq) - is that enough?
At the moment the hat is on top as it should be, no gpio extension.
What am I missing?
Thanks!
@setq I know you’re going to ask for dmesg… so here you are:
[ 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.1
[ 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: 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 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: 1010432
[ 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 video=HDMI-A-1:1440x900M@60 smsc95xx.macaddr=DC:A6:32:4C:92:1E vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyS0,115200 console=tty1 root=PARTUUID=747ce8d6-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 0x17cc0000-0x1bcc0000] (64MB)
[ 0.000000] Memory: 3655620K/4050944K available (10240K kernel code, 725K rwdata, 2740K rodata, 2048K init, 853K bss, 133180K reserved, 262144K cma-reserved, 3264512K 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.000007] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 2147483647500ns
[ 0.000023] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275 ns
[ 0.000102] bcm2835: system timer (irq = 17)
[ 0.000770] arch_timer: cp15 timer(s) running at 54.00MHz (phys).
[ 0.000787] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xc743ce346, max_idle_ns: 440795203123 ns
[ 0.000805] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns
[ 0.000818] Switching to timer-based delay loop, resolution 18ns
[ 0.001063] Console: colour dummy device 80x30
[ 0.001094] printk: console [tty1] enabled
[ 0.001143] Calibrating delay loop (skipped), value calculated using timer frequency… 108.00 BogoMIPS (lpj=540000)
[ 0.001163] pid_max: default: 32768 minimum: 301
[ 0.001479] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.001502] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.002686] Disabling memory control group subsystem
[ 0.002789] CPU: Testing write buffer coherency: ok
[ 0.003284] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.004123] Setting up static identity map for 0x200000 - 0x20003c
[ 0.004315] rcu: Hierarchical SRCU implementation.
[ 0.004943] smp: Bringing up secondary CPUs …
[ 0.006100] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.007392] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[ 0.008620] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[ 0.008767] smp: Brought up 1 node, 4 CPUs
[ 0.008782] SMP: Total of 4 processors activated (432.00 BogoMIPS).
[ 0.008794] CPU: All CPU(s) started in HYP mode.
[ 0.008805] CPU: Virtualization extensions available.
[ 0.009586] devtmpfs: initialized
[ 0.022834] VFP support v0.3: implementor 41 architecture 3 part 40 variant 8 rev 0
[ 0.023074] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.023100] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.030893] pinctrl core: initialized pinctrl subsystem
[ 0.031945] NET: Registered protocol family 16
[ 0.035688] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[ 0.037409] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.037422] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.037757] Serial: AMBA PL011 UART driver
[ 0.041211] bcm2835-mbox fe00b880.mailbox: mailbox enabled
[ 0.060862] raspberrypi-firmware soc:firmware: Attached to firmware from 2020-08-19 17:38, variant start
[ 0.070900] raspberrypi-firmware soc:firmware: Firmware hash is e90cba19a98a0d1f2ef086b9cafcbca00778f094
[ 0.123850] bcm2835-dma fe007000.dma: DMA legacy API manager, dmachans=0x1
[ 0.128305] vgaarb: loaded
[ 0.128775] SCSI subsystem initialized
[ 0.128999] usbcore: registered new interface driver usbfs
[ 0.129085] usbcore: registered new interface driver hub
[ 0.129205] usbcore: registered new device driver usb
[ 0.130785] clocksource: Switched to clocksource arch_sys_counter
[ 0.882655] VFS: Disk quotas dquot_6.6.0
[ 0.882765] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.882939] FS-Cache: Loaded
[ 0.883138] CacheFiles: Loaded
[ 0.884002] simple-framebuffer 3e6c5000.framebuffer: framebuffer at 0x3e6c5000, 0x502800 bytes, mapped to 0x(ptrval)
[ 0.884020] simple-framebuffer 3e6c5000.framebuffer: format=a8r8g8b8, mode=1440x900x32, linelength=5760
[ 0.884524] Console: switching to colour frame buffer device 180x56
[ 0.891051] simple-framebuffer 3e6c5000.framebuffer: fb0: simplefb registered!
[ 0.900933] thermal_sys: Registered thermal governor ‘step_wise’
[ 0.901309] NET: Registered protocol family 2
[ 0.902070] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 0.902101] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 0.902185] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.902260] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.902407] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 0.902437] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 0.902687] NET: Registered protocol family 1
[ 0.903458] RPC: Registered named UNIX socket transport module.
[ 0.903470] RPC: Registered udp transport module.
[ 0.903482] RPC: Registered tcp transport module.
[ 0.903494] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.903515] PCI: CLS 0 bytes, default 64
[ 0.905383] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
[ 0.907512] Initialise system trusted keyrings
[ 0.907736] workingset: timestamp_bits=14 max_order=20 bucket_order=6
[ 0.918490] FS-Cache: Netfs ‘nfs’ registered for caching
[ 0.919223] NFS: Registering the id_resolver key type
[ 0.919255] Key type id_resolver registered
[ 0.919267] Key type id_legacy registered
[ 0.919288] nfs4filelayout_init: NFSv4 File Layout Driver Registering…
[ 0.920376] Key type asymmetric registered
[ 0.920390] Asymmetric key parser ‘x509’ registered
[ 0.920559] bounce: pool size: 64 pages
[ 0.920620] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[ 0.920850] io scheduler mq-deadline registered
[ 0.920863] io scheduler kyber registered
[ 0.924692] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges:
[ 0.924715] brcm-pcie fd500000.pcie: No bus range found for /scb/pcie@7d500000, using [bus 00-ff]
[ 0.924778] brcm-pcie fd500000.pcie: MEM 0x0600000000…0x0603ffffff -> 0x00f8000000
[ 0.924852] brcm-pcie fd500000.pcie: IB MEM 0x0000000000…0x00bfffffff -> 0x0000000000
[ 0.982925] brcm-pcie fd500000.pcie: link up, 5 GT/s x1 (SSC)
[ 0.983233] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00
[ 0.983251] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 0.983270] pci_bus 0000:00: root bus resource [mem 0x600000000-0x603ffffff] (bus address [0xf8000000-0xfbffffff])
[ 0.983324] pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400
[ 0.983565] pci 0000:00:00.0: PME# supported from D0 D3hot
[ 0.986932] PCI: bus0: Fast back to back transfers disabled
[ 0.986954] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 0.987205] pci 0000:01:00.0: [1106:3483] type 00 class 0x0c0330
[ 0.987348] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
[ 0.987766] pci 0000:01:00.0: PME# supported from D0 D3cold
[ 0.991179] PCI: bus1: Fast back to back transfers disabled
[ 0.991198] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[ 0.991237] pci 0000:00:00.0: BAR 8: assigned [mem 0x600000000-0x6000fffff]
[ 0.991258] pci 0000:01:00.0: BAR 0: assigned [mem 0x600000000-0x600000fff 64bit]
[ 0.991338] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 0.991361] pci 0000:00:00.0: bridge window [mem 0x600000000-0x6000fffff]
[ 0.991655] pcieport 0000:00:00.0: enabling device (0140 -> 0142)
[ 0.991884] pcieport 0000:00:00.0: PME: Signaling with IRQ 55
[ 0.992265] pcieport 0000:00:00.0: AER: enabled with IRQ 55
[ 0.992565] pci 0000:01:00.0: enabling device (0140 -> 0142)
[ 1.000918] iproc-rng200 fe104000.rng: hwrng registered
[ 1.001242] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[ 1.001866] vc-sm: Videocore shared memory driver
[ 1.002394] gpiomem-bcm2835 fe200000.gpiomem: Initialised: Registers at 0xfe200000
[ 1.014221] brd: module loaded
[ 1.026244] loop: module loaded
[ 1.027609] Loading iSCSI transport class v2.0-870.
[ 1.029540] libphy: Fixed MDIO Bus: probed
[ 1.030119] bcmgenet fd580000.ethernet: failed to get enet clock
[ 1.030138] bcmgenet fd580000.ethernet: GENET 5.0 EPHY: 0x0000
[ 1.030159] bcmgenet fd580000.ethernet: failed to get enet-wol clock
[ 1.030180] bcmgenet fd580000.ethernet: failed to get enet-eee clock
[ 1.030206] bcmgenet: Skipping UMAC reset
[ 1.040831] libphy: bcmgenet MII bus: probed
[ 1.120893] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus
[ 1.121892] usbcore: registered new interface driver r8152
[ 1.121958] usbcore: registered new interface driver lan78xx
[ 1.122027] usbcore: registered new interface driver smsc95xx
[ 1.122441] xhci_hcd 0000:01:00.0: xHCI Host Controller
[ 1.122485] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
[ 1.124756] xhci_hcd 0000:01:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x0000001000000890
[ 1.126039] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[ 1.126055] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.126071] usb usb1: Product: xHCI Host Controller
[ 1.126086] usb usb1: Manufacturer: Linux 5.4.51-v7l+ xhci-hcd
[ 1.126100] usb usb1: SerialNumber: 0000:01:00.0
[ 1.126699] hub 1-0:1.0: USB hub found
[ 1.126791] hub 1-0:1.0: 1 port detected
[ 1.127332] xhci_hcd 0000:01:00.0: xHCI Host Controller
[ 1.127357] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[ 1.127380] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[ 1.127821] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.04
[ 1.127838] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.127852] usb usb2: Product: xHCI Host Controller
[ 1.127866] usb usb2: Manufacturer: Linux 5.4.51-v7l+ xhci-hcd
[ 1.127880] usb usb2: SerialNumber: 0000:01:00.0
[ 1.128440] hub 2-0:1.0: USB hub found
[ 1.128514] hub 2-0:1.0: 4 ports detected
[ 1.129952] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 1.130219] dwc_otg: FIQ enabled
[ 1.130230] dwc_otg: NAK holdoff enabled
[ 1.130241] dwc_otg: FIQ split-transaction FSM enabled
[ 1.130255] Module dwc_common_port init
[ 1.130687] usbcore: registered new interface driver uas
[ 1.130838] usbcore: registered new interface driver usb-storage
[ 1.131024] mousedev: PS/2 mouse device common for all mice
[ 1.133092] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[ 1.135539] sdhci: Secure Digital Host Controller Interface driver
[ 1.135551] sdhci: Copyright© Pierre Ossman
[ 1.136116] mmc-bcm2835 fe300000.mmcnr: could not get clk, deferring probe
[ 1.136631] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.140321] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.140659] hidraw: raw HID events driver © Jiri Kosina
[ 1.140877] usbcore: registered new interface driver usbhid
[ 1.140889] usbhid: USB HID core driver
[ 1.141879] vchiq: vchiq_init_state: slot_zero = (ptrval)
[ 1.143838] [vc_sm_connected_init]: start
[ 1.153462] [vc_sm_connected_init]: end - returning 0
[ 1.155491] Initializing XFRM netlink socket
[ 1.155526] NET: Registered protocol family 17
[ 1.155628] Key type dns_resolver registered
[ 1.156091] Registering SWP/SWPB emulation handler
[ 1.156426] registered taskstats version 1
[ 1.156445] Loading compiled-in X.509 certificates
[ 1.156923] Key type ._fscrypt registered
[ 1.156935] Key type .fscrypt registered
[ 1.166950] uart-pl011 fe201000.serial: cts_event_workaround enabled
[ 1.167030] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 29, base_baud = 0) is a PL011 rev2
[ 1.173006] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[ 1.173943] mmc-bcm2835 fe300000.mmcnr: mmc_debug:0 mmc_debug2:0
[ 1.173957] mmc-bcm2835 fe300000.mmcnr: DMA channel allocated
[ 1.223639] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[ 1.225300] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 1.226950] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 1.229901] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[ 1.231577] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 1.237685] mmc0: SDHCI controller on fe340000.emmc2 [fe340000.emmc2] using ADMA
[ 1.240430] of_cfs_init
[ 1.240542] of_cfs_init: OK
[ 1.241622] Waiting for root device PARTUUID=747ce8d6-02…
[ 1.281438] random: fast init done
[ 1.342899] mmc0: new ultra high speed DDR50 SDHC card at address aaaa
[ 1.343838] mmcblk0: mmc0:aaaa SC16G 14.8 GiB
[ 1.347200] mmc1: new high speed SDIO card at address 0001
[ 1.349748] mmcblk0: p1 p2
[ 1.381553] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 1.381615] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 1.386640] devtmpfs: mounted
[ 1.394671] Freeing unused kernel memory: 2048K
[ 1.421113] Run /sbin/init as init process
[ 1.490845] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[ 1.673458] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.21
[ 1.673477] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 1.673492] usb 1-1: Product: USB2.0 Hub
[ 1.675550] hub 1-1:1.0: USB hub found
[ 1.675843] hub 1-1:1.0: 4 ports detected
[ 1.823227] systemd[1]: System time before build time, advancing clock.
[ 1.927970] NET: Registered protocol family 10
[ 1.929262] Segment Routing with IPv6
[ 1.968841] 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)
[ 1.969588] systemd[1]: Detected architecture arm.
[ 2.010836] usb 1-1.3: new low-speed USB device number 3 using xhci_hcd
[ 2.017065] systemd[1]: Set hostname to .
[ 2.164414] usb 1-1.3: New USB device found, idVendor=1241, idProduct=1177, bcdDevice= 2.00
[ 2.164434] usb 1-1.3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.183055] input: HID 1241:1177 as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.0/0003:1241:1177.0001/input/input0
[ 2.183414] hid-generic 0003:1241:1177.0001: input,hidraw0: USB HID v1.00 Mouse [HID 1241:1177] on usb-0000:01:00.0-1.3/input0
[ 2.280848] usb 1-1.4: new low-speed USB device number 4 using xhci_hcd
[ 2.420765] usb 1-1.4: New USB device found, idVendor=045e, idProduct=0750, bcdDevice= 1.10
[ 2.420815] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2.420830] usb 1-1.4: Product: Wired Keyboard 600
[ 2.420845] usb 1-1.4: Manufacturer: Microsoft
[ 2.575746] 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.
[ 2.621246] 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.
[ 2.723056] random: systemd: uninitialized urandom read (16 bytes read)
[ 2.728193] systemd[1]: sysinit.target: Found ordering cycle on systemd-machine-id-commit.service/start
[ 2.728220] systemd[1]: sysinit.target: Found dependency on local-fs.target/start
[ 2.728244] systemd[1]: sysinit.target: Found dependency on quad-sata-lite.service/start
[ 2.728267] systemd[1]: sysinit.target: Found dependency on basic.target/start
[ 2.728289] systemd[1]: sysinit.target: Found dependency on sockets.target/start
[ 2.736539] random: systemd: uninitialized urandom read (16 bytes read)
[ 2.737264] random: systemd: uninitialized urandom read (16 bytes read)
[ 2.860268] i2c /dev entries driver
[ 3.415114] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 3.528524] systemd-journald[129]: Received request to flush runtime journal from PID 1
[ 4.205923] random: crng init done
[ 4.205943] random: 7 urandom warning(s) missed due to ratelimiting
[ 4.685676] Adding 102396k swap on /var/swap. Priority:-2 extents:1 across:102396k SSFS
[ 4.751404] rpivid-mem feb00000.hevc-decoder: rpivid-hevcmem initialised: Registers at 0xfeb00000 length 0x00010000
[ 4.770907] rpivid-mem feb10000.rpivid-local-intc: rpivid-intcmem initialised: Registers at 0xfeb10000 length 0x00001000
[ 4.787668] rpivid-mem feb20000.h264-decoder: rpivid-h264mem initialised: Registers at 0xfeb20000 length 0x00010000
[ 4.802685] rpivid-mem feb30000.vp9-decoder: rpivid-vp9mem initialised: Registers at 0xfeb30000 length 0x00010000
[ 4.899601] mc: Linux media interface: v0.10
[ 4.978180] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[ 4.986842] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[ 4.989034] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[ 4.989057] [vc_sm_connected_init]: start
[ 4.996128] [vc_sm_connected_init]: installed successfully
[ 5.008195] bcm2835_audio bcm2835_audio: card created with 4 channels
[ 5.064699] bcm2835_audio bcm2835_audio: card created with 4 channels
[ 5.067230] videodev: Linux video capture interface: v2.00
[ 5.139975] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.157710] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.183645] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.220359] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video13
[ 5.221469] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video14
[ 5.221932] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video15
[ 5.223943] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video16
[ 5.223971] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[ 5.223991] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[ 5.224011] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[ 5.224030] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[ 5.224219] bcm2835-isp bcm2835-isp: Loaded V4L2 bcm2835-isp
[ 5.251682] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 5.267950] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
[ 5.267975] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
[ 5.275870] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.281186] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
[ 5.281213] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
[ 5.298729] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
[ 5.298750] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
[ 5.432667] cfg80211: Loaded X.509 cert ‘sforshee: 00b28ddf47aef9cea7’
[ 5.504639] brcmfmac: F1 signature read @0x18000000=0x15264345
[ 5.517064] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 5.517412] usbcore: registered new interface driver brcmfmac
[ 5.526073] [drm] Initialized v3d 1.0.0 20180419 for fec00000.v3d on minor 0
[ 5.542325] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.txt failed with error -2
[ 5.551646] 8021q: 802.1Q VLAN Support v1.8
[ 5.568372] vc4-drm gpu: bound fe600000.firmwarekms (ops vc4_fkms_ops [vc4])
[ 5.568384] checking generic (3e6c5000 502800) vs hw (0 ffffffffffffffff)
[ 5.568390] fb0: switching to vc4drmfb from simple
[ 5.569367] Console: switching to colour dummy device 80x30
[ 5.572131] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 5.572138] [drm] No driver support for vblank timestamp query.
[ 5.572143] [drm] Setting vblank_disable_immediate to false because get_vblank_timestamp == NULL
[ 5.574205] [drm] Initialized vc4 0.0.0 20140616 for gpu on minor 1
[ 5.591320] Console: switching to colour frame buffer device 180x56
[ 5.591341] vc4-drm gpu: fb0: vc4drmfb frame buffer device
[ 5.658786] bcmgenet: Skipping UMAC reset
[ 5.660463] bcmgenet fd580000.ethernet: configuring instance for external RGMII
[ 5.660676] bcmgenet fd580000.ethernet eth0: Link is Down
[ 5.670606] input: Microsoft Wired Keyboard 600 as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4:1.0/0003:045E:0750.0002/input/input1
[ 5.732288] microsoft 0003:045E:0750.0002: input,hidraw1: USB HID v1.11 Keyboard [Microsoft Wired Keyboard 600] on usb-0000:01:00.0-1.4/input0
[ 5.734424] input: Microsoft Wired Keyboard 600 as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4:1.1/0003:045E:0750.0003/input/input2
[ 5.783447] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 5.794955] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Mar 23 2020 02:19:54 version 7.45.206 (r725000 CY) FWID 01-88ee44ea
[ 5.801378] microsoft 0003:045E:0750.0003: input,hidraw2: USB HID v1.11 Device [Microsoft Wired Keyboard 600] on usb-0000:01:00.0-1.4/input1
[ 5.960571] uart-pl011 fe201000.serial: no DMA platform data
[ 6.173840] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[ 7.907810] broken atomic modeset userspace detected, disabling atomic
[ 10.594559] fuse: init (API version 7.31)
[ 11.650570] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 12.562687] Bluetooth: Core ver 2.22
[ 12.562730] NET: Registered protocol family 31
[ 12.562735] Bluetooth: HCI device and connection manager initialized
[ 12.562749] Bluetooth: HCI socket layer initialized
[ 12.562757] Bluetooth: L2CAP socket layer initialized
[ 12.562772] Bluetooth: SCO socket layer initialized
[ 12.571658] Bluetooth: HCI UART driver ver 2.3
[ 12.571667] Bluetooth: HCI UART protocol H4 registered
[ 12.571714] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 12.574343] Bluetooth: HCI UART protocol Broadcom registered
[ 12.722980] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 12.722987] Bluetooth: BNEP filters: protocol multicast
[ 12.723000] Bluetooth: BNEP socket layer initialized
[ 12.762223] Bluetooth: RFCOMM TTY layer initialized
[ 12.762239] Bluetooth: RFCOMM socket layer initialized
[ 12.762254] Bluetooth: RFCOMM ver 1.11
[ 15.817432] ICMPv6: process `dhcpcd’ is using deprecated sysctl (syscall) net.ipv6.neigh.wlan0.retrans_time - use net.ipv6.neigh.wlan0.retrans_time_ms instead
I find that part interesting (on a different boot):
[ 2.675112] systemd[1]: quad-sata-lite.service: Found ordering cycle on sysinit.target/start
[ 2.675140] systemd[1]: quad-sata-lite.service: Found dependency on local-fs.target/start
[ 2.675165] systemd[1]: quad-sata-lite.service: Found dependency on quad-sata-lite.service/start
[ 2.675191] systemd[1]: quad-sata-lite.service: Job local-fs.target/start deleted to break ordering cycle starting with quad-sata-lite.service/start
what do you think?
Hi @setq,
No I don’t think I modified … at least not willingly.
This is what it looks like now:
[Unit]
Description=ROCK Pi SATA Hat
Before=local-fs.target
[Service]
ExecStart=/usr/bin/quad-sata-lite.sh on
ExecStop=/usr/bin/quad-sata-lite.sh off
Type=oneshot
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target
I also checked that it is similar to the installation script I ran.
Just more info for you, I tested with multiple HDD (both 2.5 and 3.5) in various slots and none work, same symptoms.
I also tested a USB HDD directly on the Pi USB ports and it mounts fine.
Final info during boot the blue lights do flash a few times, then turn solid.
Update, I replaced the bridge with AA cables and some of the drives show up sometimes…
Looks like it was fault of the bridge. Not very happy to waste time for such a simple piece of kit that should be reliable - if that is indeed what it was.
I have to do some testing to see if it all works fine, but @setq can you please let me know which USB on the HAT drives which sata? For example, top USB = SATA 1 and 2.
Final qustion for you @setq, should my service file be any different than in the previous post?
Thanks… we’re getting there.
Yes, top USB == SATA 1 and 2.
It’s the same. Try deleting the Before=local-fs.target
.
Brilliant, thanks, I’ll try that.
Fingers crossed it works smoothly now.
I won’t bother going back to allnet for a replacement of the bridge, but I’ll let you know if it is confirmed that it is the bridge, for feedback.
Thanks for the help, @setq!
OK, not quite there.
Problem 1
Sata 1 and 2 work, sata 3 and 4 don’t.
I have swapped cables, linked them to different usb on the pi, try different hdd, nothing to do.
The blue light flashes a couple of times booting but then nothing.
Problem 2
It looks like the disks are recognised on usb 2?
For you @setq attached dmesg with a drive in sata3 for problem 1 and output of lsusb with a drive in sata1 for problem 2.
Thanks for the help !
[ 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.1
[ 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: 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 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: 1010432
[ 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 video=HDMI-A-1:1440x900M@60 smsc95xx.macaddr=DC:A6:32:4C:92:1E vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyS0,115200 console=tty1 root=PARTUUID=747ce8d6-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 0x17cc0000-0x1bcc0000] (64MB)
[ 0.000000] Memory: 3655620K/4050944K available (10240K kernel code, 725K rwdata, 2740K rodata, 2048K init, 853K bss, 133180K reserved, 262144K cma-reserved, 3264512K 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.000099] bcm2835: system timer (irq = 17)
[ 0.000763] arch_timer: cp15 timer(s) running at 54.00MHz (phys).
[ 0.000779] 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.000809] Switching to timer-based delay loop, resolution 18ns
[ 0.001049] Console: colour dummy device 80x30
[ 0.001081] printk: console [tty1] enabled
[ 0.001131] Calibrating delay loop (skipped), value calculated using timer frequency… 108.00 BogoMIPS (lpj=540000)
[ 0.001153] pid_max: default: 32768 minimum: 301
[ 0.001470] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.001493] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.002685] Disabling memory control group subsystem
[ 0.002786] CPU: Testing write buffer coherency: ok
[ 0.003276] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.004115] Setting up static identity map for 0x200000 - 0x20003c
[ 0.004305] rcu: Hierarchical SRCU implementation.
[ 0.004932] smp: Bringing up secondary CPUs …
[ 0.006105] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.007397] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[ 0.008628] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[ 0.008775] smp: Brought up 1 node, 4 CPUs
[ 0.008791] SMP: Total of 4 processors activated (432.00 BogoMIPS).
[ 0.008803] CPU: All CPU(s) started in HYP mode.
[ 0.008814] CPU: Virtualization extensions available.
[ 0.009601] devtmpfs: initialized
[ 0.022812] VFP support v0.3: implementor 41 architecture 3 part 40 variant 8 rev 0
[ 0.023062] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.023088] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.030901] pinctrl core: initialized pinctrl subsystem
[ 0.031960] NET: Registered protocol family 16
[ 0.035692] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[ 0.037427] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.037441] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.037776] Serial: AMBA PL011 UART driver
[ 0.041178] bcm2835-mbox fe00b880.mailbox: mailbox enabled
[ 0.060882] raspberrypi-firmware soc:firmware: Attached to firmware from 2020-08-19 17:38, variant start
[ 0.070864] raspberrypi-firmware soc:firmware: Firmware hash is e90cba19a98a0d1f2ef086b9cafcbca00778f094
[ 0.123914] bcm2835-dma fe007000.dma: DMA legacy API manager, dmachans=0x1
[ 0.128389] vgaarb: loaded
[ 0.128853] SCSI subsystem initialized
[ 0.129078] usbcore: registered new interface driver usbfs
[ 0.129162] usbcore: registered new interface driver hub
[ 0.129278] usbcore: registered new device driver usb
[ 0.130873] clocksource: Switched to clocksource arch_sys_counter
[ 0.883076] VFS: Disk quotas dquot_6.6.0
[ 0.883185] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.883362] FS-Cache: Loaded
[ 0.883551] CacheFiles: Loaded
[ 0.884431] simple-framebuffer 3e6c5000.framebuffer: framebuffer at 0x3e6c5000, 0x502800 bytes, mapped to 0x(ptrval)
[ 0.884449] simple-framebuffer 3e6c5000.framebuffer: format=a8r8g8b8, mode=1440x900x32, linelength=5760
[ 0.884930] Console: switching to colour frame buffer device 180x56
[ 0.891466] simple-framebuffer 3e6c5000.framebuffer: fb0: simplefb registered!
[ 0.900918] thermal_sys: Registered thermal governor ‘step_wise’
[ 0.901289] NET: Registered protocol family 2
[ 0.902029] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 0.902060] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 0.902145] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.902220] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.902367] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 0.902397] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 0.902648] NET: Registered protocol family 1
[ 0.903389] RPC: Registered named UNIX socket transport module.
[ 0.903401] RPC: Registered udp transport module.
[ 0.903412] RPC: Registered tcp transport module.
[ 0.903424] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.903444] PCI: CLS 0 bytes, default 64
[ 0.905306] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
[ 0.907421] Initialise system trusted keyrings
[ 0.907643] workingset: timestamp_bits=14 max_order=20 bucket_order=6
[ 0.918343] FS-Cache: Netfs ‘nfs’ registered for caching
[ 0.919064] NFS: Registering the id_resolver key type
[ 0.919095] Key type id_resolver registered
[ 0.919108] Key type id_legacy registered
[ 0.919130] nfs4filelayout_init: NFSv4 File Layout Driver Registering…
[ 0.920223] Key type asymmetric registered
[ 0.920237] Asymmetric key parser ‘x509’ registered
[ 0.920401] bounce: pool size: 64 pages
[ 0.920467] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[ 0.920681] io scheduler mq-deadline registered
[ 0.920694] io scheduler kyber registered
[ 0.924619] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges:
[ 0.924642] brcm-pcie fd500000.pcie: No bus range found for /scb/pcie@7d500000, using [bus 00-ff]
[ 0.924706] brcm-pcie fd500000.pcie: MEM 0x0600000000…0x0603ffffff -> 0x00f8000000
[ 0.924780] brcm-pcie fd500000.pcie: IB MEM 0x0000000000…0x00bfffffff -> 0x0000000000
[ 0.983013] brcm-pcie fd500000.pcie: link up, 5 GT/s x1 (SSC)
[ 0.983321] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00
[ 0.983339] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 0.983358] pci_bus 0000:00: root bus resource [mem 0x600000000-0x603ffffff] (bus address [0xf8000000-0xfbffffff])
[ 0.983415] pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400
[ 0.983656] pci 0000:00:00.0: PME# supported from D0 D3hot
[ 0.986994] PCI: bus0: Fast back to back transfers disabled
[ 0.987016] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 0.987266] pci 0000:01:00.0: [1106:3483] type 00 class 0x0c0330
[ 0.987409] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
[ 0.987827] pci 0000:01:00.0: PME# supported from D0 D3cold
[ 0.991236] PCI: bus1: Fast back to back transfers disabled
[ 0.991255] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[ 0.991294] pci 0000:00:00.0: BAR 8: assigned [mem 0x600000000-0x6000fffff]
[ 0.991317] pci 0000:01:00.0: BAR 0: assigned [mem 0x600000000-0x600000fff 64bit]
[ 0.991396] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 0.991418] pci 0000:00:00.0: bridge window [mem 0x600000000-0x6000fffff]
[ 0.991723] pcieport 0000:00:00.0: enabling device (0140 -> 0142)
[ 0.991952] pcieport 0000:00:00.0: PME: Signaling with IRQ 55
[ 0.992339] pcieport 0000:00:00.0: AER: enabled with IRQ 55
[ 0.992636] pci 0000:01:00.0: enabling device (0140 -> 0142)
[ 1.002322] iproc-rng200 fe104000.rng: hwrng registered
[ 1.002645] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[ 1.003266] vc-sm: Videocore shared memory driver
[ 1.003800] gpiomem-bcm2835 fe200000.gpiomem: Initialised: Registers at 0xfe200000
[ 1.015643] brd: module loaded
[ 1.027706] loop: module loaded
[ 1.029045] Loading iSCSI transport class v2.0-870.
[ 1.031037] libphy: Fixed MDIO Bus: probed
[ 1.031618] bcmgenet fd580000.ethernet: failed to get enet clock
[ 1.031637] bcmgenet fd580000.ethernet: GENET 5.0 EPHY: 0x0000
[ 1.031657] bcmgenet fd580000.ethernet: failed to get enet-wol clock
[ 1.031677] bcmgenet fd580000.ethernet: failed to get enet-eee clock
[ 1.031704] bcmgenet: Skipping UMAC reset
[ 1.050905] libphy: bcmgenet MII bus: probed
[ 1.140969] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus
[ 1.141971] usbcore: registered new interface driver r8152
[ 1.142037] usbcore: registered new interface driver lan78xx
[ 1.142107] usbcore: registered new interface driver smsc95xx
[ 1.142517] xhci_hcd 0000:01:00.0: xHCI Host Controller
[ 1.142561] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
[ 1.144876] xhci_hcd 0000:01:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x0000001000000890
[ 1.146107] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[ 1.146124] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.146140] usb usb1: Product: xHCI Host Controller
[ 1.146154] usb usb1: Manufacturer: Linux 5.4.51-v7l+ xhci-hcd
[ 1.146168] usb usb1: SerialNumber: 0000:01:00.0
[ 1.146759] hub 1-0:1.0: USB hub found
[ 1.146850] hub 1-0:1.0: 1 port detected
[ 1.147386] xhci_hcd 0000:01:00.0: xHCI Host Controller
[ 1.147411] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[ 1.147434] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[ 1.147877] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.04
[ 1.147893] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.147908] usb usb2: Product: xHCI Host Controller
[ 1.147922] usb usb2: Manufacturer: Linux 5.4.51-v7l+ xhci-hcd
[ 1.147936] usb usb2: SerialNumber: 0000:01:00.0
[ 1.148501] hub 2-0:1.0: USB hub found
[ 1.148568] hub 2-0:1.0: 4 ports detected
[ 1.150010] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 1.150278] dwc_otg: FIQ enabled
[ 1.150289] dwc_otg: NAK holdoff enabled
[ 1.150300] dwc_otg: FIQ split-transaction FSM enabled
[ 1.150315] Module dwc_common_port init
[ 1.150740] usbcore: registered new interface driver uas
[ 1.150840] usbcore: registered new interface driver usb-storage
[ 1.151074] mousedev: PS/2 mouse device common for all mice
[ 1.153116] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[ 1.155548] sdhci: Secure Digital Host Controller Interface driver
[ 1.155560] sdhci: Copyright© Pierre Ossman
[ 1.156124] mmc-bcm2835 fe300000.mmcnr: could not get clk, deferring probe
[ 1.156636] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.160330] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.160662] hidraw: raw HID events driver © Jiri Kosina
[ 1.160833] usbcore: registered new interface driver usbhid
[ 1.160845] usbhid: USB HID core driver
[ 1.161901] vchiq: vchiq_init_state: slot_zero = (ptrval)
[ 1.163877] [vc_sm_connected_init]: start
[ 1.173493] [vc_sm_connected_init]: end - returning 0
[ 1.175534] Initializing XFRM netlink socket
[ 1.175570] NET: Registered protocol family 17
[ 1.175667] Key type dns_resolver registered
[ 1.176130] Registering SWP/SWPB emulation handler
[ 1.176466] registered taskstats version 1
[ 1.176485] Loading compiled-in X.509 certificates
[ 1.176967] Key type ._fscrypt registered
[ 1.176980] Key type .fscrypt registered
[ 1.187018] uart-pl011 fe201000.serial: cts_event_workaround enabled
[ 1.187099] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 29, base_baud = 0) is a PL011 rev2
[ 1.193084] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[ 1.194035] mmc-bcm2835 fe300000.mmcnr: mmc_debug:0 mmc_debug2:0
[ 1.194050] mmc-bcm2835 fe300000.mmcnr: DMA channel allocated
[ 1.244684] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[ 1.246345] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 1.247994] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 1.252050] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[ 1.253713] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 1.258733] mmc0: SDHCI controller on fe340000.emmc2 [fe340000.emmc2] using ADMA
[ 1.261540] of_cfs_init
[ 1.261653] of_cfs_init: OK
[ 1.262715] Waiting for root device PARTUUID=747ce8d6-02…
[ 1.303508] random: fast init done
[ 1.363987] mmc0: new ultra high speed DDR50 SDHC card at address aaaa
[ 1.365864] mmcblk0: mmc0:aaaa SC16G 14.8 GiB
[ 1.368552] mmc1: new high speed SDIO card at address 0001
[ 1.371278] mmcblk0: p1 p2
[ 1.391317] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 1.391379] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 1.396382] devtmpfs: mounted
[ 1.404413] Freeing unused kernel memory: 2048K
[ 1.431173] Run /sbin/init as init process
[ 1.510965] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[ 1.693572] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.21
[ 1.693591] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 1.693606] usb 1-1: Product: USB2.0 Hub
[ 1.695611] hub 1-1:1.0: USB hub found
[ 1.695879] hub 1-1:1.0: 4 ports detected
[ 1.832084] systemd[1]: System time before build time, advancing clock.
[ 1.936346] NET: Registered protocol family 10
[ 1.937599] Segment Routing with IPv6
[ 1.975929] 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)
[ 1.976695] systemd[1]: Detected architecture arm.
[ 2.030930] usb 1-1.3: new low-speed USB device number 3 using xhci_hcd
[ 2.035240] systemd[1]: Set hostname to .
[ 2.174499] usb 1-1.3: New USB device found, idVendor=1241, idProduct=1177, bcdDevice= 2.00
[ 2.174518] usb 1-1.3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.193706] input: HID 1241:1177 as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.0/0003:1241:1177.0001/input/input0
[ 2.194084] hid-generic 0003:1241:1177.0001: input,hidraw0: USB HID v1.00 Mouse [HID 1241:1177] on usb-0000:01:00.0-1.3/input0
[ 2.290937] usb 1-1.4: new low-speed USB device number 4 using xhci_hcd
[ 2.440969] usb 1-1.4: New USB device found, idVendor=045e, idProduct=0750, bcdDevice= 1.10
[ 2.440988] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2.441005] usb 1-1.4: Product: Wired Keyboard 600
[ 2.441019] usb 1-1.4: Manufacturer: Microsoft
[ 2.585932] 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.
[ 2.631937] 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.
[ 2.734050] random: systemd: uninitialized urandom read (16 bytes read)
[ 2.746810] random: systemd: uninitialized urandom read (16 bytes read)
[ 2.747366] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 2.747610] random: systemd: uninitialized urandom read (16 bytes read)
[ 2.749628] systemd[1]: Created slice User and Session Slice.
[ 2.749783] systemd[1]: Reached target Slices.
[ 2.772041] systemd[1]: Condition check resulted in Journal Audit Socket being skipped.
[ 2.772693] systemd[1]: Listening on udev Kernel Socket.
[ 2.900207] i2c /dev entries driver
[ 3.386730] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 3.484027] systemd-journald[117]: Received request to flush runtime journal from PID 1
[ 4.083378] rpivid-mem feb00000.hevc-decoder: rpivid-hevcmem initialised: Registers at 0xfeb00000 length 0x00010000
[ 4.083937] rpivid-mem feb10000.rpivid-local-intc: rpivid-intcmem initialised: Registers at 0xfeb10000 length 0x00001000
[ 4.084361] rpivid-mem feb20000.h264-decoder: rpivid-h264mem initialised: Registers at 0xfeb20000 length 0x00010000
[ 4.084779] rpivid-mem feb30000.vp9-decoder: rpivid-vp9mem initialised: Registers at 0xfeb30000 length 0x00010000
[ 4.166639] mc: Linux media interface: v0.10
[ 4.221706] videodev: Linux video capture interface: v2.00
[ 4.241055] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[ 4.292590] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[ 4.313223] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[ 4.313246] [vc_sm_connected_init]: start
[ 4.321236] [vc_sm_connected_init]: installed successfully
[ 4.331001] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[ 4.331621] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[ 4.365088] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[ 4.366107] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned.
[ 4.401029] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video13
[ 4.402062] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video14
[ 4.403363] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video15
[ 4.413813] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video16
[ 4.413845] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[ 4.413867] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[ 4.413887] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[ 4.413906] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[ 4.414172] bcm2835-isp bcm2835-isp: Loaded V4L2 bcm2835-isp
[ 4.415409] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 4.421930] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[ 4.461880] bcm2835_audio bcm2835_audio: card created with 4 channels
[ 4.517277] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
[ 4.517340] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
[ 4.532169] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
[ 4.532227] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
[ 4.544091] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
[ 4.544155] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
[ 4.556108] bcm2835_audio bcm2835_audio: card created with 4 channels
[ 4.565195] cfg80211: Loaded X.509 cert ‘sforshee: 00b28ddf47aef9cea7’
[ 4.628672] brcmfmac: F1 signature read @0x18000000=0x15264345
[ 4.642972] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 4.643749] usbcore: registered new interface driver brcmfmac
[ 4.665833] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.txt failed with error -2
[ 4.786090] vc4-drm gpu: bound fe600000.firmwarekms (ops vc4_fkms_ops [vc4])
[ 4.786442] checking generic (3e6c5000 502800) vs hw (0 ffffffffffffffff)
[ 4.786456] fb0: switching to vc4drmfb from simple
[ 4.788917] Console: switching to colour dummy device 80x30
[ 4.789580] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 4.789602] [drm] No driver support for vblank timestamp query.
[ 4.789618] [drm] Setting vblank_disable_immediate to false because get_vblank_timestamp == NULL
[ 4.795451] [drm] Initialized v3d 1.0.0 20180419 for fec00000.v3d on minor 0
[ 4.805198] [drm] Initialized vc4 0.0.0 20140616 for gpu on minor 1
[ 4.847869] Console: switching to colour frame buffer device 180x56
[ 4.847912] vc4-drm gpu: fb0: vc4drmfb frame buffer device
[ 4.898935] input: Microsoft Wired Keyboard 600 as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4:1.0/0003:045E:0750.0002/input/input1
[ 4.917499] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 4.948012] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Mar 23 2020 02:19:54 version 7.45.206 (r725000 CY) FWID 01-88ee44ea
[ 4.962399] microsoft 0003:045E:0750.0002: input,hidraw1: USB HID v1.11 Keyboard [Microsoft Wired Keyboard 600] on usb-0000:01:00.0-1.4/input0
[ 4.965993] input: Microsoft Wired Keyboard 600 as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4:1.1/0003:045E:0750.0003/input/input2
[ 5.031313] microsoft 0003:045E:0750.0003: input,hidraw2: USB HID v1.11 Device [Microsoft Wired Keyboard 600] on usb-0000:01:00.0-1.4/input1
[ 6.403319] uart-pl011 fe201000.serial: no DMA platform data
[ 6.693062] random: crng init done
[ 6.693081] random: 7 urandom warning(s) missed due to ratelimiting
[ 6.753695] 8021q: 802.1Q VLAN Support v1.8
[ 6.940978] Adding 102396k swap on /var/swap. Priority:-2 extents:1 across:102396k SSFS
[ 7.185603] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[ 7.665858] bcmgenet: Skipping UMAC reset
[ 7.668386] bcmgenet fd580000.ethernet: configuring instance for external RGMII
[ 7.668774] bcmgenet fd580000.ethernet eth0: Link is Down
[ 9.281431] broken atomic modeset userspace detected, disabling atomic
[ 11.863759] fuse: init (API version 7.31)
[ 12.783860] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 13.133397] Bluetooth: Core ver 2.22
[ 13.133435] NET: Registered protocol family 31
[ 13.133441] Bluetooth: HCI device and connection manager initialized
[ 13.133463] Bluetooth: HCI socket layer initialized
[ 13.133471] Bluetooth: L2CAP socket layer initialized
[ 13.133484] Bluetooth: SCO socket layer initialized
[ 13.140977] Bluetooth: HCI UART driver ver 2.3
[ 13.140986] Bluetooth: HCI UART protocol H4 registered
[ 13.141022] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 13.141154] Bluetooth: HCI UART protocol Broadcom registered
[ 13.318502] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 13.318510] Bluetooth: BNEP filters: protocol multicast
[ 13.318522] Bluetooth: BNEP socket layer initialized
[ 13.366276] Bluetooth: RFCOMM TTY layer initialized
[ 13.366292] Bluetooth: RFCOMM socket layer initialized
[ 13.366307] Bluetooth: RFCOMM ver 1.11
[ 15.112823] ICMPv6: process `dhcpcd’ is using deprecated sysctl (syscall) net.ipv6.neigh.wlan0.retrans_time - use net.ipv6.neigh.wlan0.retrans_time_ms instead
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 045e:0750 Microsoft Corp. Wired Keyboard 600
Bus 001 Device 003: ID 1241:1177 Belkin Mouse [HT82M21A]
Bus 001 Device 005: ID 1058:0a10 Western Digital Technologies, Inc.
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Ok, update. Finally managed to make it work. The USB bridge wasn’t pushed far enough in, my mistake.
@setq, one question. One of my drives (500 GB Seagate) has a red light on next to the blue one. But it does work fine, apparently. Do you know what is the red light? And how can I diagnose any possible issues the drive ?
@quadnas, I can also confirm that only gpio pins 22 and 37 are required when not mounted on top of the pi. Makes it easy to separate the two boards for passive cooling.
Thanks for the help, much appreciated.
When the red light came on, it was the chip that found the error in the hard drive.
You can use smartctl to check the hard disk information, but you need to do two things before that.
-
Download smartmontools-7.1 (https://sourceforge.net/projects/smartmontools/files/) and compile it. The version in the apt is too old.
-
Upgrade the firmware (How to upgrade F/W with jms561 under Raspberry Pi). The factory firmware shows something wrong with S.M.A.R.T…
Hi quadnas,
I’ve been trying to get HW PWM to work for the fans using only shell scripting but I can’t figure out what I’m doing wrong. Could you share the script that you’re using?
Thanks in advance
Where can I get a copy of this installation script?
If you have enough space, you could use an 90° adapter and USB 3.1(0) cables.
I used the bridge on one side and connected two USB cables to it. The result will vary, depending on what type of cable you use. At first, I used male to male connector. the performance was horrible. In addition to that, I’ve got messages like “bad USB cable?”.
Now, the performance of the hard disks is pretty good.
I am interested in the way you have installed the Rpi and Quad. If you could share some photos.
The usb3.1 cables (0) where did you find it?
Sure. Here they are: LINK. I connect the HAT with the Pi with a 90° adaptor, that splits the GPIO. So I can also connect the fan to the Pi. For the USB connection, I really tried a lot of variants. I sticked to USB-A 3.0 male to female. I also tried USB-C to USB-A cables, with an adaptor from USB-A to USB-C, but that was too complicated and expensive. Furthermore, I still use the USB-Bridge, because the bridge uses something illegal that is against the USB-Standard and what can not be reproduced with a USB-Cable. At least from my opinion. Maybe you know these USB-A male to male cables? This won’t work for me.