Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install dmidecode package for ARM platforms #1

Closed
wants to merge 2 commits into from

Conversation

ram25794
Copy link
Owner

Why I did it

The platform dump in the tech support bundle was missing the dmidecode output. This occurred because dmidecode was not installed on the DPUs running the Smart Switch master branch.

Work item tracking
  • Microsoft ADO (number only):

How I did it

The platform dump in the tech support bundle was missing the dmidecode output due to dmidecode not being installed on the DPUs running the Smart Switch master branch. I’ve now added dmidecode to the list of required packages to be installed on the DPU.

How to verify it

I’ve verified the tech support output on one of the devices after applying the fix, and it now includes the dmidecode output as expected.

Before Fix:

dmidecode -t1 -t2 -t 11
bash: dmidecode: command not found

After Fix:

dmidecode --help
Usage: dmidecode [OPTIONS]
Options are:
-d, --dev-mem FILE Read memory from device FILE (default: /dev/mem)
-h, --help Display this help text and exit
-q, --quiet Less verbose output
-s, --string KEYWORD Only display the value of the given DMI string
-t, --type TYPE Only display the entries of given type
-H, --handle HANDLE Only display the entry of given handle
-u, --dump Do not decode the entries
--dump-bin FILE Dump the DMI data to a binary file
--from-dump FILE Read the DMI data from a binary file
--no-sysfs Do not attempt to read DMI data from sysfs files
--oem-string N Only display the value of the given OEM string
-V, --version Display the version and exit

platform-dump# ls
bin dmidecode lsmod mlxbf-ptm-dump platform-dump.tar.gz sys_version
dmesg interrupts lspci mstdump_mt41692_pciconf0 sysfs_tree top

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211
  • 202305

Tested branch (Please provide the tested image version)

Description for the changelog

Link to config_db schema for YANG module changes

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

Signed-off-by: ram25794 <ssingamala@nvidia.com>
@ram25794 ram25794 self-assigned this Jan 24, 2025
Signed-off-by: ram25794 <ssingamala@nvidia.com>
@ram25794 ram25794 closed this Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants