On 7/12/05, Sarang Radke <radke.s@xxxxxxxxx> wrote: > Hi all, > > I am trying to write basic device driver program (of course from LDD > by Rubini) while using insmod I am getting error > "couldn't find the kernel version the module was compiled for" This means that the version of running kernel and the kernel with which you compiled your module with are different. Do have the kernel sources of your running kernel and compile the modle with that. What kernel version are you running on your machine ? -Gaurav > > Can anyone please explain the cause and solution. > > > Thanks in advance. > Sarang > > -- > Kernelnewbies: Help each other learn about the Linux kernel. > Archive: http://mail.nl.linux.org/kernelnewbies/ > FAQ: http://kernelnewbies.org/faq/ > > -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/