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.

Kahooli

Member
Dec 3, 2022
49
35
18
It's rebooting because there's a major error.

Code:
May 20 14:00:33 SX6012-1 portd[8262]: TID 1208141792: [portd.WARNING]: Daemon [IBD] failed to configure one of the ports of device [1, MGMT] Sends device error to hwd.
May 20 14:00:33 SX6012-1 portd[8262]: TID 1208141792: [portd.WARNING]: Portd prepares device error event for device 1, MGMT/1
 

Carpenter

New Member
Apr 11, 2023
3
5
3
Germany
Yes, I know, that's why I've added these lines of the log file, but perhaps I should add the lines occurring before too.

The following lines has been logged before the [portd.WARNING]:
May 20 14:00:31 SX6012-1 mgmtd[7880]: [mgmtd.NOTICE]: Action ID 14: status: completed with success
May 20 14:00:31 SX6012-1 ufma[8118]: TID 1216550016: [ufma.NOTICE]: Received event: /net/interface/events/state_change
May 20 14:00:31 SX6012-1 portd[8262]: TID 1208141792: [portd.NOTICE]: Device: [1, MGMT] [Ready]: All internal ports for device configured with [Success]
May 20 14:00:31 SX6012-1 pm[7878]: [pm.NOTICE]: Launched clusterd (Clustering Daemon) with pid 8499
May 20 14:00:31 SX6012-1 clusterd[8499]: [clusterd.NOTICE]: Cluster daemon launched
May 20 14:00:31 SX6012-1 portd[8262]: TID 1208141792: [portd.NOTICE]: Expose N+1 virtual nodes
May 20 14:00:31 SX6012-1 portd[8262]: TID 1208141792: [portd.NOTICE]: Portd handles device ready event for device: [1, MGMT]
May 20 14:00:31 SX6012-1 sched[8444]: [sched.NOTICE]: PORT_FWD_MODE cli module initialized.
May 20 14:00:32 SX6012-1 clusterd[8499]: [clusterd.NOTICE]: mlnx_init_golden_profile: golden-profile = 4
May 20 14:00:32 SX6012-1 clusterd[8499]: [clusterd.NOTICE]: HA import profile changed from 'sm'/mellanox_none to 'sm'/mellanox_sm
May 20 14:00:32 SX6012-1 portd[8262]: TID 1208141792: [portd.NOTICE]: Portd sends port enable event for device on init: [1, MGMT/1]. Number of ports to configure: [12]
May 20 14:00:32 SX6012-1 ibd[8316]: TID 1208132064: [ibd.NOTICE]: Received event: /portd/events/port-enable
May 20 14:00:32 SX6012-1 ibd[8316]: TID 1208132064: [ibd.NOTICE]: IBD handles device port enable event for device: 1, MGMT
May 20 14:00:32 SX6012-1 ibd[8316]: TID 1208132064: [ibd.NOTICE]: IBD configures port attributes for device: [1, MGMT], label port: [4]
May 20 14:00:32 SX6012-1 portmond[8252]: TID 1216550032: [portmond.NOTICE]: handling /portd/events/port-enable event
May 20 14:00:32 SX6012-1 portmond[8252]: TID 1216550032: [portmond.NOTICE]: portmond handles port enable event for operation 0
May 20 14:00:32 SX6012-1 ibd[8316]: TID 1208132064: [ibd.ERR]: SDK LOG MESSAGE: module: [COMMAND_IFC] : [sxd_ioctl (CTRL_CMD_ACCESS_REG - PTYS) FW error: [BAD PARAMETER] ]
May 20 14:00:32 SX6012-1 ibd[8316]: TID 1208132064: [ibd.ERR]: SDK LOG MESSAGE: module: [ACCESS_REG] : [Failed accessing PTYS register through CMD IFC ]
May 20 14:00:32 SX6012-1 portmond[8252]: TID 1216550032: [portmond.NOTICE]: PORTMOND sent device [1] port enable done event to portd with [Success] status, number of configured ports 12, Init flow
May 20 14:00:32 SX6012-1 kernel: sx_core: get_operation_tlv: Err: Got status 0x7 for register 0x5004
May 20 14:00:32 SX6012-1 portd[8262]: TID 1208141792: [portd.NOTICE]: Received event: /portd/events/port-enable-done
May 20 14:00:32 SX6012-1 portd[8262]: TID 1208141792: [portd.NOTICE]: Portd handles enable port done event from daemon: [PORT MOND] for device: [1, MGMT]. Number of configured ports: [12]
May 20 14:00:32 SX6012-1 topo_mgr[8264]: TID 1216550032: [topod.NOTICE]: Received event:[/portd/events/port-enable-done]
May 20 14:00:32 SX6012-1 clusterd[8499]: [clusterd.NOTICE]: mlnx_init_internal: Initial HA profile=sm(mellanox_sm)
May 20 14:00:32 SX6012-1 clusterd[8499]: [clusterd.NOTICE]: mlnx_init_internal: 5 mDNS node configuration tuples:
May 20 14:00:32 SX6012-1 clusterd[8499]: [clusterd.NOTICE]: mlnx_init_internal: ha-profile = sm
May 20 14:00:32 SX6012-1 clusterd[8499]: [clusterd.NOTICE]: mlnx_init_internal: os-release = 3.6.8012
May 20 14:00:32 SX6012-1 clusterd[8499]: [clusterd.NOTICE]: mlnx_init_internal: system-type = SX6012
May 20 14:00:32 SX6012-1 clusterd[8499]: [clusterd.NOTICE]: mlnx_init_internal: golden-profile = 4
May 20 14:00:32 SX6012-1 clusterd[8499]: [clusterd.NOTICE]: mlnx_init_internal: cpu-type = ppc
May 20 14:00:32 SX6012-1 ibd[8316]: TID 1208132064: [ibd.ERR]: SDK LOG MESSAGE: module: [COMMAND_IFC] : [sxd_ioctl (CTRL_CMD_ACCESS_REG - PTYS) FW error: [BAD PARAMETER] ]
May 20 14:00:32 SX6012-1 ibd[8316]: TID 1208132064: [ibd.ERR]: SDK LOG MESSAGE: module: [ACCESS_REG] : [Failed accessing PTYS register through CMD IFC ]
May 20 14:00:32 SX6012-1 issd[8361]: TID 1366865040: [issd.NOTICE]: setting lldp module to no shutdown
May 20 14:00:32 SX6012-1 issd[8361]: TID 1366865040: [issd.NOTICE]: issd_lldp_init no shutdown on lldp
May 20 14:00:32 SX6012-1 kernel: sx_core: get_operation_tlv: Err: Got status 0x7 for register 0x5004
May 20 14:00:32 SX6012-1 issd[8361]: TID 1366865040: [issd.NOTICE]: setting lldp sysname to SX6012-1
May 20 14:00:32 SX6012-1 issd[8361]: TID 1366865040: [issd.NOTICE]: Setting LLDP sysdescr: SX6012,MLNX-OS,SWv3.6.8012
May 20 14:00:32 SX6012-1 ibd[8316]: TID 1208132064: [ibd.ERR]: SDK LOG MESSAGE: module: [COMMAND_IFC] : [sxd_ioctl (CTRL_CMD_ACCESS_REG - PTYS) FW error: [BAD PARAMETER] ]
May 20 14:00:32 SX6012-1 ibd[8316]: TID 1208132064: [ibd.ERR]: SDK LOG MESSAGE: module: [ACCESS_REG] : [Failed accessing PTYS register through CMD IFC ]
May 20 14:00:32 SX6012-1 kernel: sx_core: get_operation_tlv: Err: Got status 0x7 for register 0x5004
May 20 14:00:32 SX6012-1 issd[8361]: TID 1366865040: [issd.NOTICE]: iss and issd are already updated with 300 time
May 20 14:00:33 SX6012-1 clusterd[8499]: [clusterd.NOTICE]: set cluster master preference to 50
May 20 14:00:33 SX6012-1 clusterd[8499]: [clusterd.NOTICE]: cluster mDNS enable"true"
May 20 14:00:33 SX6012-1 clusterd[8499]: [clusterd.NOTICE]: master change event sent: false
May 20 14:00:33 SX6012-1 clusterd[8499]: [clusterd.NOTICE]: standby change event sent: false
May 20 14:00:33 SX6012-1 mlagd[8282]: TID 1224950928: [mlagd.NOTICE]: got event '/ha/events/join'
May 20 14:00:33 SX6012-1 mlagd[8282]: TID 1224950928: [mlagd.NOTICE]: Join event received for host ID 123212341234
May 20 14:00:33 SX6012-1 mlagd[8282]: TID 1224950928: [mlagd.NOTICE]: received join event on this node - aborting
May 20 14:00:33 SX6012-1 clusterd[8499]: [clusterd.NOTICE]: master vip: cleared any old vip
May 20 14:00:33 SX6012-1 clusterd[8499]: [clusterd.NOTICE]: Master has been detected , update mDNSResponder enable state [Enabled]
May 20 14:00:33 SX6012-1 clusterd[8499]: [clusterd.NOTICE]: cl_config_mdns_enable: role=disabled
May 20 14:00:33 SX6012-1 ibd[8316]: TID 1208132064: [ibd.ERR]: Failed interacting with PTYS register command: [SET] for device id: [1] swid id: [2] error: [15: FW RETURN VALUE != SUCCESS]
May 20 14:00:33 SX6012-1 ibd[8316]: TID 1208132064: [ibd.ERR]: set_ptys_reg(), swidapi.c:2160, build 1: Error code 14000 (generic error) returned
May 20 14:00:33 SX6012-1 ibd[8316]: TID 1208132064: [ibd.NOTICE]: sa_set_port_admin_cap: IB SWID API: set port speed failed , maybe a mismatch between FRU speed & FW INI speed ,SWID: [2], device id: [1], local port: [1]
May 20 14:00:33 SX6012-1 ibd[8316]: TID 1208132064: [ibd.ERR]: sa_set_port_admin_cap(), swidapi.c:469, build 1: Error code 14000 (generic error) returned
May 20 14:00:33 SX6012-1 ibd[8316]: TID 1208132064: [ibd.WARNING]: ibd_configure_port_attributes(), ibd_main.c:10357, build 1: Unable to set port admin capabilities - width:[5], speed:[15], mtu:[4096] vl:[8] fec:[0]. Error was: 14000 UNKNOWN
May 20 14:00:33 SX6012-1 ibd[8316]: TID 1208132064: [ibd.ERR]: ibd_configure_port_attributes(), ibd_main.c:10358, build 1: Error code 14000 (generic error) returned
May 20 14:00:33 SX6012-1 ibd[8316]: TID 1208132064: [ibd.ERR]: ibd_handle_init_device_port_enable_event(), ibd_main.c:9375, build 1: Error code 14000 (generic error) returned
May 20 14:00:33 SX6012-1 ibd[8316]: TID 1208132064: [ibd.NOTICE]: IBD sends device [1, MGMT/1] port enable done event to portd with [Failure] status. Number of configured ports: [0]
May 20 14:00:33 SX6012-1 ibd[8316]: TID 1208132064: [ibd.ERR]: ibd_handle_device_port_enable_event(), ibd_main.c:11437, build 1: Error code 14000 (generic error) returned
May 20 14:00:33 SX6012-1 ibd[8316]: TID 1208132064: [ibd.ERR]: ibd_handle_event_request(), ibd_main.c:2055, build 1: Error code 14000 (generic error) returned
May 20 14:00:33 SX6012-1 portd[8262]: TID 1208141792: [portd.NOTICE]: Received event: /portd/events/port-enable-done
May 20 14:00:33 SX6012-1 portd[8262]: TID 1208141792: [portd.WARNING]: Daemon [IBD] failed to configure one of the ports of device [1, MGMT] Sends device error to hwd.
May 20 14:00:33 SX6012-1 portd[8262]: TID 1208141792: [portd.WARNING]: Portd prepares device error event for device 1, MGMT/1

