sonic-buildimage/platform/mellanox/hw-management
Alexander Allen 7c4fbf0455
[Mellanox] Add patch to hw-mgmt to prevent loading of non-existent kernel modules (#10073)
- Why I did it
The latest upgrade of Mellanox hw-mgmt V7.0020.1300 introduced a couple new kernel modules for new Mellanox platforms that have yet to be upstreamed to the linux kernel.

As these new platforms do not have SONiC support we elected not to upstream these new drivers to sonic-linux-kernel but hw-mgmt expects them to exist which is causing a non-functional error on switch boot.

Feb 15 00:09:55.374130 r-leopard-simx-74 ERR systemd-modules-load[269]: Failed to find module 'emc2305'
Feb 15 00:09:55.374141 r-leopard-simx-74 ERR systemd-modules-load[269]: Failed to find module 'ads1015'
To resolve this we can patch hw-mgmt to no longer attempt to load these modules by default.

- How I did it
Added a SONiC patch to Mellanox hw-mgmt in order to remove the unused kernel modules which were not upstreamed to sonic-linux-kernel

- How to verify it
Boot switch and verify there are no error logs regarding kernel modules failing to load.
2022-02-28 08:08:19 +02:00
..
hw-mgmt@cd4e3f7bdc [Mellanox] Update mellanox hw-mgmt submodule and versions to V.7.0020.1300 (#9860) 2022-02-06 16:42:53 +02:00
0001-Make-SONiC-determine-reboot-cause-service-start-afte.patch [Mellanox] Make determine-reboot-cause service start after hw-management service (#6465) 2021-01-15 11:38:31 -08:00
0002-Disable-hw-mgmt-on-SimX-platforms.patch [Mellanox] Update mellanox hw-mgmt submodule and versions to V.7.0020.1300 (#9860) 2022-02-06 16:42:53 +02:00
0003-Remove-unused-non-upstream-kernel-modules-from-load.patch [Mellanox] Add patch to hw-mgmt to prevent loading of non-existent kernel modules (#10073) 2022-02-28 08:08:19 +02:00
Makefile [Mellanox] fix hw-mgmt patches (#9539) 2021-12-16 16:02:03 +02:00