Skip to content

[Mellanox] Add 'hw-management-generate-dump.sh' to 'show techsupport' command#934

Merged
jleveque merged 1 commit intosonic-net:201911from
shlomibitton:shlomi_add_hw_mgmt_techsupport_201911
Jun 11, 2020
Merged

[Mellanox] Add 'hw-management-generate-dump.sh' to 'show techsupport' command#934
jleveque merged 1 commit intosonic-net:201911from
shlomibitton:shlomi_add_hw_mgmt_techsupport_201911

Conversation

@shlomibitton
Copy link
Copy Markdown
Contributor

- What I did
Added 'hw-management-generate-dump.sh' to 'generate_dump' script.
this addon will provide new information under the dump folder regarding hw-mgmt.
New information:

  • SMBIOS info - version, system info, base board info
  • FW info
  • hw-management tree (the fs tree under /var/run/hw-management).
  • system fs tree contains: block, bus, class, kernel, power etc..
  • system interrupts.
  • registers status.
  • system sensors data.
  • system log.
  • Linux version and build.
  • current processes,'top' output.

- How to verify it
run 'show techsupport' command and see the result file under
/var/dump/sonic_dump_'hostname'_'time'/hw-mgmt

@keboliu
Copy link
Copy Markdown
Collaborator

keboliu commented Jun 9, 2020

Retest this please

Signed-off-by: Shlomi Bitton <shlomibi@mellanox.com>
@jleveque jleveque merged commit 62cf457 into sonic-net:201911 Jun 11, 2020
@shlomibitton shlomibitton deleted the shlomi_add_hw_mgmt_techsupport_201911 branch March 24, 2021 20:42
stepanblyschak pushed a commit to stepanblyschak/sonic-utilities that referenced this pull request Apr 28, 2022
 [201911][thermal control] Backport changes from master branch (sonic-net#929)
     [201911][config] Support abbreviation (sonic-net#933)
       Add 'hw-management-generate-dump.sh' to 'show techsupport'
       command (sonic-net#934)
       [fwutil]: Update fwutil to v2.0.0.0. (sonic-net#942)
       Fixes bug for PFCWD feature parameters (sonic-net#838)
     Fixed fast-reboot for BFN platform (sonic-net#871)
     [config] Add 'interface transceiver' subgroup with 'lpmode' and
     'reset' subcommands (sonic-net#904)
      [warm-reboot]: added pre-check for ISSU file (sonic-net#915)
       [config] Don't attempt to restart disabled services (sonic-net#944)
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.

5 participants