Penta hat doesn't see any disk

I’m trying to setup a NAS on Rock Pi 4b with a Penta hat. I run the installation script, but no drive was detected after it. Restart the service or reboot doesn’t solve the problem. The hard drives, cables, and the 12V power supply are all tested on a Raspberry Pi 4 with the Quad SATA hat and works just fine.

I can see the SATA controller on the PIC line using lspci which retures
01:00.0 SATA controller: JMicron Technology Corp. Device 0585

No disk can be found using fdisk -l or lsblk except for the EMMC. And of course no /sd in the /dev as expected.

Can someone advice what could be the problem? Did I miss any setups?

System information:
OS: Ubuntu 20.04 LTS (Rock Pi official repo)

1 Like

Same issue here. No luck seeing ANY drives.

# check status of penta service
sudo systemctl status rockpi-penta.service

# proper output:
# rockpi-penta.service - Rockpi SATA Hat
#      Loaded: loaded (/lib/systemd/system/rockpi-penta.service; enabled; vendor preset: enabled)
#      Active: active (running) since Tue 2023-09-26 04:34:14 UTC; 16s ago
#    Main PID: 456 (python3)
#       Tasks: 2 (limit: 4546)
#      Memory: 13.0M
#      CGroup: /system.slice/rockpi-penta.service
#              ├─456 /usr/bin/python3 /usr/bin/rockpi-penta/main.py on
#              └─875 /usr/bin/python3 /usr/bin/rockpi-penta/main.py on
# 
# Sep 26 04:34:14 rockpi-4b systemd[1]: Started Rockpi SATA Hat.
# Sep 26 04:34:14 rockpi-4b libmraa[456]: libmraa version v2.1.0 initialised by user 'root' with EUID 0
# Sep 26 04:34:14 rockpi-4b libmraa[456]: gpio: platform doesn't support chardev, falling back to sysfs
# Sep 26 04:34:14 rockpi-4b libmraa[456]: libmraa initialised for platform 'ROCK Pi 4' of type 20


# do this
sudo i2cdetect -y 1

# should see this:
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- -- 
10: -- UU -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --


# at this point you should be able to see drives with
sudo fdisk -l
# or
sudo lsblk

# I can't.