[Olsr-dev] olsr strange behaving / nearly no outgoing packets / hanging daemon?

Markus Kittenberger (spam-protected)
Thu Jun 28 21:32:34 CEST 2012


again, it does not hang!

issue is just that an olsrd with compiletime disabled debugoutput does not
print debugoutput,.. (-; (NO_DEBUG_MESSAGES ?= 1)

@bastian

here are some olsrd binaries, which are current stable tip, and imho enough
compatible with your system (i was too lazy to set up a new compile target,
so they are for an (much) older uclibc than your system, but usually this
is fine)

http://193.238.157.78/~markus/olsrd/cross/arch_brcm47xx/uclibc_0.9.30/olsrd_0.6.3.1/

or you can (in theory) use this repository to install them
http://193.238.157.78/~markus/olsrd/cross/arch_brcm47xx/uclibc_0.9.30/packages/

-> happy reading (and finding something) in the millions of lines you now
get with -d 9

but for me the output and operations of this olsrd looks quite normal (it
is still running in background)
e.g after a minute it seems to have normal neighbours, and routes, ...

cd /tmp
wget
http://193.238.157.78/~markus/olsrd/cross/arch_brcm47xx/uclibc_0.9.30/olsrd_0.6.3.1/olsrd
./olsrd -i eth0 -nofork -f /var/etc/olsrd.conf -d 3

 *** olsr.org -  0.6.3-git_e2855a9-hash_1bb72c2583d12a9e6e8c739675a5db7d  -
***
 Build date: 2012-06-28 21:11:28 on texas.funkfeuer.at
 http://www.olsr.org

[snip]

--- 08:57:13.957900 ----------------------- TWO-HOP NEIGHBORS

IP addr (2-hop)  IP addr (1-hop)  Total cost
10.63.17.33      10.63.9.33       INFINITE
10.63.16.33      10.63.17.33      2.000
10.63.3.33       10.63.17.33      INFINITE
10.63.2.33       10.63.17.33      2.000
10.63.9.33       10.63.17.33      2.000

and i will continue/start doing holidays,.. (i.e. going offline for about
12 hours *GGG)

Markus

On Thu, Jun 28, 2012 at 8:46 PM, Henning Rogge <(spam-protected)>wrote:

> Maybe you can use strace to check where olsrd hangs?
>
> Henning
> Am 28.06.2012 20:39 schrieb "Markus Kittenberger" <
> (spam-protected)>:
>
>
>>
>> On Thu, Jun 28, 2012 at 7:56 PM, Markus Kittenberger <
>> (spam-protected)> wrote:
>>
>>>
>>>
>>> On Thu, Jun 28, 2012 at 7:12 PM, Bastian Bittorf <(spam-protected)
>>> > wrote:
>>>
>>>> [...]
>>>>
>>>> > >     Name: "olsrd_txtinfo.so.0.1"
>>>> > >     Name: "olsrd_watchdog.so.0.1"
>>>> > > Not using hysteresis
>>>> > > OLSRD txtinfo plugin 0.1 by Lorenz Schori
>>>> >
>>>> > One of your plugins is not loading correctly and may hang.
>>>> >
>>>> > When I start my olsrd the last line is:
>>>> >
>>>> > > -- ALL PLUGINS LOADED! --
>>>> >
>>>> > It would seem that txtinfo is not loading correctly.
>>>> > My output for this plugin is:
>>>> >
>>>> > > ---------- LOADING LIBRARY ./lib/txtinfo/olsrd_txtinfo.so.0.1
>>>> > ----------
>>>> > > OLSRD txtinfo plugin 0.1 by Lorenz Schori
>>>> > > Checking plugin interface version:  5 - OK
>>>> > > ---------- LIBRARY ./lib/txtinfo/olsrd_txtinfo.so.0.1 LOADED
>>>> > ----------
>>>> >
>>>> > You might want to try the following config for txtinfo:
>>>> >
>>>> > > Plugin: ./lib/txtinfo/olsrd_txtinfo.so.0.1
>>>> > > Plugin param key:"Accept" val: "127.0.0.1"
>>>>
>>>> i changed my accept-val to 127.0.0.1, it was 0.0.0.0
>>>> but this changed nothing. i also disabled _all_ plugins,
>>>> so it "hangs" after "Not using hysteresis" (no more output).
>>>>
>>> why should it change anything, its about what the plugin accepts,..
>>> not about olsr-core messages
>>>
>>>>
>>>> this is an interesting thesis: the daemon hangs somehow.
>>>>
>>> no it just does not print out anymore,..
>>
>> if e.g. ClearScreen is set to yes, it at et least regulary clears the
>> screen,..
>>
>> furthermore unpatched/original olsrd 0.6.3 behaves identical as the
>> openwrt one. on this "nasty" router
>> (yes, i sticked to the rule and did not debug it (cause its patched), so
>> i debug an original olsrd, which i will now patch myself)
>>
>> Markus
>>
>> this would be a good explanation...
>>>>
>>> one thats easily testable,..
>>>
>>> (anyways will soon look into it,..)
>>>
>>> Markus
>>>
>>>>
>>>> bye, bastian
>>>>
>>>>
>>>> --
>>>> Olsr-dev mailing list
>>>> (spam-protected)
>>>> https://lists.olsr.org/mailman/listinfo/olsr-dev
>>>>
>>>
>>>
>>
>> --
>> Olsr-dev mailing list
>> (spam-protected)
>> https://lists.olsr.org/mailman/listinfo/olsr-dev
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20120628/1ef81207/attachment.html>


More information about the Olsr-dev mailing list