[Xorp-users] Some recent xorp.ct improvements. (Ben Greear)

Edwin Schokkenbroek edwin at spacebugs.nl
Tue Aug 17 12:15:52 PDT 2010


On Aug 17, 2010, at 8:28 PM, Edwin Schokkenbroek wrote:

> 
> On Aug 17, 2010, at 6:14 PM, Ben Greear wrote:
> 
>> On 08/17/2010 08:10 AM, Edwin Schokkenbroek wrote:
>>> 
>>> On Aug 17, 2010, at 5:03 PM, Ben Greear wrote:
>>> 
>>>> On 08/17/2010 06:26 AM, Edwin Schokkenbroek wrote:
>>>>> Hello Ben,
>>>>> 
>>>>> On FreeBSD 8.0-RELEASE AMD64 running under Vmware Fusion (Version 3.1.1 (282344) ) I receive the following core dump after compiling the sources:
>>>>> 
>>>>> /usr/local/xorp/sbin/xorp_rtrmgr -b /root/vrd/edwin/R4/boot/config.boot
>>>>> Assertion failed: (0x12345678 == htonl(0x12345678)), function main, file rtrmgr/main_rtrmgr.cc, line 536.
>>>>> Abort trap: 6 (core dumped)
>>>> 
>>>> Thanks for testing.  I must have messed up the endian-ness stuff I did last night.
>>>> 
>>>> Can you check to see if you have<endian.h>  on your compile system?
>> 
>> Can you try the latest xorp.ct please?  I think I have a fix in place
>> now.
> 
> Compiled the latest source and I was able to start xorp_rtrmgr again :-) BGP and OSPF seems to work fine to. Thanks !
> 
> Edwin
> 

Maybe I was to enthusiast I tested with a wrong version .. sorry about that. What I noticed is now that I use the latest compiled version, that I receive messages like: 

[ 2010/08/17 21:01:01  ERROR xorpsh:4089 LIBCOMM +610 comm_sock.c comm_sock_connect4 ] Error connecting socket (family = 2, remote_addr = 127.0.0.1, remote_port = 19999): Connection refused
[ 2010/08/17 21:01:01  ERROR xorpsh:4089 FINDER +390 finder_tcp_messenger.cc do_auto_connect ] Failed to connect to 127.0.0.1/19999: Connection refused
Waiting for xorp_rtrmgr...
[ 2010/08/17 21:01:10  ERROR xorpsh:4089 LIBCOMM +610 comm_sock.c comm_sock_connect4 ] Error connecting socket (family = 2, remote_addr = 127.0.0.1, remote_port = 19999): Connection refused
[ 2010/08/17 21:01:10  ERROR xorpsh:4089 FINDER +390 finder_tcp_messenger.cc do_auto_connect ] Failed to connect to 127.0.0.1/19999: Connection refused


Which tells me the xorp_rtrmgr is not started (or failed to start) for some reason. 

I start the xorp_rtrmgr from a script, and when I start the xorp_rtrmgr manual (from the command line) with the same config file .. the xorp_rtrmgr just starts. When I use the xorp version builds from the ports of FreeBSD (and earlier builds of xorp.ct) it just works .. as in I can start xorp_rtrmgr from my script. 

Don't know what is causing this. I'm searching at this moment. Hopefully a log file will tell me what is going on....

Edwin











>> 
>> I need to get my BSD system in build-bot, and then will see if I can get
>> BSD to use <sys/endian.h> so we don't depend on the scons CheckEndian logic,
>> which is broken for cross-compiles.
>> 
>> Thanks,
>> Ben
>> 
>> -- 
>> Ben Greear <greearb at candelatech.com>
>> Candela Technologies Inc  http://www.candelatech.com
> 
> 
> 
> 
> 
> 
> 












More information about the Xorp-users mailing list