sonic-buildimage/device/mellanox/x86_64-mlnx_msn4600c-r0
Volodymyr Samotiy f1d6655004
[Mellanox] Disable SSD NCQ on Mellanox platforms (#17567)
- Why I did it
Based on some research some products might experience an occasional IO failures in the communication between CPU and SSD because of NCQ.
There seems to be a problem between some kernel versions and some SATA controllers.

Syslog error message examples:

Error "ata1: SError: { UnrecovData Handshk }" - "failed command: WRITE FPDMA QUEUED".
Error "ata1: SError: { RecovComm HostInt PHYRdyChg CommWake 10B8B DevExch }" - "failed command: READ FPDMA QUEUED".
Some vendors already disabled NCQ on their platforms in SONiC due to similar issue:

[Arista] Disable ATA NCQ for a few products #13739 [Arista] Disable ATA NCQ for a few products
[Arista] Disable SSD NCQ on DCS-7050CX3-32S #13964 [Arista] Disable SSD NCQ on DCS-7050CX3-32S
Also there are other discussions on Debian/Ubuntu forums about similar issues and it was suggested to disable NCQ:

https://askubuntu.com/questions/133946/are-these-sata-errors-dangerous

- How I did it
Add a kernel parameter to tell libata to disable NCQ

- How to verify it
Use FIO tool - fio --direct=1 --rw=randrw --bs=64k --ioengine=libaio --iodepth=64 --runtime=120 --numjobs=4
2024-01-28 16:26:07 +02:00
..
ACS-MSN4600C [ppi]: Enable global port late create for all Mellanox HWSKUs. (#16945) 2023-11-01 21:50:14 -07:00
Mellanox-SN4600C-C64 [Mellanox][Switching Mode] Enable Store-And-Forward switching mode on specific platforms (#16781) 2023-10-09 19:00:02 +03:00
Mellanox-SN4600C-D48C40 [ppi]: Enable global port late create for all Mellanox HWSKUs. (#16945) 2023-11-01 21:50:14 -07:00
Mellanox-SN4600C-D100C12S2 [ppi]: Enable global port late create for all Mellanox HWSKUs. (#16945) 2023-11-01 21:50:14 -07:00
Mellanox-SN4600C-D112C8 [ppi]: Enable global port late create for all Mellanox HWSKUs. (#16945) 2023-11-01 21:50:14 -07:00
plugins [Mellanox] Add a new Mellanox platform x86_64-mlnx_msn4600c and new SKU ACS-MSN4600C (#4483) 2020-04-30 00:30:11 -07:00
default_sku [Mellanox] Add a new Mellanox platform x86_64-mlnx_msn4600c and new SKU ACS-MSN4600C (#4483) 2020-04-30 00:30:11 -07:00
get_sensors_conf_path [Mellanox] Add Sensor conf to support respined platforms(SN3700/SN3700C/SN4600C) (#11553) 2022-08-10 18:09:10 +03:00
installer.conf [Mellanox] Disable SSD NCQ on Mellanox platforms (#17567) 2024-01-28 16:26:07 +02:00
pcie.yaml [master] Mellanox: 2700, 4600c - Quoted device IDs to prevent false flags in pcied (#15896) 2023-07-18 21:14:00 -07:00
platform_asic Add platform_asic file to each platform folder in sonic-device-data based package (#8542) 2021-10-08 19:27:48 -07:00
platform_components.json [Mellanox] Update platform components config files. (#5685) 2020-10-25 19:44:37 +02:00
platform_reboot [Mellanox] Add a new Mellanox platform x86_64-mlnx_msn4600c and new SKU ACS-MSN4600C (#4483) 2020-04-30 00:30:11 -07:00
platform_wait [Mellanox] Add a new Mellanox platform x86_64-mlnx_msn4600c and new SKU ACS-MSN4600C (#4483) 2020-04-30 00:30:11 -07:00
platform.json [Mellanox] Fix issue: SN4600C has 4 CPU core temperature sensors (#9930) 2022-02-09 13:26:40 +02:00
pmon_daemon_control.json [Mellanox] Add a new Mellanox platform x86_64-mlnx_msn4600c and new SKU ACS-MSN4600C (#4483) 2020-04-30 00:30:11 -07:00
sensors_respin.conf [Mellanox] Revise label name and fix typo in sensor.conf of 4600C (#16271) 2023-08-31 19:41:12 +03:00
sensors_respin.conf.a1 [Mellanox] Add Sensor conf to support respined platforms(SN3700/SN3700C/SN4600C) (#11553) 2022-08-10 18:09:10 +03:00
sensors.conf Update sensor names for msn4600c for the 5.10 kernel (#11491) 2022-08-29 11:34:23 -07:00
sensors.conf.a1 [Mellanox] Auto correct PSU voltage threshold (WA) (#10394) 2022-04-14 08:14:40 +03:00
system_health_monitoring_config.json [Mellanox] Add system health configuration file for Mellanox platforms (#4834) 2020-07-13 10:20:22 -07:00
thermal_policy.json [Mellanox] Enhancement for fan led management (#4437) 2020-05-13 10:01:32 -07:00