are u sure? or is it modprobe -f? and modprobe have others like force-vermagic which i don't understand what is it..... On Tue, Jul 15, 2008 at 1:42 PM, Mulyadi Santosa <mulyadi.santosa@xxxxxxxxx> wrote: > Hi Mark... > > On Mon, Jul 14, 2008 at 5:41 PM, Mark Ryden <markryde@xxxxxxxxx> wrote: >> Hello, >> >> I have a machine with 2.6.25 kernel (FC9) and I want to build on it a >> module which can be loaded into >> 2.6.23 kernel. (fc8). >> I am building the module on FC9 against 2.6.23 tree and it is ok. >> >> I can insmod the module in 2.6.23 kernel. >> However, when I try to insmod the module on 2.6.25 tree I get "invalid >> module format". > > It's a standard warning: module insertion is forbidden if it's > detected being compiled with different gcc version. It might introduce > problem like stack layout, ABI and so on. > > However, there is always insmod -f if you insist to do that... > > regards, > > Mulyadi. > > -- > To unsubscribe from this list: send an email with > "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx > Please read the FAQ at http://kernelnewbies.org/FAQ > > -- Regards, Peter Teoh -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