[OLSR-users] Assertion `metric_counter' failed
Robert Frank
(spam-protected)
Tue May 17 18:02:09 CEST 2005
Hi
The IPv6 address change fix you provided a couple a weeks back doesnt completely solve the IPv6 crash problem. Since you were very busy last month, i didnt bother to disturb you. I went thru the codes, added few conditions in the routing_table.c and neighbor_table.c and now it doesnt crash. Then i encountered this assert failure problem and tired replacing with the old olsr_delete_from_kernel().
But still i couldnt fully solve the problem when IPv6 address changes. In a nutshell, everything works fine when the preconfigured IPv6 address is used. But when IPv6 address is changed in some of the nodes, it behaves very strangely.
1) Sometimes i could see all the routes in the routing table (route -A inet6), but when i ping6 the nodes, iam unable to reach them. I suspect the interface parameters are not properly attached to the routes.
2) sometimes, the routes are updated only in part of the nodes and in other nodes they routes are not available. Iam confused why this happens
I am uanble to conclude whats happening . But i beleive some changes in the src/unix/ifnet.c prog should solve this
- Rob
Andreas T�nnesen <(spam-protected)> wrote:
well... that was a stupid question :) In your version olsrd crashes when
changing (IPv6)address so obviously they never get to the assert call.
Never mind.
- Andreas
Andreas T�nnesen wrote:
> One more thing - does the assertion only fail on nodes who have their
> address changed?
>
> - Andreas
>
> Andreas T�nnesen wrote:
>
>> Hi,
>>
>> The IPv6 address change crash is already fixed in CVS. But having the
>> debuglevel 3 output from the assertion(compiled with -DDEBUG) would
>> help tracing that the problem.
>>
>> - Andreas
>>
>> Robert Frank wrote:
>>
>>> Hi
>>>
>>> I am also getting the assertion failed error when the IPv6 address of
>>> the node changes. I have 10 nodes . I start the nodes with
>>> preconfigured global Ipv6 address and then change the IPv6 address on
>>> certain nodes (say 5 nodes). when updating the routing table...the
>>> assertion failed error happens.
>>>
>>> I tried replacing the olsr_delete_routes_from_kernel() in the
>>> process_routes.c with the simple link list traverse and delete
>>> (similar to the one use upto 0.4.8 olsr_delete_routes_from_kernel()).
>>> Then it works fine (assertion failed error doesnt happen).
>>>
>>> Also when the IPv6 address changes, the routing table is not formed
>>> properly. I analysing whats happening on when the IPv6 address
>>> changes and i will post a more detailed msg later. Hopefully some
>>> changes in the ifnet.c program will do
>>>
>>> - Rob
>>>
>>> */Andreas T�nnesen /* wrote:
>>>
>>> Hi Philippe,
>>>
>>> Could you provide the output with debug level 3 from when the
>>> assertion
>>> fails?
>>>
>>> - Andreas
>>>
>>> Philippe Vanhaesendonck wrote:
>>> > Hi!
>>> >
>>> > We are running OLSR 0.4.9 on roughly 25 nodes in the Brussels
>>> area.
>>> >
>>> > On one node, olsrd aborts on a regular base with the following
>>> message:
>>> > olsrd: src/process_routes.c: 318: olsr_delete_routes_from_kernel:
>>> > Assertion `metric_counter' failed.
>>> >
>>> > Some facts:
>>> >
>>> > * I have not seen this on any other nodes (but we are only
>>> running
>>> > OLSR since a couple of days)
>>> > * The machine is an i386 BusyBox / uClibc base (Elan SC-400
>>> processor)
>>> > * It runs from a couple of minutes up to a couple of hours
>>> > * We are using NLQ -- all nodes share the same config file
>>> > * The routing is not stable -- that is it changes very fas t.
>>> When
>>> > you run olsr in debug mode (-d 1), it will scroll at high speed.
>>> > This is probably due to the quality of the links, but we have
>>> > substential number of changes in the routes)
>>> >
>>> > Hereunder the config file, a capture of the problem and a
>>> dot-draw of
>>> > the topology (the node having problem is bulles.bxl.rc)
>>> >
>>> > Any idea / suggestions?
>>> >
>>> > thank you in advance
>>> >
>>> > --
>>> > Phil
>>> >
>>> > ----------------------- Config file
>>> > DebugLevel 0
>>> > IpVersion 4
>>> > ClearScreen yes
>>> > Hna4
>>> > {
>>> > }
>>> > Hna6
>>> > {
>>> > }
>>> > AllowNoInt yes
>>> > IpcConnect
>>> > {
>>> > MaxConnections 1
>>> > Host 127.0.0.1
>>> > Net 192.168.1.0 255.255.255.0
>>> > Net 192.168.29.0 255.255.255.0
>>> > }
>>> > UseHysteresis no
>>> > LinkQualityLevel 2
>>> > LinkQualityWinSize 10
>>> > Pollrate 0.05
>>> > LoadPlugin "olsrd_httpinfo.so.0.1"
>>> > {
>>> > PlParam "port" "8080"
>>> > PlParam "Net" "10.0.0.0 255.0.0.0"
>>> > PlParam "Net" "192.168.1.0 255.255.255.0"
>>> > PlParam "Net" "192.168.29.0 255.255.255.0"
>>> > }
>>> > Interface "wlan0"
>>> > {
>>> > }
>>> >
>>> > ----------------------- Example of problem
>>> > # route
>>> > Kernel IP routing table
>>> > Destination Gateway Genmask Flags Metric Ref Use
>>> > Iface
>>> > 192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
>>> > 10.0.0.0 * 255.0.0.0 U 0 0 0
>>> > wlan0
>>> > 127.0.0.0 * 255.0.0.0 U 0 0 0 lo
>>> > default gw.bulles-dsl 0.0.0.0 UG 0 0 0 eth0
>>> > # date; olsrd -d 0 -nofork ; date
>>> > Tue May 17 12:01:35 CES 2005
>>> >
>>> > *** olsr.org - 0.4.9 ***
>>> > Build date: Apr 15 2005
>>> > http://www.olsr.org
>>> >
>>> > Parsing file: "/etc/olsrd.conf"
>>> > Httpinfo olsrd plugin 0.1 by Andreas T�nnesen
>>> > (HTTPINFO) listening on port: 8080
>>> > olsrd: src/process_routes.c: 318: olsr_delete_routes_from_kernel:
>>> Assertion
>>> > `met ric_counter' failed.
>>> > Aborted
>>> > Tue May 17 12:20:16 CES 2005
>>> > # route
>>> > Kernel IP routing table
>>> > Destination Gateway Genmask Flags Metric Ref Use
>>> > Iface
>>> > 10.200.163.254 soekris.bulles. 255.255.255.255 UGH 3 0 0
>>> > wlan0
>>> > 10.6.50.38 soekris.bulles. 255.255.255.255 UGH 2 0 0
>>> > wlan0
>>> > 10.6.13.115 madou.bxl.rc 255.255.255.255 UGH 2 0 0
>>> > wlan0
>>> > 10.9.165.194 madou.bxl.rc 255.255.255.255 UGH 3 0 0
>>> > wlan0
>>> > 10.10.223.73 soekris.bulles. 255.255.255.255 UGH 2 0 0
>>> > wlan0
>>> > 10.11.11.12 soekris.bulles. 255.255.255.255 UGH 1 0 0
>>> > wlan0
>>> > 10.54.142.132 madou.bxl.rc 255.255.255.255 UGH 3 0 0
>>> > wlan0
>>> > 10.11.1.197 * 255.255.255.255 UH 3 0 0
>>> > wlan0
>>> > 10.8.8.217 madou.bxl.rc 255.255.255.255 UGH 3 0 0
>>> > wlan0
>>> > 10.54.142.133 * 255.255.255.255 UH 1 0 0
>>> > wlan0
>>> > 10.51.17 2.99 madou.bxl.rc 255.255.255.255 UGH 3 0 0
>>> > wlan0
>>> > 10.212.64.121 madou.bxl.rc 255.255.255.255 UGH 3 0 0
>>> > wlan0
>>> > 10.8.39.138 madou.bxl.rc 255.255.255.255 UGH 2 0 0
>>> > wlan0
>>> > 10.3.13.37 madou.bxl.rc 255.255.255.255 UGH 3 0 0
>>> > wlan0
>>> > 10.9.167.26 madou.bxl.rc 255.255.255.255 UGH 4 0 0
>>> > wlan0
>>> > 10.199.156.169 madou.bxl.rc 255.255.255.255 UGH 3 0 0
>>> > wlan0
>>> > 10.9.175.120 madou.bxl.rc 255.255.255.255 UGH 3 0 0
>>> > wlan0
>>> > 10.9.166.198 madou.bxl.rc 255.255.255.255 UGH 5 0 0
>>> > wlan0
>>> > 192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
>>> > 10.0.0.0 * 255.0.0.0 U 0 0 0
>>> > wlan0
>>> > 127.0.0.0 * 255.0.0.0 U 0 0 0 lo
>>> > default gw.bulles-dsl 0.0.0.0 UG 0 0 0 eth0
>>> >
>>> >
>>> >
>>> >
>>> >
>>>
>>> ------------------------------------------------------------------------
>>> >
>>> >
>>> >
>>>
>>> ------------------------------------------------------------------------
>>> > *> _______________________________________________
>>> > olsr-users mailing list
>>> > (spam-protected)
>>> > https://www.olsr.org/mailman/listinfo/olsr-users
>>>
>>> -- Andreas T�nnesen
>>> http://www.olsr.org
>>> _______________________________________________
>>> olsr-users mailing list
>>> (spam-protected)
>>> https://www.olsr.org/mailman/listinfo/olsr-users
>>> *
>>>
>>> * *
>>>
>>> ------------------------------------------------------------------------
>>> *Yahoo! Mail
>>> Stay connected, organized, and protected. Take the tour
>>> *
>>>
>>> *
>>> *
>>> ------------------------------------------------------------------------
>>> *
>>> _______________________________________________
>>> olsr-users mailing list
>>> (spam-protected)
>>> https://www.olsr.org/mailman/listinfo/olsr-users
>>> *
>>
>>
>>
>
--
Andreas T�nnesen
http://www.olsr.org
_______________________________________________
olsr-users mailing list
(spam-protected)
https://www.olsr.org/mailman/listinfo/olsr-users
---------------------------------
Yahoo! Mail
Stay connected, organized, and protected. Take the tour
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olsr.org/pipermail/olsr-users/attachments/20050517/4215b586/attachment.html>
More information about the Olsr-users
mailing list