Re: help to bisect

From: Borislav Petkov
Date: Wed May 18 2011 - 03:22:53 EST


On Tue, May 17, 2011 at 08:27:16PM -0400, James wrote:
> How do I build v2.6.36 so I can test it mark it good so I can bisect?
>
> Here is what I want to do:
> $ git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.37.y.git
> $ cd linux-2.6.37.y
> $ git bisect start
> $ git bisect good v2.6.36
> $ git bisect bad v2.6.37.6
>
> Do I do "git checkout v2.6.36"?

Yes, but you should do it first, before starting bisection. After you've
verified .36 is fine, then you do the last three commands:

> $ git bisect start
> $ git bisect good v2.6.36
> $ git bisect bad v2.6.37.6

assuming you have verified also that .37.6 is bad, but I guess so,
otherwise you wouldn't be bisecting in the first place :)

Also, it might make sense to check whether .37 is fine too before
bisecting. If so, you save yourself quite a bit of bisection runs by
marking .37 as good instead of .36.

HTH.

--
Regards/Gruss,
Boris.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/