Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SONIC Corrupting ONIE on delta and Edgecore switches. #161

Closed
kamalkrbh opened this issue Mar 19, 2018 · 3 comments
Closed

SONIC Corrupting ONIE on delta and Edgecore switches. #161

kamalkrbh opened this issue Mar 19, 2018 · 3 comments
Labels

Comments

@kamalkrbh
Copy link

kamalkrbh commented Mar 19, 2018

Hello,
I tried installing SONIC images on Delta-AG9032V1 and Edgecore-5712 but it end up giving attached error and on next reboot it takes to grub console and It looks ONIE is currpted I need to reinstall ONIE.

I tried installing SONIC from (I Downloaded respective images on 13 March 2018):
https://github.com/Azure/SONiC/wiki/Supported-Devices-and-Platforms

For :
Delta | AG9032V1 | Broadcom | Tomahawk | 32x100G
and
Edgecore | AS5712-54X | Broadcom | Trident2 | 72x10G
capture

@pollyhsu2git
Copy link

pollyhsu2git commented Mar 20, 2018

@STORDIS,
For the Edgecore AS5712 model,
1). We just tested installing the SONIC Edgecore-5712 image (Built 2018-03-19 at
https://github.com/Azure/SONiC/wiki/Supported-Devices-and-Platforms), and it succeeded.
2). For detailed test log, please refer to the attached ZIP file, SONiC-AS5712_54X-j_n527-56efb41-PORT_MAP_OK-20180320_1106.zip
3). We did notice that there wewe ONIE installer script revisions (sonic-net/sonic-buildimage#1468, and sonic-net/sonic-buildimage#1512) these couple of days~
#####
root@sonic:/home/admin# show ver
SONiC Software Version: SONiC.HEAD.527-56efb41
Distribution: Debian 8.10
Kernel: 3.16.0-5-amd64
Build commit: 56efb41
Build date: Mon Mar 19 13:36:20 UTC 2018
Built by: johnar@jenkins-worker-3
#####
SONiC-AS5712_54X-j_n527-56efb41-PORT_MAP_OK-20180320_1106.zip

@pichuang
Copy link

pichuang commented Mar 20, 2018

Hi @STORDIS

This is Phil Huang from Edgecore Networks phil_huang@edge-core.com

I have tested the issue and download latest BRCM SONiC binary code today.

The root cause is mount over existing directory "/mnt/onie-boot"

Please check my processes as below

ONIE:/mnt # ls
onie-boot
ONIE:/mnt # mkdir usb
ONIE:/mnt # mount /dev/sdb1 /mnt/usb/
ONIE:/mnt # cd usb/
ONIE:/mnt/usb # ls
sonic-broadcom.bin
ONIE:/mnt/usb # md5sum sonic-broadcom.bin
b8e7c578c50acd5b22053a959b1623f2  sonic-broadcom.bin
ONIE:/mnt/usb # sha256sum sonic-broadcom.bin
395fa325e7ba865c55fb60a430cc8c3493b73c1d16c53e7b74bfeda8720bcdd5  sonic-broadcom.bin
ONIE:/mnt/usb # onie-nos-install sonic-broadcom.bin

screen shot 2018-03-20 at 12 18 19

And you can get fresh SONiC environment on AS5712-54X

screen shot 2018-03-20 at 12 24 31

admin@sonic:~$ show platform summary
Platform: x86_64-accton_as5712_54x-r0
HwSKU: Accton-AS5712-54X
ASIC: broadcom
admin@sonic:~$ show version
SONiC Software Version: SONiC.HEAD.527-56efb41
Distribution: Debian 8.10
Kernel: 3.16.0-5-amd64
Build commit: 56efb41
Build date: Mon Mar 19 13:36:20 UTC 2018
Built by: johnar@jenkins-worker-3

@robertzhu-agemasys
Copy link

@STORDIS

Hello, This is Robert from Delta.

I did mirror your SONIC installation here in my lab after I read your post. Everything seems working smoothly. So I would like to suggest to check the version of ONIE and BIOS. Let me know if you still have problem.

AG9032v1> show ver
BIOS :
Version: V1.02
Release Date: 07/20/2016
ONIE :
Version: 2016.6.6-V1.1
Release Date: 2016-06-06T17:42+0800

The final installed version of SONIC is as following:

admin@sonic:~$ show version
SONiC Software Version: SONiC.HEAD.514-f250fe7
Distribution: Debian 8.10
Kernel: 3.16.0-5-amd64
Build commit: f250fe7
Build date: Wed Mar 7 07:53:57 UTC 2018
Built by: johnar@jenkins-worker-3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants