Skip to content

Commit

Permalink
[Mellanox] Integrate HW-MGMT 7.0040.2000 Changes (#21006)
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidZagury authored and mssonicbld committed Dec 10, 2024
1 parent 2b85f54 commit f76db82
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 19 deletions.
5 changes: 3 additions & 2 deletions platform/mellanox/hw-management.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#
# Copyright (c) 2016-2023 NVIDIA CORPORATION & AFFILIATES.
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2016-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -16,7 +17,7 @@
#
# Mellanox HW Management

MLNX_HW_MANAGEMENT_VERSION = 7.0040.1011
MLNX_HW_MANAGEMENT_VERSION = 7.0040.2000

export MLNX_HW_MANAGEMENT_VERSION

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 5a7bf8934772b94a2414f54cb3e343d0d1d81efd Mon Sep 17 00:00:00 2001
From: keboliu <kebol@mellanox.com>
Date: Fri, 15 Jan 2021 14:41:16 +0800
Subject: [PATCH 1/3] Make SONiC determine-reboot-cause service start after
From e588b87a2e80de284ea6e63563e27684acb2f56e Mon Sep 17 00:00:00 2001
From: davidza <davidza@nvidia.com>
Date: Tue, 15 Oct 2024 09:44:05 +0300
Subject: [PATCH 1/3] Make SONiC determine-reboot-cause service start after
hw-mgmt service

Signed-off-by: Kebo Liu <kebol@nvidia.com>
Expand All @@ -10,17 +10,17 @@ Signed-off-by: Kebo Liu <kebol@nvidia.com>
1 file changed, 1 insertion(+)

diff --git a/debian/hw-management.hw-management.service b/debian/hw-management.hw-management.service
index 8bdcaef5..1c25ffb2 100755
index 4bc1780e..1a50dc3c 100755
--- a/debian/hw-management.hw-management.service
+++ b/debian/hw-management.hw-management.service
@@ -1,6 +1,7 @@
[Unit]
@@ -2,6 +2,7 @@
Description=Chassis HW management service of Mellanox systems
Documentation=man:hw-management.service(8)
Wants=hw-management-sync.service
+Before=determine-reboot-cause.service

[Service]
Type=oneshot
--
2.30.2
2.34.1

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From e45320c61765b07f5d73f6c207f9f1d3b4d21721 Mon Sep 17 00:00:00 2001
From: Stephen Sun <stephens@nvidia.com>
Date: Mon, 28 Nov 2022 03:55:14 +0000
Subject: [PATCH 3/3] Make system-health service starts after hw-management to
From 69d083e05e39dc82567a338a59a2cefdcd022034 Mon Sep 17 00:00:00 2001
From: davidza <davidza@nvidia.com>
Date: Tue, 15 Oct 2024 09:51:11 +0300
Subject: [PATCH 3/3] 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
Expand All @@ -12,18 +12,18 @@ Signed-off-by: Stephen Sun <stephens@nvidia.com>
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/hw-management.hw-management.service b/debian/hw-management.hw-management.service
index 1c25ffb2..639bd3cd 100755
index 1a50dc3c..8a5c0423 100755
--- a/debian/hw-management.hw-management.service
+++ b/debian/hw-management.hw-management.service
@@ -1,7 +1,7 @@
[Unit]
@@ -2,7 +2,7 @@
Description=Chassis HW management service of Mellanox systems
Documentation=man:hw-management.service(8)
Wants=hw-management-sync.service
-Before=determine-reboot-cause.service
+Before=determine-reboot-cause.service system-health.service watchdog-control.service

[Service]
Type=oneshot
--
2.30.2
2.34.1

2 changes: 1 addition & 1 deletion platform/mellanox/hw-management/hw-mgmt
Submodule hw-mgmt updated 170 files

0 comments on commit f76db82

Please sign in to comment.