Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crucial CT4000P3SSD8 Unrecognized firmware version #306

Open
R-a-K-i opened this issue Jun 21, 2024 · 63 comments
Open

Crucial CT4000P3SSD8 Unrecognized firmware version #306

R-a-K-i opened this issue Jun 21, 2024 · 63 comments
Assignees

Comments

@R-a-K-i
Copy link

R-a-K-i commented Jun 21, 2024

Hello,

Thank you very much for your great work. Your scripts are very helpful. Maybe you can help me with the following problem:

Although the M.2 SSD and the firmware version were recognized correctly and entered in the DB file, the SSD was not recognized correctly. Is there a solution for this?

Regards
Ralph

image

syno_hdd_db.sh -s

CT4000P3SSD8:
{
"P9CR30A": {
"compatibility_interval": [
{
"compatibility": "support",
"not_yet_rolling_status": "support",
"fw_dsm_update_status_notify": false,
"barebone_installable": true,
"smart_test_ignore": false,
"smart_attr_ignore": false
}
]
},
"default": {
"compatibility_interval": [
{
"compatibility": "support",
"not_yet_rolling_status": "support",
"fw_dsm_update_status_notify": false,
"barebone_installable": true,
"smart_test_ignore": false,
"smart_attr_ignore": false
}
]
}
}

@R-a-K-i
Copy link
Author

R-a-K-i commented Jun 21, 2024

Synology_HDD_db v3.5.91
DS923+ DSM 7.2.1-69057-5
StorageManager 1.0.0-0017

ds923+_host_v7 version 8041

Using options: -s
Running from: /volume1/homes/adminrknas/scripts/syno_hdd_db.sh

HDD/SSD models found: 1
SSD,W0802A0

M.2 drive models found: 1
CT4000P3SSD8,P9CR30A

No M.2 PCIe cards found

No Expansion Units found

SSD already exists in ds923+_host_v7.db
CT4000P3SSD8 already exists in ds923+_host_v7.db

Support disk compatibility already enabled.

Support memory compatibility already enabled.

NVMe support already enabled.

M.2 volume support already enabled.

Drive db auto updates already enabled.

SSD:
{
"W0802A0": {
"compatibility_interval": [
{
"compatibility": "support",
"not_yet_rolling_status": "support",
"fw_dsm_update_status_notify": false,
"barebone_installable": true,
"smart_test_ignore": false,
"smart_attr_ignore": false
}
]
},
"default": {
"compatibility_interval": [
{
"compatibility": "support",
"not_yet_rolling_status": "support",
"fw_dsm_update_status_notify": false,
"barebone_installable": true,
"smart_test_ignore": false,
"smart_attr_ignore": false
}
]
}
}

CT4000P3SSD8:
{
"P9CR30A": {
"compatibility_interval": [
{
"compatibility": "support",
"not_yet_rolling_status": "support",
"fw_dsm_update_status_notify": false,
"barebone_installable": true,
"smart_test_ignore": false,
"smart_attr_ignore": false
}
]
},
"default": {
"compatibility_interval": [
{
"compatibility": "support",
"not_yet_rolling_status": "support",
"fw_dsm_update_status_notify": false,
"barebone_installable": true,
"smart_test_ignore": false,
"smart_attr_ignore": false
}
]
}
}

DSM successfully checked disk compatibility.

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

@007revad
Copy link
Owner

If Storage Manager was already open it needs to be closed and reopened.

You should always run the script with the -n option to prevent DSM updating the drive database.

Interesting that your 2.5 inch SATA SSD shows up as just "SSD" for the model. Does it show in Storage Manager as either:

  • VRX SSD (SSD)
  • INTENSO SSD (SSD)

@R-a-K-i
Copy link
Author

R-a-K-i commented Jun 22, 2024

I added the "-n" option (also in the "boot-up" task). After I rebooted the NAS twice, the result is the same. What surprises me is that everything works so far. I can create a volume and also activate deduplication.

Thanks for your help
Ralph

image

Synology_HDD_db v3.5.91
DS923+ DSM 7.2.1-69057-5
StorageManager 1.0.0-0017

ds923+_host_v7 version 8041

Using options: -n -s
Running from: /volume1/homes/adminrknas/scripts/syno_hdd_db.sh

HDD/SSD models found: 1
SSD,W0802A0

M.2 drive models found: 1
CT4000P3SSD8,P9CR30A

No M.2 PCIe cards found

No Expansion Units found

SSD already exists in ds923+_host_v7.db
CT4000P3SSD8 already exists in ds923+_host_v7.db

Support disk compatibility already enabled.

Support memory compatibility already enabled.

NVMe support already enabled.

M.2 volume support already enabled.

Drive db auto updates already disabled.

SSD:
{
"W0802A0": {
"compatibility_interval": [
{
"compatibility": "support",
"not_yet_rolling_status": "support",
"fw_dsm_update_status_notify": false,
"barebone_installable": true,
"smart_test_ignore": false,
"smart_attr_ignore": false
}
]
},
"default": {
"compatibility_interval": [
{
"compatibility": "support",
"not_yet_rolling_status": "support",
"fw_dsm_update_status_notify": false,
"barebone_installable": true,
"smart_test_ignore": false,
"smart_attr_ignore": false
}
]
}
}

CT4000P3SSD8:
{
"P9CR30A": {
"compatibility_interval": [
{
"compatibility": "support",
"not_yet_rolling_status": "support",
"fw_dsm_update_status_notify": false,
"barebone_installable": true,
"smart_test_ignore": false,
"smart_attr_ignore": false
}
]
},
"default": {
"compatibility_interval": [
{
"compatibility": "support",
"not_yet_rolling_status": "support",
"fw_dsm_update_status_notify": false,
"barebone_installable": true,
"smart_test_ignore": false,
"smart_attr_ignore": false
}
]
}
}

DSM successfully checked disk compatibility.

The INTENSO SSDs are displayed like this:

image

@jeprojects
Copy link

Happening also with my nvme drives: CT1000P3PSSD8

