git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Real-life kernel debugging scenario

From
Wwalt <wa1ter@myrealbox.com>
Date
Nov 8, 2005, 00:51 UTC
Message-ID
<dkosr7$f4s$1@sea.gmane.org>

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!
Next: David Lang
Message 1 of 7 in “Real-life kernel debugging scenario”
  1. waltNov 8, 2005
  2. David LangNov 8, 2005
  3. Junio C HamanoNov 8, 2005
  4. Linus TorvaldsNov 8, 2005
  5. wa1ter@myrealbox.comNov 9, 2005
  6. Jon LoeligerNov 9, 2005
  7. Linus TorvaldsNov 9, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.