git bisect not accepting -git kernels

11 messages, 7 authors, 2016-06-15 · open the first message on its own page

git bisect not accepting -git kernels

From: Amit Walambe <hidden>
Date: 2016-06-15 22:43:22

Hi!
I was trying to do a git bisect on 2.6.22-git6 and 2.6.22-git8. For 
which I get following error :
root@amit:/usr/src/linux-git # git bisect good v2.6.22-git6
Bad rev input: v2.6.22-git6

The repository is obtained by :
root@amit:/usr/src # git clone 
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 linux-git

I am running following git version on Debian Sid, updated today.
# git --version
git version 0.99.8.GIT
'# dpkg -l | grep git' shows ' git-core 
1:1.5.2.3-1'

I tried searching man-pages/documentation/website but couldn't find any 
references to git bisect on -git kernels. I would be grateful if anyone 
can help me find what's going wrong.

As I am not subscribed to the mailing-list, please cc me to all the 
messages on the thread.
Thanks and Regards,
-- 
Amit Walambe
Design Engineer, Arcom Control Systems Ltd.
http://www.arcom.com
Tel: +44-(0)1223 411200 ext. 3204
Direct: +44-(0)1223 403465

_____________________________________________________________________
The message in this transmission is sent in confidence for the attention of the addressee only and should not be disclosed to any other party. Unauthorised recipients are requested to preserve this confidentiality. Please advise the sender if the addressee is not resident at the receiving end.  Email to and from Arcom is automatically monitored for operational and lawful business reasons.

This message has been virus scanned by MessageLabs.

Re: git bisect not accepting -git kernels

From: Peter Baumann <hidden>
Date: 2016-06-15 22:43:22

On Tue, Jul 17, 2007 at 05:03:02PM +0100, Amit Walambe wrote:
Hi!
I was trying to do a git bisect on 2.6.22-git6 and 2.6.22-git8. For which I 
get following error :
root@amit:/usr/src/linux-git # git bisect good v2.6.22-git6
Bad rev input: v2.6.22-git6

The repository is obtained by :
root@amit:/usr/src # git clone 
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 linux-git

I am running following git version on Debian Sid, updated today.
# git --version
git version 0.99.8.GIT
There is a very old GIT version in your PATH (version 0.99*), which
takes preference over the version from sid.
'# dpkg -l | grep git' shows ' git-core 1:1.5.2.3-1'
-Peter

Re: git bisect not accepting -git kernels

From: Thomas Glanzmann <hidden>
Date: 2016-06-15 22:43:22

Hello,
# git --version
git version 0.99.8.GIT
this doesn't match
'# dpkg -l | grep git' shows ' git-core 1:1.5.2.3-1'
that. Maybe you should build your own git packages. Lucky you that it is
pretty easy with debian. Have a look at this thread:

	http://groups.google.com/group/linux.kernel/browse_thread/thread/b8509269407c0fdc/d05d0547e7dfcf03?lnk=st&q=author%3AThomas+author%3AGlanzmann+git+linux.kernel&rnum=1#d05d0547e7dfcf03

especially the first post (scroll up).

	Thomas

Re: git bisect not accepting -git kernels

From: Amit Walambe <hidden>
Date: 2016-06-15 22:43:22

Hi,
Thanks for both the replies.

Thomas Glanzmann wrote:
Hello,
quoted
# git --version
git version 0.99.8.GIT
this doesn't match
quoted
'# dpkg -l | grep git' shows ' git-core 1:1.5.2.3-1'
This struck me as being weird, but I thought 'git' utility version is 
different than the package. My mistake! :)
that. Maybe you should build your own git packages. Lucky you that it is
pretty easy with debian. Have a look at this thread:
I didn't build my own git version. What I did do was to remove the old 
git and ensure I am using the Debian installed one.

Now I am getting a different error :
root@amit:/usr/src/linux-git # which git
/usr/bin/git
root@amit:/usr/src/linux-git # git --version
git version 1.5.2.3
root@amit:/usr/src/linux-git # git bisect good v2.6.22-rc6
root@amit:/usr/src/linux-git # git bisect bad v2.6.22-rc8
fatal: Needed a single revision
root@amit:/usr/src/linux-git #

A quick search on the net didn't yield anything. Please help me find out 
what's going wrong.
Thanks and Regards,
-- 
Amit Walambe
Design Engineer, Arcom Control Systems Ltd.
http://www.arcom.com
Tel: +44-(0)1223 411200 ext. 3204
Direct: +44-(0)1223 403465

_____________________________________________________________________
The message in this transmission is sent in confidence for the attention of the addressee only and should not be disclosed to any other party. Unauthorised recipients are requested to preserve this confidentiality. Please advise the sender if the addressee is not resident at the receiving end.  Email to and from Arcom is automatically monitored for operational and lawful business reasons.