Synology_HDD_db v3.5.91
DS1520+ DSM 7.2.1-69057-5 
StorageManager 1.0.0-0017

ds1520+_host_v7 version 8054

ds1520+_host version 4026

Using options: -n
Running from: /volume1/scripts/syno_hdd_db.sh

WARNING Don't store this script on an NVMe volume!

HDD/SSD models found: 2
ST16000NM001G-2KK103,SN02
ST16000NM001G-2KK103,SN03

M.2 drive models found: 1
CT1000P3PSSD8,P9CR413

No M.2 PCIe cards found

No Expansion Units found

Updated ST16000NM001G-2KK103 in ds1520+_host_v7.db
ST16000NM001G-2KK103 already exists in ds1520+_host.db
ST16000NM001G-2KK103 already exists in ds1520+_host.db.new
Updated ST16000NM001G-2KK103 in ds1520+_host_v7.db
ST16000NM001G-2KK103 already exists in ds1520+_host.db
ST16000NM001G-2KK103 already exists in ds1520+_host.db.new
CT1000P3PSSD8 already exists in ds1520+_host_v7.db
CT1000P3PSSD8 already exists in ds1520+_host.db
CT1000P3PSSD8 already exists in ds1520+_host.db.new

Support disk compatibility already enabled.

Support memory compatibility already enabled.

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.

@007revad
Copy link
Owner

007revad commented Jul 1, 2024

In my experience the "Unrecognized firmware version, please update the drive database." warning normally occurs if:

  1. Storage Manager needs to be closed and reopened.
  2. Drive db auto updates are enabled and DSM updated the drive database after the script was run.
  3. Unknown vendor.
  4. Drive is in a PCIe card and drive was not added to card's db file.
  5. Drive is in an expansion unit and drive was not added to ebox's db file.
  6. There are db files left over from DSM 6.

What does the following command return?

ls /var/lib/disk-compatibility/ds1520+_host*.db

Try running Synology_HDD_db with no options then:

  1. Close and reopen Storage Manager.
  2. Click on HDD/SSD > Settings > Advanced.
  3. Scroll down to Drive Database and click Update Now.
  4. Run Synology_HDD_db with the -n option.
  5. Close and reopen Storage Manager and check if the warning is gone.

@007revad
Copy link
Owner

007revad commented Jul 1, 2024

@R-a-K-i

What surprises me is that everything works so far. I can create a volume and also activate deduplication.

I have no idea why everything is working when you're still seeing the "Unrecognized firmware version" warning.

image

Where is that image from? Is that Active Insight?

My HDD/SS section in Storage Manager looks like this:
image

@007revad 007revad self-assigned this Jul 1, 2024
@R-a-K-i
Copy link
Author

R-a-K-i commented Jul 1, 2024

All images are from the Storage Manager:

image image image

@jeprojects
Copy link

Running ls /var/lib/disk-compatibility/ds1520+_host*.db

/var/lib/disk-compatibility/ds1520+_host.db  /var/lib/disk-compatibility/ds1520+_host_v7.db

Would this mean there is an old v6 db left over?

I also tried your 5 steps listed above and it still shows the warning.

@007revad
Copy link
Owner

007revad commented Jul 2, 2024

Yes, there'd be a lot of v6 db files left over from DSM 6.

Try:

sudo rm /var/lib/disk-compatibility/ds1520+_host.db

Then close and reopen storage manager.

@cb12tre
Copy link

cb12tre commented Jul 9, 2024

I also have the same problem with a SOLIDIGM drive.
In the file syno_hdd_vendor_ids.txt, I had to add a line 0x25e="Solidigm" because my SSD was recognized with this code and not as 0x025e="Solidigm".
Now the brand is recognized, but the message "Unrecognized firmware" still appears.

This is the output of the command syno_hdd_db.sh -s

Synology_HDD_db v3.5.93
DS920+ DSM 7.2.1-69057-5
StorageManager 1.0.0-0017

ds920+_host_v7 version 8052

ds920+_host version 4021

Using options: -s
Running from: /volume1/homes/giorgio-admin/scripts/Synology_HDD/syno_hdd_db.sh

HDD/SSD models found: 2
WD60EFRX-68L0BN1,82.00A82
WD60EFZX-68B3FN0,81.00A81

M.2 drive models found: 1
SOLIDIGM SSDPFKNU512GZH,HPS3

No M.2 PCIe cards found

No Expansion Units found

WD60EFRX-68L0BN1 already exists in ds920+_host_v7.db
WD60EFRX-68L0BN1 already exists in ds920+_host.db
WD60EFRX-68L0BN1 already exists in ds920+_host.db.new
WD60EFZX-68B3FN0 already exists in ds920+_host_v7.db
WD60EFZX-68B3FN0 already exists in ds920+_host.db
WD60EFZX-68B3FN0 already exists in ds920+_host.db.new
SOLIDIGM SSDPFKNU512GZH already exists in ds920+_host_v7.db
SOLIDIGM SSDPFKNU512GZH already exists in ds920+_host.db
SOLIDIGM SSDPFKNU512GZH already exists in ds920+_host.db.new

Support disk compatibility already enabled.

Support memory compatibility already enabled.

NVMe support already enabled.

M.2 volume support already enabled.

Re-enabled drive db auto updates.

SOLIDIGM SSDPFKNU512GZH:
{
  "HPS3": {
    "compatibility_interval": [
      {
        "compatibility": "support",
        "not_yet_rolling_status": "support",
        "fw_dsm_update_status_notify": false,
        "barebone_installable": true,
        "smart_test_ignore": false,
        "smart_attr_ignore": false
      }
    ]
  },
  "default": {
    "compatibility_interval": [
      {
        "compatibility": "support",
        "not_yet_rolling_status": "support",
        "fw_dsm_update_status_notify": false,
        "barebone_installable": true,
        "smart_test_ignore": false,
        "smart_attr_ignore": false
      }
    ]
  }
}

