Re: compiling modules after 2.4.* --> 2.6.0 upgrade

From: Jonathan Corbet
Date: Tue Dec 23 2003 - 11:29:11 EST


> I'm attempting to port a module I wrote for the 2.4 series to 2.6 but I
> get the following error when I try and insmod:
>
> root@dimension# /usr/sbin/insmod gpstest.o
> insmod: error inserting 'gpstest.o': -1 Invalid module format
> root@dimension#

Try inserting gpstest.ko instead.

Don't have a gpstest.ko? Head off to

http://lwn.net/Articles/driver-porting/

to see how to make one.

jon

Jonathan Corbet
Executive editor, LWN.net
corbet@xxxxxxx
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/