git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Real-life kernel debugging scenario
@ 2005-11-08  0:51 walt
  2005-11-08  0:59 ` David Lang
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: walt @ 2005-11-08  0:51 UTC (permalink / raw)
  To: git

This describes a real problem I've had twice in the last two
years while tracking Linus's kernel tree:

I update my local kernel sources every morning using cg-update
(formerly bk-pull) and compile and install and reboot the new
kernel.

Okay.  On rare occasions I get a kernel panic on reboot.  So...
I know that something Linus committed in the last 24 hours is
responsible for the problem.

The last two times this happened I was able to guess which
commit caused the problem and I emailed the developer off-
list and got the problem fixed very quickly. (This is why
I love open-source software!)

My worry:  what happens when I'm not smart enough to guess
which developer to email?  My first instinct is to back out
the most recent commits one-by-one until the bug goes away.

First:  is this an optimal tactic?

Second:  how to back out individual commits using git or
cogito?  I suppose this is already spelled out in the docs,
but I invite everyone to point me to the relevant places
in the docs that have escaped my attention so far.

Thanks!

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

end of thread, other threads:[~2005-11-09 18:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-08  0:51 Real-life kernel debugging scenario walt
2005-11-08  0:59 ` David Lang
2005-11-08  1:30 ` Junio C Hamano
2005-11-08  1:31 ` Linus Torvalds
2005-11-09 17:40   ` wa1ter
2005-11-09 18:17     ` Jon Loeliger
2005-11-09 18:36     ` Linus Torvalds

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 NNTP newsgroup(s).