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

onie-syseeprom -s command cause data corruption during ONIE discovery #1069

Open
Vincent-Chang-Ufi opened this issue Nov 14, 2024 · 0 comments

Comments

@Vincent-Chang-Ufi
Copy link

When ONIE is discover the NOS or the updater, will access the onie-syseeprom value such as platform-name. If execute the onie-syseeprom write command onie-syseeprom -s will cause the data corruption because it will read and write the EEPROM value at the same time and will show Notice: Invalid TLV checksum found. Using default contents. Please see the log below

TlvInfo Header:

Id String: TlvInfo
Version: 1
Total Length: 22
TLV Name Code Len Value


Serial Number 0x23 11 HAHN544000L
Device Version 0x26 1 6
CRC-32 0xFE 4 0x5A97A8BF
Checksum is valid.
down.
ONIE: eth2: link down. Skipping configuration.
ONIE: Failed to configure eth1 interface
ONIE: Failed to configure eth2 interface
ONIE: Starting ONIE Service Discovery
Info: Attempting file://dev/sda3/onie-installer-x86_64-ufispace_skl_ncplite_series-r0 ...
Info: Attempting file://dev/sda3/onie-installer-x86_64-ufispace_skl_ncplite_series-r0.bin ...
Info: Attempting file://dev/sda3/onie-installer-x86_64-ufispace_skl_ncplite_series ...
Info: Attempting file://dev/sda3/onie-installer-x86_64-ufispace_skl_ncplite_series.bin ...
Info: Attempting file://dev/sda3/onie-installer-ufispace_skl_ncplite_series ...
Info: Attempting file://dev/sda3/onie-installer-ufispace_skl_ncplite_series.bin ...
Info: Attempting file://dev/sda3/onie-installer-x86_64-bcm ...
Info: Attempting file://dev/sda3/onie-installer-x86_64-bcm.bin ...
Info: Attempting file://dev/sda3/onie-installer-x86_64 ...
Info: Attempting file://dev/sda3/onie-installer-x86_64.bin ...
Info: Attempting file://dev/sda3/onie-installer ...
Info: Attempting file://dev/sda3/onie-installer.bin ...
Notice: Invalid TLV checksum found. Using default contents.
TlvInfo Header:
Id String: TlvInfo
Version: 1
Total Length: 6
TLV Name Code Len Value


CRC-32 0xFE 4 0xD4431C18
Checksum is valid.
ONIE: Unable to find 'Serial Number' TLV in EEPROM data.
Notice: Invalid TLV header found. Using default contents.
Notice: Invalid TLV checksum found. Using default contents.

TlvInfo Header:
Id String: TlvInfo
Version: 1
Total Length: 22
TLV Name Code Len Value


Serial Number 0x23 11 HAHN544000L
Device Version 0x26 1 6
CRC-32 0xFE 4 0x5A97A8BF
Checksum is valid.
down.
ONIE: eth2: link down. Skipping configuration.
ONIE: Failed to configure eth1 interface
ONIE: Failed to configure eth2 interface
ONIE: Starting ONIE Service Discovery
Info: Attempting file://dev/sda3/onie-installer-x86_64-bcm ...
Info: Attempting file://dev/sda3/onie-installer-x86_64-bcm.bin ...
Info: Attempting file://dev/sda3/onie-installer-x86_64 ...
Info: Attempting file://dev/sda3/onie-installer-x86_64.bin ...
Info: Attempting file://dev/sda3/onie-installer ...
Info: Attempting file://dev/sda3/onie-installer.bin ...
Notice: Invalid TLV checksum found. Using default contents.
TlvInfo Header:
Id String: TlvInfo
Version: 1
Total Length: 6
TLV Name Code Len Value


CRC-32 0xFE 4 0xD4431C18
Checksum is valid.
ONIE: Unable to find 'Serial Number' TLV in EEPROM data.
Notice: Invalid TLV header found. Using default contents.
Notice: Invalid TLV checksum found. Using default contents.

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

No branches or pull requests

1 participant