admin@r-anaconda-10:~$ sudo sonic_installer list Current: SONiC-OS-HEAD.125-f9dea231 Next: SONiC-OS-HEAD.125-f9dea231 Available: SONiC-OS-HEAD.125-f9dea231 SONiC-OS-HEAD.848-c07ae3b1 admin@r-anaconda-10:~$ sudo sonic_installer install /tmp/sonic-mellanox.bin New image will be installed, continue? [y/N]: y Installing image SONiC-OS-HEAD.122-c07ae3b1 and setting it as default... Command: bash /tmp/sonic-mellanox.bin Verifying image checksum ... OK. Preparing image archive ... OK. Installing SONiC in SONiC ONIE Installer: platform: x86_64-mellanox-r0 onie_platform: x86_64-mlnx_msn3700c-r0 Removing old SONiC installation /host/image-HEAD.848-c07ae3b1 Installing SONiC to /host/image-HEAD.122-c07ae3b1 Archive: fs.zip creating: /host/image-HEAD.122-c07ae3b1/boot/ inflating: /host/image-HEAD.122-c07ae3b1/boot/config-4.9.0-9-2-amd64 inflating: /host/image-HEAD.122-c07ae3b1/boot/System.map-4.9.0-9-2-amd64 inflating: /host/image-HEAD.122-c07ae3b1/boot/initrd.img-4.9.0-9-2-amd64 inflating: /host/image-HEAD.122-c07ae3b1/boot/vmlinuz-4.9.0-9-2-amd64 creating: /host/image-HEAD.122-c07ae3b1/platform/ creating: /host/image-HEAD.122-c07ae3b1/platform/x86_64-grub/ inflating: /host/image-HEAD.122-c07ae3b1/platform/x86_64-grub/grub-pc-bin_2.02~beta3-5+deb9u2_amd64.deb extracting: /host/image-HEAD.122-c07ae3b1/platform/firsttime inflating: /host/image-HEAD.122-c07ae3b1/fs.squashfs Installed SONiC base image SONiC-OS successfully Command: grub-set-default --boot-directory=/host 0 Command: rm -rf /host/old_config Command: cp -ar /etc/sonic /host/old_config Command: sync;sync;sync Command: sleep 3 Done admin@r-anaconda-10:~$ admin@r-anaconda-10:~$ admin@r-anaconda-10:~$ sudo sonic_installer list Current: SONiC-OS-HEAD.125-f9dea231 Next: SONiC-OS-HEAD.122-c07ae3b1 Available: SONiC-OS-HEAD.122-c07ae3b1 SONiC-OS-HEAD.125-f9dea231 admin@r-anaconda-10:~$ cat /host/grub/ fonts/ grub.cfg grubenv i386-pc/ locale/ admin@r-anaconda-10:~$ cat /host/grub/grubenv # GRUB Environment Block saved_entry=0 #########################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################admin@r-anaconda-10:~$ admin@r-anaconda-10:~$ admin@r-anaconda-10:~$ cat /host/grub/grub.cfg cat: /host/grub/grub.cfg: Permission denied admin@r-anaconda-10:~$ sudo cat /host/grub/grub.cfg serial --port=0x3f8 --speed=9600 --word=8 --parity=no --stop=1 terminal_input serial terminal_output serial set timeout=5 if [ -s $prefix/grubenv ]; then load_env fi if [ "${saved_entry}" ] ; then set default="${saved_entry}" fi if [ "${next_entry}" ] ; then set default="${next_entry}" set next_entry= save_env next_entry fi menuentry 'SONiC-OS-HEAD.122-c07ae3b1' { search --no-floppy --label --set=root SONiC-OS echo 'Loading SONiC-OS OS kernel ...' insmod gzio if [ x = xxen ]; then insmod xzio; insmod lzopio; fi insmod part_msdos insmod ext2 linux /image-HEAD.122-c07ae3b1/boot/vmlinuz-4.9.0-9-2-amd64 root=/dev/sda3 rw console=tty0 console=ttyS0,9600n8 quiet net.ifnames=0 biosdevname=0 loop=image-HEAD.122-c07ae3b1/fs.squashfs loopfstype=squashfs apparmor=1 security=apparmor varlog_size=4096 usbcore.autosuspend=-1 echo 'Loading SONiC-OS OS initial ramdisk ...' initrd /image-HEAD.122-c07ae3b1/boot/initrd.img-4.9.0-9-2-amd64 } menuentry 'SONiC-OS-HEAD.125-f9dea231' { search --no-floppy --label --set=root SONiC-OS echo 'Loading SONiC-OS OS kernel ...' insmod gzio if [ x = xxen ]; then insmod xzio; insmod lzopio; fi insmod part_msdos insmod ext2 linux /image-HEAD.125-f9dea231/boot/vmlinuz-4.9.0-9-2-amd64 root=/dev/sda3 rw console=tty0 console=ttyS0,9600n8 quiet net.ifnames=0 biosdevname=0 loop=image-HEAD.125-f9dea231/fs.squashfs loopfstype=squashfs apparmor=1 security=apparmor varlog_size=4096 usbcore.autosuspend=-1 echo 'Loading SONiC-OS OS initial ramdisk ...' initrd /image-HEAD.125-f9dea231/boot/initrd.img-4.9.0-9-2-amd64 } menuentry ONIE { search --no-floppy --label --set=root ONIE-BOOT echo 'Loading ONIE ...' chainloader +1 } admin@r-anaconda-10:~$ sudo python "import sonic_platform as P;c = P.platform.Platform().get_chassis();b = c._component_list[0];b.install_firmware(\"0ACLH004.rom\")" python: can't open file 'import sonic_platform as P;c = P.platform.Platform().get_chassis();b = c._component_list[0];b.install_firmware("0ACLH004.rom")': [Errno 2] No such file or directory admin@r-anaconda-10:~$ sudo python -c "import sonic_platform as P;c = P.platform.Platform().get_chassis();b = c._component_list[0];b.install_firmware(\"0ACLH004.rom\")" admin@r-anaconda-10:~$ sudo onie-fw-update ** Pending firmware update information: Name | Version / Type | Attempts |Size (Bytes) | Date =============+================+==========+==============+==================== 0ACLH004.rom | bios_update | 0 | 8388608 | 2019-11-15 11:04:11 =============+================+==========+==============+==================== For more detailed information run: onie-fw-update show-pending ** Firmware update results information: Name | Version / Type | Result | Date =============+=======================+==========+==================== onie-updater | 2019.08-5.2.0016-9600 | Success | 2019-10-15 10:22:36 =============+=======================+==========+==================== For more detailed information run: onie-fw-update show-results admin@r-anaconda-10:~$ cat /host/grub/grub.cfg cat: /host/grub/grub.cfg: Permission denied admin@r-anaconda-10:~$ cat /host/grub/grubenv # GRUB Environment Block saved_entry=0 next_entry=2 ############################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################admin@r-anaconda-10:~$ admin@r-anaconda-10:~$ sudo cat /host/grub/grub.cfg serial --port=0x3f8 --speed=9600 --word=8 --parity=no --stop=1 terminal_input serial terminal_output serial set timeout=5 if [ -s $prefix/grubenv ]; then load_env fi if [ "${saved_entry}" ] ; then set default="${saved_entry}" fi if [ "${next_entry}" ] ; then set default="${next_entry}" set next_entry= save_env next_entry fi menuentry 'SONiC-OS-HEAD.122-c07ae3b1' { search --no-floppy --label --set=root SONiC-OS echo 'Loading SONiC-OS OS kernel ...' insmod gzio if [ x = xxen ]; then insmod xzio; insmod lzopio; fi insmod part_msdos insmod ext2 linux /image-HEAD.122-c07ae3b1/boot/vmlinuz-4.9.0-9-2-amd64 root=/dev/sda3 rw console=tty0 console=ttyS0,9600n8 quiet net.ifnames=0 biosdevname=0 loop=image-HEAD.122-c07ae3b1/fs.squashfs loopfstype=squashfs apparmor=1 security=apparmor varlog_size=4096 usbcore.autosuspend=-1 echo 'Loading SONiC-OS OS initial ramdisk ...' initrd /image-HEAD.122-c07ae3b1/boot/initrd.img-4.9.0-9-2-amd64 } menuentry 'SONiC-OS-HEAD.125-f9dea231' { search --no-floppy --label --set=root SONiC-OS echo 'Loading SONiC-OS OS kernel ...' insmod gzio if [ x = xxen ]; then insmod xzio; insmod lzopio; fi insmod part_msdos insmod ext2 linux /image-HEAD.125-f9dea231/boot/vmlinuz-4.9.0-9-2-amd64 root=/dev/sda3 rw console=tty0 console=ttyS0,9600n8 quiet net.ifnames=0 biosdevname=0 loop=image-HEAD.125-f9dea231/fs.squashfs loopfstype=squashfs apparmor=1 security=apparmor varlog_size=4096 usbcore.autosuspend=-1 echo 'Loading SONiC-OS OS initial ramdisk ...' initrd /image-HEAD.125-f9dea231/boot/initrd.img-4.9.0-9-2-amd64 } menuentry ONIE { search --no-floppy --label --set=root ONIE-BOOT echo 'Loading ONIE ...' chainloader +1 } admin@r-anaconda-10:~$ sudo /sbin/reboot admin@r-anaconda-10:~$ Linux r-anaconda-10 4.9.0-9-2-amd64 #1 SMP Debian 4.9.168-1+deb9u5 (2015-12-19) x86_64 You are on ____ ___ _ _ _ ____ / ___| / _ \| \ | (_)/ ___| \___ \| | | | \| | | | ___) | |_| | |\ | | |___ |____/ \___/|_| \_|_|\____| -- Software for Open Networking in the Cloud -- Unauthorized access and/or use are prohibited. All access and/or use are subject to monitoring. Help: http://azure.github.io/SONiC/ Last login: Fri Nov 15 10:55:34 2019 from 172.16.4.33 admin@r-anaconda-10:~$ show version SONiC Software Version: SONiC.HEAD.122-c07ae3b1 Distribution: Debian 9.11 Kernel: 4.9.0-9-2-amd64 Build commit: c07ae3b1 Build date: Mon Nov 11 08:08:06 UTC 2019 Built by: johnar@jenkins-worker-4 Platform: x86_64-mlnx_msn3700c-r0 HwSKU: ACS-MSN3700C ASIC: mellanox Serial Number: MT1852X03894 Uptime: 11:10:16 up 0 min, 1 user, load average: 1.00, 0.24, 0.08 Docker images: REPOSITORY TAG IMAGE ID SIZE docker-syncd-mlnx HEAD.122-c07ae3b1 18dd9dfe4a17 371MB docker-syncd-mlnx latest 18dd9dfe4a17 371MB docker-fpm-frr HEAD.122-c07ae3b1 a45b4d2e6c4f 320MB docker-fpm-frr latest a45b4d2e6c4f 320MB docker-sflow HEAD.122-c07ae3b1 9ba103b76681 303MB docker-sflow latest 9ba103b76681 303MB docker-lldp-sv2 HEAD.122-c07ae3b1 e08ce49d02e4 298MB docker-lldp-sv2 latest e08ce49d02e4 298MB docker-dhcp-relay HEAD.122-c07ae3b1 8f6812e8a4bc 288MB docker-dhcp-relay latest 8f6812e8a4bc 288MB docker-database HEAD.122-c07ae3b1 35c89b1a08c8 280MB docker-database latest 35c89b1a08c8 280MB docker-snmp-sv2 HEAD.122-c07ae3b1 5741374f8ed0 334MB docker-snmp-sv2 latest 5741374f8ed0 334MB docker-orchagent HEAD.122-c07ae3b1 864ce8045d48 321MB docker-orchagent latest 864ce8045d48 321MB docker-teamd HEAD.122-c07ae3b1 fad3f3ab14f4 303MB docker-teamd latest fad3f3ab14f4 303MB docker-sonic-telemetry HEAD.122-c07ae3b1 ecfc59c3c4dd 303MB docker-sonic-telemetry latest ecfc59c3c4dd 303MB docker-router-advertiser HEAD.122-c07ae3b1 08e7bfe4196b 280MB docker-router-advertiser latest 08e7bfe4196b 280MB docker-platform-monitor HEAD.122-c07ae3b1 f4c26c38608e 564MB docker-platform-monitor latest f4c26c38608e 564MB admin@r-anaconda-10:~$ sudo dmidecode -t 11 # dmidecode 3.0 Getting SMBIOS data from sysfs. SMBIOS 2.8 present. Handle 0x0025, DMI type 11, 5 bytes OEM Strings String 1: 0ACLH004_02.02.006 String 2: Default string admin@r-anaconda-10:~$ WITHOUT INSTALLING THE SONIC IMAGE admin@r-anaconda-10:~$ sudo python -c "import sonic_platform as P;c = P.platform.Platform().get_chassis();b = c._component_list[0];rc,hint=b.install_firmware(\"0ACLH004.rom\");print rc,hint" True Reboot via "/sbin/reboot" is required to finish BIOS installation. Please don't try installing a new sonic image before BIOS installation finishing admin@r-anaconda-10:~$ sudo onie-fw-update ** Pending firmware update information: Name | Version / Type | Attempts |Size (Bytes) | Date =============+================+==========+==============+==================== 0ACLH004.rom | bios_update | 0 | 8388608 | 2019-11-15 11:38:22 =============+================+==========+==============+==================== For more detailed information run: onie-fw-update show-pending