Raspbian/Ubuntu Server cannot detect JMS561 nor /dev/sd?

Hi,

I have a Rock Pi 4A 4 GB currently running Armbian (Buster, booting on eMMC boot partition with root on NVMe) and Ubuntu Server (Focal, on µSD card for test purposes since it’s official image). I also have a SATA HAT for 4 disks (WD 500 GB each).
It appears I’m having problems with JMicron JMS561 controllers, since disks (/dev/sd?) are not detected and raid management utility show no JMS561 controller. More information follows.

Note: prompt show root@rockpi4b, but I have a Rock Pi 4A.

root@rockpi4b:/home/rock# ./raidmgr_static 

JMS56X HW RAID Manager V8.0.0.1
(C) 2008~2011 JMicron Tech, Corp. Command Line Interface RAID Manager For JMS56X.

JMS56X>GC

 --> Total available JMS56X controllers = 0 <--
JMS56X>

lspci:

root@rockpi4b:/home/rock# lspci
00:00.0 PCI bridge: Fuzhou Rockchip Electronics Co., Ltd RK3399 PCI Express Root Port
01:00.0 Non-Volatile memory controller: Silicon Motion, Inc. Device 2263 (rev 03)

lsusb:

root@rockpi4b:/home/rock# lsusb -t
/:  Bus 08.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
/:  Bus 07.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
/:  Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
/:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=ohci-platform/1p, 12M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=ohci-platform/1p, 12M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-platform/1p, 480M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-platform/1p, 480M

lsblk:

root@rockpi4b:/home/rock# lsblk
NAME         MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
mtdblock0     31:0    0     4M  0 disk 
mmcblk0      179:0    0  59.5G  0 disk 
|-mmcblk0p1  179:1    0   3.9M  0 part 
|-mmcblk0p2  179:2    0     4M  0 part 
|-mmcblk0p3  179:3    0     4M  0 part 
|-mmcblk0p4  179:4    0   512M  0 part 
`-mmcblk0p5  179:5    0    59G  0 part /
mmcblk1      179:32   0  57.6G  0 disk 
|-mmcblk1p1  179:33   0   256M  0 part 
`-mmcblk1p2  179:34   0  56.8G  0 part 
mmcblk1boot0 179:64   0     4M  1 disk
mmcblk1boot1 179:96   0     4M  1 disk 
mmcblk1rpmb  179:128  0     4M  0 disk 
nvme0n1      259:0    0 119.2G  0 disk 
|-nvme0n1p1  259:1    0     4G  0 part 
`-nvme0n1p2  259:2    0    16G  0 part 

mmcblk1p2 is not used, since I transferred all its contents to nvme0n1p2, and nvme0n1p1 is the swap partition. mmcblk1p1 is the boot partition. mmcblk0 is the µSD with Ubuntu Server. Ubuntu Server show that mtdblock0, which was absent on Armbian.

dmesg is shown on the follow up, since the forum limits a topic to 32k characters.

Worth noting:

root@rockpi4b:/tmp# dmesg | grep -i jmicron
root@rockpi4b:/tmp# dmesg | grep -i jms    
root@rockpi4b:/tmp# dmesg | grep -i sd??
root@rockpi4b:/tmp# dmesg | grep -i sd?
root@rockpi4b:/tmp# 

Does someone knows what is happening? Do I need to do a modprobe on a JMicron module?

Thanks

dmesg content is here: dmesg output

Important: all the four WD 500 GB 2.5" disks were tested with a SATA to USB adapter and were detected by the Rock Pi 4 as sda1.

I’ve tested three different power sources, including a 12V wall charger and a USB Quick Charge which measured 5V input.

Hello, juliano.bn

The Quad SATA HAT we are selling now is for Raspberry Pi, where can you buy the ROCK Pi version? ROCK Pi version does not do software support, but if you need it, I can add it.

Hello, setq

I bought it last year, and I was quite sure it was made for both Raspberry and Rock Pi, but perhaps I’ve commited a mistake!

Can you add support for Rock Pi? In fact, executable says it was made for Raspberry, when run. If you could add support for Rock Pi I’d be really grateful!

You could also do some instructions for setting it up manually, if it does not involve excessively complicated tasks.

Thank you

All right. I will add support for ROCK Pi. This may take a little time, because we just happen to be very busy these days.