Skip to content

Export reboot_reason sysfs attribute for DellEMC S6100/Z9100#2922

Merged
lguohan merged 1 commit intosonic-net:masterfrom
paavaanan:reboot-reason-6100-9100
May 20, 2019
Merged

Export reboot_reason sysfs attribute for DellEMC S6100/Z9100#2922
lguohan merged 1 commit intosonic-net:masterfrom
paavaanan:reboot-reason-6100-9100

Conversation

@paavaanan
Copy link
Contributor

- What I did
-Added sysfs attribute to export reboot-cause register.

- How I did it

  • smf_reset_reason attribute is exported in hwmon.

- How to verify it

  • warm reboot
    root@sonic:/sys/devices/platform/SMF.512/hwmon/hwmon1# cat smf_reset_reason
    55
  • watchdog reboot
    root@sonic:/home/admin# cat /sys/devices/platform/SMF.512/hwmon/hwmon0/smf_reset_reason
    33
    root@sonic:/home/admin#

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

@paavaanan
Copy link
Contributor Author

This can be cherrypicked for November branch

@lguohan lguohan merged commit 85077a9 into sonic-net:master May 20, 2019
MichelMoriniaux pushed a commit to criteo-forks/sonic-buildimage that referenced this pull request May 28, 2019
yxieca pushed a commit that referenced this pull request Aug 11, 2023
…atically (#16110)

src/sonic-utilities

* 0f001c56 - (HEAD -> 202205, origin/202205) UT change: for db_migrator test do not check for RESTAPI cert values (#2919) (4 hours ago) [Vaibhav Hemant Dixit]
* 69d348d1 - [CLI][Show][BGP] Show BGP Change for no neighbor scenario (#2885) (6 hours ago) [Dev Ojha]
* 4c6af3c3 - [multi-asic] Refine [override config table] for corner cases (#2918) (6 hours ago) [wenyiz2021]
* bef3ffeb - [db_migrator] Set docker_routing_config_mode to the value obtained from minigraph parser (#2890) (#2922) (7 hours ago) [Vaibhav Hemant Dixit]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants