open-switch / opx-platform-config

https://openswitch.net
4 stars 20 forks source link

S5248 - opx-show-version fail to show platform info #70

Closed waliulislam closed 5 years ago

waliulislam commented 5 years ago
root@OPX:~# opx-show-version 
OS_NAME="OPX"
OS_VERSION="3.1.0-dev2"
PLATFORM="A00"
ARCHITECTURE="x86_64"
INTERNAL_BUILD_ID="OpenSwitch blueprint for Dell 1.0.0"
BUILD_VERSION="3.1.0-dev2(unstable)"
BUILD_DATE="2018-11-28T14:47:51-0800"
INSTALL_DATE="2018-11-30T03:05:58+00:00"
SYSTEM_UPTIME= 2 minutes
SYSTEM_STATE= running
UPGRADED_PACKAGES=no
ALTERED_PACKAGES=yes
root@OPX:~# opx-show-system-status 
System State:  running
No Failed Service
Modified Packages:
opx-system-utils
linux-image-4.9.110-opx
root@OPX:~#

eeprom programmed is correct.

ONIE:/ # onie-syseeprom 
[   84.246790] random: crng init done
TlvInfo Header:
   Id String:    TlvInfo
   Version:      1
   Total Length: 180
TLV Name             Code Len Value
-------------------- ---- --- -----
Product Name         0x21   9 S5248F-ON
Part Number          0x22   6 046MRJ
Serial Number        0x23  20 CN046MRJCES0088H0019
Base MAC Address     0x24   6 54:BF:64:E6:DE:C1
Manufacture Date     0x25  19 08/23/2018 09:26:45
Device Version       0x26   1 1
Label Revision       0x27   3 A00
ONIE Version         0x29  10 3.40.1.1-4
MAC Addresses        0x2A   2 256
Manufacturer         0x2B   5 CES00
Country Code         0x2C   2 CN
Vendor Name          0x2D   8 Dell EMC
Diag Version         0x2E  10 3.40.4.1-2
Service Tag          0x2F   7 3Z610Q2
Vendor Extension     0xFD   4  0x00 0x00 0x02 0xA2
Platform Name        0x28  30 x86_64-dellemc_s5248f_c3538-r0
CRC-32               0xFE   4 0xBB0E73E8
Checksum is valid.
ONIE:/ # cat /etc/machine.conf
onie_version=3.40.1.1-4
onie_vendor_id=674
onie_platform=x86_64-dellemc_s5248f_c3538-r0
onie_machine=dellemc_s5248f_c3538
onie_machine_rev=0
onie_arch=x86_64
onie_config_version=1
onie_build_date="2018-07-25T20:59-0700"
onie_partition_type=gpt
onie_kernel_version=4.9.30
onie_firmware=auto
onie_switch_asic=bcm
onie_skip_ethmgmt_macs=no
ONIE:/ #
waliulislam commented 5 years ago

I did a dist-upgrade and still seeing the issue.

jeff-yin commented 5 years ago

@hpersh please re-check

waliulislam commented 5 years ago

Load rc0 image and found the issue is fixed.