[OLSR-users] Assertion `metric_counter' failed

Andreas Tønnesen (spam-protected)
Tue May 17 17:31:38 CEST 2005


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 <(spam-protected)>/* 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 
>> <http://tour.mail.yahoo.com/mailtour.html> *
>>
>> *
>> *
>> ------------------------------------------------------------------------
>> *
>> _______________________________________________
>> olsr-users mailing list
>> (spam-protected)
>> https://www.olsr.org/mailman/listinfo/olsr-users
>> *
> 
> 

-- 
Andreas Tønnesen
http://www.olsr.org



More information about the Olsr-users mailing list