You are not logged in.

#1 2013-07-16 21:28:05

Lennart
New member
Registered: 2010-10-08
Posts: 6

Downgrade kernel source tree, how?

Hi,
I want to fix a bug in a driver (loadable module), compiling it on my Funtoo machine.
Upgrading the target machine's kernel is not an option.
Both machines are x86-32.

The target machine:

# uname -r
2.6.30.4

My Funtoo machine:

# uname -r
2.6.31-gentoo-r6

I read that it is generally easiest if you are actually running
the target kernel when you build your modules.

How do I downgrade my Funtoo machine so the kernel source tree is 2.6.30.4?
(Preferably without deleting the current kernel in the Funtoo system,
although I could live with keeping this machine for just this purpose)

Thanks in advance
Lennart

Offline

#2 2013-07-17 07:12:52

Judge
Staff
From: Germany, NRW, Heiligenhaus
Registered: 2011-07-03
Posts: 283

Re: Downgrade kernel source tree, how?

Hi Lennart,

your kernel looks quite old. Oldest version I can find in current tree is 3.0.82 for sys-kernel/gentoo-sources and 3.0.84 for sys-kernel/vanilla-sources .
But happily, Funtoo don't use any special techniques for building a kernel out of the box. Download your desired sources from Github and compile it a usual. You find hints for doing this in the plain Funtoo installation guide.

Offline

Board footer

Powered by FluxBB