Beware of EMC switches sold as Mellanox SX6XXX on eBay

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

Bjorn Smith

Well-Known Member
Sep 3, 2019
876
481
63
49
r00t.dk
What is your current firmware?
Code:
SX6018 [standalone: master] (config) # show version
Product name:      MLNX-OS
Product release:   3.6.1002
Build ID:          #1-dev
Build date:        2016-06-09 20:24:26
Target arch:       ppc
Target hw:         m460ex
Built by:          jenkins@fit-build-95
Version summary:   PPC_M460EX 3.6.1002 2016-06-09 20:24:26 ppc

Product model:     ppc
Product hw:        m460ex
Host ID:           MT1311X02003

Uptime:            1d 4h 31m 17.176s
CPU load averages: 1.22 / 1.23 / 1.24
Number of CPUs:    1
System memory:     828 MB used / 1199 MB free / 2027 MB total
Swap:              0 MB used / 0 MB free / 0 MB total
I already have the ethernet functionality, its not the reason I want to update. I just want to see if a newer version gives me better features.
 

Freebsd1976

Active Member
Feb 23, 2018
387
73
28
what if ,I said what if someone has genuine fru dump file? the binary patch still needs? or there have another way to do conversion?
 
  • Like
Reactions: SGS

SGS

Member
May 24, 2017
43
20
8
54
what if ,I said what if someone has genuine fru dump file?
An FRU EEPROM dump would remove the need to patch the files - next problem would be installing the image cleanly to allow for updates.
An SX1012 dump would probably be most desirable.
 

Freebsd1976

Active Member
Feb 23, 2018
387
73
28
An FRU EEPROM dump would remove the need to patch the files - next problem would be installing the image cleanly to allow for updates.
An SX1012 dump would probably be most desirable.
so now the question is if we can got a dump file ,howto write dump file to eeprom in the uboot ,this may very danger
 
Last edited:

SGS

Member
May 24, 2017
43
20
8
54
howto write dump file to eeprom in the uboot ,this may very danger
Using a hardware i2c programmer would be safe. There are various i2c headers on the board and a multiplexed i2c connector on the back of some sx6012s
 
Apr 21, 2016
56
25
18
43
has anyone attempted to make quiet these switches. or is sound reduction just not really possible with 40GB.
Yes, I've done this quite a long time ago. There are some parameters that you can tune in the firmware config and you can work with those. Let me know if you need more details - I'll have to look up a lot of old files :)
 

Freebsd1976

Active Member
Feb 23, 2018
387
73
28
Yes, I've done this quite a long time ago. There are some parameters that you can tune in the firmware config and you can work with those. Let me know if you need more details - I'll have to look up a lot of old files :)
I replace fan to reduce noise , nerver know firmware config to reduce noise. It is wonderful if you could share the information , thanks
 

SGS

Member
May 24, 2017
43
20
8
54
To stop the fan speed fluctuating if you use the Noctua PWMs, search and replace the following hex values in tc, hwd and health files which can be found under opt/tms

tc:
00 01 00 00 00 00 00 04 00 00 00 04 00 00 00 04 00 04 00 01 00 05 28 00 00 0A 28 00 00 00 00 63 00 00 00 00 00 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
->
00 01 00 00 00 00 00 04 00 00 00 04 00 00 00 04 00 04 00 01 00 0A 50 00 00 0A 50 00 00 00 00 63 00 00 00 00 00 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

hwd + health (you may as well patch all the files in the opt/tms tree though)

01 08 1E 00 00 00 00 00 08 00 00 46 50 00 00 00 00 00 00 32 C8 00 00 00 69 00 00 00 64 00 00 00 50 00 00 00 46 00 00 00 1F 00 00 00 01 00 00 00 01
->
01 50 1E 00 00 00 00 00 50 00 00 13 88 00 00 00 00 00 00 13 88 00 00 00 69 00 00 00 64 00 00 00 50 00 00 00 46 00 00 00 1F 00 00 00 01 00 00 00 01

These mods reduce the max fan speed to 5k RPM and the default speed to 4K RPM
 
  • Like
Reactions: klui

Freebsd1976

Active Member
Feb 23, 2018
387
73
28
To stop the fan speed fluctuating if you use the Noctua PWMs, search and replace the following hex values in tc, hwd and health files which can be found under opt/tms

tc:
00 01 00 00 00 00 00 04 00 00 00 04 00 00 00 04 00 04 00 01 00 05 28 00 00 0A 28 00 00 00 00 63 00 00 00 00 00 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
->
00 01 00 00 00 00 00 04 00 00 00 04 00 00 00 04 00 04 00 01 00 0A 50 00 00 0A 50 00 00 00 00 63 00 00 00 00 00 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

hwd + health (you may as well patch all the files in the opt/tms tree though)

