HowFlow


HowFlow — The current version of the linux kernel patch from 2.6.25.2 to 2.6.25.3 from kernel.org doesn't work. Here you can find a corrected version.

Share it!   Posted by aroedl aroedl 8 months ago

Problem

If you get the following error messages from patch, you should use the patch file attached to this trick (see files tab):


noname linux # patch --dry-run -p1 <../patch-2.6.25.3
patching file Makefile
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej
patching file arch/alpha/kernel/osf_sys.c
Reversed (or previously applied) patch detected!  Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file arch/alpha/kernel/osf_sys.c.rej
patching file arch/arm/kernel/kprobes-decode.c
patching file arch/arm/kernel/kprobes.c
patching file arch/sparc/kernel/sys_sparc.c
patching file arch/sparc64/kernel/sys_sparc.c
patching file arch/x86/kernel/io_apic_32.c
Reversed (or previously applied) patch detected!  Assume -R? [n]
Apply anyway? [n]
Skipping patch.

How to apply the patch


cd /usr/src

wget http://howflow.com/trick/file/161/patch-2.6.25.3-rc1.bz2

bunzip2 patch-2.6.25.3-rc1.bz2

cd linux

patch --dry-run -p1 <../patch-2.6.25.3-rc1    #Check for any errors before the next step

patch -p1 <../patch-2.6.25.3-rc1

Now you can rebuild the kernel as usual.

For more Linux tricks, click here


Files


patch-2.6.25.3-rc1.bz2
Please log in or sign up and vote for this trick if it was helpful for you.
Don't forget to subscribe to our RSS Feed RSS/Atom feed to get the latest tricks.