Change the default hw watchdog timer value to 3 mins from 10 mins.#4452
Closed
sujinmkang wants to merge 1 commit intosonic-net:201811from
sujinmkang:mlnx-wd-3min
Closed
Change the default hw watchdog timer value to 3 mins from 10 mins.#4452sujinmkang wants to merge 1 commit intosonic-net:201811from sujinmkang:mlnx-wd-3min
sujinmkang wants to merge 1 commit intosonic-net:201811from
sujinmkang:mlnx-wd-3min
Conversation
qiluo-msft
approved these changes
Apr 21, 2020
stepanblyschak
requested changes
Apr 21, 2020
| CPLD_LPC_WD_RESET_CAUSE_BIT=6 | ||
| CPLD_LPC_WD_RESET=1 | ||
| WD3_DFLT_TO=600 | ||
| WD3_DFLT_TO=180 |
Collaborator
There was a problem hiding this comment.
This script is a backport from newer hw-management package. Chaning it here means we need to change default in hw-management package in master. I suggest to change this in sonic-utlitiies, you can call this script like this:
hw-management-wd.sh start 180
Collaborator
Author
|
Closing this since "[mellanox] enable watchdog before fast-reboot #844" included this solution. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
- What I did
Reduced the default watchdog timeout to 3 mins.
- How I did it
- How to verify it
Run /usr/bin/watchdog -e to arm the hw watchdog
Wait for 3 minutes and see if the device reboots
- Description for the changelog
During the fast-reboot, the device gets stuck in bad state.
To avoid the device hang status, this change will be part of enabling watchdog during fast-reboot for MLNX platform.
- A picture of a cute animal (not mandatory but encouraged)