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

init: increase kmodloader timeout #14

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

tk154
Copy link

@tk154 tk154 commented Nov 1, 2024

Currently, the init process waits 12 seconds for the kmodloader process to load all kernel modules from /etc/modules-boot.d/* before moving on.

This timeout isn't long enough for a Mellanox Spectrum-2 Switch, which needs around 15 seconds to load all kernel modules from the directory.

This commit increases the timeout to 20 seconds.

Currently, the init process waits 12 seconds for the kmodloader process
to load all kernel modules from /etc/modules-boot.d/* before moving on.

This timeout isn't long enough for a Mellanox Spectrum-2 Switch, which
needs around 15 seconds to load all kernel modules from the directory.

This commit increases the timeout to 20 seconds.

Signed-off-by: Til Kaiser <[email protected]>
@Ansuel
Copy link
Member

Ansuel commented Nov 1, 2024 via email

@tk154
Copy link
Author

tk154 commented Nov 1, 2024

It's because of the mlxsw_spectrum driver, which takes up most of the time:

root@SN3700:~# time modprobe mlxsw_spectrum
real    0m 13.15s
user    0m 0.02s
sys     0m 10.68s

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

Successfully merging this pull request may close these issues.

2 participants