LWN.net Logo

Stable kernel 2.6.32.5 released

The 2.6.32.5 stable kernel has been released. It consists of 30 patches throughout the kernel. As always, 2.6.32 users are strongly encouraged to upgrade. Another 2.6.32 stable update is now under review and will likely be released early next week.
(Log in to post comments)

Stable kernel 2.6.32.5 released

Posted Jan 23, 2010 15:44 UTC (Sat) by HelloWorld (subscriber, #56129) [Link]

I have a kernel source tree for Linux 2.6.32.1 here. Is it somehow possible to patch this to 2.6.32.5? Also, i don't understand the patches that kernel.org provides. There is this file called patch-2.6.32.5. Does that patch 2.6.32 to 2.6.32.5 or 2.6.32.4 to 2.6.32.5 or something else entirely? Why is this stuff not documented anywhere?

Stable kernel 2.6.32.5 released

Posted Jan 23, 2010 15:56 UTC (Sat) by HelloWorld (subscriber, #56129) [Link]

OK, I've tried it now and it seems that the patch goes from 2.6.32 to 2.6.32.5. Why is that so? This is really inconvenient for people that want to keep up with the latest stable release...

Stable kernel 2.6.32.5 released

Posted Jan 23, 2010 16:00 UTC (Sat) by JohnLenz (subscriber, #42089) [Link]

I use ketchup and don't have to worry about that anymore. You should check it out, it is nice.

http://kerneltrap.org/node/2976
http://packages.debian.org/sid/ketchup

Stable kernel 2.6.32.5 released

Posted Jan 23, 2010 16:31 UTC (Sat) by HelloWorld (subscriber, #56129) [Link]

Thanks, i'll try it out.

Stable kernel 2.6.32.5 released

Posted Jan 23, 2010 17:59 UTC (Sat) by adj (subscriber, #7401) [Link]

I suggest taking a look through http://www.us.kernel.org/pub/linux/kernel/v2.6/incr/ There you'll find patches to take your 2.6.32.1 tree to 2.6.32.2, your 2.6.32.2 tree to 2.6.32.3, then to 2.6.32.4, then to 2.6.32.5. It's quite painless once you know it's there.

Stable kernel 2.6.32.5 released

Posted Jan 23, 2010 16:22 UTC (Sat) by Thue (subscriber, #14277) [Link]

patch-2.6.32.5 patches from 2.6.32 to 2.6.32.5.

To go from 2.6.32.1 to 2.6.32.5, simple apply patch-2.6.32.1 in reverse ("patch -R") to get to 2.6.32, and then apply patch-2.6.32.5 .

Stable kernel 2.6.32.5 released

Posted Jan 23, 2010 16:29 UTC (Sat) by HelloWorld (subscriber, #56129) [Link]

Yes, that's what I did in the end. But it's inconvenient and inefficient. If some file changed between 2.6.32 and say 2.6.32.2, but didn't change between 2.6.32.2 and 2.6.32.5, i'll have to recompile that file nevertheless when going from 2.6.32.2 to 2.6.32.5.

Stable kernel 2.6.32.5 released

Posted Jan 23, 2010 16:47 UTC (Sat) by Thue (subscriber, #14277) [Link]

It is as easy as it can be, unless kernel.org (and its mirrors) are changed to generate the diffs dynamically, which would probably be too complex for mirrors.

The other possibility is to make patch-2.6.32.5 go from 2.6.32.4 to
2.6.32.5 . But then patching could entail applying lots of patches. The way it is now, you can go between any two point-releases by applying 2 patches.

kernel.org could store all possible patches between point-releases, but that would require n*(n-1)/2 patches. For example 990 patches would be required for the 2.6.27 series.

Updating stable kernels

Posted Jan 23, 2010 17:43 UTC (Sat) by rfunk (subscriber, #4054) [Link]

I haven't tried it, but it looks like you can just follow the 2.6.32-stable
git tree:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.32.y.git

Updating stable kernels

Posted Jan 23, 2010 18:29 UTC (Sat) by nix (subscriber, #2304) [Link]

Yes, I've done this forever (and so has anyone else who uses the kernel
git tree, I suspect).

Updating stable kernels

Posted Jan 24, 2010 5:10 UTC (Sun) by yokem_55 (subscriber, #10498) [Link]

I've stopped using Gentoo's kernel packages all together and manage my
kernel sources entirely with git. Much more bandwidth friendly (after the
initial checkout) and easier on disk space then gentoo slotting the sources
for each 2.6.nn.y release.

Updating stable kernels

Posted Jan 24, 2010 13:42 UTC (Sun) by nix (subscriber, #2304) [Link]

When it becomes really really useful is when you need to pull in
out-of-tree kernel patches built against slightly old kernels, because
these days these are nearly all managed with git, as well. Forget
ease-of-patching, ease-of-merging is a killer.

Stable kernel 2.6.32.5 released

Posted Jan 24, 2010 17:06 UTC (Sun) by brianomahoney (subscriber, #6206) [Link]

Sorry, you need to read the announcement and the docs and USE GIT.

What you do is GIT CLONE URL a new kernel release in /usr/src, rm the old /usr/src/linux link and re make it, then

cd /usr/src/linux; make clean; cp ../oldk/.config .; make oldconfig; make

To update:

cd /usr/src/linux; git pull; make oldconfig; make

The git pull is all you need to do tp fetch the latest update.

Stable kernel 2.6.32.5 released

Posted Jan 25, 2010 6:01 UTC (Mon) by jengelh (subscriber, #33263) [Link]

You should not really (need to) be using /usr/src really, but your home directory to compile it.

Stable kernel 2.6.32.5 released

Posted Jan 25, 2010 8:15 UTC (Mon) by nix (subscriber, #2304) [Link]

Nothing wrong with using /usr/src. You just shouldn't be compiling (or
extracting) it as root (so you'll probably need to chown /usr/src to some
other user).

Days were that replacing /usr/src/linux with something else would silently
change /usr/include/linux, but anyone using a distro so old that they
retain those symlinks had better damn well know what they're doing and be
upgrading it themselves...

Stable kernel 2.6.32.5 released

Posted Jan 23, 2010 21:58 UTC (Sat) by hofhansl (guest, #21652) [Link]

I usually keep the previously applied .x release around.
To apply 2.6.32.5 when 2.6.32.1 is installed I just reverse patch the tree with 2.6.32.1 and then with 2.6.32.5. I.e.
patch -p1 -R < ...patch-2.6.32.1
and then
patch -p1 < ...patch-2.6.32.5

Stable kernel 2.6.32.5 released

Posted Jan 24, 2010 14:45 UTC (Sun) by yossarianuk (guest, #63191) [Link]

Hi.

You can download the incremental patches from kernel.org

On the front page is the latest one

2.6.32.4-5 - click view Inc. - the dowmload link is at the top of the next page (http://www.kernel.org/pub/linux/kernel/v2.6/incr/patch-2....)

You can patch with

bzcat /patchfile | patch -p1

Only the latest is linked from kernel.org front page but you can just enter the URL for older ones.

i.e to do from 2.6.32.1 -> 2.6.32.2 go to

http://www.kernel.org/diff/diffview.cgi?file=/pub/linux/k... - then use download link.

Hope this helps.

Stable kernel 2.6.32.5 released

Posted Jan 24, 2010 18:45 UTC (Sun) by HelloWorld (subscriber, #56129) [Link]

Thanks a lot, that's exactly what i was looking for.

Copyright © 2010, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds