Voltaire/Mellanox 4036 firmware update

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

markpower28

Active Member
Apr 9, 2013
413
104
43
I used standard Cisco serial cable with RJ45 to DB9F adapter.
Connect to local terminal
Terminal Mode: VT-100
Baud: 38400
Parity: No Parity
Stop Bits: 1 Stop Bit
Flow Control: None
User name: admin/123456

To configure the FTP server
Enter the following commands:

1. admin
Enter the admin mode. The default password for the admin user is 123456

2. config
Enter the config mode (from admin mode).

3. remote
Access the Remote Mode (from the config mode)

4. server [ip]
Configure the IPv4 or IPv6 address of the Remote server.

5. username [username]
Configure the user name for Remote server access and press enter.

6. password
Set the user password to access the Remote server. Press Enter and then enter the password.

7. protocol set [FTP]
Set the protocol to access remote server.

8. remote show
To verify configuration

I used following upgrade path to get 3.91.

upgrade from 2.0 to 2.1
upgrade from 2.1 to 3.0
upgrade from 3.0 to 3.1
upgrade from 3.1 to 3.62
upgrade from 3.62 to 3.91

For the firmware images, I used firmware from HP. See links from howlym's posting
http://forums.servethehome.com/netw...tware-version-voltaire-2036-can-upgraded.html

Remote FTP server, I used free FileZillad FTP server. There might be a difference for the file name when upload different versions. If the default file name upgrade_all.tgz does not work, make sure verify the log see what the file name it's asking for.

(000001)6/28/2013 10:36:40 AM - (not logged in) (192.168.30.244)> 220-FileZilla Server version 0.9.41 beta
(000001)6/28/2013 10:36:40 AM - (not logged in) (192.168.30.244)> 220-written by Tim Kosse (Tim.Kosse@gmx.de)
(000001)6/28/2013 10:36:40 AM - (not logged in) (192.168.30.244)> 220 Please visit FileZilla | Free Communications software downloads at SourceForge.net
(000001)6/28/2013 10:36:40 AM - (not logged in) (192.168.30.244)> USER 4036
(000001)6/28/2013 10:36:40 AM - (not logged in) (192.168.30.244)> 331 Password required for 4036
(000001)6/28/2013 10:36:40 AM - (not logged in) (192.168.30.244)> PASS ******
(000001)6/28/2013 10:36:40 AM - 4036 (192.168.30.244)> 230 Logged on
(000001)6/28/2013 10:36:40 AM - 4036 (192.168.30.244)> SYST
(000001)6/28/2013 10:36:40 AM - 4036 (192.168.30.244)> 215 UNIX emulated by FileZilla
(000001)6/28/2013 10:36:40 AM - 4036 (192.168.30.244)> PWD
(000001)6/28/2013 10:36:40 AM - 4036 (192.168.30.244)> 257 "/" is current directory.
(000001)6/28/2013 10:36:40 AM - 4036 (192.168.30.244)> TYPE I
(000001)6/28/2013 10:36:40 AM - 4036 (192.168.30.244)> 200 Type set to I
(000001)6/28/2013 10:36:40 AM - 4036 (192.168.30.244)> SIZE upgrade_all.tgz
(000001)6/28/2013 10:36:40 AM - 4036 (192.168.30.244)> 213 99175529
(000001)6/28/2013 10:36:40 AM - 4036 (192.168.30.244)> PASV
(000001)6/28/2013 10:36:40 AM - 4036 (192.168.30.244)> 227 Entering Passive Mode (192,168,30,21,218,97)
(000001)6/28/2013 10:36:40 AM - 4036 (192.168.30.244)> RETR upgrade_all.tgz
(000001)6/28/2013 10:36:40 AM - 4036 (192.168.30.244)> 150 Connection accepted
(000001)6/28/2013 10:36:43 AM - 4036 (192.168.30.244)> 226 Transfer OK

Software and firmware update procedure
update command:update software chassis
verify command:module-firmware show

you should see SW version as 3.9.1 and firmware version as 7.4.22
 

markpower28

Active Member
Apr 9, 2013
413
104
43
Thank you for the procedure on Mellanox daughter card's firmware update, RDMA won't work without that :)
 

mdmedina07

New Member
May 6, 2013
8
0
1
4036 console