Question
Is this a known error indicating a missing or wrong step of the conversion process?

If not, I will proceed the conversion a third time. This time based on the new conversion guide v1.12.
 
Last edited:

Carpenter

New Member
Apr 11, 2023
3
5
3
Germany
I've proceeded the third conversion attempt of my EMC SX6012 switch, this time based on the "short version" (provided by @Stephan) of the new conversion guide v1.12.
Everything works great now! :cool:

The only hurdle I had to overcome was activating the two Ethernet interfaces after booting the HP factory mini-Linux. Unfortunately, these were not automatically activated because the MAC address of both interfaces was filled with zeros.
Fortunately, I had already determined and noted the two MAC addresses of the interfaces during the two conversion attempts based on the old conversion guide v1.2. So I was able to reuse them here.

With the following commands I've activated these interfaces manually:

ifconfig eth0 hw ether <YOUR MAC ADRESS 1> <YOUR IP ADRESS 1> netmask 255.255.255.0
ifconfig eth1 hw ether <YOUR MAC ADRESS 2> <YOUR IP ADRESS 2> netmask 255.255.255.0
ifconfig eth0 up
ifconfig eth1 up

After that I could proceed the next step to download the image file from the web server to manufacture the switch.

Thank you all for the valuable tips that enabled me to connect four HP servers with a total of 212 physical cores (424 hardware threads) with eight 56 Gbps Infiniband ports via a full featured SX6012 switch and provide this cluster via a breakout cable to four 10 Gbps Ethernet ports to the rest of the network!
 
Last edited:

Softlution

New Member
Jul 29, 2022
16
1
3
Hi there. I have been searching for days trying to find the guide of how to convert EMC switch to Mellanox. Do you have any valid link to download it?
 

Softlution

New Member
Jul 29, 2022
16
1
3
Hi guys. I can ping my PC from my switch but I cannot ping the switch from my PC. What am I doing wrong? The switch boots only U-BOOT at the moment. I cannot find any working OS. I am trying to cross-flash the switch to Mellanox OS. I am connecting with my EMC version of SX6012 via Serial Cable / Putty and the Ethernet port connected directly with my PC. Both switch and PC are in the same Subnet, Mask and Gateway.


=> printenv
bootcmd=run flash_jffs2
bootdelay=5
baudrate=9600
loads_echo=
hostname=mlnx460ex
netdev=eth0
nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath}
ramargs=setenv bootargs root=/dev/ram rw
addip=setenv bootargs ${bootargs} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}:${netdev}:eek:ff panic=1
addtty=setenv bootargs ${bootargs} console=ttyS0,${baudrate}
addmisc=setenv bootargs ${bootargs}
initrd_high=30000000
kernel_addr_r=400000
fdt_addr_r=800000
ramdisk_addr_r=C00000
hostname=mlnx460ex
bootfile=mlnx460ex/uImage
ramdisk_file=mlnx460ex/uRamdisk
rootpath=/opt/eldk/ppc_4xxFP
flash_self=run ramargs addip addtty addmisc;bootm ${kernel_addr} ${ramdisk_addr} ${fdt_addr}
flash_nfs=run nfsargs addip addtty addmisc;bootm ${kernel_addr} - ${fdt_addr}
net_nfs=tftp ${kernel_addr_r} ${bootfile}; tftp ${fdt_addr_r} ${fdt_file}; run nfsargs addip addtty addmisc;bootm ${kernel_addr_r} - ${fdt_addr_r}
net_self_load=tftp ${kernel_addr_r} ${bootfile};tftp ${fdt_addr_r} ${fdt_file};tftp ${ramdisk_addr_r} ${ramdisk_file};
net_self=run net_self_load;run ramargs addip addtty addmisc;bootm ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r}
fdt_file=mlnx460ex/mlnx460ex.dtb
flash_self_old=run ramargs addip addtty addmisc;bootm ${kernel_addr} ${ramdisk_addr}
flash_nfs_old=run nfsargs addip addtty addmisc;bootm ${kernel_addr}
net_nfs_old=tftp ${kernel_addr_r} ${bootfile};run nfsargs addip addtty addmisc;bootm ${kernel_addr_r}
load=tftp 200000 mlnx460ex/u-boot.bin
update=protect off 0xFFFA0000 FFFFFFFF;era 0xFFFA0000 FFFFFFFF;cp.b ${fileaddr} 0xFFFA0000 ${filesize};setenv filesize;saveenv
upd=run load update
dhcp_vendor-class-identifier=bootmfg:hwname:mlnx460ex:
clear_filesize=setenv filesize
mfg_dir=mlnx460ex
mfg_args=setenv bootargs root=/dev/ram rw ramdisk_size=${mfg_ramdisk_size} ${mfg_extra_args}
mfg_common_args=run addtty addmisc
mfg_load=tftp ${kernel_addr_r} ${mfg_root}${mfg_dir}/${mfg_kernel_file};tftp ${fdt_addr_r} ${mfg_root}${mfg_dir}/${mfg_fdt_file};tftp ${ramdisk_addr_r} ${mfg_root}${mfg_dir}/${mfg_ramdisk_file}
mfg_nodhcp=echo "Manufacture will TFTP from directory ${mfg_root}${mfg_dir}, and boot";echo; run clear_filesize ; run mfg_load;if test 0${filesize} -gt 0; then echo Booting mfg ; run mfg_args mfg_common_args;bootm ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r} ; else ; echo Failed mfg load ; fi
mfg=echo "Manufacture will DHCP, TFTP from directory ${mfg_root}${mfg_dir}, and boot";echo; dhcp; run clear_filesize ; run mfg_load;if test 0${filesize} -gt 0; then echo Booting mfg ; run mfg_args mfg_common_args;bootm ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r} ; else ; echo Failed mfg load ; fi
menu_file=menu.img
menu_load=tftp ${menu_addr_r} ${mfg_root}${mfg_dir}/${menu_file}; if test $? -ne 0; then run clear_filesize ; echo Download failed ;fi
menu_usb_load_ext2=usb start; ext2load usb ${mfg_usb_dev}:${mfg_usb_part} ${menu_addr_r} ${mfg_usb_root}${mfg_usb_dir}/${menu_file};
menu_usb_load_fat=usb start; fatload usb ${mfg_usb_dev}:${mfg_usb_part} ${menu_addr_r} ${mfg_usb_root}${mfg_usb_dir}/${menu_file};
menu_usb_load=if test "x${mfg_usb_fstype}" = "xext2"; then run menu_usb_load_ext2 ; else ; run menu_usb_load_fat ; fi
menu_usb=run clear_filesize ; run menu_usb_load ; if test 0${filesize} -gt 0; then autoscr ${menu_addr_r}; else ; echo Failed menu load ; fi
menu_nodhcp=run clear_filesize ; run menu_load ; if test 0${filesize} -gt 0; then autoscr ${menu_addr_r}; else ; echo Failed menu load ; fi
menu=dhcp ; run clear_filesize ; run menu_load ; if test 0${filesize} -gt 0; then autoscr ${menu_addr_r}; else ; echo Failed menu load ; fi
fw_file=u-boot.bin
fw_load=tftp ${fw_addr_r} ${mfg_root}${mfg_dir}/${fw_file}; if test $? -ne 0; then run clear_filesize ; echo Download failed ;fi
fw_usb_load_ext2=usb start; ext2load usb ${mfg_usb_dev}:${mfg_usb_part} ${fw_addr_r} ${mfg_usb_root}${mfg_usb_dir}/${fw_file};
fw_usb_load_fat=usb start; fatload usb ${mfg_usb_dev}:${mfg_usb_part} ${fw_addr_r} ${mfg_usb_root}${mfg_usb_dir}/${fw_file};
fw_usb_load=if test "x${mfg_usb_fstype}" = "xext2"; then run fw_usb_load_ext2 ; else ; run fw_usb_load_fat ; fi
fw_update_raw=protect off 0xFFFA0000 FFFFFFFF;erase 0xFFFA0000 FFFFFFFF;cp.b ${fw_addr_r} 0xFFFA0000 ${filesize};cmp.b ${fw_addr_r} 0xFFFA0000 ${filesize};setenv filesize; saveenv
fw_usb_update=run clear_filesize ; run fw_usb_load ; if test 0${filesize} -gt 0; then run fw_update_raw ; else ; echo Failed update load ; fi
fw_update_nodhcp=run clear_filesize ; run fw_load ; if test 0${filesize} -gt 0; then run fw_update_raw ; else ; echo Failed update load ; fi
fw_update=dhcp ; run clear_filesize ; run fw_load ; if test 0${filesize} -gt 0; then run fw_update_raw ; else ; echo Failed update load ; fi
boot_common_args=run addtty addmisc
mfg_usb_dir=mlnx460ex
mfg_usb_load_ext2=usb start; echo "Loading ${mfg_kernel_file}";ext2load usb ${mfg_usb_dev}:${mfg_usb_part} ${kernel_addr_r} ${mfg_usb_root}${mfg_usb_dir}/${mfg_kernel_file};echo "Loading ${mfg_fdt_file}"; ext2load usb ${mfg_usb_dev}:${mfg_usb_part} ${fdt_addr_r} ${mfg_usb_root}${mfg_usb_dir}/${mfg_fdt_file};echo "Loading ${mfg_ramdisk_file}"; ext2load usb ${mfg_usb_dev}:${mfg_usb_part} ${ramdisk_addr_r} ${mfg_usb_root}${mfg_usb_dir}/${mfg_ramdisk_file}
mfg_usb_load_fat=usb start; echo "Loading ${mfg_kernel_file}";fatload usb ${mfg_usb_dev}:${mfg_usb_part} ${kernel_addr_r} ${mfg_usb_root}${mfg_usb_dir}/${mfg_kernel_file};echo "Loading ${mfg_fdt_file}"; fatload usb ${mfg_usb_dev}:${mfg_usb_part} ${fdt_addr_r} ${mfg_usb_root}${mfg_usb_dir}/${mfg_fdt_file};echo "Loading ${mfg_ramdisk_file}"; fatload usb ${mfg_usb_dev}:${mfg_usb_part} ${ramdisk_addr_r} ${mfg_usb_root}${mfg_usb_dir}/${mfg_ramdisk_file}
mfg_usb_load=if test "x${mfg_usb_fstype}" = "xext2"; then run mfg_usb_load_ext2 ; else ; run mfg_usb_load_fat ; fi
mfg_usb=echo "Manufacture will load from USB directory ${mfg_usb_root}${mfg_usb_dir}, and boot"; echo; run clear_filesize ; run mfg_usb_load; if test 0${filesize} -gt 0; then echo Booting mfg ; run mfg_args mfg_common_args;bootm ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r} ; else ; echo Failed mfg load ; fi
kernel_addr=ff000000
fdt_addr=ff1e0000
ramdisk_addr=ff200000
fw_addr_r=400000
menu_addr_r=B00000
pciconfighost=1
pcie_mode=RP:RP
autoload=no
rootdev=/dev/mtdblock6
boot_usb_ext2_loc_1=run usb_args_loc_1 boot_common_args;echo "Loading ${boot_kernel_file}";ext2load usb ${boot_usb_dev}:${boot_usb_part_loc_1} ${kernel_addr_r} ${boot_usb_root}${boot_usb_dir}/${boot_kernel_file};echo "Loading ${boot_fdt_file}";ext2load usb ${boot_usb_dev}:${boot_usb_part_loc_1} ${fdt_addr_r} ${boot_usb_root}${boot_usb_dir}/${boot_fdt_file};bootm ${kernel_addr_r} - ${fdt_addr_r}
boot_usb_ext2_loc_2=run usb_args_loc_2 boot_common_args;echo "Loading ${boot_kernel_file}";ext2load usb ${boot_usb_dev}:${boot_usb_part_loc_2} ${kernel_addr_r} ${boot_usb_root}${boot_usb_dir}/${boot_kernel_file};echo "Loading ${boot_fdt_file}";ext2load usb ${boot_usb_dev}:${boot_usb_part_loc_2} ${fdt_addr_r} ${boot_usb_root}${boot_usb_dir}/${boot_fdt_file};bootm ${kernel_addr_r} - ${fdt_addr_r}
boot_usb_fat_loc_1=run usb_args_loc_1 boot_common_args;echo "Loading ${boot_kernel_file}";fatload usb ${boot_usb_dev}:${boot_usb_part_loc_1} ${kernel_addr_r} ${boot_usb_root}${boot_usb_dir}/${boot_kernel_file};echo "Loading ${boot_fdt_file}";fatload usb ${boot_usb_dev}:${boot_usb_part_loc_1} ${fdt_addr_r} ${boot_usb_root}${boot_usb_dir}/${boot_fdt_file};bootm ${kernel_addr_r} - ${fdt_addr_r}
boot_usb_fat_loc_2=run usb_args_loc_2 boot_common_args;echo "Loading ${boot_kernel_file}";fatload usb ${boot_usb_dev}:${boot_usb_part_loc_2} ${kernel_addr_r} ${boot_usb_root}${boot_usb_dir}/${boot_kernel_file};echo "Loading ${boot_fdt_file}";fatload usb ${boot_usb_dev}:${boot_usb_part_loc_2} ${fdt_addr_r} ${boot_usb_root}${boot_usb_dir}/${boot_fdt_file};bootm ${kernel_addr_r} - ${fdt_addr_r}
mfg_kernel_file=vmlinuz
mfg_ramdisk_file=rootfs
mfg_ramdisk_size=180224
mfg_fdt_file=fdt
mfg_usb_dev=0
mfg_usb_part=1
mfg_usb_fstype=fat
mfg_usb_root=/
boot_kernel_file=vmlinuz
boot_fdt_file=fdt
boot_usb_dev=0
boot_usb_part_loc_1=2
boot_usb_part_loc_2=3
boot_usb_root_loc_1=/dev/sda5
boot_usb_root_loc_2=/dev/sda6
usb_args_loc_1=setenv bootargs root=${boot_usb_root_loc_1} ro reset_button=${reset_button} rootdelay=8 ${image_kernel_args} ${extra_args}
usb_args_loc_2=setenv bootargs root=${boot_usb_root_loc_2} ro reset_button=${reset_button} rootdelay=8 ${image_kernel_args} ${extra_args}
jffs2_args=setenv bootargs root=${rootdev} rootfstype=jffs2 ro reset_button=${reset_button} ${image_kernel_args} ${extra_args}
flash_jffs2=run jffs2_args boot_common_args;bootm ${kernel_addr} - ${fdt_addr}
ethaddr=E4:1D:2D:F3:48:44
eth1addr=E4:1D:2D:F3:48:45
ethact=ppc_4xx_eth0
gatewayip=192.168.0.1
ipaddr=192.168.0.120
netmask=255.255.255.0
bootargs=root=/dev/nfs rw nfsroot=192.168.0.13:/opt/eldk/ppc_4xxFP ip=192.168.0.120:192.168.0.13:192.168.0.1:255.255.255.0:mlnx460ex:eth0:eek:ff panic=1 console=ttyS0,9600
autostart=off
autoload=off
stdin=serial
stdout=serial
stderr=serial
reset_button=0
ver=U-Boot 2009.01 SX_PPC_M460EX SX_3.2.0330-82-EMC ppc (Feb 27 2013 - 12:13:42)
serverip=192.168.0.8

