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

[Mellanox] enlarge the eeprom ready timeout from 20 to 60 #18983

Merged

Conversation

Junchao-Mellanox
Copy link
Collaborator

Why I did it

Service like ZTP accesses EEPROM very early at the boot stage. It could cause an issue that EEPROM is not ready. The PR enlarge EEPROM ready timeout from 20s to 60s.

Work item tracking
  • Microsoft ADO (number only):

How I did it

Enlarge EEPROM ready timeout from 20s to 60s.

How to verify it

Manual test

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211
  • 202305
  • 202311

Tested branch (Please provide the tested image version)

Description for the changelog

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

@Junchao-Mellanox
Copy link
Collaborator Author

/azpw ms_conflict

@Junchao-Mellanox
Copy link
Collaborator Author

Hi @prgeor , could you please help review?

@liat-grozovik
Copy link
Collaborator

@Junchao-Mellanox this is to confirm that this is a delay only during init, right?

@Junchao-Mellanox
Copy link
Collaborator Author

@Junchao-Mellanox this is to confirm that this is a delay only during init, right?

Yes. It will wait only if the file does not exit. The file is created during init by udev event sent from driver.

@liat-grozovik liat-grozovik merged commit c198057 into sonic-net:master May 29, 2024
11 checks passed
@Junchao-Mellanox Junchao-Mellanox deleted the master-eeprom-timeout branch May 29, 2024 10:31
mssonicbld pushed a commit to mssonicbld/sonic-buildimage that referenced this pull request May 30, 2024
…18983)

- Why I did it
Service like ZTP accesses EEPROM very early at the boot stage. It could cause an issue that EEPROM is not ready. The PR enlarge EEPROM ready timeout from 20s to 60s.

- How I did it
Enlarge EEPROM ready timeout from 20s to 60s.

- How to verify it
Manual test
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202311: #19143

mssonicbld pushed a commit that referenced this pull request May 31, 2024
- Why I did it
Service like ZTP accesses EEPROM very early at the boot stage. It could cause an issue that EEPROM is not ready. The PR enlarge EEPROM ready timeout from 20s to 60s.

- How I did it
Enlarge EEPROM ready timeout from 20s to 60s.

- How to verify it
Manual test
Junchao-Mellanox added a commit to Junchao-Mellanox/sonic-buildimage that referenced this pull request Jul 29, 2024
…18983)

- Why I did it
Service like ZTP accesses EEPROM very early at the boot stage. It could cause an issue that EEPROM is not ready. The PR enlarge EEPROM ready timeout from 20s to 60s.

- How I did it
Enlarge EEPROM ready timeout from 20s to 60s.

- How to verify it
Manual test
@Junchao-Mellanox
Copy link
Collaborator Author

Hi @yxieca , I created a PR for 202305 : #19728. Could you please help merge? Thanks.

@yxieca
Copy link
Contributor

yxieca commented Jul 29, 2024

@StormLiangMS for the 202305 PR.

StormLiangMS pushed a commit that referenced this pull request Aug 2, 2024
…19728)

- Why I did it
Service like ZTP accesses EEPROM very early at the boot stage. It could cause an issue that EEPROM is not ready. The PR enlarge EEPROM ready timeout from 20s to 60s.

- How I did it
Enlarge EEPROM ready timeout from 20s to 60s.

- How to verify it
Manual test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants