Home > other >  How to bypass the insmod version to check?
How to bypass the insmod version to check?

Time:09-30

description
I have a Linux embedded devices, but there is no development environment, but I know the device using the SDk, so I downloaded the corresponding SDk package, compile the kernel, and compiled a writing your own driver, but when the insmod "insmod: can 't insert. *. Ko' : invalid module format", I modinfo has examined the machine's own drive, found vermagic,
(for embedded devices bring drive on the left, for the new on the right to compile driver) and modified some files, recompile, and finally got a and equipment with the same vermagic drive, but insmod still appear the same mistake,

have conditions
With the same kernel version is the same, the kernel source code, the compiler also same Linux 4.4.48
With the same modified vermagic
Configuration file using the same platform of the configuration file. The config (of course, equipment configuration file. The config and I use the platform of the configuration file may have slight difference) (also have the same online said. Config)

Problem of
In this case, what other places can limit insmod?

CodePudding user response:

Directly modified internal information in binary tools
  • Related