007revad / Synology_HDD_db

Add your HDD, SSD and NVMe drives to your Synology's compatible drive database and a lot more
MIT License
2.28k stars 159 forks source link

RS3621xs+ can not support third-party m2 expansion card using ASM2824 chip #285

Open LoneSpectator opened 2 months ago

LoneSpectator commented 2 months ago

I have a RS3621xs+. I installed a 25G network card on the device. So I only have one pcie expansion slot left. But I want to install 4 m2 SSDs. I found that the official E10M20-T1 expansion card uses the ASM2824 chip. At the same time, many third-party 4-bay m2 expansion cards also use the ASM2824 chip. I think these third-party expansion cards can be used with RS3621xs+. But when I tried to install, I found some problems. My third-party expansion card is correctly recognized by the underlying linux system.I can see the expanded pcie channel in ssh. And the syno_hdd_db.sh script log also shows the correct m2 hard disk information. This is the log of the last run:

Synology_HDD_db v3.4.87
RS3621xs+ DSM 7.2.1-69057-5 
StorageManager 1.0.0-0017

rs3621xs+_host_v7 version 8025

Using options: -nr --autoupdate=3
Running from: /volume1/本地存储/Scripts/syno_hdd_db.sh

HDD/SSD models found: 3
HUS728T8TALE6L4,V8GNW980
SSDSC2KG019TZ,7CV10100
WUH721816ALE6L4,PCGNW680

M.2 drive models found: 2
INTEL SSDPEK1W120GAH,K4110410
KIOXIA-EXCERIA G2 SSD,ECFA17.1

No M.2 PCIe cards found

No Expansion Units found

HUS728T8TALE6L4 already exists in rs3621xs+_host_v7.db
SSDSC2KG019TZ already exists in rs3621xs+_host_v7.db
WUH721816ALE6L4 already exists in rs3621xs+_host_v7.db
INTEL SSDPEK1W120GAH already exists in rs3621xs+_host_v7.db
KIOXIA-EXCERIA G2 SSD already exists in rs3621xs+_host_v7.db

Support disk compatibility already enabled.

Support memory compatibility already disabled.

Max memory already set to 64 GB.

NVMe support already enabled.

M.2 volume support already enabled.

Drive db auto updates already disabled.

DSM successfully checked disk compatibility.

You may need to reboot the Synology to see the changes.

But in DSM's storage manager, I can't find any m2 SSD. Clip_2024-05-03_22-23-18

I also tried the syno_enable_m2_card.sh script. It returned the following information:

Synology_enable_M2_card v3.1.15
RS3621xs+ DSM 7.2.1-69057-5 

StorageManager 1.0.0-0017

RS3621xs+: No PCIe x8 slot found!

What should I do to make DSM recognize my m2 expansion card correctly? Or I have to use official expansion cards.

007revad commented 2 months ago

I also tried the syno_enable_m2_card.sh script. It returned the following information:

Synology_enable_M2_card v3.1.15
RS3621xs+ DSM 7.2.1-69057-5 

StorageManager 1.0.0-0017

RS3621xs+: No PCIe x8 slot found!

I'm curious why syno_enable_m2-card thought your RS3621xs+ has no PCIe x8 slots.

What does the following command return?

sudo dmidecode -t slot | grep "PCI Express x8"

If that command returns nothing can you reply with what this command returns:

sudo dmidecode -t slot
007revad commented 2 months ago

Synology_HDD_db uses the synodisk command to get the type of M.2 PCIe card.

What do these commands return?

synodisk --m2-card-model-get /dev/nvme0n0
synodisk --m2-card-model-get /dev/nvme0n1
synodisk --m2-card-model-get /dev/nvme0n2
synodisk --m2-card-model-get /dev/nvme0n3
synodisk --m2-card-model-get /dev/nvme0n4
007revad commented 2 months ago

Does "Control Panel > Info Center" show for "PCIe Slot 1" and "PCIe Slot 2"?

You could this:

sudo set_section_key_value /usr/syno/etc.defaults/adapter_cards.conf FX2422N_sup_nvme rs3621xs+ yes
LoneSpectator commented 2 months ago

