public inbox for kernel-testers@vger.kernel.org
 help / color / mirror / Atom feed
From: Linus Torvalds <torvalds@linux-foundation.org>
To: Jeff Chua <jeff.chua.linux@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>,
	Johannes Berg <johannes@sipsolutions.net>,
	"Rafael J. Wysocki" <rjw@sisk.pl>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Adrian Bunk <bunk@kernel.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	Kernel Testers List <kernel-testers@vger.kernel.org>,
	Network Development <netdev@vger.kernel.org>,
	"John W. Linville" <linville@tuxdriver.com>
Subject: Re: 2.6.29-rc8: Reported regressions from 2.6.28
Date: Mon, 16 Mar 2009 12:57:18 -0700 (PDT)	[thread overview]
Message-ID: <alpine.LFD.2.00.0903161250080.3082@localhost.localdomain> (raw)
In-Reply-To: <b6a2187b0903160624gb9d207dv301506e589d93ed4@mail.gmail.com>



On Mon, 16 Mar 2009, Jeff Chua wrote:
> 
> Take the attached bisect log and replay it

Taking a bisect log is repeatable, but pointless.

If you made any mistakes in bisecting (marking a kernel that was good as 
being bad, or the other way around), the log will always replay to the 
same thing, but it will still be wrong.

In other words, "git bisect" is only as reliable as the data you feed it, 
and if the behavior isn't 100% repeatable and unambiguous (or if you 
simply made a mistake), you need to double-check things.

So after bisecting a commit, if there is any question what-so-ever whether 
the commit makes sense as a result, you need to double-check it. The best 
way to double-check it is to go back to a known-bad state (preferably the 
tip of the branch) and revert the presumed-bad commit, and verify that it 
really fixes the behavior.

But if that is impossible (for example, because the commit no longer 
reverts cleanly), at least make 100% sure that the state at the commit is 
bad, and then go to (all) parents of that commit and make 100% sure that 
the state at those points is _good_. 

IOW, if you've pinpointed 71c11fb57b924c160297ccd9e1761db598d00ac2 as 
being bad, then you should go back and double-check that its parent 
(in this case 4607816f608b42a5379aca97ceed08378804c99f) is good.

Because if it's parent is also bad, then that just means that you made 
some mistake in "git bisect".

The thing about bisecting is that it is _extremely_ efficient. It takes 
essentially the minimal number of answers to get to the end result. But 
that very efficiency also means that getting even just _one_ of those 
answers wrong will take you _way_ off base. There's no room for error, 
because bisect will take each bit and use it to maximally split the error 
space.

In this case, it really sounds like maybe you marked the parent good, even 
though you should have marked it bad.

			Linus

  reply	other threads:[~2009-03-16 19:57 UTC|newest]

Thread overview: 101+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-14 19:01 2.6.29-rc8: Reported regressions from 2.6.28 Rafael J. Wysocki
2009-03-14 19:01 ` [Bug #12414] iwl4965 cannot use "ap auto" on latest 2.6.28/29? Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12419] possible circular locking dependency on i915 dma Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12418] Repeated ioctl(4, 0x40046445, ..) loop in glxgears Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12490] ath5k related kernel panic in 2.6.29-rc1 Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12444] X hangs following switch from radeonfb console - Bisected Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12574] possible circular locking dependency detected Rafael J. Wysocki
2009-03-16  0:24   ` Michael S. Tsirkin
2009-03-19 13:03     ` Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12499] Problem with using bluetooth adaper connected to usb port Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12667] Badness at kernel/time/timekeeping.c:98 in pmud (timekeeping_suspended) Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12668] USB flash disk surprise disconnect Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12671] uvc_status_cleanup(): undefined reference to `input_unregister_device' Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12681] s2ram: fails to wake up on Acer Extensa 4220 (SMP disabled) Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12670] BUG: unable to handle kernel paging request at pin_to_kill+0x21 Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12680] Entropy pool problem Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12705] X200: Brightness broken since 2.6.29-rc4-58-g4c098bc Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12763] Different cpu MHz values for processor0 and processor1 Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12758] ACPI exception with 2.6.29-rc6 Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12778] suspend regression from 29rc5 to 29rc6 Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12765] i915 VT switch with AIGLX causes X lock up Rafael J. Wysocki
2009-03-16 17:54   ` Sitsofe Wheeler
2009-03-19 13:02     ` Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12771] Oops in i915_gem_flush Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12800] x86 PAT invalid vm_insert_pfn assumptions Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12792] 2.6.29-rc6-git4 boot failure Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12805] QinQ vlan trunking regression Rafael J. Wysocki
2009-03-14 22:04   ` David Miller
     [not found]     ` <20090314.150420.149174658.davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
