-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Mellanox] Advance hw-mgmt to v.7.0020.4104 (#13372)
- Why I did it Advance hw-mgmt service to V.7.0020.4100 Add missing thermal sensors that are supported by hw-mgmt package Delay system health service before hw-mgmt has started on Mellanox platform in order to avoid reading some sensors before ready. Depends on sonic-net/sonic-linux-kernel#305 - How I did it 1. Update hw mgmt version 2. Add missing sensors 3. Delay service - How to verify it Regression test. Signed-off-by: Stephen Sun <stephens@nvidia.com>
- Loading branch information
1 parent
73f5729
commit 76a5c75
Showing
11 changed files
with
78 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -67,6 +67,9 @@ | |
}, | ||
{ | ||
"name": "CPU Core 3 Temp" | ||
}, | ||
{ | ||
"name": "SODIMM 1 Temp" | ||
} | ||
], | ||
"sfps": [ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -67,6 +67,9 @@ | |
}, | ||
{ | ||
"name": "CPU Core 3 Temp" | ||
}, | ||
{ | ||
"name": "SODIMM 1 Temp" | ||
} | ||
], | ||
"sfps": [ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -114,6 +114,9 @@ | |
}, | ||
{ | ||
"name": "CPU Pack Temp" | ||
}, | ||
{ | ||
"name": "SODIMM 1 Temp" | ||
} | ||
], | ||
"sfps": [ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -114,6 +114,9 @@ | |
}, | ||
{ | ||
"name": "CPU Pack Temp" | ||
}, | ||
{ | ||
"name": "SODIMM 1 Temp" | ||
} | ||
], | ||
"sfps": [ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -101,6 +101,9 @@ | |
}, | ||
{ | ||
"name": "ASIC" | ||
}, | ||
{ | ||
"name": "SODIMM 1 Temp" | ||
} | ||
], | ||
"sfps": [{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
...rm/mellanox/hw-management/0004-Make-system-health-service-starts-after-hw-managemen.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
From 038bce6bf808ec9d082e96fec4184e060b3a85a9 Mon Sep 17 00:00:00 2001 | ||
From: Stephen Sun <stephens@nvidia.com> | ||
Date: Mon, 28 Nov 2022 03:55:14 +0000 | ||
Subject: [PATCH 4/4] Make system-health service starts after hw-management to | ||
avoid failures | ||
|
||
On SN2410, it can fail to read the file led_status_capability if it starts from ONIE | ||
|
||
Signed-off-by: Stephen Sun <stephens@nvidia.com> | ||
--- | ||
debian/hw-management.hw-management.service | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/debian/hw-management.hw-management.service b/debian/hw-management.hw-management.service | ||
index 1c25ffb..0fbd877 100755 | ||
--- a/debian/hw-management.hw-management.service | ||
+++ b/debian/hw-management.hw-management.service | ||
@@ -1,7 +1,7 @@ | ||
[Unit] | ||
Description=Chassis HW management service of Mellanox systems | ||
Documentation=man:hw-management.service(8) | ||
-Before=determine-reboot-cause.service | ||
+Before=determine-reboot-cause.service system-health.service | ||
|
||
[Service] | ||
Type=oneshot | ||
-- | ||
2.20.1 | ||
|
Submodule hw-mgmt
updated
70 files