the switch log , you can find it somewhere on the webui and export to your pc and analysis , here are quite a few lines about fan speed and fan speed adjust and other fan related things
Last edited:
I bought two compatible ones from FS but it can only be recognized as SR4 and it doesn’t work probably. I talked to FS and changed the code once, still doesn’t work. Maybe I need the toolbox from them to try different code by myself. Want to know if anyone get it work like Mellanox claimed.According to https://community.mellanox.com/s/article/lr4-support-on-mellanox-switches the 6012 supports LR4 optics on all ports in ethernet mode. If you need LR4 with IB, you have to edit the profile INIs to support high power mode.
1. You need to boot into system without touching the passwd file for the first time, or you will not be able to get into it using the default password.I finally took some time to look over the guide and am planning on converting my 6012. I very much appreciate everyone's input on its creation. I have some questions about a couple areas.
At the end of Step 1, I'm told to "run mlxlinux" at U-boot after copying OS Kernel and FDT. If I already have the minimal Linux image, couldn't I just remain in U-boot and transfer the minimal Linux image? What is the purpose of transferring to mlxlinux after copying the OS Kernel and FDT and cause a potential panic if there's no Linux file system?
Step 6, flashing the FW. We have the option of connecting through IB or from the shell. Since I have no other IB devices/switches, the most practical step for me is to use the shell.
6.2.B states "Boot into scratch linux (mtdblock6)...." But after the minimum Linux image is transferred at the end of Step 2 and we run mlxlinux after setting the FS to rw mode until we reach the end of Step 5 (creating config DB nodes), aren't we still booted in mtdblock6 and there's no need to reboot to mtdblock6? I could remove symlinks to /mnt/root2/etc/passwd and /mnt/root2/etc/shadow and create a local copy and then dive back into U-boot to restart into mtdblock7. Am I missing something here?
Next involves the dot files for /mnt/root2/etc/.firstboot and /mnt/var/opt/tms/.firstmfg. These are created before the first boot into mtdblock7 to flash the FW from the shell. Would it cause any issues during this first boot into mtdblock7 but before Step 7 First Boot? After the FW flash we boot again into mtdblock7.
Anyone know if there is a detrimental impact of permanently changing admin's shell to /bin/bash instead of cli? I would figure it would behave like root@JunOSwhere you need to issue cli to configure the device.
Thanks!
I tried several LR4 but none works on my converted 6012. No light at all. Transceiver can be detected and get displayed in web. But operation always shows "down". The official transceivers are just too expensive.According to https://community.mellanox.com/s/article/lr4-support-on-mellanox-switches the 6012 supports LR4 optics on all ports in ethernet mode. If you need LR4 with IB, you have to edit the profile INIs to support high power mode.
Thanks for your reply! I really appreciate it.1. You need to boot into system without touching the passwd file for the first time, or you will not be able to get into it using the default password.
2. After that, you can reboot into the scratch linux again, change the passwd file, give admin bash.
Thanks for that tidbit as well.3. You can run the /opt/tms/xxx in bash to configure the switch when you need.
4. Unless you need to change password, you can break the link and keep your passwd file for ever.
Keep that scratch linux as a kind of rescue os.
I am not sure which "dot files" are.Thanks for your reply! I really appreciate it.
I see. Is this true for scratch Linux as well or could I bypass running mlxlinux after installing OS Kernel and FDT? Do the dot files have anything to do with this behavior or should they be created just before step 7? I'm aware FW flash within Linux shell wasn't in the original guide and I was wondering if the dot files would mess anything else up before the firmware is available.
Thanks for that tidbit as well.
I just checked those files, not that difficult. At least ibd and chad are pretty easy. Anything else I need to do besides these modification?@Eong you can try if you can do bin files mod , IMHO most difficult part is mod three bin file, other part will much easy.
The dot files I was referring to are created towards the end of Step 4I am not sure which "dot files" are.
It's more easier to flash the firmware at the end, after giving admin bash, using the bash to do it. The firmware is from the mlxlinux image file. The mlxlinux image is not just for 6012.
There are 4 files that needed to be tweaked and they areNew version of mlnx-os can be found by google. Is it possible to upgrade this to a recent version? Since 3.6.2002, transceiver diagnostics are supported. I know three binary files need to be modified again, anything else?
I just checked those files, not that difficult. At least ibd and chad are pretty easy. Anything else I need to do besides these modification?
Thanks. For the "dot files", it seems to be fine to have them before you update your firmware.The dot files I was referring to are created towards the end of Step 4
touch /mnt/root2/etc/.firstboot
touch /mnt/var/opt/tms/.firstmfg
There are 4 files that needed to be tweaked and they are
chad
hwd
ibd
image_layout.sh
Only the last one is not part of the distro. @Freebsd1976 says https://forums.servethehome.com/index.php?posts/230933/
@Tydus was looking at that but seems to involved "more hacking" https://forums.servethehome.com/index.php?posts/224416/.
I thought I read somewhere here that the partition layout on newer versions has changed so that must be accounted for as well in image_layout.sh.