2009-03-14 22:26       ` Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12809] iozone regression with 2.6.29-rc6 Rafael J. Wysocki
2009-03-15  0:27   ` Linus Torvalds
     [not found]     ` <alpine.LFD.2.00.0903141719510.3940-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2009-03-15  7:55       ` Wu Fengguang
2009-03-16  5:03       ` Lin Ming
     [not found]         ` <1237179822.27907.6.camel-WAh/sfaZ6+hhZnBKgDE8z0EOCMrvLtNR@public.gmane.org>
2009-03-16  7:30           ` Wu Fengguang
2009-03-14 19:05 ` [Bug #12831] Hot/Fn Keys do not work EEEPC 1000HE (eeepc_laptop) Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12806] i915 broken STR Rafael J. Wysocki
2009-03-15  3:35   ` Harvey Harrison
2009-03-15 10:35     ` Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12808] Suspend regression with 2.6.29-rc Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12856] Thinkpad freezes with X.org and acpi=rsdt Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12836] 2.6.29-rc breaks STD using Intel 945 Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12842] CCMP: replay detected Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12846] Regression issue with kernel 2.6.29-rc6-git1: high power consumption during sleep Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12867] 2.6.29-rc7 broke r8169 MAC on Thecus n2100 ARM board Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12861] Xorg fails to start "Failed to allocate space for kernel memory manager" Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12869] BUG when disabled ipv6 module is unloaded Rafael J. Wysocki
2009-03-14 22:04   ` Thomas Backlund
     [not found]     ` <49BC29FA.1060308-4qZELD6Fgxhg9hUCZPvPmw@public.gmane.org>
