[Xorp-users] Empty routing table

Timothy Chow timothyc at ucla.edu
Fri Aug 7 05:55:12 PDT 2009


Bruce,

Sorry for this very late reply. I was off to work on other projects and I
also wanted to collect more information on my side ...

Once again, I am trying to cross-compile for an ARM platform. I am using an
embedded software build system called OpenEmbedded (OE). It automates all
the build process with correct environment variables, paths and whatnot to
build embedded system software from source. I wrote a script for OE and
instruct it to download the source from CVS.

I found few problems with my build ...
- All the executable binaries are generated as libtool wrapper scripts. I
have to make the generated libtool script and change "fast_install" from
"no" to "needless" in order to get the binaries correctly.
- I was testing with static_routes and did a trace in several functions.
Looks like the empty routing table problem is caused by the communication
problems between the routing module and RIB. For example, the callback
function send_rib_route_change_cb() never got called.
- The info messages in some modules didn't get logged properly. Only the
messages from xorp_rtrmgr were being logging. Messages from other modules
such as xorp_fea and xorp_static_routes did not show up in the log at all.

Looks like there are some library linkage problems to me? It would be great
if you can give me some pointers on fixing this and comments from people who
have cross-compiled XORP would be greatly appreciated ...

Thanks,
Tim


-----Original Message-----
From: Bruce Simpson [mailto:bms at incunabulum.net] 
Sent: Thursday, June 25, 2009 3:21 AM
To: Timothy Chow
Cc: xorp-users at xorp.org
Subject: Re: [Xorp-users] Empty routing table

Timothy Chow wrote:
> Hello all,
>
> I am porting XORP to an embedded target which has a ARM processor.  
> Everything got cross-compiled OK. xorp_rtrmgr and xorpsh also runs OK  
> under the target platform.
>
> I tried static and OSPF routing protocols, and looks like both  
> protocols do not populate the routing table at all. The "show routing  
> table" commands in xorpsh for both protocols gave me empty routing  
> tables.
>   

Did they give you empty routing tables or empty *output* ? If there were 
empty tables you would have seen headers. Can you double confirm? Do the 
protocols involved see their own routes?

Are you working from CVS sources, or a release tarball?

We are currently waiting for clearance to move these sources to 
SourceForge so there isn't actually any point in committing bug fixes 
until that happens, sorry, this is a major hold-up.


> I just wonder if there is anything or anywhere I can check if XORP is  
> working correctly on my target platform. Maybe something I missed  
> during the whole cross-compilation process? Any thoughts?
>   

ARM is a strong alignment architecture. Whilst warnings have been fixed 
there are places in the code where strong alignment may be broken.

thanks
BMS



More information about the Xorp-users mailing list