Re: problems inserting driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  Hi,
     HAve you tried with insmod -f <your-module-name>, this will insert the module even if that is not compiled with the version of the running kernel. Basically this is just a version mismatch problem. You can refer Linux Kernel Module Programming Guide for details. There is a reference there to this problem.

Thanks.

Sumit Sharma.

On Sat, 12 Jun 2004 Cristina Rivera wrote :
>Hello everybody,
>
>I'm trying to insert a driver that I've adapted to my needs from one that I found in a web page and when I try to insert it after doing "make" I got this error message
>
>mmap_mod.o: kernel-module version mismatch
>        mmap_mod.o was compiled for kernel version 2.4.20-8_new_syscall
>        while this kernel is version 2.4.20-8no_control_version.
>
>Do you know what am I doing wrong?
>
>When I try to insert this module in my kernel version 2.4.20-8_new_syscall I can insert it without any problems.
>
>Any suggestions?
>
>_________________________________________________________________
>Dale rienda suelta a tu tiempo libre. Encuentra mil ideas para exprimir tu ocio con MSN Entretenimiento. http://entretenimiento.msn.es/
>
>
>--
>Kernelnewbies: Help each other learn about the Linux kernel.
>Archive:       http://mail.nl.linux.org/kernelnewbies/
>FAQ:           http://kernelnewbies.org/faq/
>

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux