I've modified a kernel module (qcaspi) and recompiled it, however my modifications aren't being called (checked dmesg) when the OS boots up.
Instead, the old kernel module is being run.
If I reload the module with rmmod and modprobe then my changes DO get called.
What's going on there? Where is the OS finding the old module if I modified it and now have a new .ko file?
update-initramfs(debian, etc) or whatever the equivalent is in non-debian distros. you'll need to do this every time you re-compile your module, to make sure YOUR current version of it is available early in the bootup process.