[Xorp-hackers] cannot add to RIB
Liang Qin
lqin@sce.carleton.ca
Mon, 15 Mar 2004 14:22:45 -0500
Hi Pavli,
Thanks! I installed and test the latest code on another Linux
box (kernel 2.4.20-13.9), it seems OK because it finished "gmake
check" process though there were some error messages appeared.
I have some questions to ask:
1. Now the module x is killed again with more detailed info:
FATAL xorp_x: xxx LIBXORP +37 eventloop.cc EventLoop ] Asserttion
(instance_count ==1)
failed
...
process was killed with signal 6
Module abnormally killed:X
I checked the Eventloop code, the error messages means that "the
EventLoop::run
has not been called". But I did set it run.
2. What dos IfMgrXrlMirror object do in the StaticRoutes code? Do I have
to use
it if the module only sends route to RIB?
Thanks!
Liang
Pavlin Radoslavov wrote:
>>Thanks for your quick reply...
>>The internal test is failed (1 of 18 tests failed)
>>Fatal test_finder_events: 21704 FINDER +331 test_find_events.cc assert_
>>observer_watching ]..........
>>
>>The Linux kernel is
>>2.4.20-13.9.HOSTAP
>>
>>
>
>Hmmm, interesting. We have RedHat-7.3 with 2.4.20-28.7smp kernel.
>We are running automated tests every few hours on that machine and
>we haven't seen that error. Was there any other xorp process running
>while you were running the above test (e.g., maybe some leftovers,
>etc)?
>
>
>
>>Should I install some RPMS?
>>
>>
>
>Maybe no.
>In general, to run some of the internal tests you must have "bash"
>installed. Also, depends on your Linux distribution, you may have to
>install openssl-devel and ncurses (see the Linux entry in the
>BUILD_NOTES file), but if the compilation succeeded for you then you
>probably don't need them.
>
>
>
>>So StaticRoutes is a another routing module, and I still have to send
>>route directly to RIB. But you did test the send_add_route6() and it works,
>>didn't you?
>>
>>
>
>Sorry, I wasn't clear in my email about the purpose of StaticRoutes.
>Yes, StaticRoutes is just another routing module which happens to
>use send_add_route6(). So you can look in its source code to
>find-out whether you were doing something different in respect of
>registering your module with the RIB and sending routes to it.
>The whole StaticRoutes module is rather simple so I guess it will be
>relatively easy to find the relevant stuff, but let me know if you
>have any questions.
>
>Regards,
>Pavlin
>_______________________________________________
>Xorp-hackers mailing list
>Xorp-hackers@icir.org
>http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers
>
>
>