Environment size: 9176/16380 bytes
=> setenv ipaddr 192.168.138.120
=> setenv netmask 255.255.255.0
=> setenv ipaddr 192.168.0.120
=> setenv gatewayip 192.168.0.1
=> setenv serverip 192.168.0.8
=> saveenv
Saving Environment to Flash...
. done
Un-Protected 1 sectors
Erasing Flash...
. done
Erased 1 sectors
Writing to Flash... done
. done
Protected 1 sectors
=> printenv
bootcmd=run flash_jffs2
bootdelay=5
baudrate=9600
loads_echo=
hostname=mlnx460ex
netdev=eth0
nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath}
ramargs=setenv bootargs root=/dev/ram rw
addip=setenv bootargs ${bootargs} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}:${netdev}:eek:ff panic=1
addtty=setenv bootargs ${bootargs} console=ttyS0,${baudrate}
addmisc=setenv bootargs ${bootargs}
initrd_high=30000000
kernel_addr_r=400000
fdt_addr_r=800000
ramdisk_addr_r=C00000
hostname=mlnx460ex
bootfile=mlnx460ex/uImage
ramdisk_file=mlnx460ex/uRamdisk
rootpath=/opt/eldk/ppc_4xxFP
flash_self=run ramargs addip addtty addmisc;bootm ${kernel_addr} ${ramdisk_addr} ${fdt_addr}
flash_nfs=run nfsargs addip addtty addmisc;bootm ${kernel_addr} - ${fdt_addr}
net_nfs=tftp ${kernel_addr_r} ${bootfile}; tftp ${fdt_addr_r} ${fdt_file}; run nfsargs addip addtty addmisc;bootm ${kernel_addr_r} - ${fdt_addr_r}
net_self_load=tftp ${kernel_addr_r} ${bootfile};tftp ${fdt_addr_r} ${fdt_file};tftp ${ramdisk_addr_r} ${ramdisk_file};
net_self=run net_self_load;run ramargs addip addtty addmisc;bootm ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r}
fdt_file=mlnx460ex/mlnx460ex.dtb
flash_self_old=run ramargs addip addtty addmisc;bootm ${kernel_addr} ${ramdisk_addr}
flash_nfs_old=run nfsargs addip addtty addmisc;bootm ${kernel_addr}
net_nfs_old=tftp ${kernel_addr_r} ${bootfile};run nfsargs addip addtty addmisc;bootm ${kernel_addr_r}
load=tftp 200000 mlnx460ex/u-boot.bin
update=protect off 0xFFFA0000 FFFFFFFF;era 0xFFFA0000 FFFFFFFF;cp.b ${fileaddr} 0xFFFA0000 ${filesize};setenv filesize;saveenv
upd=run load update
dhcp_vendor-class-identifier=bootmfg:hwname:mlnx460ex:
clear_filesize=setenv filesize
mfg_dir=mlnx460ex
mfg_args=setenv bootargs root=/dev/ram rw ramdisk_size=${mfg_ramdisk_size} ${mfg_extra_args}
mfg_common_args=run addtty addmisc
mfg_load=tftp ${kernel_addr_r} ${mfg_root}${mfg_dir}/${mfg_kernel_file};tftp ${fdt_addr_r} ${mfg_root}${mfg_dir}/${mfg_fdt_file};tftp ${ramdisk_addr_r} ${mfg_root}${mfg_dir}/${mfg_ramdisk_file}
mfg_nodhcp=echo "Manufacture will TFTP from directory ${mfg_root}${mfg_dir}, and boot";echo; run clear_filesize ; run mfg_load;if test 0${filesize} -gt 0; then echo Booting mfg ; run mfg_args mfg_common_args;bootm ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r} ; else ; echo Failed mfg load ; fi
mfg=echo "Manufacture will DHCP, TFTP from directory ${mfg_root}${mfg_dir}, and boot";echo; dhcp; run clear_filesize ; run mfg_load;if test 0${filesize} -gt 0; then echo Booting mfg ; run mfg_args mfg_common_args;bootm ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r} ; else ; echo Failed mfg load ; fi
menu_file=menu.img
menu_load=tftp ${menu_addr_r} ${mfg_root}${mfg_dir}/${menu_file}; if test $? -ne 0; then run clear_filesize ; echo Download failed ;fi
menu_usb_load_ext2=usb start; ext2load usb ${mfg_usb_dev}:${mfg_usb_part} ${menu_addr_r} ${mfg_usb_root}${mfg_usb_dir}/${menu_file};
menu_usb_load_fat=usb start; fatload usb ${mfg_usb_dev}:${mfg_usb_part} ${menu_addr_r} ${mfg_usb_root}${mfg_usb_dir}/${menu_file};
menu_usb_load=if test "x${mfg_usb_fstype}" = "xext2"; then run menu_usb_load_ext2 ; else ; run menu_usb_load_fat ; fi
menu_usb=run clear_filesize ; run menu_usb_load ; if test 0${filesize} -gt 0; then autoscr ${menu_addr_r}; else ; echo Failed menu load ; fi
menu_nodhcp=run clear_filesize ; run menu_load ; if test 0${filesize} -gt 0; then autoscr ${menu_addr_r}; else ; echo Failed menu load ; fi
menu=dhcp ; run clear_filesize ; run menu_load ; if test 0${filesize} -gt 0; then autoscr ${menu_addr_r}; else ; echo Failed menu load ; fi
fw_file=u-boot.bin
fw_load=tftp ${fw_addr_r} ${mfg_root}${mfg_dir}/${fw_file}; if test $? -ne 0; then run clear_filesize ; echo Download failed ;fi
fw_usb_load_ext2=usb start; ext2load usb ${mfg_usb_dev}:${mfg_usb_part} ${fw_addr_r} ${mfg_usb_root}${mfg_usb_dir}/${fw_file};
fw_usb_load_fat=usb start; fatload usb ${mfg_usb_dev}:${mfg_usb_part} ${fw_addr_r} ${mfg_usb_root}${mfg_usb_dir}/${fw_file};
fw_usb_load=if test "x${mfg_usb_fstype}" = "xext2"; then run fw_usb_load_ext2 ; else ; run fw_usb_load_fat ; fi
fw_update_raw=protect off 0xFFFA0000 FFFFFFFF;erase 0xFFFA0000 FFFFFFFF;cp.b ${fw_addr_r} 0xFFFA0000 ${filesize};cmp.b ${fw_addr_r} 0xFFFA0000 ${filesize};setenv filesize; saveenv
fw_usb_update=run clear_filesize ; run fw_usb_load ; if test 0${filesize} -gt 0; then run fw_update_raw ; else ; echo Failed update load ; fi
fw_update_nodhcp=run clear_filesize ; run fw_load ; if test 0${filesize} -gt 0; then run fw_update_raw ; else ; echo Failed update load ; fi
fw_update=dhcp ; run clear_filesize ; run fw_load ; if test 0${filesize} -gt 0; then run fw_update_raw ; else ; echo Failed update load ; fi
boot_common_args=run addtty addmisc
mfg_usb_dir=mlnx460ex
mfg_usb_load_ext2=usb start; echo "Loading ${mfg_kernel_file}";ext2load usb ${mfg_usb_dev}:${mfg_usb_part} ${kernel_addr_r} ${mfg_usb_root}${mfg_usb_dir}/${mfg_kernel_file};echo "Loading ${mfg_fdt_file}"; ext2load usb ${mfg_usb_dev}:${mfg_usb_part} ${fdt_addr_r} ${mfg_usb_root}${mfg_usb_dir}/${mfg_fdt_file};echo "Loading ${mfg_ramdisk_file}"; ext2load usb ${mfg_usb_dev}:${mfg_usb_part} ${ramdisk_addr_r} ${mfg_usb_root}${mfg_usb_dir}/${mfg_ramdisk_file}
mfg_usb_load_fat=usb start; echo "Loading ${mfg_kernel_file}";fatload usb ${mfg_usb_dev}:${mfg_usb_part} ${kernel_addr_r} ${mfg_usb_root}${mfg_usb_dir}/${mfg_kernel_file};echo "Loading ${mfg_fdt_file}"; fatload usb ${mfg_usb_dev}:${mfg_usb_part} ${fdt_addr_r} ${mfg_usb_root}${mfg_usb_dir}/${mfg_fdt_file};echo "Loading ${mfg_ramdisk_file}"; fatload usb ${mfg_usb_dev}:${mfg_usb_part} ${ramdisk_addr_r} ${mfg_usb_root}${mfg_usb_dir}/${mfg_ramdisk_file}
mfg_usb_load=if test "x${mfg_usb_fstype}" = "xext2"; then run mfg_usb_load_ext2 ; else ; run mfg_usb_load_fat ; fi
mfg_usb=echo "Manufacture will load from USB directory ${mfg_usb_root}${mfg_usb_dir}, and boot"; echo; run clear_filesize ; run mfg_usb_load; if test 0${filesize} -gt 0; then echo Booting mfg ; run mfg_args mfg_common_args;bootm ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r} ; else ; echo Failed mfg load ; fi
kernel_addr=ff000000
fdt_addr=ff1e0000
ramdisk_addr=ff200000
fw_addr_r=400000
menu_addr_r=B00000
pciconfighost=1
pcie_mode=RP:RP
autoload=no
rootdev=/dev/mtdblock6
boot_usb_ext2_loc_1=run usb_args_loc_1 boot_common_args;echo "Loading ${boot_kernel_file}";ext2load usb ${boot_usb_dev}:${boot_usb_part_loc_1} ${kernel_addr_r} ${boot_usb_root}${boot_usb_dir}/${boot_kernel_file};echo "Loading ${boot_fdt_file}";ext2load usb ${boot_usb_dev}:${boot_usb_part_loc_1} ${fdt_addr_r} ${boot_usb_root}${boot_usb_dir}/${boot_fdt_file};bootm ${kernel_addr_r} - ${fdt_addr_r}
boot_usb_ext2_loc_2=run usb_args_loc_2 boot_common_args;echo "Loading ${boot_kernel_file}";ext2load usb ${boot_usb_dev}:${boot_usb_part_loc_2} ${kernel_addr_r} ${boot_usb_root}${boot_usb_dir}/${boot_kernel_file};echo "Loading ${boot_fdt_file}";ext2load usb ${boot_usb_dev}:${boot_usb_part_loc_2} ${fdt_addr_r} ${boot_usb_root}${boot_usb_dir}/${boot_fdt_file};bootm ${kernel_addr_r} - ${fdt_addr_r}
boot_usb_fat_loc_1=run usb_args_loc_1 boot_common_args;echo "Loading ${boot_kernel_file}";fatload usb ${boot_usb_dev}:${boot_usb_part_loc_1} ${kernel_addr_r} ${boot_usb_root}${boot_usb_dir}/${boot_kernel_file};echo "Loading ${boot_fdt_file}";fatload usb ${boot_usb_dev}:${boot_usb_part_loc_1} ${fdt_addr_r} ${boot_usb_root}${boot_usb_dir}/${boot_fdt_file};bootm ${kernel_addr_r} - ${fdt_addr_r}
boot_usb_fat_loc_2=run usb_args_loc_2 boot_common_args;echo "Loading ${boot_kernel_file}";fatload usb ${boot_usb_dev}:${boot_usb_part_loc_2} ${kernel_addr_r} ${boot_usb_root}${boot_usb_dir}/${boot_kernel_file};echo "Loading ${boot_fdt_file}";fatload usb ${boot_usb_dev}:${boot_usb_part_loc_2} ${fdt_addr_r} ${boot_usb_root}${boot_usb_dir}/${boot_fdt_file};bootm ${kernel_addr_r} - ${fdt_addr_r}
mfg_kernel_file=vmlinuz
mfg_ramdisk_file=rootfs
mfg_ramdisk_size=180224
mfg_fdt_file=fdt
mfg_usb_dev=0
mfg_usb_part=1
mfg_usb_fstype=fat
mfg_usb_root=/
boot_kernel_file=vmlinuz
boot_fdt_file=fdt
boot_usb_dev=0
boot_usb_part_loc_1=2
boot_usb_part_loc_2=3
boot_usb_root_loc_1=/dev/sda5
boot_usb_root_loc_2=/dev/sda6
usb_args_loc_1=setenv bootargs root=${boot_usb_root_loc_1} ro reset_button=${reset_button} rootdelay=8 ${image_kernel_args} ${extra_args}
usb_args_loc_2=setenv bootargs root=${boot_usb_root_loc_2} ro reset_button=${reset_button} rootdelay=8 ${image_kernel_args} ${extra_args}
jffs2_args=setenv bootargs root=${rootdev} rootfstype=jffs2 ro reset_button=${reset_button} ${image_kernel_args} ${extra_args}
flash_jffs2=run jffs2_args boot_common_args;bootm ${kernel_addr} - ${fdt_addr}
ethaddr=E4:1D:2D:F3:48:44
eth1addr=E4:1D:2D:F3:48:45
ethact=ppc_4xx_eth0
bootargs=root=/dev/nfs rw nfsroot=192.168.0.13:/opt/eldk/ppc_4xxFP ip=192.168.0.120:192.168.0.13:192.168.0.1:255.255.255.0:mlnx460ex:eth0:eek:ff panic=1 console=ttyS0,9600
autostart=off
autoload=off
stdin=serial
stdout=serial
stderr=serial
reset_button=0
ver=U-Boot 2009.01 SX_PPC_M460EX SX_3.2.0330-82-EMC ppc (Feb 27 2013 - 12:13:42)
netmask=255.255.255.0
ipaddr=192.168.0.120
gatewayip=192.168.0.1
serverip=192.168.0.8