WD60EFRX-68L0BN1:
{
  "82.00A82": {
    "compatibility_interval": [
      {
        "compatibility": "support",
        "not_yet_rolling_status": "support",
        "fw_dsm_update_status_notify": false,
        "barebone_installable": true,
        "smart_test_ignore": false,
        "smart_attr_ignore": false
      }
    ]
  },
  "default": {
    "compatibility_interval": [
      {
        "compatibility": "support",
        "not_yet_rolling_status": "support",
        "fw_dsm_update_status_notify": false,
        "barebone_installable": true,
        "smart_test_ignore": false,
        "smart_attr_ignore": false
      }
    ]
  }
}

WD60EFZX-68B3FN0:
{
  "81.00A81": {
    "size_gb": 6000,
    "compatibility_interval": [
      {
        "compatibility": "support",
        "not_yet_rolling_status": "support",
        "fw_dsm_update_status_notify": false,
        "barebone_installable": true,
        "barebone_installable_v2": "auto",
        "smart_test_ignore": false,
        "smart_attr_ignore": false
      }
    ]
  },
  "default": {
    "size_gb": 6000,
    "compatibility_interval": [
      {
        "compatibility": "support",
        "not_yet_rolling_status": "support",
        "fw_dsm_update_status_notify": false,
        "barebone_installable": true,
        "barebone_installable_v2": "auto",
        "smart_test_ignore": false,
        "smart_attr_ignore": false
      }
    ]
  }
}

DSM successfully checked disk compatibility.

image
image

Regards, Gio.

@007revad
Copy link
Owner

007revad commented Jul 9, 2024

I see a few potential issues.

You didn't run the syno_hdd_db with the -n option to prevent DSM updating the drive database.

ds920+_host_v7 version 8052
ds920+_host version 4021

Your DS920+ appears to have been running DSM 6 in the past. I can't tell if DSM would be using the old ds920+_host.db file or the ds920+_host_v7.db file.

What do the following commands return:

ls /dev/sata*
ls /dev/sd*

I notice WD60EFZX-68B3FN0 has size_gb. I'll have to check if this was added in DSM 7.2.1 update 5.

