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

[device/accton/as4630-54pe] Fix accton driver not been installed #6321

Merged
merged 1 commit into from
Feb 6, 2021

Conversation

roylee123
Copy link
Collaborator

Accton util applies lsmod to check if drivers are installed.
But lsmod may return error on startup and skip module installation.

Signed-off-by: roy_lee [email protected]

- Why I did it
Reported that sometimes the peripherals cannot be polled.

- How I did it
It's found that lsmod command may failed on startup, the accton util misjudges that drivers have been installed.
The change here is not to apply lsmod to poll installed drivers.

- How to verify it
The bug can be probably replicated during several time of reboot.
Replace with new script and reboot 100 times.
Drivers are all well installed on these 100 reboot.

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

  • 201811
  • 201911
  • 202006

- Description for the changelog

Accton util applies lsmod to check if drivers are installed.
But lsmod may return error on startup and skip module installation.

Signed-off-by: roy_lee <[email protected]>
@jleveque
Copy link
Contributor

jleveque commented Jan 9, 2021

Retest mellanox please

@jleveque
Copy link
Contributor

jleveque commented Jan 9, 2021

Retest vsimage please

@PJHsieh
Copy link

PJHsieh commented Jan 14, 2021

Reset

@PJHsieh
Copy link

PJHsieh commented Jan 20, 2021

Retest

@jleveque
Copy link
Contributor

Retest vsimage please

@lguohan lguohan merged commit b6a6c0c into sonic-net:master Feb 6, 2021
daall pushed a commit that referenced this pull request Feb 16, 2021
Accton util applies lsmod to check if drivers are installed.
But lsmod may return error on startup and skip module installation.

Signed-off-by: roy_lee <[email protected]>
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.

4 participants