Fwd: Re: Fwd: DVB-T and Linux updated.

Fwd: Re: Fwd: DVB-T and Linux updated.

Oleg Goldshmidt pub at goldshmidt.org
Thu Nov 28 10:07:15 IST 2013


geoffrey mendelson <geoffreymendelson at gmail.com> writes:

> Is it possible to install the kernel module from 3.11 on an older
> kernel (say 3.8)? If so how, the last time I compiled a kernel module,
> I had to compile the entire kernel.

Hi Geoff,

You can try and compile the module against an older version of the
kernel, assuming you have the kernel headers and config files used to
build the target kernel installed. Depending on your distro, the headers
may be in a separate package, not bundled with the kernel package
itself.  They normally live under /lib/modules/`uname -r`/build, at
least that's what I am used to. In any case, compiling the whole kernel
is not needed.

The how is in Documentation/kbuild/modules.txt in the kernel sources
(you can use LXR if the documentation is not installed on your system).
It should boil down to

make -C /lib/modules/`uname -r`/build M=`pwd`

or equivalent (then repeat with "modules_install" target).

In principle, there is no guarantee that it will build or work
correctly, but you know that.
 
-- 
Oleg Goldshmidt | pub at goldshmidt.org



More information about the Linux-il mailing list