Hi all, which cables did you use to access console? I have this already Cisco Serial Cable RJ 45 M DB 9 F for Routers Firewalls Switches | eBay
But can't seem to get it working with this.



I used standard Cisco serial cable with RJ45 to DB9F adapter.
Connect to local terminal
Terminal Mode: VT-100
Baud: 384004
Parity: No Parity
Stop Bits: 1 Stop Bit
Flow Control: None
User name: admin/123456

To configure the FTP server
Enter the following commands:

1. admin
Enter the admin mode. The default password for the admin user is 123456

2. config
Enter the config mode (from admin mode).

3. remote
Access the Remote Mode (from the config mode)

4. server [ip]
Configure the IPv4 or IPv6 address of the Remote server.

5. username [username]
Configure the user name for Remote server access and press enter.

6. password
Set the user password to access the Remote server. Press Enter and then enter the password.

7. protocol set [FTP]
Set the protocol to access remote server.

8. remote show
To verify configuration

I used following upgrade path to get 3.91.

upgrade from 2.0 to 2.1
upgrade from 2.1 to 3.0
upgrade from 3.0 to 3.1
upgrade from 3.1 to 3.62
upgrade from 3.62 to 3.91

For the firmware images, I used firmware from HP. See links from howlym's posting
http://forums.servethehome.com/netw...tware-version-voltaire-2036-can-upgraded.html

Remote FTP server, I used free FileZillad FTP server. There might be a difference for the file name when upload different versions. If the default file name upgrade_all.tgz does not work, make sure verify the log see what the file name it's asking for.

(000001)6/28/2013 10:36:40 AM - (not logged in) (192.168.30.244)> 220-FileZilla Server version 0.9.41 beta
(000001)6/28/2013 10:36:40 AM - (not logged in) (192.168.30.244)> 220-written by Tim Kosse (Tim.Kosse@gmx.de)
(000001)6/28/2013 10:36:40 AM - (not logged in) (192.168.30.244)> 220 Please visit FileZilla | Free Communications software downloads at SourceForge.net
(000001)6/28/2013 10:36:40 AM - (not logged in) (192.168.30.244)> USER 4036
(000001)6/28/2013 10:36:40 AM - (not logged in) (192.168.30.244)> 331 Password required for 4036
(000001)6/28/2013 10:36:40 AM - (not logged in) (192.168.30.244)> PASS ******
(000001)6/28/2013 10:36:40 AM - 4036 (192.168.30.244)> 230 Logged on
(000001)6/28/2013 10:36:40 AM - 4036 (192.168.30.244)> SYST
(000001)6/28/2013 10:36:40 AM - 4036 (192.168.30.244)> 215 UNIX emulated by FileZilla
(000001)6/28/2013 10:36:40 AM - 4036 (192.168.30.244)> PWD
(000001)6/28/2013 10:36:40 AM - 4036 (192.168.30.244)> 257 "/" is current directory.
(000001)6/28/2013 10:36:40 AM - 4036 (192.168.30.244)> TYPE I
(000001)6/28/2013 10:36:40 AM - 4036 (192.168.30.244)> 200 Type set to I
(000001)6/28/2013 10:36:40 AM - 4036 (192.168.30.244)> SIZE upgrade_all.tgz
(000001)6/28/2013 10:36:40 AM - 4036 (192.168.30.244)> 213 99175529
(000001)6/28/2013 10:36:40 AM - 4036 (192.168.30.244)> PASV
(000001)6/28/2013 10:36:40 AM - 4036 (192.168.30.244)> 227 Entering Passive Mode (192,168,30,21,218,97)
(000001)6/28/2013 10:36:40 AM - 4036 (192.168.30.244)> RETR upgrade_all.tgz
(000001)6/28/2013 10:36:40 AM - 4036 (192.168.30.244)> 150 Connection accepted
(000001)6/28/2013 10:36:43 AM - 4036 (192.168.30.244)> 226 Transfer OK

Software and firmware update procedure
update command:update software chassis
verify command:module-firmware show

you should see SW version as 3.9.1 and firmware version as 7.4.22
 

mdmedina07

New Member
May 6, 2013
8
0
1
Thanks I knew I was missing part of the puzzle. Ordered this and was able to easily reset and configure the switch. Thanks again!
 

adrian

New Member
Jul 26, 2013
10
0
1
Hello,

I do have one question for you and i would be very grateful if you could answer it.

I do have 2 Voltaire 4036 switches and one of them has been updated with the HP firmware.

The issue I'm having on it is that at boot sequence i see a message and I'd like to know if you have that message on your upgraded switch also. The second switch i have, still has 2.0.1 firmware and it does not have that message, and i have to know if it's a switch problem or it's just due to the firmware update.

Here's the message I'm seeing at boot time:

U-Boot 1.3.4.32_4U_03 (Sep 10 2012 - 19:28:47)

CPU: AMCC PowerPC 460EX Rev. A at 666.666 MHz (PLB=166, OPB=83, EBC=83 MHz)
Security/Kasumi support
Bootstrap Option E - Boot ROM Location EBC (16 bits)
Internal PCI arbiter disabled
32 kB I-Cache 32 kB D-Cache
Board: 4036QDR - Voltaire 4036 QDR Switch Board
I2C: ready
DRAM: 512 MB (ECC enabled, 333 MHz, CL3)
FLASH: 64 MB
NAND: 256 MiB
*** Warning - bad CRC, using default environment

MAC Address: 00:08:F1:20:03:08
PCIE1: successfully set as root-complex
PCIE: Bus Dev VenId DevId Class Int
01 00 15b3 bd34 0c06 00
Net: ppc_4xx_eth0
Recovery counter: 9


Thanks a lot in advance,
 

markpower28

Active Member
Apr 9, 2013
413
104
43
I saw it on mine as well, but since everything is working so I just ignore it. The error message seems related to u-boot with saveenv. You may want to check Mellanox forum see if there is a quick fix.
 

d2000

New Member
Nov 17, 2013
20
0
1
I know this is an old thread but I have a different problem that appeared after following the steps here. I wonder if someone here can give me a tip.

After the first update from 2.0 to 2.1 using the firmware listed on the thread and after the switch rebooted, I wasn't able to login anymore as the admin. I checked the bootup process to see if there's any issues and I see these errors. The boot does complete and finally ends up with a login prompt but I unable to login as anything.

mv: cannot rename '/usr/voltaire/config/repository.new': No space left on device

*** Reinstalling backup Database ***
ALARM : repload failed on verify checksum of /usr/voltaire/config/repository.rps. Aborting
ALARM : repload failed on verify checksum of /usr/voltaire/config/repository.rps. Aborting
repload: "ALARM : repload failed on verify checksum of /usr/voltaire/config/repository.rps. Aborting"
repload: "ALARM : repload failed on verify checksum of /usr/voltaire/config/repository.rps. Aborting"
recover_db: Recover database failed
recover_db: Recover database failed
ibsw: "recover_db: Recover database failed"
ibsw: "recover_db: Recover database failed"
cp: cannot create '/usr/voltaire/config/passwd': No space left on device
starting syslogd & klogd ...
egrep: /etc/ssh/ssh_config: No such file or directory
Starting ISR: JFFS2 notice: (50) check_node_data: wrong data CRC in data node at 0x0ef94f04: .
Because I am unable to login as admin (or reset the password thru the reset switch), I can't do anything. I also stopped the booting process before the secondary boot and looked at the different options but I wasn't able to see a way to fix this through this menu.

Does anyone have a suggestion on how I can get in the shell? or something I might have missed from the secondary boot. Perhaps a way to roll back (but this seems unlikely).

thanks for reading.
 

mrkrad

Well-Known Member
Oct 13, 2012
1,244
52
48
sounds like your CF card failed. This would be a good time to remind folks to backup their switch (CF/SD) cards before going to production.

That way you can restore or fix them easily. A switch control plane is 99% of the time rtos/linux/*Bsd so easy to mount on other systems for mixup!


I'd guess disk full or corrupt on CF card partition. I tend to increase size of the partition to avoid these problems though they should never occur!
 

markpower28

Active Member
Apr 9, 2013
413
104
43
I run into that before. just make sure upgrade according to the sequence. you can try to upgrade to 2.1 again from TFTP and I may re-download the firmware just to be safe.

upgrade from 2.0 to 2.1
upgrade from 2.1 to 3.0
upgrade from 3.0 to 3.1
upgrade from 3.1 to 3.62
upgrade from 3.62 to 3.91
 

d2000

New Member
Nov 17, 2013
20
0
1
sounds like your CF card failed. This would be a good time to remind folks to backup their switch (CF/SD) cards before going to production.

That way you can restore or fix them easily. A switch control plane is 99% of the time rtos/linux/*Bsd so easy to mount on other systems for mixup!


I'd guess disk full or corrupt on CF card partition. I tend to increase size of the partition to avoid these problems though they should never occur!

Hi, your comment seems to be correct but I am wondering if you have a tip for me. Are you suggesting, I open up the switch and find the CF and fix it? I actually wasn't sure exactly how it looks inside but if there is a CF card in there I can detach I can prob figure it out by mounting it.
 

d2000

New Member
Nov 17, 2013
20
0
1
I run into that before. just make sure upgrade according to the sequence. you can try to upgrade to 2.1 again from TFTP and I may re-download the firmware just to be safe.

upgrade from 2.0 to 2.1
upgrade from 2.1 to 3.0
upgrade from 3.0 to 3.1
upgrade from 3.1 to 3.62
upgrade from 3.62 to 3.91
Thanks Mark, I did exactly line by line from the instructions. This is right after I did 2.0 to 2.1. I will redownload the firmware just to make sure as you've suggested.
The problem though is right now I can't login. What would you suggest on how I can use ftp for this as I need to login as admin user and run the ftp command from there. How can I do that when I can't login as admin or any other users?

Thanks.
 

markpower28

Active Member
Apr 9, 2013
413
104
43
If you configured remote FTP server info, the configuration file will still be there and looking for firmware to download during posting. So no manual configuration is required if that's the case.

*There might be a difference for the file name when upload different versions. If the default file name upgrade_all.tgz does not work, make sure verify the log see what the file name it's asking for.

Make sure verify the FTP server log file to see what file name it's looking for. (you may need to rename the .tgz file for the update process, I remember rename different version of files)
 

d2000

New Member
Nov 17, 2013
20
0
1
I run into that before. just make sure upgrade according to the sequence. you can try to upgrade to 2.1 again from TFTP and I may re-download the firmware just to be safe.

upgrade from 2.0 to 2.1
upgrade from 2.1 to 3.0
upgrade from 3.0 to 3.1
upgrade from 3.1 to 3.62
upgrade from 3.62 to 3.91
Mark are you talking about using "bootp - boot image via network using BootP/TFTP protocol " option before the secondary boot process? (which leads to the console login)
 

d2000

New Member
Nov 17, 2013
20
0
1
I used bootp but all I get is this

=> bootp
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
BOOTP broadcast 5

Retry count exceeded; starting again

I assume it was suppose to get the new image and reinstall but doesn't seem to be doing anything.

I am considering opening the switch up but are you guys sure its just a CF card that I can mount and resize?

thanks
 

mrkrad

Well-Known Member
Oct 13, 2012
1,244
52
48
Hi, your comment seems to be correct but I am wondering if you have a tip for me. Are you suggesting, I open up the switch and find the CF and fix it? I actually wasn't sure exactly how it looks inside but if there is a CF card in there I can detach I can prob figure it out by mounting it.
No I don't know your platform, but I suggest folks who do have the opportunity backup themselves.

You could find someone with one of these switches and get a copy of the filesystem :) or format it and figure out the bootstrap to restore. All switches start out with a blank CF and a bootstrap to get the code on the storage.

Just pray the flash isn't surface mount without a JTAG port :)
 

markpower28

Active Member
Apr 9, 2013
413
104
43
you normally won't need to do that since FTP info should be configured from the instruction above. If you are certain you are on 2.1 you can try drop the 3.0 firmware in your ftp folder and try to upgrade from there. otherwise you can downgrade to 2.0.
 

d2000

New Member
Nov 17, 2013
20
0
1
you normally won't need to do that since FTP info should be configured from the instruction above. If you are certain you are on 2.1 you can try drop the 3.0 firmware in your ftp folder and try to upgrade from there. otherwise you can downgrade to 2.0.
Hi Mark, I have been unable to login to the switch since the upgrade. I understand when you say I can upgrade from within the console but since I am unable to login period, I can't really do anything. This is why I've been trying to do this from outside the console during the secondary boot.

When I try to login as either admin or guest, the password comes out as incorrect. This is even after I reset the password again by holding the reset button. It seems whatever authentication file that is loaded in the filesystem isn't being loaded due to the error (my guess).

Is there a way I can update or continue updating from outside the console?

Thanks