Environment size: 9176/16380 bytes
 

snek

New Member
Oct 7, 2023
3
0
1
snek.dev
Hi, I found an SX6005 at a recycling center for a good deal, and it seems to be mostly working. I was trying to investigate why it only connects at 40G instead of 56G and I found this thread. Is there a way to tell for sure whether the device is EMC? The front is black, not blue, which I heard could be an indication that it is not mellanox. There are two ethernet ports on it, one labelled I2C and the other not labelled. The unlabelled one does not work with my usb/serial adapter so I'm not sure what it is. Is there a way to get a console on this thing? Is there a way I can use 56G if it does turn out to be EMC? I'd love to be able to just flash the stock firmware if that's possible. It also has a mini-b usb port on it but from searching through manuals I could find i'm not really sure what to do with that.
I did try querying it with mstflint and I just get back something like -E- Cannot open Device: lid-2. MFE_UNSUPPORTED_DEVICE, which doesn't seem super promising.
 

NablaSquaredG

Layer 1 Magician
Aug 17, 2020
1,377
837
113
The unlabelled one does not work with my usb/serial adapter so I'm not sure what it is. Is there a way to get a console on this thing?
This port should . It is not connected (only on SX6012 which uses the same chassis)
It also has a mini-b usb port on it but from searching through manuals I could find i'm not really sure what to do with that.
This one should also have a cover.


It is an unmanaged switch, so no console or whatever. Unmanaged switches are flashed over the network, see Mellanox Interconnect Community

I don't know whether it is possible to convert unmanaged EMC to Mellanox OEM.
 

snek

New Member
Oct 7, 2023
3
0
1
snek.dev
This port should . It is not connected (only on SX6012 which uses the same chassis)

This one should also have a cover.


It is an unmanaged switch, so no console or whatever. Unmanaged switches are flashed over the network, see Mellanox Interconnect Community

I don't know whether it is possible to convert unmanaged EMC to Mellanox OEM.
Ah that is unfortunate. I found this page: Archive of Firmware and Software for Dell EMC which says
> Please burn firmware either using Mellanox Firmware Tools (Linux/Windows) or using MSTFLINT.
but neither are able to recognize the device. I guess I will just have to hang onto this for a while until I can justify grabbing a 6012.
 

Subtle

New Member
Nov 5, 2019
3
0
1
Hey everyone, I'm trying to see if anyone could help me with this issue, I've tried reading back through this thread and I didn't see anyone have this same issue. I've followed dodgy route's guide and was able to convert this SX6012 but as I'm trying to go through the MLNX-OS update path, when I get to 3.6.8010 it starts throwing this error about missing /lib/libblkid.so.1 and then I completely lose the management GUI. 3.6.5000 works fine, I've tried flashing the entire stack to both image locations without any further success. 3.6.8012 will also throw the same errors.


Code:
U-Boot 2009.01 SX_PPC_M460EX SX_3.2.0330-82 ppc (Dec 20 2012 - 17:53:54)

CPU:   AMCC PowerPC 460EX Rev. B at 1000 MHz (PLB=166, OPB=83, EBC=83 MHz)
       Security/Kasumi support
       Bootstrap Option H - Boot ROM Location I2C (Addr 0x52)
       Internal PCI arbiter disabled
       32 kB I-Cache 32 kB D-Cache