WD60EFZX-68B3FN0:
{
  "81.00A81": {
    "size_gb": 6000,

@007revad
Copy link
Owner

007revad commented Jul 9, 2024

Okay, it's not DSM 7.2.1 update 5. It's the newer host db version.

I notice there's also:

"barebone_installable_v2": "auto",

I'll add size_gb and "barebone_installable_v2": "auto"

@cb12tre
Copy link

cb12tre commented Jul 9, 2024

I confirm that version 6 of DSM was installed in the past.
This is the result of the two ls commands:

ls /dev/sata*
/dev/sata1  /dev/sata1p1  /dev/sata1p2  /dev/sata1p5  /dev/sata2  /dev/sata2p1  /dev/sata2p2  /dev/sata2p5
ls /dev/sd*
ls: cannot access '/dev/sd*': No such file or directory

The first time I ran the syno_hdd_db command without the -n option, then later I ran it with the -n option and scheduled it as a shutdown task for the NAS:
image

The WD60EFZX-68B3FN0 drives are not giving any problems; I've been using them since before using this script.

@007revad
Copy link
Owner

Delete ds920+_host.db and ds920+_host.db.new

sudo rm /var/lib/disk-compatibility_ ds920+_host.db
sudo rm /var/lib/disk-compatibility_ ds920+_host.db.new

Then delete "volume1/homes/scripts/Synology_HDD/syno_hdd-db.sh -n" from the shutdown task.

Next create bootup task with "volume1/homes/scripts/Synology_HDD/syno_hdd-db.sh -n".

Then reboot.

The WD60EFZX-68B3FN0 is fine. It's the WD60EFRX-68L0BN1 and more importantly the SOLIDIGM SSDPFKNU512GZH that are missing 2 new lines that Synology seem to have been added in host_v7 version 8052:

"size_gb":
"barebone_installable_v2": "auto"

I've almost finished updating the script to include size_gb and barebone_installable_v2 but I have to test it before releasing it.

@cb12tre
Copy link

cb12tre commented Jul 10, 2024

Do I also put syno_enable_m2_volume.sh as a task on boot or leave it on shutdown?

@007revad
Copy link
Owner

Leave syno_enable_m2_volume.sh as a shutdown task.

But also leave the syno_enable_m2_volume.sh shutdown task disabled for now. You should not need it with a DS920+ running DSM 7.2.1.

@cb12tre
Copy link

cb12tre commented Jul 10, 2024

I deleted the two files, this is the contents of the directory now:

ls -l /var/lib/disk-compatibility/ds920*
-rw-r--r-- 1 root root     50 Oct 12  2021 /var/lib/disk-compatibility/ds920+_e10m20-t1_v7.db
-rw-r--r-- 1 root root      8 Sep 23  2021 /var/lib/disk-compatibility/ds920+_e10m20-t1_v7.release
-rw-r--r-- 1 root root      4 Oct 12  2021 /var/lib/disk-compatibility/ds920+_e10m20-t1_v7.version
-rw-r--r-- 1 root root  12096 Sep 14  2021 /var/lib/disk-compatibility/ds920+_host.db.bak
-rw-r--r-- 1 root root  12362 Sep 14  2021 /var/lib/disk-compatibility/ds920+_host.db.new.bak
-rw-r--r-- 1 root root      8 Sep 14  2021 /var/lib/disk-compatibility/ds920+_host.release
-rw-r--r-- 1 root root 128905 Jul 10 09:33 /var/lib/disk-compatibility/ds920+_host_v7.db
-rw-r--r-- 1 root root 112928 May  4 10:05 /var/lib/disk-compatibility/ds920+_host_v7.db.bak
-rw-r--r-- 1 root root      8 Oct  3  2023 /var/lib/disk-compatibility/ds920+_host_v7.release
-rw-r--r-- 1 root root      4 May  4 10:05 /var/lib/disk-compatibility/ds920+_host_v7.version
-rw-r--r-- 1 root root      4 Sep 14  2021 /var/lib/disk-compatibility/ds920+_host.version
-rw-r--r-- 1 root root     50 Oct 12  2021 /var/lib/disk-compatibility/ds920+_m2d17_v7.db
-rw-r--r-- 1 root root      8 Sep 23  2021 /var/lib/disk-compatibility/ds920+_m2d17_v7.release
-rw-r--r-- 1 root root      4 Oct 12  2021 /var/lib/disk-compatibility/ds920+_m2d17_v7.version
-rw-r--r-- 1 root root     50 Oct 12  2021 /var/lib/disk-compatibility/ds920+_m2d18_v7.db
-rw-r--r-- 1 root root      8 Sep 23  2021 /var/lib/disk-compatibility/ds920+_m2d18_v7.release
-rw-r--r-- 1 root root      4 Oct 12  2021 /var/lib/disk-compatibility/ds920+_m2d18_v7.version
-rw-r--r-- 1 root root     50 Oct 12  2021 /var/lib/disk-compatibility/ds920+_m2d20_v7.db
-rw-r--r-- 1 root root      8 Sep 23  2021 /var/lib/disk-compatibility/ds920+_m2d20_v7.release
-rw-r--r-- 1 root root      4 Oct 12  2021 /var/lib/disk-compatibility/ds920+_m2d20_v7.version

This is the result of running the script at boot:

Synology_HDD_db v3.5.93
DS920+ DSM 7.2.1-69057-5
StorageManager 1.0.0-0017

ds920+_host_v7 version 8052

ds920+_host version 4021

Using options: -n
Running from: /volume1/homes/scripts/Synology_HDD/syno_hdd_db.sh

HDD/SSD models found: 2
WD60EFRX-68L0BN1,82.00A82
WD60EFZX-68B3FN0,81.00A81

M.2 drive models found: 1
SOLIDIGM SSDPFKNU512GZH,HPS3

No M.2 PCIe cards found

No Expansion Units found

�[0;33mWD60EFRX-68L0BN1�[0m already exists in �[0;36mds920+_host_v7.db�[0m
�[0;33mWD60EFZX-68B3FN0�[0m already exists in �[0;36mds920+_host_v7.db�[0m
�[0;33mSOLIDIGM SSDPFKNU512GZH�[0m already exists in �[0;36mds920+_host_v7.db�[0m

Support disk compatibility already enabled.

Support memory compatibility already enabled.

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 �[0;36mreboot the Synology�[0m to see the changes.

Storage manager still reports "Unrecognized firmware"
image

@007revad
Copy link
Owner

Was storage manager already open? If yes, then close and reopen storage manager.

@cb12tre
Copy link

cb12tre commented Jul 10, 2024

I restarted the NAS to have the script run at startup, so Storage Manager also restarted.

@cb12tre
Copy link

cb12tre commented Jul 10, 2024

Now the volume and the disk are marked as critical.
I used this disk on a laptop until last week, and it never caused any problems.
Could it be related to the firmware not being recognized?

image

image

Later, I'll try to put in another M2 drive to see if the same thing happens.

@007revad
Copy link
Owner

Unrecognized firmware would not cause the drive to be marked as critical.

You could run https://github.com/007revad/Synology_SMART_info to see why DSM is saying it is critical.

@cb12tre
Copy link

cb12tre commented Jul 10, 2024

Okay, thanks for the help.
I have now restarted the NAS and enabled write access to the volume, and it seems to be working normally.

The Synology_SMART_info script shows this result.

Synology_SMART_info v1.1.6 - by 007revad
nas-c DS920+ DSM 7.2.1-69057-5

M.2 Drive 1  SOLIDIGM SSDPFKNU512GZH  PHEH340204TL512A
SMART Error Counter Log:         No Errors Logged
  1 Critical_Warning             0
  2 Temperature                  29 C
  5 Percentage Used              0%
 12 Power On Hours               615
 13 Unsafe Shutdowns             25
 14 Media Errors                 0

Smart Log for NVME device:nvme0n1 namespace-id:ffffffff
critical_warning                    : 0
temperature                         : 29 C
available_spare                     : 100%
available_spare_threshold           : 10%
percentage_used                     : 0%
data_units_read                     : 6,242,505
data_units_written                  : 3,469,406
host_read_commands                  : 65,523,710
host_write_commands                 : 59,868,448
controller_busy_time                : 1,048
power_cycles                        : 5,196
power_on_hours                      : 615
unsafe_shutdowns                    : 25
media_errors                        : 0
num_err_log_entries                 : 72
Warning Temperature Time            : 0
Critical Composite Temperature Time : 0
Temperature Sensor 1                : 0 C
Temperature Sensor 2                : 0 C
Temperature Sensor 3                : 0 C
Temperature Sensor 4                : 0 C
Temperature Sensor 5                : 0 C
Temperature Sensor 6                : 0 C
Temperature Sensor 7                : 0 C
Temperature Sensor 8                : 0 C

The strange thing to me is the 25. "Unsafe Shutdowns"

@007revad
Copy link
Owner

Only 615 power on hours. It's been used for less than 4 weeks.

I noticed the 25 "Unsafe Shutdowns" too. My NVMe drives have about 5, but it's because I removed the drives while the NAS was powered on.

5,196 power_cycles is an huge amount for a drive with only 615 power on hours. It's as if the NAS continuously power cycled the NVMe drive trying to connect to it.

The 1,048 controller_busy_time is a lot too.

@cb12tre
Copy link

cb12tre commented Jul 10, 2024

This storage device has been connected to the NAS for only a week; previously, it was used on a notebook, so most of the SMART data pertains to that.
I believe the 5196 power cycles are related to the notebook's power-saving features.

@007revad
Copy link
Owner

That makes sense.

Though the 25 "Unsafe Shutdowns" are a concern if you didn't remove the drive while it was powered on 25 times, or maybe the notebook shut down 25 times when it's battery ran too low.

@cb12tre
Copy link

cb12tre commented Jul 10, 2024

Sure, it could have been the laptop running out of battery, as you say.
It might be better to compare these results with those from one or two weeks later to determine if there are any actual problems with the disk

@cb12tre
Copy link

cb12tre commented Jul 11, 2024

I connected the new Samsung drive, and it is recognized without any error messages.
image

The SOLIDIGM, on the other hand, continues to give a firmware warning message.
If you want to try to understand why this is happening, I can keep the SOLIDIGM drive connected for a few more days to run some tests before disconnecting it.

Could it be because the drive was recognized as 0x25e instead of 0x025e?

@007revad
Copy link
Owner

Could it be because the drive was recognized as 0x25e instead of 0x025e?

Yes, definitely. Did the script show you that it was 0x25e ?

Did it always show in Storage Manager as "Solidigm SOLIDIGM SSD SSDPFKNU512GZH"?
Or did originally show as "Unknown SOLIDIGM SSD SSDPFKNU512GZH"?

@007revad
Copy link
Owner

007revad commented Jul 11, 2024

What do the following commands return?

sudo nvme id-ctrl /dev/nvme1 | grep 'vid'
cat /usr/syno/etc/pci_vendor_ids.conf | grep '25e'

And these:

cat /sys/block/nvme1n1/device/firmware_rev
cat /sys/block/nvme1n1/device/rev

@007revad
Copy link
Owner

I still get the same message, I also tried restarting the NAS.

That's disappointing.

Try running the script with the -f or --force option (as well as -n). So syno_hdd_db.sh -nf

@cb12tre
Copy link

cb12tre commented Jul 12, 2024

Still the same, the firmware message always appears.

@007revad
Copy link
Owner

Can you try the following:

  1. Run syno_hdd_db without the -n or --noupdate option.
  2. Update the drive database from "Storage Manager > HDD/SSD > Settings > Advanced > Update Now".
  3. Download https://github.com/007revad/Synology_HDD_db/releases/tag/v3.5.94-RC
  4. Run v3.5.94-RC syno_hdd_db with -n or --noupdate option and the -s or --showedits.
  5. Reply with the script's output.

@cb12tre
Copy link

cb12tre commented Jul 13, 2024

giorgio-admin@nas-c:~/scripts/Synology_HDD$ sudo -s ./syno_hdd_db.sh
Synology_HDD_db v3.5.93
DS920+ DSM 7.2.1-69057-5
StorageManager 1.0.0-0017

ds920+_host_v7 version 8052

ds920+_host version 4021

Running from: /volume1/homes/giorgio-admin/scripts/Synology_HDD/syno_hdd_db.sh

HDD/SSD models found: 2
WD60EFRX-68L0BN1,82.00A82
WD60EFZX-68B3FN0,81.00A81

M.2 drive models found: 2
SAMSUNG MZALQ512HALU-000L1,EL1QFXV7
SOLIDIGM SSDPFKNU512GZH,HPS3

No M.2 PCIe cards found

No Expansion Units found

WD60EFRX-68L0BN1 already exists in ds920+_host_v7.db
WD60EFZX-68B3FN0 already exists in ds920+_host_v7.db
SAMSUNG MZALQ512HALU-000L1 already exists in ds920+_host_v7.db
SOLIDIGM SSDPFKNU512GZH already exists in ds920+_host_v7.db

Support disk compatibility already enabled.

Support memory compatibility already enabled.

NVMe support already enabled.

M.2 volume support already enabled.

Re-enabled drive db auto updates.

DSM successfully checked disk compatibility.

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

I tried to update the database from Storage Manager but this message appears:
image

I also tried to download the update file and do it manually but this message appears:
image

However, I have loaded and executed your new script:

giorgio-admin@nas-c:~/scripts/Synology_HDD_db-3.5.94-RC$ sudo -s ./syno_hdd_db.sh -ns
Password:
Synology_HDD_db v3.5.93
DS920+ DSM 7.2.1-69057-5
StorageManager 1.0.0-0017

ds920+_host_v7 version 8052

ds920+_host version 4021

Using options: -ns
Running from: /volume1/homes/giorgio-admin/scripts/Synology_HDD_db-3.5.94-RC/syno_hdd_db.sh

HDD/SSD models found: 2
WD60EFRX-68L0BN1,82.00A82,6000
WD60EFZX-68B3FN0,81.00A81,6000

M.2 drive models found: 2
SAMSUNG MZALQ512HALU-000L1,EL1QFXV7,512
SOLIDIGM SSDPFKNU512GZH,HPS3,512

No M.2 PCIe cards found

No Expansion Units found

WD60EFRX-68L0BN1 already exists in ds920+_host_v7.db
WD60EFZX-68B3FN0 already exists in ds920+_host_v7.db
SAMSUNG MZALQ512HALU-000L1 already exists in ds920+_host_v7.db
SOLIDIGM SSDPFKNU512GZH already exists in ds920+_host_v7.db

Support disk compatibility already enabled.

Support memory compatibility already enabled.

NVMe support already enabled.

M.2 volume support already enabled.

Disabled drive db auto updates.

SAMSUNG MZALQ512HALU-000L1:
{
  "EL1QFXV7": {
    "compatibility_interval": [
      {
        "compatibility": "support",
        "not_yet_rolling_status": "support",
        "fw_dsm_update_status_notify": false,
        "barebone_installable": true,
        "smart_test_ignore": false,
        "smart_attr_ignore": false
      }
    ]
  },
  "default": {
    "compatibility_interval": [
      {
        "compatibility": "support",
        "not_yet_rolling_status": "support",
        "fw_dsm_update_status_notify": false,
        "barebone_installable": true,
        "smart_test_ignore": false,
        "smart_attr_ignore": false
      }
    ]
  }
}

SOLIDIGM SSDPFKNU512GZH:
{
  "HPS3": {
    "compatibility_interval": [
      {
        "compatibility": "support",
        "not_yet_rolling_status": "support",
        "fw_dsm_update_status_notify": false,
        "barebone_installable": true,
        "smart_test_ignore": false,
        "smart_attr_ignore": false
      }
    ]
  },
  "default": {
    "compatibility_interval": [
      {
        "compatibility": "support",
        "not_yet_rolling_status": "support",
        "fw_dsm_update_status_notify": false,
        "barebone_installable": true,
        "smart_test_ignore": false,
        "smart_attr_ignore": false
      }
    ]
  }
}

WD60EFRX-68L0BN1:
{
  "82.00A82": {
    "compatibility_interval": [
      {
        "compatibility": "support",
        "not_yet_rolling_status": "support",
        "fw_dsm_update_status_notify": false,
        "barebone_installable": true,
        "smart_test_ignore": false,
        "smart_attr_ignore": false
      }
    ]
  },
  "default": {
    "compatibility_interval": [
      {
        "compatibility": "support",
        "not_yet_rolling_status": "support",
        "fw_dsm_update_status_notify": false,
        "barebone_installable": true,
        "smart_test_ignore": false,
        "smart_attr_ignore": false
      }
    ]
  }
}

WD60EFZX-68B3FN0:
{
  "81.00A81": {
    "size_gb": 6000,
    "compatibility_interval": [
      {
        "compatibility": "support",
        "not_yet_rolling_status": "support",
        "fw_dsm_update_status_notify": false,
        "barebone_installable": true,
        "barebone_installable_v2": "auto",
        "smart_test_ignore": false,
        "smart_attr_ignore": false
      }
    ]
  },
  "default": {
    "size_gb": 6000,
    "compatibility_interval": [
      {
        "compatibility": "support",
        "not_yet_rolling_status": "support",
        "fw_dsm_update_status_notify": false,
        "barebone_installable": true,
        "barebone_installable_v2": "auto",
        "smart_test_ignore": false,
        "smart_attr_ignore": false
      }
    ]
  }
}

DSM successfully checked disk compatibility.

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

I disabled the automatic restart scheduling, otherwise it would have run the old script, and I restarted the NAS.
The same message about the firmware still appears. 😞

@007revad
Copy link
Owner

I just downloaded and unpacked the Synology HDD/SSD Offline Update Pack for the DS920+

It contains v7 host db files for 3 different models, each with a different version:

  • DS923+ v8041
  • DS920+ v8052
  • DS918+ v8046

My DS1821+ has v8054

Run these commands:

sudo -i
rm  /var/lib/disk-compatibility/ds920+_host.version
rm  /var/lib/disk-compatibility/ds920+_host.release
rm  /var/lib/disk-compatibility/ds920+_host.db.bak
echo -n 8000 > /var/lib/disk-compatibility/ds920+_host_v7.version
echo -n 20230101 > /var/lib/disk-compatibility/ds920+_host_v7.release
synosetkeyvalue /etc/synoinfo.conf support_disk_compatibility yes
synosetkeyvalue /etc.defaults/synoinfo.conf support_disk_compatibility yes

Then download the latest Synology HDD/SSD Offline Update Pack for the DS920+ near the bottom of this page: https://www.synology.com/en-global/support/download/DS920+?version=7.2#system and do a Manual Install in Package Center.

Finally download this new https://github.com/007revad/Synology_HDD_db/releases/tag/v3.5.94 version and run it with the -ns options.

If Storage manager is already open, close it an reopen it.

@R-a-K-i
Copy link
Author

R-a-K-i commented Jul 14, 2024

I wanted to reinstall the drive database to start from scratch. The following steps solved my problem by chance:

sudo -s
syno_hdd_db.sh --restore
rm -R /var/lib/disk-compatibility/*
syno_dsm_reinstall.sh
reboot
Reinstall latest firmware with the current settings

After these steps, no more warnings are displayed:

image

This is really strange. The drives are no longer listed in the compatibility list.

disk-compatibility.zip

Can anyone explain this?

@007revad
Copy link
Owner

@R-a-K-i

This is interesting.

That probably worked for you because the DS932+ already supports M.2 volumes and your NVMe volume already existed.

I notice you previously had ds923+_host_v7.db version 8041 and you now have an older version 8028

The difference between the 2 db versions is version 8041 has 2 new keys for each drive in the database:

  • size_gb
  • barebone_installable_v2

The latest version of the script includes those 2 new keys:
https://github.com/007revad/Synology_HDD_db/releases/tag/v3.5.94

But it won't add those keys if the drive model already exists in the db file.

@cb12tre
Copy link

cb12tre commented Jul 15, 2024

I executed these commands without any problems:

sudo -i
rm  /var/lib/disk-compatibility/ds920+_host.version
rm  /var/lib/disk-compatibility/ds920+_host.release
rm  /var/lib/disk-compatibility/ds920+_host.db.bak
echo -n 8000 > /var/lib/disk-compatibility/ds920+_host_v7.version
echo -n 20230101 > /var/lib/disk-compatibility/ds920+_host_v7.release
synosetkeyvalue /etc/synoinfo.conf support_disk_compatibility yes
synosetkeyvalue /etc.defaults/synoinfo.conf support_disk_compatibility yes

Then download the latest Synology HDD/SSD Offline Update Pack for the DS920+ near the bottom of this page: https://www.synology.com/en-global/support/download/DS920+?version=7.2#system and do a Manual Install in Package Center.

When I try to upload the file, I still get this message:
image

@007revad
Copy link
Owner

Try this:

sudo -i
synosetkeyvalue /var/packages/SynoOnlinePack_v2/INFO version 744

Then package center should let you install the downloaded SynoOfflinePack

@R-a-K-i
Copy link
Author

R-a-K-i commented Jul 15, 2024

@007revad
You are right. However, the reinstallation brings the old database with it. Even a manual update does not update to version 8041.

image image

@007revad
Copy link
Owner

What do these commands return?

cat /var/lib/disk-compatibility/ds923+_host_v7.version && echo
cat /var/lib/disk-compatibility/ds923+_host_v7.release && echo

@R-a-K-i
Copy link
Author

R-a-K-i commented Jul 15, 2024

sh-4.4# cat /var/lib/disk-compatibility/ds923+_host_v7.version && echo
8028
sh-4.4# cat /var/lib/disk-compatibility/ds923+_host_v7.release && echo
20230915
sh-4.4#

@007revad
Copy link
Owner

That's the version from DSM 7.2.1 (with Update 1).

Interesting that storage manager thinks you have the latest version already.

@cb12tre
Copy link

cb12tre commented Jul 15, 2024

Try this:

sudo -i
synosetkeyvalue /var/packages/SynoOnlinePack_v2/INFO version 744

Then package center should let you install the downloaded SynoOfflinePack

No, same message:
image

@R-a-K-i
Copy link
Author

R-a-K-i commented Jul 15, 2024

That's the version from DSM 7.2.1 (with Update 1).

Interesting that storage manager thinks you have the latest version already.

image

@rylos
Copy link

rylos commented Jul 15, 2024

I've the same problem but dedup is ok, just firmware warning. I'm on DS923 7.2.1 update5:
image

Marco@NAS:/volume2/dev/Synology_HDD_db$ cat /var/lib/disk-compatibility/ds923+_host_v7.release && echo
20230915
Marco@NAS:/volume2/dev/Synology_HDD_db$ cat /var/lib/disk-compatibility/ds923+_host_v7.version && echo
8041

@rylos
Copy link

rylos commented Jul 17, 2024

I've made some more tests. If I disable dedupe with syno_enable_dedupe.sh --restore and then reboot my crycial M2 SSD are NOT marked as firmware unknow, all is OK. If i enable dedupe (I actually use syno_enable_dedupe.sh --hdd) when I reboot my crucial M2 SSD get the firmware warning.
I've also noticed that with automatic dedupe active on both my volume1 (SSD) and volume2 (HDD) in storage manager I can see only dedupe data for SSD and not for the volume2 HDD, see screen:
image

Dedupe is active for both volumes:
image

Will use my docker based "bees" deduplication (https://github.com/Zygo/bees) as before for now, lots of fine tune controls. Who is interested this is my repo with docker for synology: https://github.com/rylos/bees-docker

@007revad

@007revad
Copy link
Owner

@rylos

Nice detective work. Now have something to investigate.

I've previously suspected that syno_enable_m2_volume was causing the unrecognized firmware issue. Since syno_enable_m2_volume and syno_enable_dedupe are 99% the same it makes sense that it could cause this issue.

I've known about the missing "Deduplication Status" and "Deduplication Savings" for SATA SSDs and HDDs for a while. I previously spent a week trying to fix it but it was too difficult.

@007revad
Copy link
Owner

007revad commented Jul 19, 2024

@rylos , @jeprojects , @cb12tre , @R-a-K-i

For those that are seeing "Unrecognized firmware version" but everything else works as it should can you try this script:
https://github.com/007revad/Synology_HDD_db/blob/test/edit_extjs-patch.zip
image

If storage manager is already open, close it and open it again.

And let me know:

  1. If it got rid of the "Unrecognized firmware version" warning.
  2. If there are any issues.

If you have a problem you can run it with a --restore option to undo the change.

If this works for everyone I'll add it to syno_hdd_db

@jeprojects
Copy link

@007revad thanks for the test script (edit_extjs-patch.zip), I am still getting the "Unrecognized firmware version"

@cb12tre
Copy link

cb12tre commented Jul 22, 2024

The script 'edit_extjs-patch.zip' doesn't resolve the issue on my device either.

@007revad
Copy link
Owner

I've got a Crucial NVMe drive arriving tomorrow so I can see if I can reproduce the "Unrecognized firmware version". I fIc an reproduce it it will be a lot easier to fix it.

@cb12tre
Copy link

cb12tre commented Jul 30, 2024

I had the opportunity to replace the disk with a new one, the same brand (SOLIDIGM) and model but with a capacity of 1 TB, and I still get the same message regarding the firmware. Here are the details if they might be useful to you:

giorgio-admin@nas-c:~/scripts/Synology_HDD_db-3.5.97$ sudo -s ./syno_hdd_db.sh -s
Synology_HDD_db v3.5.97
DS920+ DSM 7.2.1-69057-5
StorageManager 1.0.0-0017

ds920+_host_v7 version 8000

Using options: -s
Running from: /volume1/homes/giorgio-admin/scripts/Synology_HDD_db-3.5.97/syno_hdd_db.sh

HDD/SSD models found: 2
WD60EFRX-68L0BN1,82.00A82,6000 GB
WD60EFZX-68B3FN0,81.00A81,6000 GB

M.2 drive models found: 2
SAMSUNG MZALQ512HALU-000L1,EL1QFXV7,512 GB
SOLIDIGM SSDPFKNU010TZH,HPS3,1024 GB

No M.2 PCIe cards found

No Expansion Units found

WD60EFRX-68L0BN1 already exists in ds920+_host_v7.db
WD60EFZX-68B3FN0 already exists in ds920+_host_v7.db
SAMSUNG MZALQ512HALU-000L1 already exists in ds920+_host_v7.db
SOLIDIGM SSDPFKNU010TZH already exists in ds920+_host_v7.db

Support disk compatibility already enabled.

Re-enabled support memory compatibility.

NVMe support already enabled.

M.2 volume support already enabled.

Re-enabled drive db auto updates.

WD60EFRX-68L0BN1:
{
  "82.00A82": {
    "compatibility_interval": [
      {
        "compatibility": "support",
        "not_yet_rolling_status": "support",
        "fw_dsm_update_status_notify": false,
        "barebone_installable": true,
        "smart_test_ignore": false,
        "smart_attr_ignore": false
      }
    ]
  },
  "default": {
    "compatibility_interval": [
      {
        "compatibility": "support",
        "not_yet_rolling_status": "support",
        "fw_dsm_update_status_notify": false,
        "barebone_installable": true,
        "smart_test_ignore": false,
        "smart_attr_ignore": false
      }
    ]
  }
}

WD60EFZX-68B3FN0:
{
  "81.00A81": {
    "size_gb": 6000,
    "compatibility_interval": [
      {
        "compatibility": "support",
        "not_yet_rolling_status": "support",
        "fw_dsm_update_status_notify": false,
        "barebone_installable": true,
        "barebone_installable_v2": "auto",
        "smart_test_ignore": false,
        "smart_attr_ignore": false
      }
    ]
  },
  "default": {
    "size_gb": 6000,
    "compatibility_interval": [
      {
        "compatibility": "support",
        "not_yet_rolling_status": "support",
        "fw_dsm_update_status_notify": false,
        "barebone_installable": true,
        "barebone_installable_v2": "auto",
        "smart_test_ignore": false,
        "smart_attr_ignore": false
      }
    ]
  }
}

SAMSUNG MZALQ512HALU-000L1:
{
  "EL1QFXV7": {
    "compatibility_interval": [
      {
        "compatibility": "support",
        "not_yet_rolling_status": "support",
        "fw_dsm_update_status_notify": false,
        "barebone_installable": true,
        "smart_test_ignore": false,
        "smart_attr_ignore": false
      }
    ]
  },
  "default": {
    "compatibility_interval": [
      {
        "compatibility": "support",
        "not_yet_rolling_status": "support",
        "fw_dsm_update_status_notify": false,
        "barebone_installable": true,
        "smart_test_ignore": false,
        "smart_attr_ignore": false
      }
    ]
  }
}

SOLIDIGM SSDPFKNU010TZH:
{
  "HPS3": {
    "size_gb": 1024,
    "compatibility_interval": [
      {
        "compatibility": "support",
        "not_yet_rolling_status": "support",
        "fw_dsm_update_status_notify": false,
        "barebone_installable": true,
        "barebone_installable_v2": "auto",
        "smart_test_ignore": false,
        "smart_attr_ignore": false
      }
    ]
  },
  "default": {
    "size_gb": 1024,
    "compatibility_interval": [
      {
        "compatibility": "support",
        "not_yet_rolling_status": "support",
        "fw_dsm_update_status_notify": false,
        "barebone_installable": true,
        "barebone_installable_v2": "auto",
        "smart_test_ignore": false,
        "smart_attr_ignore": false
      }
    ]
  }
}

DSM successfully checked disk compatibility.

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

SMART DATA:

giorgio-admin@nas-c:~/scripts/Synology_SMART_info-1.2.8$ sudo -s ./syno_smart_info.sh
Password:
Synology_SMART_info v1.2.8 - by 007revad
nas-c DS920+ DSM 7.2.1-69057-5

Drive 4  WD60EFZX-68B3FN0  WD-C813RB4G
SMART overall-health self-assessment test result: PASSED
SMART Error Counter Log:         No Errors Logged
  1 Raw_Read_Error_Rate          0
  5 Reallocated_Sector_Ct        0
  9 Power_On_Hours               5576
 10 Spin_Retry_Count             0
194 Temperature_Celsius          39
197 Current_Pending_Sector       0
198 Offline_Uncorrectable        0
199 UDMA_CRC_Error_Count         0
200 Multi_Zone_Error_Rate        0

Drive 2  WD60EFRX-68L0BN1  WD-WXC1HB4N805R
SMART overall-health self-assessment test result: PASSED
SMART Error Counter Log:         No Errors Logged
  1 Raw_Read_Error_Rate          0
  5 Reallocated_Sector_Ct        0
  9 Power_On_Hours               39678
 10 Spin_Retry_Count             0
194 Temperature_Celsius          39
197 Current_Pending_Sector       0
198 Offline_Uncorrectable        0
199 UDMA_CRC_Error_Count         0
200 Multi_Zone_Error_Rate        0

M.2 Drive 2  SOLIDIGM SSDPFKNU010TZH  BTEH34830YH31P0B
SMART Error Counter Log:         No Errors Logged
  1 Critical_Warning             0
  2 Temperature                  31 C
  5 Percentage Used              0%
 12 Power On Hours               14
 13 Unsafe Shutdowns             1
 14 Media Errors                 0

M.2 Drive 1  SAMSUNG MZALQ512HALU-000L1  S4YCNE0MA08573
SMART Error Counter Log:         No Errors Logged
  1 Critical_Warning             0
  2 Temperature                  29 C
  5 Percentage Used              2%
 12 Power On Hours               1,501
 13 Unsafe Shutdowns             70
 14 Media Errors                 0

Finished

@covein
Copy link

covein commented Aug 15, 2024

I have test this HDD.sh on SA6400 7.2-64570 update1-4 and the newest 7.2.1-69057-5:

  • only using hdd.sh - all things are fine.
  • but if I use M2_enable.sh, I can create Raid F1 for my 6 m2 drives, but 5 of these drives show "unrecognized firmware issue"; meantime, other hdds are normal.
image

@covein
Copy link

covein commented Aug 15, 2024

I have tried this scripts, https://github.com/007revad/Synology_HDD_db/blob/test/edit_extjs-patch.zip
but nothing changes.

@007revad
Copy link
Owner

007revad commented Aug 21, 2024

While running some tests with syno_hdd_db, syno_enable_m2_drive and syno_enable_dedupe I remembered, from 18 months ago, a few people needed to run the syno_hdd_db.sh -n 2 or 3 times before their drives all stopped showed as unverified.

Make sure to run syno_hdd_db with the -n option.

@007revad
Copy link
Owner

Can you try the following:

  1. Run syno_hdd_db with the --restore option.
  2. Update to https://github.com/007revad/Synology_HDD_db/releases/tag/v3.5.103 and run it.

@NeoXTof
Copy link

NeoXTof commented Nov 6, 2024

Hello,

I've the same issue (unrecognized firmware) on a DS1520+ (DSm 7.2.2-72806 update 1) with 2 Crucial P3 Plus 1To SSD

image

image

I'm already with latest version of the script.
image

I've tried to restore all change, manually update the drive DB, I'm still having the issue. It's just cosmetic, everything is working fine otherwise. But if you have a solution, it would be great !

Thanks in advance

@m0tt
Copy link

m0tt commented Nov 21, 2024

I have the same issue with Crucial 1TB M.2 PCIe Gen4 NVMe P3 Plus. Cosmetic but still it would be nice to fix it. :)

@wderuijter
Copy link

Yeah, I've got the same issue with the Crucial P3 Plus 1TB NVMe PCIe 4.0 x4 M.2 (Micron CT1000P3PSSD8) with firmware version P9CR413

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants