From f35773744600d02d76c82771d85f7b6f7455a294 Mon Sep 17 00:00:00 2001 From: Sonic Build Admin Date: Fri, 30 May 2025 02:19:24 +0000 Subject: [PATCH] [platform][arista] Fix NVMe sensor chip address in sensors.conf for 7060X6-64PE-B #### Why I did it The `sensors.conf` file was referencing a non-existent NVMe PCI address (`nvme-pci-0500`) on the Arista-7060X6-64PE-B platform. This mismatch caused `pmon#sensord` to report repeated I/O errors while attempting to read sensor data for a non-existent device (`nvme/#7`). Updating the config to use the correct PCI address (`nvme-pci-0400`) resolves the issue. ##### Work item tracking - Microsoft ADO **(number only)**: 32849896 #### How I did it Modified `sensors.conf` to change the chip identifier from `nvme-pci-0500` to `nvme-pci-0400` to match the actual hardware PCI bus location. #### How to verify it - Verified that the `/dev/nvme*` devices are present and functional - Confirmed correct PCI ID using `lspci` ``` $ show plat sum Platform: x86_64-arista_7060x6_64pe_b HwSKU: Arista-7060X6-64PE-B-C512S2 ASIC: broadcom ASIC Count: 1 Serial Number: XXXXXXXX Model Number: DCS-7060X6-64PE-B Hardware Revision: 02.00 $ lspci -nn | grep -i nvme 04:00.0 Non-Volatile memory controller [0108]: Phison Electronics Corporation E18 PCIe4 NVMe Controller [1987:5018] (rev 01) ``` - Edited `sensors.conf` and restarted `pmon` (`systemctl restart pmon`) - Monitored logs to ensure `pmon#sensord` no longer reports I/O errors for `nvme/#7` #### Which release branch to backport (provide reason below if selected) - [ ] 201811 - [ ] 201911 - [ ] 202006 - [ ] 202012 - [ ] 202106 - [ ] 202111 - [ ] 202205 - [ ] 202211 - [ ] 202305 - [x] 202412 #### Tested branch (Please provide the tested image version) - [SONiC.20241211.16 ] #### Description for the changelog Fix `sensors.conf` NVMe chip config for Arista-7060X6-64PE-B to match actual PCI address and prevent pmon sensor read errors #### Link to config_db schema for YANG module changes #### A picture of a cute animal (not mandatory but encouraged) --- device/arista/x86_64-arista_7060x6_64pe_b/sensors.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/device/arista/x86_64-arista_7060x6_64pe_b/sensors.conf b/device/arista/x86_64-arista_7060x6_64pe_b/sensors.conf index 5fc3399d16b..7b603a04355 100644 --- a/device/arista/x86_64-arista_7060x6_64pe_b/sensors.conf +++ b/device/arista/x86_64-arista_7060x6_64pe_b/sensors.conf @@ -8,7 +8,7 @@ chip "max6581-i2c-27-4d" ignore temp7 ignore temp8 -chip "nvme-pci-0500" +chip "nvme-pci-0400" # TODO: sensors complaining about tempX_min and tempX_max ignore temp2 ignore temp3