Anyway, once it's logged in, you can indeed run flint from the system; there's no easy way to access the internal filesystem, as far as I can tell
@Labs posted the following in this thread that will help at
https://forums.servethehome.com/ind...-as-mellanox-sx6xxx-on-ebay.10786/post-227694
It involves using U-Boot and boot into single-user mode.
Thanks
@Rand__ for those commands. 3.6.1002 only has tc range. But there is no way to view default values. /var/log/messages shows a clue about them (on a patched tc binary) but I would think the qsfp and sx commands are for optics and not the chassis and I am reluctant to enable manual.
May 20 03:00:40 sx6012 hwd[4839]: TID 1208134112: [hwd.NOTICE]: hwd_set_initial_fan_speed: Set fan power, FRU:[MGMT], type:[MGMT], fan:[SPEED_BOARD1], fan type:[34,SX_FAN_2DRWR_FIX], number:[1] speed:[60%]
May 20 03:00:40 sx6012 hwd[4839]: TID 1208134112: [hwd.NOTICE]: hwd_set_initial_fan_speed: Set fan power, FRU:[MGMT], type:[MGMT], fan:[SPEED_BOARD2], fan type:[34,SX_FAN_2DRWR_FIX], number:[1] speed:[60%]
May 20 03:00:40 sx6012 hwd[4839]: TID 1208134112: [hwd.NOTICE]: hwd_set_initial_fan_speed: Set fan power, FRU:[MGMT], type:[MGMT], fan:[SPEED_BOARD3], fan type:[34,SX_FAN_2DRWR_FIX], number:[1] speed:[60%]
May 20 03:00:40 sx6012 hwd[4839]: TID 1208134112: [hwd.NOTICE]: hwd_set_initial_fan_speed: Set fan power, FRU:[MGMT], type:[MGMT], fan:[SPEED_BOARD4], fan type:[34,SX_FAN_2DRWR_FIX], number:[1] speed:[60%]
.
.
May 20 03:01:37 sx6012 health[4794]: [health.NOTICE]: health_sys_init_per_device_type: thresholds parameters :{ interrupt_enable:[1], spine_fan_max_rpm:[0], spine_fan_speed:[0], core_temp_max:[105], core_temp_min:[100], ambient_temp_max:[80], ambient_temp_min:[70], chassis_fan_max_rpm:[18000], chassis_fan_speed:[1440],ps_fan_max_rpm:[13000], ps_fan_speed:[1040] }
May 20 03:01:37 sx6012 health[4794]: [health.NOTICE]: health_sys_init_per_device_type: DB parameters:{ fans_size:[4], ps_size:[2], leaf_size:[1], spine_size:[0] }
.
.
May 20 03:01:37 sx6012 temp_control[4790]: [tc.NOTICE]: Initializing fan_board:[/MGMT/FAN1]
May 20 03:01:37 sx6012 temp_control[4790]: [tc.NOTICE]: Initializing fan_board:[/MGMT/FAN2]
May 20 03:01:37 sx6012 temp_control[4790]: [tc.NOTICE]: Initializing fan_board:[/MGMT/FAN3]
May 20 03:01:37 sx6012 temp_control[4790]: [tc.NOTICE]: Initializing fan_board:[/MGMT/FAN4]
May 20 03:01:37 sx6012 temp_control[4790]: [tc.NOTICE]: TC device type:[11,tc device Dingo] has:[1] Leaf's affected by chassis fans
May 20 03:01:37 sx6012 temp_control[4790]: [tc.NOTICE]: TC device type:[11,tc device Dingo] has:[0] Spine's affected by spine fans
May 20 03:01:37 sx6012 temp_control[4790]: [tc.NOTICE]: TC device type:[11,tc device Dingo] has:[0] management modules affected by chassis fans
May 20 03:01:37 sx6012 temp_control[4790]: [tc.NOTICE]: TC is setting Chassis fans to:[27%], Spine fans to:[27%] (minimal speed)
May 20 03:01:37 sx6012 mgmtd[4155]: [mgmtd.NOTICE]: Action ID 11: requested by: (system)
May 20 03:01:37 sx6012 mgmtd[4155]: [mgmtd.NOTICE]: Action ID 11: descr: Set Fan Speed
May 20 03:01:37 sx6012 mgmtd[4155]: [mgmtd.NOTICE]: Action ID 11: param: Set Fan Speed fan module: "/MGMT/FAN1"
May 20 03:01:37 sx6012 mgmtd[4155]: [mgmtd.NOTICE]: Action ID 11: param: Set Fan Speed fan number: 1
May 20 03:01:37 sx6012 mgmtd[4155]: [mgmtd.NOTICE]: Action ID 11: param: Set Fan Speed fan speed: 27
May 20 03:01:37 sx6012 hwd[4839]: TID 1208134112: [hwd.NOTICE]: hwd_handle_action_request: action:[/system/chassis/actions/set-fan-speed]
May 20 03:01:37 sx6012 hwd[4839]: TID 1208134112: [hwd.NOTICE]: handle_set_fan_action: Set fan speed, device:[/MGMT/FAN1] fan_num:[1] speed:[27%]
May 20 03:01:37 sx6012 mgmtd[4155]: [mgmtd.NOTICE]: Action ID 11: status: completed with success
May 20 03:01:37 sx6012 temp_control[4790]: [tc.NOTICE]: interval:[0], TC have changed board:[/MGMT/FAN1], fan_num:[1], to speed:[27%], from speed:[0%]
May 20 03:01:37 sx6012 mgmtd[4155]: [mgmtd.NOTICE]: Action ID 12: requested by: (system)
May 20 03:01:37 sx6012 mgmtd[4155]: [mgmtd.NOTICE]: Action ID 12: descr: Set Fan Speed
May 20 03:01:37 sx6012 mgmtd[4155]: [mgmtd.NOTICE]: Action ID 12: param: Set Fan Speed fan module: "/MGMT/FAN2"
May 20 03:01:37 sx6012 mgmtd[4155]: [mgmtd.NOTICE]: Action ID 12: param: Set Fan Speed fan number: 1
May 20 03:01:37 sx6012 mgmtd[4155]: [mgmtd.NOTICE]: Action ID 12: param: Set Fan Speed fan speed: 27
May 20 03:01:37 sx6012 hwd[4839]: TID 1208134112: [hwd.NOTICE]: hwd_handle_action_request: action:[/system/chassis/actions/set-fan-speed]
May 20 03:01:37 sx6012 hwd[4839]: TID 1208134112: [hwd.NOTICE]: handle_set_fan_action: Set fan speed, device:[/MGMT/FAN2] fan_num:[1] speed:[27%]
May 20 03:01:37 sx6012 mibd[4799]: [mibd.NOTICE]: mibd_init_fdr_license: license=SDR
May 20 03:01:37 sx6012 mgmtd[4155]: [mgmtd.NOTICE]: Action ID 12: status: completed with success
May 20 03:01:37 sx6012 temp_control[4790]: [tc.NOTICE]: interval:[0], TC have changed board:[/MGMT/FAN2], fan_num:[1], to speed:[27%], from speed:[0%]
May 20 03:01:37 sx6012 mgmtd[4155]: [mgmtd.NOTICE]: Action ID 13: requested by: (system)
May 20 03:01:37 sx6012 mgmtd[4155]: [mgmtd.NOTICE]: Action ID 13: descr: Set Fan Speed
May 20 03:01:37 sx6012 mgmtd[4155]: [mgmtd.NOTICE]: Action ID 13: param: Set Fan Speed fan module: "/MGMT/FAN3"
May 20 03:01:37 sx6012 mgmtd[4155]: [mgmtd.NOTICE]: Action ID 13: param: Set Fan Speed fan number: 1
May 20 03:01:37 sx6012 mgmtd[4155]: [mgmtd.NOTICE]: Action ID 13: param: Set Fan Speed fan speed: 27
May 20 03:01:37 sx6012 hwd[4839]: TID 1208134112: [hwd.NOTICE]: hwd_handle_action_request: action:[/system/chassis/actions/set-fan-speed]
May 20 03:01:37 sx6012 hwd[4839]: TID 1208134112: [hwd.NOTICE]: handle_set_fan_action: Set fan speed, device:[/MGMT/FAN3] fan_num:[1] speed:[27%]
May 20 03:01:37 sx6012 mgmtd[4155]: [mgmtd.NOTICE]: Action ID 13: status: completed with success
May 20 03:01:37 sx6012 temp_control[4790]: [tc.NOTICE]: interval:[0], TC have changed board:[/MGMT/FAN3], fan_num:[1], to speed:[27%], from speed:[0%]
May 20 03:01:37 sx6012 mgmtd[4155]: [mgmtd.NOTICE]: Action ID 14: requested by: (system)
May 20 03:01:37 sx6012 mgmtd[4155]: [mgmtd.NOTICE]: Action ID 14: descr: Set Fan Speed
May 20 03:01:37 sx6012 mgmtd[4155]: [mgmtd.NOTICE]: Action ID 14: param: Set Fan Speed fan module: "/MGMT/FAN4"
May 20 03:01:37 sx6012 mgmtd[4155]: [mgmtd.NOTICE]: Action ID 14: param: Set Fan Speed fan number: 1
May 20 03:01:37 sx6012 mgmtd[4155]: [mgmtd.NOTICE]: Action ID 14: param: Set Fan Speed fan speed: 27
May 20 03:01:37 sx6012 hwd[4839]: TID 1208134112: [hwd.NOTICE]: hwd_handle_action_request: action:[/system/chassis/actions/set-fan-speed]
May 20 03:01:37 sx6012 hwd[4839]: TID 1208134112: [hwd.NOTICE]: handle_set_fan_action: Set fan speed, device:[/MGMT/FAN4] fan_num:[1] speed:[27%]
May 20 03:01:37 sx6012 mgmtd[4155]: [mgmtd.NOTICE]: Action ID 14: status: completed with success
May 20 03:01:37 sx6012 temp_control[4790]: [tc.NOTICE]: interval:[0], TC have changed board:[/MGMT/FAN4], fan_num:[1], to speed:[27%], from speed:[0%]
May 20 03:01:37 sx6012 temp_control[4790]: [tc.NOTICE]: TC starts as:[tc device Dingo] mode
I'm not sure how to access /system/chassis paths through Mellanox's utilities. The mdreq/mddbreq seems to only look at initial/factory settings.