[Xorp-users] Xorp 1.8.5 OSPF adjacencies problems on FreeBSD 8.2 with jails.

Edwin Schokkenbroek edwin at spacebugs.nl
Wed Feb 1 11:26:34 PST 2012


On 01/31/2012 03:33 PM, Edwin Schokkenbroek wrote:
>

>
   Hello Ben,

Ok, so the bug was introduced in the 1.8.5 release it seems.

To bisect this, you clone the xorp project:

git clone 
git://github.com/greearb/xorp.ct.git


Then, in the newly created repository:

git bisect start

git bisect good xorp-1.8.4
git bisect bad HEAD

Now, compile xorp, install it and test.  If it is good, then just enter 'git bisect good'
and if it fails, then 'git bisect bad'.  Then compile, test, repeat.

Eventually, git bisect will tell you which commit introduced the problem.

Let me know that information and hopefully I can figure out where the problem
lies.

Well that was quite a learning experience :-).  And thanks for pointing out how to do this.   
The last two steps: 

Version tag: 14c29f6  Build Date: 2012-02-01 19:02 64-bit -> bad
 

/data/xorp/bug-trace/xorp.ct]# git bisect bad
 Bisecting: 0 revisions left to test after this (roughly 0 steps)
[6711ba5156552bafdaffd8fbf2350c9b7c39d08e] raw-sockets:  Assume platforms support raw socket input/output.

Version tag: 6711ba5  Build Date: 2012-02-01 19:46 64-bit -> bad


 /data/xorp/bug-trace/xorp.ct]# git bisect bad6711ba5156552bafdaffd8fbf2350c9b7c39d08e is the first bad commit
commit 6711ba5156552bafdaffd8fbf2350c9b7c39d08e
Author: Ben Greear <greearb at candelatech.com>
Date:   Thu Oct 6 09:29:52 2011 -0700

    raw-sockets:  Assume platforms support raw socket input/output.
    
    The old check tried to match on systems that did..but it misses
    weird systems (some arm-linux, at least).  So instead specifically
    exclude certain systems (mingw).  This might break Solaris, or perhaps
    not.
    
    Signed-off-by: Ben Greear <greearb at candelatech.com>

:040000 040000 171b9f8bf29050bbe0301f0a04d7f7d261c29225 61c5328303596ffdeeaa6f8544a79fb20fe03960 M      xorp
[root at chaos-prod /data/xorp/bug-trace/xorp.ct]# 


I hope this provides the information needed. 

Edwin Schokkenbroek




More information about the Xorp-users mailing list