From: Axel Neumann <axel@open-mesh.net>
To: The list for a Better Approach To Mobile Ad-hoc Networking
<b.a.t.m.a.n@open-mesh.net>
Subject: Re: [B.A.T.M.A.N.] Rev 972: batmand -c -d n hangs sometimes
Date: Thu, 14 Feb 2008 10:19:09 +0100 [thread overview]
Message-ID: <200802141019.09822.axel@open-mesh.net> (raw)
In-Reply-To: <20080213174817.nutikha74k88ko8o@webmail.ddmesh.de>
Hi,
>
> > The strange thing is that the debug-level-4 output stops in the middle of
> > an action. Can you also check for the number of batmand processes before
> > and after the stopped batmand process?
>
> The number of task are the same.
> But I have seen, that when the -d4 output stopps and I keep this
> batmand running
> when accessing an different log level from another terminal, I see the
> socket-connection logs in -d4 output.
>
> Also I still can just call "batmand -c" to see the parameters and
> current gateway settings. I also can change the gateway settings.
>
> The batmand seems to stop processing any OGMs.
The messages you see are logged from another thread (not the thread which is
doing the OGM processing). Thats also the reason why some of the dynamically
changeable parameters _seem_ to be processed. I guess for example a
"batmand -c -a 1.2.3.4/32" wont be processed completely.
In this case a simultaneous running "batmand -cd3" _should_ report:
[ 162940] Unix socket: got connection
[ 162946] got request: 10
[ 162947] Unix socket: Requesting adding of HNA 1.2.3.4/32 - put this on
todo list...
[ 162951] got request: 10
[ 162952] Unix client closed connection ...
[ 163157] found todo item, adding HNA 1.2.3.4/32 atype 1
I guess everything except the last line will be shown. The last line is
generated from the OGM-processing thread which seems to be blocked.
Perhaps, if you can find a way to reliable reproduce this kind of problem then
it would be much easier to fix it. Just an idea, what happens with batmand
(bound to the tap interface) when stopping the running tincd like this:
kill -STOP $(pidof tincd)
and later on:
kill -CONT $(pidof tincd)
ciao,
axel
>
>
> > Have you ever tried what happens if you connect the tap interface to a
> > bridge and bind batmand to the bridge device instead?
>
> I haven't tried it, yet. but this also came in my mind. I will this
> check after
> finishing the "no-tap-dev-test"
>
> > Last but not least: have you observed (or explicitly not observed) this
> > phenomenon also with previous revisions in the same scenario ?
>
> I can not say, because implementing tinc and updateing the batmand
> version was at same time.
>
> >> I never have seen this problem with the WRT54GS, only with GL.
> >
> > Is the batmand on the WRT54GS also bound to a tinc interface ?
>
> Yes, the GL is running standalone with stubid tincsetup and also the
> GS was running with same parameters and standalone (no network cable).
>
> Perhaps it is more random and is depending on speed of the router when the
> event occurs.
>
> bye Stephan
>
>
> _______________________________________________
> B.A.T.M.A.N mailing list
> B.A.T.M.A.N@open-mesh.net
> https://list.open-mesh.net/mm/listinfo/b.a.t.m.a.n
next prev parent reply other threads:[~2008-02-14 9:19 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-03 11:50 [B.A.T.M.A.N.] Rev 972: batmand -c -d n hangs sometimes Freifunk Dresden
2008-02-03 18:27 ` elektra
2008-02-12 8:27 ` Freifunk Dresden
2008-02-11 12:04 ` Axel Neumann
2008-02-12 8:47 ` Freifunk Dresden
2008-02-12 19:34 ` Axel Neumann
2008-02-13 16:48 ` Freifunk Dresden
2008-02-14 9:19 ` Axel Neumann [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-02-14 20:15 Freifunk Dresden
2008-02-15 18:27 ` Axel Neumann
2008-02-17 20:48 Freifunk Dresden
2008-02-25 11:00 ` Axel Neumann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200802141019.09822.axel@open-mesh.net \
--to=axel@open-mesh.net \
--cc=b.a.t.m.a.n@open-mesh.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox