Closed saiarcot895 closed 1 month ago
Cherry-pick PR to 202405: https://github.com/sonic-net/sonic-swss/pull/3214
Cherry-pick PR to 202311: https://github.com/sonic-net/sonic-swss/pull/3215
@saiarcot895 cherry pick PR didn't pass PR checker. Please check!!!
https://github.com/sonic-net/sonic-swss/pull/3214
@saiarcot895 cherry pick PR didn't pass PR checker. Please check!!!
https://github.com/sonic-net/sonic-swss/pull/3214
@saiarcot895 cherry pick PR didn't pass PR checker. Please check!!!
https://github.com/sonic-net/sonic-swss/pull/3214
@saiarcot895 cherry pick PR didn't pass PR checker. Please check!!!
https://github.com/sonic-net/sonic-swss/pull/3214
@saiarcot895 cherry pick PR didn't pass PR checker. Please check!!!
https://github.com/sonic-net/sonic-swss/pull/3214
@saiarcot895 cherry pick PR didn't pass PR checker. Please check!!!
https://github.com/sonic-net/sonic-swss/pull/3214
@saiarcot895 cherry pick PR didn't pass PR checker. Please check!!!
https://github.com/sonic-net/sonic-swss/pull/3214
What I did
The current version of the script does not work at all when the host kernel is Azure's 5.15 kernel on Ubuntu 20.04. It does seem to work with 5.11 and older.
Update the script to add support for building and loading the kernel modules for the 5.15 kernel, while keeping support for the non-HWE kernel.
In addition, use a separate updates/sonic directory for the kernel modules we compile, to make it clear they were compiled separately and don't come from the official kernel build packages.
Finally, add a warning if we're compiling a kernel module for a different version of the kernel than what is currently running.
This is a cherry-pick of sonic-net/sonic-swss-common#720
Why I did it
How I verified it
Details if related