Skip to content

[Mellanox] Fix generate_dump sysfs copy to copy only files with permission - #19

Closed
noaOrMlnx wants to merge 2 commits into
masterfrom
techsupport_frequency_fix
Closed

[Mellanox] Fix generate_dump sysfs copy to copy only files with permission#19
noaOrMlnx wants to merge 2 commits into
masterfrom
techsupport_frequency_fix

Conversation

@noaOrMlnx

@noaOrMlnx noaOrMlnx commented Nov 19, 2025

Copy link
Copy Markdown
Owner

What I did

Fix generate dump script to only copy valid files:

  • If the module is not present, copy only presence files.
    error: ERR kernel: sxd_kernel: [error] show_module_frequency: __sx_core_get_module_frequency failed (-14) for module64
  • If frequency_support value is 0, don't copy frequency sysfs
    error: ERR kernel: [ 858.655221] sxd_kernel: [error] __sx_core_get_module_frequency: Frequency read is not supported.

How I did it

check the above files content before copying all

How to verify it

run 'show techsupport' on Nvidia switch and validate output

Previous command output (if the output of a command-line utility has changed)

New command output (if the output of a command-line utility has changed)

@noaOrMlnx noaOrMlnx closed this Apr 15, 2026
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.

2 participants