git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Problem with git bisect between 2.6.15 and 2.6.16
@ 2006-03-28  0:00 Greg Lee
       [not found] ` <20060327190627.7d72794f.seanlkml@sympatico.ca>
  0 siblings, 1 reply; 6+ messages in thread
From: Greg Lee @ 2006-03-28  0:00 UTC (permalink / raw)
  To: git

I get the following when I try to git bisect between 2.6.15 and 2.6.16:
 
[root@Fedora-test tmp]# git clone
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git linux-git
[root@Fedora-test linux-git]# git bisect start
[root@Fedora-test linux-git]# cd linux-git
[root@Fedora-test linux-git]# git bisect good v2.6.16
[root@Fedora-test linux-git]# git bisect bad v2.6.15
dab47a31f42a23d2b374e1cd7d0b797e8e08b23d was both good and bad

What is the proper method to do a bisect between 2.6.15 and 2.6.16?

Greg

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Problem with git bisect between 2.6.15 and 2.6.16
       [not found] ` <20060327190627.7d72794f.seanlkml@sympatico.ca>
@ 2006-03-28  0:06   ` sean
  2006-03-28  0:16     ` Greg Lee
  0 siblings, 1 reply; 6+ messages in thread
From: sean @ 2006-03-28  0:06 UTC (permalink / raw)
  To: Greg Lee; +Cc: git

On Mon, 27 Mar 2006 19:00:25 -0500
"Greg Lee" <glee@casabyte.com> wrote:

> I get the following when I try to git bisect between 2.6.15 and 2.6.16:
>  
> [root@Fedora-test tmp]# git clone
> git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git linux-git
> [root@Fedora-test linux-git]# git bisect start
> [root@Fedora-test linux-git]# cd linux-git
> [root@Fedora-test linux-git]# git bisect good v2.6.16
> [root@Fedora-test linux-git]# git bisect bad v2.6.15
> dab47a31f42a23d2b374e1cd7d0b797e8e08b23d was both good and bad
> 
> What is the proper method to do a bisect between 2.6.15 and 2.6.16?
> 

You need to do the bisect start after you cd into the linux-git 
directory.   Also, it appears you have the good and bad reversed,
presumably the newer (v2.6.16) is bad, and the older (v.2.6.15)
is good.

Sean

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: Problem with git bisect between 2.6.15 and 2.6.16
  2006-03-28  0:06   ` sean
@ 2006-03-28  0:16     ` Greg Lee
  2006-03-28  0:22       ` Tony Luck
  0 siblings, 1 reply; 6+ messages in thread
From: Greg Lee @ 2006-03-28  0:16 UTC (permalink / raw)
  To: 'sean', git

> You need to do the bisect start after you cd into the linux-git 
> directory.

Sorry, cut and paste error, I did the cd before the bisect:

[root@Fedora-test git]# git clone
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git linux-git-fresh
[root@Fedora-test git]# cd linux-git-fresh/
[root@Fedora-test linux-git-fresh]# git bisect start
[root@Fedora-test linux-git-fresh]# git bisect bad v2.6.15
[root@Fedora-test linux-git-fresh]# git bisect good v2.6.16
dab47a31f42a23d2b374e1cd7d0b797e8e08b23d was both good and bad

> Also, it appears you have the good and bad reversed,
> presumably the newer (v2.6.16) is bad, and the older (v.2.6.15)
> is good.

No, the problem was fixed in 2.6.16 and I'm trying to figure out what fixed it so that I
can back-port the fix into a previous kernel version, so 2.6.16 is good and 2.6.15 is bad.

Greg

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Problem with git bisect between 2.6.15 and 2.6.16
  2006-03-28  0:16     ` Greg Lee
@ 2006-03-28  0:22       ` Tony Luck
  2006-03-29 19:28         ` Greg Lee
  0 siblings, 1 reply; 6+ messages in thread
From: Tony Luck @ 2006-03-28  0:22 UTC (permalink / raw)
  To: Greg Lee; +Cc: sean, git

> No, the problem was fixed in 2.6.16 and I'm trying to figure out what fixed it so that I
> can back-port the fix into a previous kernel version, so 2.6.16 is good and 2.6.15 is bad.

You'll need to invert "good" and bad" for this.  I.e. mark 2.6.15 as
good, 2.6.16 as bad, and
then as you test mark kernels with the bug as good, and ones without
as bad.  Try not to go
insane while working in this inverted parallel universe :-)

-Tony

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: Problem with git bisect between 2.6.15 and 2.6.16
  2006-03-28  0:22       ` Tony Luck
@ 2006-03-29 19:28         ` Greg Lee
  0 siblings, 0 replies; 6+ messages in thread
From: Greg Lee @ 2006-03-29 19:28 UTC (permalink / raw)
  To: git; +Cc: 'sean', 'Tony Luck'

> You'll need to invert "good" and bad" for this.  I.e. mark 2.6.15 as good, 2.6.16 as
bad, and
> then as you test mark kernels with the bug as good, and ones without as bad.  Try not to
go
> insane while working in this inverted parallel universe :-)
> 
> -Tony

This was progressing fine until I ran into an issue that makes the kernel unstable causing
it to crash at semi-random times.  I'm down to about 350 commits left in the bisect.  I've
tried:

git reset --hard HEAD~3

no luck, same problem, unstable

then I tried --hard HEAD~50

no luck, same problem, unstable

I'm concerned about moving too much further in the "~" direction, will this cause me other
problems?

Greg

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: Problem with git bisect between 2.6.15 and 2.6.16
@ 2006-03-29 19:43 Luck, Tony
  0 siblings, 0 replies; 6+ messages in thread
From: Luck, Tony @ 2006-03-29 19:43 UTC (permalink / raw)
  To: Greg Lee, git; +Cc: sean

 
> This was progressing fine until I ran into an issue that makes the kernel unstable causing
> it to crash at semi-random times.  I'm down to about 350 commits left in the bisect.  I've
> tried:
> 
> git reset --hard HEAD~3
>
>no luck, same problem, unstable

You can try "git bisect visualize" to invoke gitk on the remaining commits, and
then pick a likely looking stable point for your next test.  This is documented
reasonably well in the git Documentation/howto/isolate-bugs-with-bisect.txt

-Tony

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-03-29 19:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-29 19:43 Problem with git bisect between 2.6.15 and 2.6.16 Luck, Tony
  -- strict thread matches above, loose matches on Subject: below --
2006-03-28  0:00 Greg Lee
     [not found] ` <20060327190627.7d72794f.seanlkml@sympatico.ca>
2006-03-28  0:06   ` sean
2006-03-28  0:16     ` Greg Lee
2006-03-28  0:22       ` Tony Luck
2006-03-29 19:28         ` Greg Lee

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).