Hi, Le Thu, 1 Nov 2007 20:44:36 +0330, "Iman Darabi" <iman.darabi@xxxxxxxxx> a écrit : > i got scull driver from http://examples.oreilly.com/linuxdrive3/ > it needs linux-2.6.10 , but i've gentoo with linux-2.6.22.9 ( and gcc > version 4.1.1 ) > > so i used 2.6.10 header files to compile scull like this : You must load the module within the kernel it was compiled for. So in your case, you should either: * compile your module against 2.6.10 and be running 2.6.10 * compile your module against 2.6.22.9 and be running 2.6.22.9 Sincerly, Thomas -- Thomas Petazzoni - thomas.petazzoni@xxxxxxxx http://{thomas,sos,kos}.enix.org - http://www.toulibre.org http://www.{livret,agenda}dulibre.org -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