2009-03-14 22:05       ` David Miller
2009-03-14 19:05 ` [Bug #12870] 2.6.29-rc "TKIP: replay detected" regression Rafael J. Wysocki
2009-03-16 21:53   ` Hugh Dickins
     [not found]     ` <Pine.LNX.4.64.0903162150060.28429-XZxpfvf5U/bbmfIwyoSfiQ@public.gmane.org>
2009-03-16 21:57       ` Rafael J. Wysocki
     [not found]         ` <200903162257.07386.rjw-KKrjLPT3xs0@public.gmane.org>
2009-03-17  0:11           ` John W. Linville
2009-03-14 19:05 ` [Bug #12872] pwc mmap always fails with EAGAIN Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12871] usb bluetooth crashes system Rafael J. Wysocki
2009-03-15  5:01   ` Greg KH
2009-03-15  2:58 ` 2.6.29-rc8: Reported regressions from 2.6.28 Jeff Chua
2009-03-15  3:06   ` Jeff Chua
     [not found]     ` <b6a2187b0903142006u546fad9eme66f9ea7b464b81f-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-03-15 10:41       ` Rafael J. Wysocki
2009-03-15 18:11       ` Johannes Berg
     [not found]         ` <1237140665.24621.2.camel-YfaajirXv2244ywRPIzf9A@public.gmane.org>
2009-03-15 18:44           ` Linus Torvalds
     [not found]             ` <alpine.LFD.2.00.0903151136310.3131-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2009-03-15 19:01               ` Johannes Berg
2009-03-15 20:26                 ` Ingo Molnar
2009-03-16 13:24                   ` Jeff Chua
2009-03-16 19:57                     ` Linus Torvalds [this message]
     [not found]                       ` <alpine.LFD.2.00.0903161250080.3082-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2009-03-16 23:55                         ` Jeff Chua
     [not found]                           ` <b6a2187b0903161655q15437156qc926c8db37d8ba4b-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-03-17  7:50                             ` Johannes Berg
     [not found]                               ` <1237276212.18086.11.camel-YfaajirXv2244ywRPIzf9A@public.gmane.org>
2009-03-17 17:21                                 ` Jeff Chua
2009-03-17 14:48                             ` John W. Linville
     [not found]                               ` <20090317144802.GF3549-2XuSBdqkA4R54TAoqtyWWQ@public.gmane.org>
2009-03-17 15:28                                 ` John W. Linville
2009-03-17 15:39                                   ` Ingo Molnar
     [not found]                                     ` <20090317153924.GA21061-X9Un+BFzKDI@public.gmane.org>
2009-03-17 16:05                                       ` John W. Linville
2009-03-17 16:24                                         ` Jeff Chua
     [not found]                                           ` <b6a2187b0903170924u72723220x4c0a717e3cfebf8d-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-03-17 17:10                                             ` John W. Linville
     [not found]                                               ` <20090317171047.GF6737-2XuSBdqkA4R54TAoqtyWWQ@public.gmane.org>
2009-03-17 17:27                                                 ` Jeff Chua
     [not found]                                                   ` <b6a2187b0903171027w328f1dfds781910c0571b2424-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-03-17 17:31                                                     ` Jeff Chua
2009-03-17 18:26                                                       ` Jeff Chua
2009-03-17 19:22                     ` Johannes Berg
     [not found]                       ` <1237317742.31814.28.camel-YfaajirXv2244ywRPIzf9A@public.gmane.org>
2009-03-19  2:58                         ` Jeff Chua
2009-03-19  3:25                           ` Jeff Chua
2009-03-19  4:23                             ` Jeff Chua
2009-03-19 16:59                               ` Johannes Berg
2009-03-20 17:19                                 ` Jeff Chua
     [not found]                           ` <b6a2187b0903181958ke11abe7tdcbc4efeb950954d-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-03-19  4:49                             ` Jeff Chua
2009-03-19  9:38                               ` Johannes Berg
2009-03-19 14:13                                 ` John W. Linville
2009-03-19 15:02                                   ` Required sequence to set wireless parameters? (was: 2.6.29-rc8: Reported regressions from 2.6.28) Frans Pop
2009-03-19 15:24                                     ` John W. Linville
2009-03-19 16:45                                       ` Jeff Chua
2009-03-19 16:53                                     ` Johannes Berg
2009-03-19 19:24                                       ` Required sequence to set wireless parameters? Frans Pop
     [not found]                                         ` <200903192024.30562.elendil-EIBgga6/0yRmR6Xm/wNWPw@public.gmane.org>
2009-03-19 19:27                                           ` Johannes Berg
     [not found]                                 ` <1237455534.5100.56.camel-YfaajirXv2244ywRPIzf9A@public.gmane.org>
2009-03-20  4:55                                   ` 2.6.29-rc8: Reported regressions from 2.6.28 Jeff Chua
2009-03-20  5:20                                     ` Jeff Chua
2009-03-20  8:32                                     ` Johannes Berg
     [not found]                                       ` <1237537967.5100.135.camel-YfaajirXv2244ywRPIzf9A@public.gmane.org>
2009-03-20 10:04                                         ` Jeff Chua
2009-03-20 10:13                                           ` Johannes Berg
2009-03-20 16:14                                             ` Jeff Chua
     [not found]                                               ` <b6a2187b0903200914r23d635c9obc55b30b7cc04382-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-03-21 12:09                                                 ` Johannes Berg
     [not found]                                                   ` <1237637375.5100.178.camel-YfaajirXv2244ywRPIzf9A@public.gmane.org>
2009-03-21 15:08                                                     ` Jeff Chua
     [not found]                                                       ` <b6a2187b0903210808m7586fdc2g53e72aa269d6e353-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-03-21 15:11                                                         ` Johannes Berg
2009-03-16  1:02 ` Zhang Rui

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=alpine.LFD.2.00.0903161250080.3082@localhost.localdomain \
    --to=torvalds@linux-foundation.org \
    --cc=akpm@linux-foundation.org \
    --cc=bunk@kernel.org \
    --cc=jeff.chua.linux@gmail.com \
    --cc=johannes@sipsolutions.net \
    --cc=kernel-testers@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    --cc=mingo@elte.hu \
    --cc=netdev@vger.kernel.org \
    --cc=rjw@sisk.pl \
    /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