mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Linus Torvalds <torvalds@osdl.org>
To: Bongani Hlope <bonganilinux@mweb.co.za>
Cc: Andrew Morton <akpm@osdl.org>, Andi Kleen <ak@muc.de>,
	linux-kernel@vger.kernel.org
Subject: Re: Tracking a bug in x86-64
Date: Tue, 14 Jun 2005 08:36:05 -0700 (PDT)	[thread overview]
Message-ID: <Pine.LNX.4.58.0506140819440.8487@ppc970.osdl.org> (raw)
In-Reply-To: <200506132339.13614.bonganilinux@mweb.co.za>



On Mon, 13 Jun 2005, Bongani Hlope wrote:
> 
> I've just tested 2.6.11-mm1 it has that bug as well. So the bug was introduced on that kernel.

Bongani,
 can you try to narrow it down even further, since nobody sees what coul 
dbe wrong..

The easiest way to narrow it down some more is to get a clean 2.6.11, and
get all the broken-out patches in 2.6.11-mm1, and do a binary search.  
Testing just four or five kernels should already have narrowed it down a
lot.

The way to do the binary searach is to get the

	ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.11/2.6.11-mm1/2.6.11-mm1-broken-out.tar.gz 

file, and then to apply half of the patches you do basically

	grep -v '^#' broken-out/series | wc

gives you 821, so start with the 410 first patches:

	grep -v '^#' broken-out/series | head -410 > apply
	cat apply | while read i; do ( cd linux-2.6.11 ; patch -p1 ) < broken-out/$i; done

and then you test that. If that doesn't show the problem, try with 615
patches, and so on..

There are smarter ways to do it than just the brute-force approach, but
they're also more likely to break, and doing the brute-force approach for
a small number of kernels should already pinpoint the problem to just a
few patches, and then that is when it is worth starting to think about it.

			Linus

  parent reply	other threads:[~2005-06-14 15:34 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-13 20:59 Bongani Hlope
2005-06-13 21:23 ` Andi Kleen
2005-06-13 21:39 ` Bongani Hlope
2005-06-13 21:48   ` Andi Kleen
2005-06-14 15:36   ` Linus Torvalds [this message]
2005-06-14 20:27     ` Andrew Morton
2005-06-14 21:19       ` Bongani Hlope
2005-06-15 22:20       ` Bongani Hlope
2005-06-15 22:39         ` Linus Torvalds
2005-06-15 23:39           ` Bongani Hlope
2005-06-16  0:46             ` Linus Torvalds
2005-06-16  2:02               ` Andi Kleen
2005-06-16  6:49                 ` Bongani Hlope
     [not found]             ` <xfkll4lfy41.fsf@uxkm53.drewag.de>
2005-07-05 19:52               ` Bongani Hlope
2005-07-05 21:12                 ` Andrew Morton
2005-07-06  6:34                   ` Arjan van de Ven
2005-07-06 18:20                     ` Bongani Hlope

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.58.0506140819440.8487@ppc970.osdl.org \
    --to=torvalds@osdl.org \
    --cc=ak@muc.de \
    --cc=akpm@osdl.org \
    --cc=bonganilinux@mweb.co.za \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®