This message has been virus scanned by MessageLabs.

Re: git bisect not accepting -git kernels

From: Sam Ravnborg <hidden>
Date: 2016-06-15 22:43:22

On Tue, Jul 17, 2007 at 05:03:02PM +0100, Amit Walambe wrote:
Hi!
I was trying to do a git bisect on 2.6.22-git6 and 2.6.22-git8. For 
which I get following error :
root@amit:/usr/src/linux-git # git bisect good v2.6.22-git6
Bad rev input: v2.6.22-git6

The repository is obtained by :
root@amit:/usr/src # git clone 
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 linux-git
The -git# is added by a script and does not exists as tags.
The same place where you retreive the -git files has a file identifying
the commit that is the latest - use the SHA of this and you should
be happy.

	Sam

Re: git bisect not accepting -git kernels

From: René Scharfe <hidden>
Date: 2016-06-15 22:43:22

Amit Walambe schrieb:
Hi!
I was trying to do a git bisect on 2.6.22-git6 and 2.6.22-git8. For
which I get following error :
root@amit:/usr/src/linux-git # git bisect good v2.6.22-git6
Bad rev input: v2.6.22-git6

The repository is obtained by :
root@amit:/usr/src # git clone
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 linux-git

I am running following git version on Debian Sid, updated today.
# git --version
git version 0.99.8.GIT
'# dpkg -l | grep git' shows ' git-core 1:1.5.2.3-1'

I tried searching man-pages/documentation/website but couldn't find any
references to git bisect on -git kernels. I would be grateful if anyone
can help me find what's going wrong.
The -git snapshots are made automatically by kernel.org, and their name
is not included in the git repository.  You could create tags for them
like this:

 git tag v2.6.22-git6 8f41958bdd577731f7411c9605cfaa9db6766809
 git tag v2.6.22-git8 a5fcaa210626a79465321e344c91a6a7dc3881fa

... and afterwards you can use those revision names with bisect (or
other git commands).  I've got the commit IDs (i.e. those mysterious 40
hex digits above) from the first line of the changelogs; their URLs are:

 http://kernel.org/pub/linux/kernel/v2.6/snapshots/patch-2.6.22-git6.log
 http://kernel.org/pub/linux/kernel/v2.6/snapshots/patch-2.6.22-git8.log

René

Re: git bisect not accepting -git kernels

From: Amit Walambe <hidden>
Date: 2016-06-15 22:43:22

Thanks a ton everyone for all the replies.
Here is the current status :

René Scharfe wrote:
Amit Walambe schrieb:
quoted
Hi!
I was trying to do a git bisect on 2.6.22-git6 and 2.6.22-git8. For
which I get following error :
root@amit:/usr/src/linux-git # git bisect good v2.6.22-git6
Bad rev input: v2.6.22-git6
The -git snapshots are made automatically by kernel.org, and their name
is not included in the git repository.  You could create tags for them
like this:

 git tag v2.6.22-git6 8f41958bdd577731f7411c9605cfaa9db6766809
 git tag v2.6.22-git8 a5fcaa210626a79465321e344c91a6a7dc3881fa

... and afterwards you can use those revision names with bisect (or
other git commands).  I've got the commit IDs (i.e. those mysterious 40
hex digits above) from the first line of the changelogs; their URLs are:

 http://kernel.org/pub/linux/kernel/v2.6/snapshots/patch-2.6.22-git6.log
 http://kernel.org/pub/linux/kernel/v2.6/snapshots/patch-2.6.22-git8.log
I found the commit ids in following file as well :
http://www.kernel.org/pub/linux/kernel/v2.6/snapshots/patch-2.6.22-git6.id
http://www.kernel.org/pub/linux/kernel/v2.6/snapshots/patch-2.6.22-git8.id

But telling good/bad points to git bisect still fails, whether I pass 
the commit-id or the tags I created with commands given by René :

root@amit:/usr/src/linux-git # git bisect good 
8f41958bdd577731f7411c9605cfaa9db6766809
cat: .git/BISECT_NAMES: No such file or directory
root@amit:/usr/src/linux-git #
root@amit:/usr/src/linux-git #
root@amit:/usr/src/linux-git # git tag v2.6.22-git6 
8f41958bdd577731f7411c9605cfaa9db6766809
root@amit:/usr/src/linux-git # git tag v2.6.22-git8 
a5fcaa210626a79465321e344c91a6a7dc3881fa
root@amit:/usr/src/linux-git #
root@amit:/usr/src/linux-git #
root@amit:/usr/src/linux-git # git bisect good v2.6.22-git6
cat: .git/BISECT_NAMES: No such file or directory
root@amit:/usr/src/linux-git #
root@amit:/usr/src/linux-git #
root@amit:/usr/src/linux-git #
root@amit:/usr/src/linux-git # git bisect bad v2.6.22-git8
cat: .git/BISECT_NAMES: No such file or directory