I also tried the syno_enable_m2_card.sh script. It returned the following information:

Synology_enable_M2_card v3.1.15
RS3621xs+ DSM 7.2.1-69057-5 

StorageManager 1.0.0-0017

RS3621xs+: No PCIe x8 slot found!

I'm curious why syno_enable_m2-card thought your RS3621xs+ has no PCIe x8 slots.

What does the following command return?

sudo dmidecode -t slot | grep "PCI Express x8"

If that command returns nothing can you reply with what this command returns:

sudo dmidecode -t slot

I used the "sudo dmidecode -t slot" command and the return is as follows

# dmidecode 3.2
Getting SMBIOS data from sysfs.
SMBIOS 2.8 present.

Handle 0x0019, DMI type 9, 17 bytes
System Slot Information
    Designation: J15
    Type: x1 PCI Express 2 x1
    Current Usage: In Use
    Length: Other
    ID: 1
    Characteristics:
        PME signal is supported
        Hot-plug devices are supported
    Bus Address: 0000:00:1c.4

Handle 0x001A, DMI type 9, 17 bytes
System Slot Information
    Designation: J16
    Type: x4 PCI Express 2 x4
    Current Usage: In Use
    Length: Other
    ID: 2
    Characteristics:
        PME signal is supported
        Hot-plug devices are supported
    Bus Address: 0000:00:1c.0

Handle 0x001B, DMI type 9, 17 bytes
System Slot Information
    Designation: J14
    Type: x8 PCI Express 3 x8
    Current Usage: In Use
    Length: Other
    ID: 3
    Characteristics:
        PME signal is supported
        Hot-plug devices are supported
    Bus Address: 0000:00:01.0
LoneSpectator commented 2 months ago

Synology_HDD_db uses the synodisk command to get the type of M.2 PCIe card.

What do these commands return?

synodisk --m2-card-model-get /dev/nvme0n0
synodisk --m2-card-model-get /dev/nvme0n1
synodisk --m2-card-model-get /dev/nvme0n2
synodisk --m2-card-model-get /dev/nvme0n3
synodisk --m2-card-model-get /dev/nvme0n4
admin@NAS:/dev$ synodisk --m2-card-model-get /dev/nvme0n0
Not M.2 adapter card
admin@NAS:/dev$ synodisk --m2-card-model-get /dev/nvme0n1
FX2422N
admin@NAS:/dev$ synodisk --m2-card-model-get /dev/nvme0n2
Not M.2 adapter card
admin@NAS:/dev$ synodisk --m2-card-model-get /dev/nvme0n3
Not M.2 adapter card
admin@NAS:/dev$ synodisk --m2-card-model-get /dev/nvme0n4
Not M.2 adapter card
admin@NAS:/dev$ synodisk --m2-card-model-get /dev/nvme0n5
Not M.2 adapter card
LoneSpectator commented 2 months ago

Does "Control Panel > Info Center" show for "PCIe Slot 1" and "PCIe Slot 2"?

You could this:

sudo set_section_key_value /usr/syno/etc.defaults/adapter_cards.conf FX2422N_sup_nvme rs3621xs+ yes

Clip_2024-05-04_20-10-22

I tried running the "sudo set_section_key_value /usr/syno/etc.defaults/adapter_cards.conf FX2422N_sup_nvme rs3621xs+ yes" command and restarted, but it had no effect.

007revad commented 2 months ago

In your screenshot for "PCIe Slot 2" what does that translate to in English?

Can you try this, with a capitol RS:

sudo set_section_key_value /usr/syno/etc.defaults/adapter_cards.conf FX2422N_sup_nvme RS3621xs+ yes

You might need to reboot after that.

LoneSpectator commented 2 months ago

In your screenshot for "PCIe Slot 2" what does that translate to in English?

Can you try this, with a capitol RS:

sudo set_section_key_value /usr/syno/etc.defaults/adapter_cards.conf FX2422N_sup_nvme RS3621xs+ yes

You might need to reboot after that.

The screenshot shows that pcie slot 2 is "occupied". This command still had no effect (I restarted after executing it.).

007revad commented 2 months ago

Sadly I don't think your PCIe card is going to work.