Ciaran McCreesh’s Blag

May 18, 2008

Yay for git

Filed under: Uncategorized — Tags: , , — Ciaran McCreesh @ 10:00 am

Linux 2.6.26-rc2 wouldn’t boot on my desktop. Linux 2.6.25 worked. In the good old days, tracking down why would be a major pain in the ass. But now, a quick git bisect and fifteen reboots later, I have the exact commit: 3def3d6ddf43dbe20c00c3cbc38dfacc8586998f, also known as:

Author: Yinghai Lu
Date:   Fri Feb 22 17:07:16 2008 -0800

    x86: clean up e820_reserve_resources on 64-bit

    e820_resource_resources could use insert_resource instead of request_resource
    also move code_resource, data_resource, bss_resource, and crashk_res
    out of e820_reserve_resources.

    Signed-off-by: Yinghai Lu
    Signed-off-by: Ingo Molnar

Verifying that this really is the offender is equally easy — a quick ‘git revert’ on head and another reboot and the kernel’s working again. Now, I know nothing about what an e820 is beyond what Google tells me, but hopefully someone else will.

As much as I hate to say it, if this were Subversion I’d still be tracking down the bug. And if it were CVS, I wouldn’t've bothered.

2 Comments »

  1. Obviously, you’re not familiar with svn-bisect: http://search.cpan.org/perldoc?svn-bisect

    Comment by Chris — May 18, 2008 @ 4:46 pm

  2. Actually, I am. It’s just really really really really slow…

    Comment by Ciaran McCreesh — May 18, 2008 @ 5:57 pm

RSS feed for comments on this post. TrackBack URI

Leave a comment

Blog at WordPress.com.