Thanks and Regards,
-- 
Amit Walambe
Design Engineer, Arcom Control Systems Ltd.
http://www.arcom.com
Tel: +44-(0)1223 411200 ext. 3204
Direct: +44-(0)1223 403465

_____________________________________________________________________
The message in this transmission is sent in confidence for the attention of the addressee only and should not be disclosed to any other party. Unauthorised recipients are requested to preserve this confidentiality. Please advise the sender if the addressee is not resident at the receiving end.  Email to and from Arcom is automatically monitored for operational and lawful business reasons.

This message has been virus scanned by MessageLabs.

Re: git bisect not accepting -git kernels

From: Amit Walambe <hidden>
Date: 2016-06-15 22:43:22

Amit Walambe wrote:
I didn't build my own git version. What I did do was to remove the old 
git and ensure I am using the Debian installed one.

Now I am getting a different error :
root@amit:/usr/src/linux-git # which git
/usr/bin/git
root@amit:/usr/src/linux-git # git --version
git version 1.5.2.3
root@amit:/usr/src/linux-git # git bisect good v2.6.22-rc6
root@amit:/usr/src/linux-git # git bisect bad v2.6.22-rc8
fatal: Needed a single revision
root@amit:/usr/src/linux-git #
I should call it a day. Above commands are wrong. I need to work on -git 
kernels and not -rc kernels (as the above commands are showing).
I am still getting the same errors I started with :

root@amit:/usr/src/linux-git # git bisect good v2.6.22-git6
Bad rev input: v2.6.22-git6
root@amit:/usr/src/linux-git #
root@amit:/usr/src/linux-git #
root@amit:/usr/src/linux-git # git bisect good v2.6.22-git8
Bad rev input: v2.6.22-git8
A quick search on the net didn't yield anything. Please help me find out 
what's going wrong.
Thanks and Regards,
The above greatly applies :)
-- 
Amit Walambe
Design Engineer, Arcom Control Systems Ltd.
http://www.arcom.com
Tel: +44-(0)1223 411200 ext. 3204
Direct: +44-(0)1223 403465

_____________________________________________________________________
The message in this transmission is sent in confidence for the attention of the addressee only and should not be disclosed to any other party. Unauthorised recipients are requested to preserve this confidentiality. Please advise the sender if the addressee is not resident at the receiving end.  Email to and from Arcom is automatically monitored for operational and lawful business reasons.

This message has been virus scanned by MessageLabs.

Re: git bisect not accepting -git kernels

From: Julian Phillips <hidden>
Date: 2016-06-15 22:43:22

On Tue, 17 Jul 2007, Amit Walambe wrote:
But telling good/bad points to git bisect still fails, whether I pass the 
commit-id or the tags I created with commands given by René :

root@amit:/usr/src/linux-git # git bisect good 
8f41958bdd577731f7411c9605cfaa9db6766809
cat: .git/BISECT_NAMES: No such file or directory
root@amit:/usr/src/linux-git #
root@amit:/usr/src/linux-git #
root@amit:/usr/src/linux-git # git tag v2.6.22-git6 
8f41958bdd577731f7411c9605cfaa9db6766809
root@amit:/usr/src/linux-git # git tag v2.6.22-git8 
a5fcaa210626a79465321e344c91a6a7dc3881fa
root@amit:/usr/src/linux-git #
root@amit:/usr/src/linux-git #
root@amit:/usr/src/linux-git # git bisect good v2.6.22-git6
cat: .git/BISECT_NAMES: No such file or directory
root@amit:/usr/src/linux-git #
root@amit:/usr/src/linux-git #
root@amit:/usr/src/linux-git #
root@amit:/usr/src/linux-git # git bisect bad v2.6.22-git8
cat: .git/BISECT_NAMES: No such file or directory

Thanks and Regards,
you seem to be missing a "git bisect start" from that sequence ... see the 
man page for more details.

-- 
Julian

  ---
Peter Griffin:  You wanna talk about awkward moments? Once, during sex, I called Lois "Frank". Your move, Sherlock.

Re: git bisect not accepting -git kernels

From: Rogan Dawes <hidden>
Date: 2016-06-15 22:43:22

Amit Walambe wrote:
Thanks a ton everyone for all the replies.
Here is the current status :

René Scharfe wrote:
quoted
Amit Walambe schrieb:
quoted
Hi!
I was trying to do a git bisect on 2.6.22-git6 and 2.6.22-git8. For
which I get following error :
root@amit:/usr/src/linux-git # git bisect good v2.6.22-git6
Bad rev input: v2.6.22-git6
The -git snapshots are made automatically by kernel.org, and their name
is not included in the git repository.  You could create tags for them
like this:

 git tag v2.6.22-git6 8f41958bdd577731f7411c9605cfaa9db6766809
 git tag v2.6.22-git8 a5fcaa210626a79465321e344c91a6a7dc3881fa

