When we inserting a module into linux kernel, the linux (almost) always check the vermagic info of module, if it does not match kernel’s, inserting process fails.
So, the question is :
How to build modules for a precompiled kernel ?
Solution:
Edit VERMAGIC_STRING
in include/linux/vermagic.h