[linux-dvb] Compile DVB drivers for kernel 2.6.11
freebeer.bouwsma at gmail.com
Tue Dec 30 08:29:56 CET 2008
On Sat, 27 Dec 2008, Artem Makhutov wrote:
> I would like to compile current dvb-drivers from hg for kernel 220.127.116.11.
> Has somebody experience with this?
I'm running 2.6.14 on my production machine (which may be
a snapshot during the merge window before a 15-rc1 tag was
added -- I still haven't wrapped my brane around all the
details of version numbers, git, makefiles, and all -- in
any case, some .14 checks I have had to bump to .15 to get
the source to compile).
It can be done for .14; of course I get a panic when I use
these modules, or when I try to add later hardware code to
the working .14 source, but that's likely because I've made
more hacks elsewhere that I no longer remember clearly, and
I haven't motivated myself to make things work since then.
Anyway, some time back, there was a change made which
removed support for selected earlier kernels, and you can
do a `hg diff' on your repository to see what those changes
were -- either checking out the revision before that change
and starting with that, or getting all the diffs and re-adding
them to the latest code and seeing how far you can get.
This changeset where the support was removed is 8240.
You can use `hg log' and `hg diff' on selected files to see
if earlier changesets affect support for earlier kernels.
For example, changeset 963 removed 2.4 support.
> The first problem I am running into is that 2.6.11 has no linux/mutex.h.
That's an easy one. If you would like, I can pack up the
snapshot which I built (a few modules fail to build 'cuz
they are too new and I don't have that hardware) and see
how far you can get with it.
Whether you need special magic to get further towards 2.6.11,
I don't know -- nor can I promise anything about the diffs
I've added. Like I say, they don't work for me, but they
compile, so hey, job done, get it out the door, ship it
More information about the linux-dvb