01 08 1E 00 00 00 00 00 08 00 00 46 50 00 00 00 00 00 00 32 C8 00 00 00 69 00 00 00 64 00 00 00 50 00 00 00 46 00 00 00 1F 00 00 00 01 00 00 00 01
->
01 50 1E 00 00 00 00 00 50 00 00 13 88 00 00 00 00 00 00 13 88 00 00 00 69 00 00 00 64 00 00 00 50 00 00 00 46 00 00 00 1F 00 00 00 01 00 00 00 01

These mods reduce the max fan speed to 5k RPM and the default speed to 4K RPM
still can't find those vaules in the tc hwd and health file, did you do it on version 3.6.1002?
in tc , only silimar hex value is
000100000000000400000004000000040004000100050028000A0028000000630055FFFF0037FFFF000000000003000000000000
but your hex value is
000100000000000400000004000000040004000100052800000A280000000063000000000003000000000000000000000000000000000000


how to mod custom RPM like max 9k default 5k or max 6k default 5k ?
 
Last edited:
  • Like
Reactions: klui

SGS

Member
May 24, 2017
43
20
8
54
still can't find those vaules in the tc hwd and health file, did you do it on version 3.6.1002?
Sorry - these are valid for 3.6.6106 and I assumed they would be the same for earlier versions

to answer your question about custom max + default, see highlighted bytes below:
0x1388 = 5000
0x50 = 80(%)

tc:
00 01 00 00 00 00 00 04 00 00 00 04 00 00 00 04 00 04 00 01 00 0A 50 00 00 0A 50 00 00 00 00 63 00 00 00 00 00 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

hwd + health

01 50 1E 00 00 00 00 00 50 00 00 13 88 00 00 00 00 00 00 13 88 00 00 00 69 00 00 00 64 00 00 00 50 00 00 00 46 00 00 00 1F 00 00 00 01 00 00 00 01
 
  • Like
Reactions: klui

Freebsd1976

Active Member
Feb 23, 2018
387
73
28
Sorry - these are valid for 3.6.6106 and I assumed they would be the same for earlier versions

to answer your question about custom max + default, see highlighted bytes below:
0x1388 = 5000
0x50 = 80(%)

tc:
00 01 00 00 00 00 00 04 00 00 00 04 00 00 00 04 00 04 00 01 00 0A 50 00 00 0A 50 00 00 00 00 63 00 00 00 00 00 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

hwd + health

01 50 1E 00 00 00 00 00 50 00 00 13 88 00 00 00 00 00 00 13 88 00 00 00 69 00 00 00 64 00 00 00 50 00 00 00 46 00 00 00 1F 00 00 00 01 00 00 00 01
thanks , now need to find hex value in 3.6.1002

hwd + health still can' find hex value you post, most similar is
01000000080000001E000000080000465000000000000032C8000000690000006400000050000000460000001F000000010000000100000001
could I modify this and try?
 
  • Like
Reactions: klui

SGS

Member
May 24, 2017
43
20
8
54
Assuming the max rpm is the same in 3.6.1002 (13,000RPM for the psu and 18,000RPM for the chassis), you should be substituting 32C8 and 4650 with your chosen maximum. That area looks feasible - try it.
 
Last edited:
  • Like
Reactions: klui

SGS

Member
May 24, 2017
43
20
8
54
for 3.6.1002:
tc
min_fan_speed (%)

10 17 F2 7C 00 01 00 00 00 00 00 04 00 00 00 04
00 00 00 04 00 04 00 01 00 05 00 28 00 0A 00 28
00 00 00 63 00 55 FF FF 00 37 FF FF 00 00 00 00
00 03 00 00 00 00

hwd + health
default_fan_speed (%)
max_fan_speed

00 00 00 1F 00 00 00 01 00 00 00 01 00 00 00 00
00 00 00 00 00 00 00 01 00 00 00 01 00 00 00 00
00 00 00 00 00 00 00 00 00 0C 00 00 00 00 00 01
00 00 00 08 00 00 00 1E 00 00 00 08 00 00 46 50
00 00 00 00 00 00 32 C8 00 00 00 69 00 00 00 64
00 00 00 50 00 00 00 46 00 00 00 1F 00 00 00 01
00 00 00 01 00 00 00 01
 
Last edited:
  • Like
Reactions: klui

Freebsd1976

Active Member
Feb 23, 2018
387
73
28
for 3.6.1002:
tc
min_fan_speed (%)

10 17 F2 7C 00 01 00 00 00 00 00 04 00 00 00 04
00 00 00 04 00 04 00 01 00 05 00 28 00 0A 00 28
00 00 00 63 00 55 FF FF 00 37 FF FF 00 00 00 00
00 03 00 00 00 00

hwd + health
default_fan_speed (%)
max_fan_speed

00 00 00 1F 00 00 00 01 00 00 00 01 00 00 00 00
00 00 00 00 00 00 00 01 00 00 00 01 00 00 00 00
00 00 00 00 00 00 00 00 00 0C 00 00 00 00 00 01
00 00 00 08 00 00 00 1E 00 00 00 08 00 00 46 50
00 00 00 00 00 00 32 C8 00 00 00 69 00 00 00 64
00 00 00 50 00 00 00 46 00 00 00 1F 00 00 00 01
00 00 00 01 00 00 00 01 10 3C 88 E4 00 00 0B B8
thank you very much
 

Necrotyr

Active Member
Jun 25, 2017
206
52
28
Denmark
Is the default fan speed really 8%?

Should all three instances in the TC file be edited?
 
Last edited:

Freebsd1976

Active Member
Feb 23, 2018
387
73
28
I am not sure ,read the msx6005 firmware changelog found some thing interest:
Firmware Changes in Rev 9.3.2000
•Lowered the externally managed switches default fan speed from 80% to 60%

so i download 9.3.0000 9.3.2000 9.4.2000 also sx6012 firmware and extract configure to compare ,maybe this difference is the clue how to modify the firmware?

1 9.3000
[fan]
fan_en=1
fan0_pwm_duty_cycle=0x1a
fan0_mode = PWM_OUT
fan1_mode = TACHO_IN
fan2_mode = NOT_USED
fan3_mode = TACHO_IN
fan4_mode = NOT_USED
fan5_mode = TACHO_IN
fan6_mode = NOT_USED
fan7_mode = TACHO_IN
fan8_mode = NOT_USED
fan9_mode = NOT_USED
fan_group0_present_unq = 11
fan_group0_present_bank = 0
fan_group0_present_gpio = 0
fan_group0_good_led_unq = 11
fan_group0_good_led_bank = 0
fan_group0_good_led_gpio = 4
fan1_hi_limit_rpm = 21000
fan3_hi_limit_rpm = 21000
fan5_hi_limit_rpm = 21000
fan7_hi_limit_rpm = 21000


2 9.3.2000 (change 80% to 60% fan speed)
[fan]
fan_en=1
fan0_mode = PWM_OUT
fan1_mode = TACHO_IN
fan2_mode = NOT_USED
fan3_mode = TACHO_IN
fan4_mode = NOT_USED
fan5_mode = TACHO_IN
fan6_mode = NOT_USED
fan7_mode = TACHO_IN
fan8_mode = NOT_USED
fan9_mode = NOT_USED
fan_group0_present_unq = 11
fan_group0_present_bank = 0
fan_group0_present_gpio = 0
fan_group0_good_led_unq = 11
fan_group0_good_led_bank = 0
fan_group0_good_led_gpio = 4
fan1_hi_limit_rpm = 23000
fan3_hi_limit_rpm = 23000
fan5_hi_limit_rpm = 23000
fan7_hi_limit_rpm = 23000
fan0_pwm_duty_cycle= 103
fan1_pwm_duty_cycle= 103
fan2_pwm_duty_cycle= 103


3 9.4.2000
[fan]
fan_en=1
fan0_mode = PWM_OUT
fan1_mode = TACHO_IN
fan2_mode = NOT_USED
fan3_mode = TACHO_IN
fan4_mode = NOT_USED
fan5_mode = TACHO_IN
fan6_mode = NOT_USED
fan7_mode = TACHO_IN
fan8_mode = NOT_USED
fan9_mode = NOT_USED
fan_group0_present_unq = 11
fan_group0_present_bank = 0
fan_group0_present_gpio = 0
fan_group0_good_led_unq = 11
fan_group0_good_led_bank = 0
fan_group0_good_led_gpio = 4
fan1_hi_limit_rpm = 23000
fan3_hi_limit_rpm = 23000
fan5_hi_limit_rpm = 23000
fan7_hi_limit_rpm = 23000
fan0_pwm_duty_cycle= 103
fan1_pwm_duty_cycle= 103
fan2_pwm_duty_cycle= 103

4 sx6012

[fan]
fan_en=1
fan0_mode = PWM_OUT
fan1_mode = TACHO_IN
fan2_mode = NOT_USED
fan3_mode = TACHO_IN
fan4_mode = NOT_USED
fan5_mode = TACHO_IN
fan6_mode = NOT_USED
fan7_mode = TACHO_IN
fan8_mode = NOT_USED
fan9_mode = NOT_USED
fan1_hi_limit_rpm = 23000
fan3_hi_limit_rpm = 23000
fan5_hi_limit_rpm = 23000
fan7_hi_limit_rpm = 23000
 

Freebsd1976

Active Member
Feb 23, 2018
387
73
28
but now i little confuse about stock fan speed , delta-fan website say max speed 23000 , but those binary say it 13000 or 18000 , so don’t know which speed should set to max speed