Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-05-2014, 11:59 AM   #1
Registered: Nov 2013
Location: Egypt
Distribution: Fedora
Posts: 32

Rep: Reputation: Disabled
git bisect the kernel, confused with version tags

Maybe that's a bit advanced topic to be in the newbies section but I place it in here because I am a newbie, and I think it is to a great extent a newbie question.

I'm doing a git bisect on the kernel trying to trace a commit that causes a bug.

the bug is supposed to be somewhere between v3.12.9 and v3.13

but when I run
git bisect start v3.13 v3.12.9
I get

Bisecting: a merge base must be tested
[5e01dc7b26d9f24f39abace5da98ccbd6a5ceb52] Linux 3.12
Now how does that make sense? isn't it supposed to get me to a commit that is in the middle between 3.12.9 and 3.13?
is 3.12 actually a commit in between and I just don't understand the numberings right?
am I doing something wrong?
Old 12-05-2014, 12:21 PM   #2
Registered: Nov 2013
Location: Egypt
Distribution: Fedora
Posts: 32

Original Poster
Rep: Reputation: Disabled
okay, I found the answer here

Why does "git bisect" make me test versions outside the "good-bad" range?

The reason may be that some commits have been developed starting from a version before the "good" commit, and then merged after the "good" commit.

See for more explanations from Linus.


git, kernel, version

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it safe to do 'git bisect' several time on kernel sam-the-6 Linux - Kernel 6 08-03-2014 05:59 PM
[SOLVED] drm-intel git tags too old 10110111 Programming 1 11-13-2010 04:16 PM
LXer: Linux: Debugging With"git bisect" LXer Syndicated Linux News 0 07-13-2007 09:01 PM
SW 10.2 Kernel Version Confused zaimor Slackware - Installation 6 10-30-2005 01:15 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:20 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration