After I modify e1000 driver, for the first time to the compiled, insmod failure, prompt invalid module format
According to the online guide, will under the headers of the Module. Symvers file, copied to e1000 drive directory,
Again after compiling module, use modinfo e1000. Ko command view module information, found the vermagic field still the kernel version does not match, and I but can successfully insmod,
What is this why? Not to succeed must vermaigc value and the kernel versions insmod?
And I did an experiment, the copy to drive folder of the Module. The symvers file name, to come back again, then compile driver Module again, insmod failed again, it seems only the original headers directory of the Module. The symbers file to use,