Re: inserting module in kernel
From: Srinivas G (srinivasganji_at_gmail.com)
Date: 01/21/05
- Next message: Srinivas G: "Re: inserting module in kernel"
- Previous message: Tejas Sumant: "Re: How to load a kernel module at while booting ?"
- Next in thread: Srinivas G: "Re: inserting module in kernel"
- Maybe reply: Srinivas G: "Re: inserting module in kernel"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 21 Jan 2005 06:39:27 -0800
P.T. Breuer wrote:
> Kasper Dupont <kasperd@daimi.au.dk> wrote:
> > "P.T. Breuer" wrote:
> > >
> > > and nowadays third party modules seem impossible to compile
> >
> > You insiste on doing things differently from recomended
>
> You know perfectly well that third party modules ARE impossible to
> compile on 2.6, which is what I mean by "nowadays". My point is that
> the original rationale for the change (/usr/include/linux being
supplied
> with libc) was to protect against major changes of kernel version
> affecting userspace compiles (we can deduce that minor changes make
no
> difference in a sane world), but it doesn't matter now since nobody
> would switch from 2.4 to 2.6 and still expect sanity of any kind to
> prevail...
>
> > practice, and now you start complaining that it doesn't
> > work.
>
> Nonsense.
>
> Peter
Dear All,
We were developed a block device driver on linux-2.6.x kernel. We want
to distribute our driver as a RPM Binary. We are using the SuSE 9.1
with 2.6.5-7.71 kernel.
We build the RPM file using the fm.ko file on SuSE 9.1 with 2.6.5-7.71
kernel where fm.ko indicates our Block Driver module. When I try to
run the RPM file on a different kernel version it has given the
following error message.
FATAL: Error inserting fm
(/lib/modules/2.6.4-52-default/kernel/drivers/block/fm.ko): Invalid
module format
As I know the error message indicates that I compiled the driver under
2.6.5-7.71 kernel where as I am trying to insert the module in
2.6.4-52-default kernel.
My question is: Is it possible to compile and build a .ko file with out
including the version information? (i.e. I want to build a RPM file
using fm.ko file which was compiled using 2.6.5-7.71 and to run the RPM
file on a different kernel versions.)
We are not very sure of how to achieve this.
Please help us address this issue.
Thanks in advance and regards,
Srinivas G
- Next message: Srinivas G: "Re: inserting module in kernel"
- Previous message: Tejas Sumant: "Re: How to load a kernel module at while booting ?"
- Next in thread: Srinivas G: "Re: inserting module in kernel"
- Maybe reply: Srinivas G: "Re: inserting module in kernel"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|