Megrez NVMe drive not detected

Hi, I have installed an SSD like the following on my Megrez board:

With a fresh install of RockOS, I cannot see the SSD detected through lspci or in /dev/:

debian@rockos-eswin:~$ lspci
00:00.0 PCI bridge: Beijing Eswin Computing Technology Co., Ltd. Device 2030 (rev 01)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] (rev e1)
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]

I expect to see an entry like the following in lspci (this is how it looks like on my Jupiter board):

0001:01:00.0 Non-Volatile memory controller: Micron/Crucial Technology P2 [Nick P2] / P3 / P3 Plus NVMe PCIe SSD (DRAM-less) (rev 01)

Is anybody else running into the same issue or could it possibly be a board defect? Also, are the kernel source trees provided anywhere?

1 Like

You need an M2 SSD with an SATA interface was also puzzled why my two M2s did not work, it’s really not very clear in the documentation.

3 Likes

Ah, this is expected. Actually Milk-V already said about this on Milk-V Megrez | RISC-V AI PC
The M.2 M-Key here is for SATA only. There’s a switch for switching between M.2 SATA slot and the standalone SATA port, located at the edge of the board. Use a SATA SSD.
Also the M.2 E-Key beside it is SDIO, not PCI-E.
For M.2 NVMe drives you’ll need something like a PCI-E to M.2 NVMe adapter board.
For kernel sources, see GitHub - rockos-riscv/rockos-kernel: Linux kernel source tree

BTW, good news is your drive is probably not toasted :wink:

3 Likes