... and afterwards you can use those revision names with bisect (or
other git commands).  I've got the commit IDs (i.e. those mysterious 40
hex digits above) from the first line of the changelogs; their URLs are:

 http://kernel.org/pub/linux/kernel/v2.6/snapshots/patch-2.6.22-git6.log
 http://kernel.org/pub/linux/kernel/v2.6/snapshots/patch-2.6.22-git8.log
I found the commit ids in following file as well :
http://www.kernel.org/pub/linux/kernel/v2.6/snapshots/patch-2.6.22-git6.id
http://www.kernel.org/pub/linux/kernel/v2.6/snapshots/patch-2.6.22-git8.id

But telling good/bad points to git bisect still fails, whether I pass 
the commit-id or the tags I created with commands given by René :

root@amit:/usr/src/linux-git # git bisect good 
8f41958bdd577731f7411c9605cfaa9db6766809
cat: .git/BISECT_NAMES: No such file or directory
root@amit:/usr/src/linux-git #
root@amit:/usr/src/linux-git #
root@amit:/usr/src/linux-git # git tag v2.6.22-git6 
8f41958bdd577731f7411c9605cfaa9db6766809
root@amit:/usr/src/linux-git # git tag v2.6.22-git8 
a5fcaa210626a79465321e344c91a6a7dc3881fa
root@amit:/usr/src/linux-git #
root@amit:/usr/src/linux-git #
root@amit:/usr/src/linux-git # git bisect good v2.6.22-git6
cat: .git/BISECT_NAMES: No such file or directory
root@amit:/usr/src/linux-git #
root@amit:/usr/src/linux-git #
root@amit:/usr/src/linux-git #
root@amit:/usr/src/linux-git # git bisect bad v2.6.22-git8
cat: .git/BISECT_NAMES: No such file or directory

Thanks and Regards,
You need to start off by saying

$ git bisect start

to set up the necessary infrastructure.

Rogan

Re: git bisect not accepting -git kernels

From: Amit Walambe <hidden>
Date: 2016-06-15 22:43:22

Julian Phillips wrote:
On Tue, 17 Jul 2007, Amit Walambe wrote:
quoted
But telling good/bad points to git bisect still fails, whether I pass 
the commit-id or the tags I created with commands given by René :

root@amit:/usr/src/linux-git # git bisect good 
8f41958bdd577731f7411c9605cfaa9db6766809
cat: .git/BISECT_NAMES: No such file or directory
root@amit:/usr/src/linux-git #
root@amit:/usr/src/linux-git #
root@amit:/usr/src/linux-git # git tag v2.6.22-git6 
8f41958bdd577731f7411c9605cfaa9db6766809
root@amit:/usr/src/linux-git # git tag v2.6.22-git8 
a5fcaa210626a79465321e344c91a6a7dc3881fa
root@amit:/usr/src/linux-git #
root@amit:/usr/src/linux-git #
root@amit:/usr/src/linux-git # git bisect good v2.6.22-git6
cat: .git/BISECT_NAMES: No such file or directory
root@amit:/usr/src/linux-git #
root@amit:/usr/src/linux-git #
root@amit:/usr/src/linux-git #
root@amit:/usr/src/linux-git # git bisect bad v2.6.22-git8
cat: .git/BISECT_NAMES: No such file or directory

Thanks and Regards,
you seem to be missing a "git bisect start" from that sequence ... see 
the man page for more details.
Yes indeed. Somehow the state was messed up due to different commands I 
had tried. Now it works ok.
root@amit:/usr/src/linux-git # git bisect good v2.6.22-git6
root@amit:/usr/src/linux-git # git bisect bad v2.6.22-git8
Bisecting: 362 revisions left to test after this
[02b2318e07f98a7cdf7089a4457a8d62424aa824] Merge branch 'master' of 
master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6
Thanks a lot for everyone for their help. _Much appreciated_!
Best Regards,
-- 
Amit Walambe
Design Engineer, Arcom Control Systems Ltd.
http://www.arcom.com
Tel: +44-(0)1223 411200 ext. 3204
Direct: +44-(0)1223 403465

_____________________________________________________________________
The message in this transmission is sent in confidence for the attention of the addressee only and should not be disclosed to any other party. Unauthorised recipients are requested to preserve this confidentiality. Please advise the sender if the addressee is not resident at the receiving end.  Email to and from Arcom is automatically monitored for operational and lawful business reasons.

This message has been virus scanned by MessageLabs.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help