Board: Mellanox PPC460EX Board
FDEF:  No
I2C:   ready
DRAM:   2 GB (ECC enabled, 333 MHz, CL3)
FLASH: 16 MB
NAND:  1024 MiB
PCI:   Bus Dev VenId DevId Class Int
PCIE0: link is not up.
PCIE1: successfully set as root-complex
        01  00  15b3  c738  0c06  00
Net:   ppc_4xx_eth0, ppc_4xx_eth1
Reading image settings from EEPROM

Mellanox MLNX-OS

Default image: 'PPC_M460EX 3.6.8010 2018-08-20 18:04:16 ppc'
Press Enter to boot this image, or 'Ctrl B' for boot menu

Booting default image in:  0

Booting location 1: 'PPC_M460EX 3.6.8010 2018-08-20 18:04:16 ppc'

OF: no ranges; cannot translate
OF: no ranges; cannot translate
INIT: version 2.86 booting
mount: /lib/libblkid.so.1: no version information available (required by /lib/libmount.so.1)
mount: /lib/libblkid.so.1: no version information available (required by /lib/libmount.so.1)
mount: /lib/libblkid.so.1: no version information available (required by /lib/libmount.so.1)

Starting: PPC_M460EX 3.6.8010 2018-08-20 18:04:16 ppc
Starting udev: mount: /lib/libblkid.so.1: no version information available (required by /lib/libmount.so.1)
mount: /lib/libblkid.so.1: no version information available (required by /lib/libmount.so.1)
mount: /lib/libblkid.so.1: no version information available (required by /lib/libmount.so.1)
[  OK  ]
Setting clock  (utc): Mon Oct 16 04:29:12 UTC 2023 [  OK  ]
Setting hostname localhost:  [  OK  ]
Checking filesystems
fsck: /lib/libblkid.so.1: no version information available (required by fsck)
fsck: /lib/libblkid.so.1: no version information available (required by fsck)
fsck: /lib/libblkid.so.1: no version information available (required by /lib/libmount.so.1)
fsck: /lib/libblkid.so.1: no version information available (required by /lib/libmount.so.1)
fsck: /lib/libblkid.so.1: no version information available (required by /lib/libmount.so.1)
Checking all file systems.
[  OK  ]
Remounting root filesystem in read-write mode:  mount: /lib/libblkid.so.1: no version information available (required by /lib/libmount.so.1)
mount: /lib/libblkid.so.1: no version information available (required by /lib/libmount.so.1)
mount: /lib/libblkid.so.1: no version information available (required by /lib/libmount.so.1)
[  OK  ]
mount: /lib/libblkid.so.1: no version information available (required by /lib/libmount.so.1)
mount: /lib/libblkid.so.1: no version information available (required by /lib/libmount.so.1)
mount: /lib/libblkid.so.1: no version information available (required by /lib/libmount.so.1)
Mounting local filesystems:  mount: /lib/libblkid.so.1: no version information available (required by /lib/libmount.so.1)
mount: /lib/libblkid.so.1: no version information available (required by /lib/libmount.so.1)
mount: /lib/libblkid.so.1: no version information available (required by /lib/libmount.so.1)
[  OK  ]
Running vpart script:  [  OK  ]
Applying file system skeletons: base_var base_config .
Running firstboot script error reading information on service arp_responder: No such file or directory
    Starting sx_low_level_if:
Loading i2c_mux_pca954x  - Success
Loading sx_glue_if  - Success
Loading watchdog  - Success
Loading cpld_handler  - Success
Loading mellaggra_mod  - Success
Loading switchx  - Success
Reloading udev:
Loading SX driver:[  OK  ]
Stopping iss-nvram-mac
Stopping sx_low_level_if
switchx module unloaded
mellaggra_mod module unloaded
cpld_handler module unloaded
watchdog module unloaded
i2c_mux_pca954x module unloaded
mlx system_profile: 1
mlx system_type: SX6012
mlx system_oid: 1.3.6.1.4.1.33049.1.1.1.6012
mlx system_local_mgmt_pn: MSX6012F-2BFS
mlx system_local_mgmt_sn: MT1347X02772
Documentation handling started
    Starting sx_low_level_if:
Loading i2c_mux_pca954x  - Success
NOTE: sx_glue_if module is already loaded
Loading watchdog  - Success
Loading cpld_handler  - Success
Loading mellaggra_mod  - Success
Loading switchx  - Success
Documentation handling finished
    Starting sx_low_level_if:
NOTE: i2c_mux_pca954x module is already loaded
NOTE: sx_glue_if module is already loaded
NOTE: watchdog module is already loaded
NOTE: cpld_handler module is already loaded
NOTE: mellaggra_mod module is already loaded
NOTE: switchx module is already loaded
    Starting sx_low_level_if:
NOTE: i2c_mux_pca954x module is already loaded
NOTE: sx_glue_if module is already loaded
NOTE: watchdog module is already loaded
NOTE: cpld_handler module is already loaded
NOTE: mellaggra_mod module is already loaded
NOTE: switchx module is already loaded
file /opt/tms/customization_files/customization.6012 does not exists - safely using default values
[  OK  ]
Enabling /etc/fstab swaps:  [  OK  ]
INIT: Entering runlevel: 3
Starting system services
Starting sx_low_level_if:      Starting sx_low_level_if:
NOTE: i2c_mux_pca954x module is already loaded
NOTE: sx_glue_if module is already loaded
NOTE: watchdog module is already loaded
NOTE: cpld_handler module is already loaded
NOTE: mellaggra_mod module is already loaded
NOTE: switchx module is already loaded
[  OK  ]
Starting openibd:  IPoIB configuration for embedded system
Loading SX driver:[  OK  ]
Loading HCA driver and Access Layer:[  OK  ]
Setting up InfiniBand network interfaces:
Setting up service network . . .[  done  ]
Reloading udev:
[  OK  ]
Starting system logger: [  OK  ]
Starting kernel logger: [  OK  ]
Starting fips_post:  [  OK  ]
Running renaming interfaces
Renaming: MAC: F4:52:14:C8:3F:E6 ifindex: 2 name: mgmt0
Renaming: MAC: F4:52:14:C8:3F:E7 ifindex: 3 name: mgmt1
Checking for unexpected shutdown

Probing for HRNG module
Starting rngd: [  OK  ]
Running system image: PPC_M460EX 3.6.8010 2018-08-20 18:04:16 ppc
Applying initial configuration: Oct 16 04:36:32 INFO    LOG: Initializing SX log with STDOUT as output file.


Starting internal_startup:  [  OK  ]
Starting tc_ingress_policy:  tc_ingress_policy system name is not obtained - use default IS5600MDC
mDNS policing rate=4000kbit burst=400k
Ingress policing enable on interface mgmt0 rate=9000kbit burst=900k
[  OK  ]
Starting clean_issnvram:  Deleting issnvram.txt
[  OK  ]
Starting intr_hndl:      Starting :
Loading int handler module - Success
[  OK  ]
Starting iss-nvram-mac:  [  OK  ]
Starting copy_rh_files_to_vtmp:  [  OK  ]
Starting secure_mode_check:  [  OK  ]
Starting sx_pra:      Starting proxy arp management:
Loading proxy arp management module - Success
[  OK  ]
Starting udevd:  Reloading udev...
[  OK  ]
Starting pm: [  OK  ]
Starting oops_dump_reg:      Starting kernel reg dump:
Loading kernel reg dump module - Success
[  OK  ]
Starting lnpuppetvar.sh:  [  OK  ]
Starting mst:  Starting MST (Mellanox Software Tools) driver set
Loading MST PCI module - Success
Loading MST PCI configuration module - Success
Create devices
[  OK  ]
 

figure7555

New Member
Sep 7, 2023
6
1
3
Hey everyone, I'm trying to see if anyone could help me with this issue, I've tried reading back through this thread and I didn't see anyone have this same issue. I've followed dodgy route's guide and was able to convert this SX6012 but as I'm trying to go through the MLNX-OS update path, when I get to 3.6.8010 it starts throwing this error about missing /lib/libblkid.so.1 and then I completely lose the management GUI. 3.6.5000 works fine, I've tried flashing the entire stack to both image locations without any further success. 3.6.8012 will also throw the same errors.
Are you updating from the console or from the web ui?

I followed this process about a week ago up until the updating process. At that point, the guide mentioned updating both boot locations to the same version before moving on to the next. This made no sense to me because the entire purpose of having two boot locations is so you can revert in the event of a failed update. So having both boot locations on the same version would seem to serve no purpose. I went ahead and used the web ui to perform the updates. It would automatically install the new version to the unused boot location so in effect you would switch between location 1 and 2 for each update. I didn't install the same version to each boot location. I just installed one version to one boot location, then the next version on the other boot location.

This went smoothly until 3.6.8010. At that point boot was very slow and the web ui never came up. I did not see any errors in the console. I booted back to the previous version and tried the install again. On the second attempt I also did not see the web ui come up. So in the switch console I ran the command to enable the web ui. Something like "web enable". Try "web ?" to see what the commands are. After waiting a couple minutes the web ui was back up. I then proceeded to the 3.6.8012 update. However this one took forever. the web ui was showing 100% cpu usage so I just let it go. After around 3 hours (yes, really) it completed.
 

figure7555

New Member
Sep 7, 2023
6
1
3
I've flashed it both from the console and the web ui and it still gives me the same issue. I tried the web enable commend and it didn't make any difference.
On a normal boot, you should hear the fans throttle down twice. Do you hear that? How long have you waited after the fans throttled down before giving up on the web ui?

I finally wired my SX6012 into my network yesterday and powered it on. I tried to get to the web ui and got nothing. I thought maybe I screwed up a wire termination somewhere but it was all good. I went and did something else for awhile. Then before going to bed a couple hours later I tried again to access the web ui and it was working just fine.
 

Subtle

New Member
Nov 5, 2019
3
0
1
I left it for 4 or 5 hours while I was out. Normally the web UI is up by the time I can run commands in the console, I have quieter fans in here and by the time it's finished booting it starts ramping the fans up and down since I haven't changed the start up script yet. The /lib/libblkid.so.1 error goes away on reboot and doesn't come back but still no web ui.
 

RedX1

Active Member
Aug 11, 2017
133
147
43
I left it for 4 or 5 hours while I was out. Normally the web UI is up by the time I can run commands in the console, I have quieter fans in here and by the time it's finished booting it starts ramping the fans up and down since I haven't changed the start up script yet. The /lib/libblkid.so.1 error goes away on reboot and doesn't come back but still no web ui.

Hello


Try looking for the Web UI at https:// Your IP


The later firmware versions changed to https://.


I hope this works for you.


Good luck.


RedX1
 
  • Like
Reactions: Subtle

RexInTheCity

New Member
Oct 21, 2023
2
0
1
I'm new to the Mellanox platform. I have a SX6036 that has been updated to PPC_M460EX 3.6.8012. I've hit a road block trying to slow the fans down.

Earlier in this thread someone mentions using fae mlxi2c set_fan /FAN1/FAN 1 30 to set the fan speed. When I run that command I get an unrecognized command error returned. Am I running this command incorrectly or do I need to do something to enable i2c first?

Code:
switch-56d5b8 [standalone: master] > fae mlxi2c set_fan /FAN1/FAN 1 30
% Unrecognized command "mlxi2c".
Type "fae ?" for help.
switch-56d5b8 [standalone: master] > fae ?
<cr>                           enter fae mode
backup-polling                 Enable automatic backup polling
interface                      Configure external ports locking
iss                            Disable/Enable logging for ISS sub-class
no                             Negate certain fae settings
sflow                          fae command for sflow
show                           Display fae data
switch-56d5b8 [standalone: master] > show version
Product name:      MLNX-OS
Product release:   3.6.8012
Build ID:          #1-dev
Build date:        2019-02-22 07:53:42
Target arch:       ppc
Target hw:         m460ex
Built by:          jenkins@4dec51c9aed1
Version summary:   PPC_M460EX 3.6.8012 2019-02-22 07:53:42 ppc

Product model:     ppc
Host ID:           248A0756D5B8

Uptime:            1h 23m 8.540s
CPU load averages: 2.37 / 2.50 / 2.64
Number of CPUs:    1
System memory:     760 MB used / 1267 MB free / 2027 MB total
Swap:              0 MB used / 0 MB free / 0 MB total
 

up3up4

Member
Jun 10, 2018
86
29
18
I'm new to the Mellanox platform. I have a SX6036 that has been updated to PPC_M460EX 3.6.8012. I've hit a road block trying to slow the fans down.

Earlier in this thread someone mentions using fae mlxi2c set_fan /FAN1/FAN 1 30 to set the fan speed. When I run that command I get an unrecognized command error returned. Am I running this command incorrectly or do I need to do something to enable i2c first?

Code:
switch-56d5b8 [standalone: master] > fae mlxi2c set_fan /FAN1/FAN 1 30
% Unrecognized command "mlxi2c".
Type "fae ?" for help.
switch-56d5b8 [standalone: master] > fae ?
<cr>                           enter fae mode
backup-polling                 Enable automatic backup polling
interface                      Configure external ports locking
iss                            Disable/Enable logging for ISS sub-class
no                             Negate certain fae settings
sflow                          fae command for sflow
show                           Display fae data
switch-56d5b8 [standalone: master] > show version
Product name:      MLNX-OS
Product release:   3.6.8012
Build ID:          #1-dev
Build date:        2019-02-22 07:53:42
Target arch:       ppc
Target hw:         m460ex
Built by:          jenkins@4dec51c9aed1
Version summary:   PPC_M460EX 3.6.8012 2019-02-22 07:53:42 ppc

Product model:     ppc
Host ID:           248A0756D5B8

Uptime:            1h 23m 8.540s
CPU load averages: 2.37 / 2.50 / 2.64
Number of CPUs:    1
System memory:     760 MB used / 1267 MB free / 2027 MB total
Swap:              0 MB used / 0 MB free / 0 MB total
# SX6012
mlxi2c set_fan /MGMT/FAN1 1 35

#SX6036, SX6018
mlxi2c --master-mode set_fan /FAN/FAN 1 65
 

RexInTheCity

New Member
Oct 21, 2023
2
0
1
# SX6012
mlxi2c set_fan /MGMT/FAN1 1 35

#SX6036, SX6018
mlxi2c --master-mode set_fan /FAN/FAN 1 65
I'm still getting % Unrecognized command "mlxi2c" when I try to run that.


Figured it out, I didn't realize I needed to run enable before running the commands. I'm very new to the platform.
 
Last edited: