Applying-patches-to-kernel problem

From: Andreas Sch. (no_reply_at_yahoo.com)
Date: 08/30/04


Date: Mon, 30 Aug 2004 16:21:17 +0200

Hi NG

I'd like to track down a kernel version which
causes a malfunction of a network card etc.
I have located it to be anywhere between
2.6.5 (works) and 2.6.6 (fails).

So I'd like to start with the very first 2.6.5
kernel and step-by-step apply the patches like
"patch-2.6.6-bk1-bk2" and try if it fails.
So I have to start with the 2.6.5 released
kernel sources and apply them.

Here my problem arises: How to I apply those
patches? I changed into the source directory
(/usr/src/linux-2.6.5 in this case) and called
patch -p1 ../patches/patch-2.6.6-bk1-bk2"

That didn't work as it complains about not
finding some source files to patch etc.

The patch naming suggests that it should patch a
2.6.6-bk1 kernel to a 2.6.6-bk2 one.
ftp.kernel.org did not provide a patch
from a bk0/start/initial/whatever version
to bk1 so I assume bk1 being identical to
2.6.5-final. Is that right?

If not, how do I get 2.6.6-bk1?

I googled the net (incl. NGs) and found several things
for 2.4.x kernels (where I already successfully
played around with patches that time) but
nothing with these bitkeeper things :(

RU,
Andreas



Relevant Pages

  • Re: [PATCH] new CSA patchset for 2.6.8
    ... Please don't send patches as attachments, and please don't send more than ... one patch per email. ... judging how useful this feature is to Linux implementors and how well this ... > functional kernel. ...
    (Linux-Kernel)
  • Re: Documentation - how to apply patches for various trees
    ... >> explanation of the various kernel trees and how to apply their patches. ... +a patch to the kernel or, more specifically, what base kernel a patch for ... +kernel source directories it was generated against. ...
    (Linux-Kernel)
  • [PATCH] add EOWNERDEAD and ENOTRECOVERABLE
    ... that uses them yet, I know of two patches in development, ... There is interest in robust mutexes in Linux, ... Even though there are kernel components to the robust mutex ... I know that it is rare for an unused patch to be accepted; ...
    (Linux-Kernel)
  • Re: RT patch acceptance
    ... judge the complexity of a design for that type of system. ... claim that you cannot judge the complexity of a kernel modification. ... Since the patch in question doesn't actually need that information to ... nanokernel's API up to date with additions to Linux's API that RT people ...
    (Linux-Kernel)
  • Re: inline asm semantics: output constraint width smaller than input
    ... Now in this case the patch you suggest might end up hurting the end result ... The below patch is to build the kernel for x86_64, ... # Device Drivers ... # PCI IDE chipsets support ...
    (Linux-Kernel)