I have modified the default "nvme" device driver to suit my project and I am trying to automatically load the modified nvme driver (mnvme) at boot time but I am not successful.
I have edited /lib/modules/{kernel-version}/modules.alias file to include "mnvme" instead of "nvme" but the default "nvme" keeps getting loaded.
I also see mnvme: module verification failed: signature and/or required key missing - tainting kernel on kernel messages.
Note: I am able to manually remove "nvme" and load "mnvme" using rmmod and insmod commands respectively. I would prefer to do it automatically at boot time
Thanks, Bala.
extra
under/lib/modules/$KVER/kernel
. It contains modules that override existing ones. – 0andriy