Re: problems inserting driver

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

 



I think, you already know the solution. Kernel refuses to load a module
which has been compiled for different kernel version. You can try "insmod -f
<module>". This should work in your case, atleast.

Regards
Mohanlal

----- Original Message -----
From: "Cristina Rivera" <cris_apricot@hotmail.com>
To: <kernelnewbies@nl.linux.org>
Sent: Saturday, June 12, 2004 9:18 PM
Subject: problems inserting driver


> 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/
>
>


--
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