https://www.open-mesh.org/https://www.open-mesh.org/favicon.ico?16699090422014-04-22T07:36:53ZOpen Meshbatman-adv - Bug #183: Batman-adv 2014.1 does not close handle on interfacehttps://www.open-mesh.org/issues/183?journal_id=3672014-04-22T07:36:53ZAntonio Quartulli
<ul></ul><p>Hi ruben,<br />This is a known problem on 2014.1.0 for which we have a fix that is not yet part of any release.</p>
<p>You can get the fix either by cloning the maint branch of our git repo, or by using the openwrt-routing feed (but since you are not compiling batman-adv on openwrt, I think that the second option is not applicable).</p> batman-adv - Bug #183: Batman-adv 2014.1 does not close handle on interfacehttps://www.open-mesh.org/issues/183?journal_id=3682014-04-25T06:28:20ZRuben Kelevracyrond@gmail.com
<ul></ul><p>I could send the maintainer of my package a patch file.</p>
<p>Can you provide a link or the checksum of the comit which fixes this?</p>
<p>Thanks in advance</p>
<p>Best regards Ruben</p> batman-adv - Bug #183: Batman-adv 2014.1 does not close handle on interfacehttps://www.open-mesh.org/issues/183?journal_id=3772014-05-17T10:19:01ZRuben Kelevracyrond@gmail.com
<ul></ul><p>The commit 548c938bfef2dfad63d999fc9005f1d387e3d15a look like it would fix this problem, but its still there, so which commit does fix it?</p>
<p>Best regards</p>
<p>Ruben</p> batman-adv - Bug #183: Batman-adv 2014.1 does not close handle on interfacehttps://www.open-mesh.org/issues/183?journal_id=3782014-05-17T11:29:01ZAntonio Quartulli
<ul></ul><p>Actually there are more than one commit fixing this problem. Have you tried using the maint branch? That will contain all the needed patches.</p>
<p>Otherwise you can also wait a few days for the new batman-adv-2014.2.0 which will contain all the fixes as well.</p> batman-adv - Bug #183: Batman-adv 2014.1 does not close handle on interfacehttps://www.open-mesh.org/issues/183?journal_id=3792014-05-21T10:08:10ZRuben Kelevracyrond@gmail.com
<ul></ul><p>I think I will wait these days since only reboots affected by this bug in<br />our setup.</p>
<p>Best regards</p>
<p>Ruben</p> batman-adv - Bug #183: Batman-adv 2014.1 does not close handle on interfacehttps://www.open-mesh.org/issues/183?journal_id=3872014-05-31T10:04:19ZAndré Gaulgaul@web-yard.de
<ul></ul><p>We're also affected here at Freifunk Berlin with batman-adv-2014.2.0 on openwrt. So, unfortunately, this issue is not fixed by the release mentioned in comment 4.</p>
<p>I experienced the problem after ~2 days of uptime when the wifi device (one of batman's transport interfaces) suddenly became unable to send. After issuing /sbin/wifi the following appears in the log and the last lines are repeated for a long time (forever?).<br /><pre>
[213108.520000] device wlan0-1 left promiscuous mode
[213108.520000] br-batmesh: port 2(wlan0-1) entered disabled state
[213108.700000] batman_adv: bat0: Interface deactivated: wlan0-adhoc-5
[213108.970000] batman_adv: bat0: Removing interface: wlan0-adhoc-5
[213119.130000] unregister_netdevice: waiting for wlan0-adhoc-5 to become free. Usage count = 1
[213129.270000] unregister_netdevice: waiting for wlan0-adhoc-5 to become free. Usage count = 1
[213139.410000] unregister_netdevice: waiting for wlan0-adhoc-5 to become free. Usage count = 1
...
</pre></p>
<p>Seems like rebooting is the only option when this happens. Please let me know if and how I can help to investigate the problem.</p> batman-adv - Bug #183: Batman-adv 2014.1 does not close handle on interfacehttps://www.open-mesh.org/issues/183?journal_id=3882014-05-31T10:10:12ZMarek Lindnermareklindner@neomailbox.ch
<ul></ul><p>2014.2.0 has not officially been released yet. How did you test this version ?</p> batman-adv - Bug #183: Batman-adv 2014.1 does not close handle on interfacehttps://www.open-mesh.org/issues/183?journal_id=3892014-05-31T10:47:39ZAndré Gaulgaul@web-yard.de
<ul></ul><p>Oh, there is a tag for this version (2014.2.0), cf. <a class="external" href="https://git.open-mesh.org/batman-adv.git/tag/32c8319fb5590f12fbac0364d9a36fb2766c1b1d">https://git.open-mesh.org/batman-adv.git/tag/32c8319fb5590f12fbac0364d9a36fb2766c1b1d</a> . That's what I used for testing. Does this version contain the mentioned fixes for this bug?</p> batman-adv - Bug #183: Batman-adv 2014.1 does not close handle on interfacehttps://www.open-mesh.org/issues/183?journal_id=3922014-06-03T06:27:57ZAntonio Quartulli
<ul></ul><p>Yes, it does.<br />However we know that this problem is not 100% solved, but we are not able to reproduce it anymore, so we haven't been able to investigate it any further. Do you know how to consistently trigger this issue with 2014.2.0 ?</p> batman-adv - Bug #183: Batman-adv 2014.1 does not close handle on interfacehttps://www.open-mesh.org/issues/183?journal_id=3932014-06-03T07:30:44ZAndré Gaulgaul@web-yard.de
<ul></ul><p>Thanks for the clarification! :) By now I don't know how to reproduce this consistently but I just observed the behavior this night on one of my openwrt routers again (see the <a href="https://paste.debian.net/103123//" class="external">dmesg output</a>). The router runs openwrt trunk (r40839) and runs olsrd as well as batman-adv on multiple interfaces (wifi and eth, see the <a href="https://github.com/freifunk/berlin-configs/tree/master/derrida/fs/etc/config" class="external">full configuration</a>). All transport interfaces of batman-adv seem to be unusable after this happens.</p>
<p>I'll setup another router with only batman-adv and I'll investigate how I can reproduce the bug.</p> batman-adv - Bug #183: Batman-adv 2014.1 does not close handle on interfacehttps://www.open-mesh.org/issues/183?journal_id=3952014-07-12T18:14:35ZRuben Kelevracyrond@gmail.com
<ul></ul><p>In my setup this problem seems fixed.</p> batman-adv - Bug #183: Batman-adv 2014.1 does not close handle on interfacehttps://www.open-mesh.org/issues/183?journal_id=3962014-07-14T14:52:24ZAndré Gaulgaul@web-yard.de
<ul></ul><p>Hey Ruben, what have you changed since then?</p> batman-adv - Bug #183: Batman-adv 2014.1 does not close handle on interfacehttps://www.open-mesh.org/issues/183?journal_id=3972014-07-27T16:33:26ZRuben Kelevracyrond@gmail.com
<ul></ul><p>Updated from 2014.1 to 2014.2</p> batman-adv - Bug #183: Batman-adv 2014.1 does not close handle on interfacehttps://www.open-mesh.org/issues/183?journal_id=3982014-07-27T16:35:37ZMarek Lindnermareklindner@neomailbox.ch
<ul></ul><p>Can you reliably reproduce the issue on the latest batman-adv ? If so, we can supply some debug patches to track it down.</p> batman-adv - Bug #183: Batman-adv 2014.1 does not close handle on interfacehttps://www.open-mesh.org/issues/183?journal_id=4452015-02-18T12:27:01ZMarek Lindnermareklindner@neomailbox.ch
<ul></ul><p>Any update or shall we close the ticket ?</p> batman-adv - Bug #183: Batman-adv 2014.1 does not close handle on interfacehttps://www.open-mesh.org/issues/183?journal_id=4492015-02-18T21:17:56ZRuben Kelevracyrond@gmail.com
<ul></ul><p>I'm sorry, never read your latest response 7 month ago. The issue was completely fixed in 2014.2 in my setup! Good work, thank your for your time and effort! (:</p> batman-adv - Bug #183: Batman-adv 2014.1 does not close handle on interfacehttps://www.open-mesh.org/issues/183?journal_id=4522015-02-19T03:13:24ZMarek Lindnermareklindner@neomailbox.ch
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li></ul><p>Ok, thanks for the info!</p> batman-adv - Bug #183: Batman-adv 2014.1 does not close handle on interfacehttps://www.open-mesh.org/issues/183?journal_id=5552015-05-29T22:35:33ZBjoern Frankebjo@nord-west.org
<ul></ul><p>I have a similar issue with 2015.0 running Kernel 4.0.0-1 under Debian Jessie.<br />[93792.512073] unregister_netdevice: waiting for bat0 to become free. Usage count = 3<br />[93797.393717] unregister_netdevice: waiting for fftransit to become free. Usage count = 1</p> batman-adv - Bug #183: Batman-adv 2014.1 does not close handle on interfacehttps://www.open-mesh.org/issues/183?journal_id=5562015-05-30T00:11:54ZRuben Kelevracyrond@gmail.com
<ul></ul><p>Does this issue still occur with 4.0.4 Kernel? This is the one we run atm.</p> batman-adv - Bug #183: Batman-adv 2014.1 does not close handle on interfacehttps://www.open-mesh.org/issues/183?journal_id=6062015-07-14T12:24:54ZMilan Pässlerpetabyteboy@gmail.com
<ul></ul><p>I have this issue with kernel version 4.0.7 and batman-adv v2015.0 from the AUR.</p> batman-adv - Bug #183: Batman-adv 2014.1 does not close handle on interfacehttps://www.open-mesh.org/issues/183?journal_id=6072015-07-14T23:53:11ZRuben Kelevracyrond@gmail.com
<ul></ul><p>Since it does not occur here anymore, it might be setup-related. Please provide a "batctl if" an "ip link" and an "brctl show" dump as well as the setup-scripts.</p> batman-adv - Bug #183: Batman-adv 2014.1 does not close handle on interfacehttps://www.open-mesh.org/issues/183?journal_id=6082015-07-15T10:04:28ZSven Eckelmann
<ul></ul><p>Please first try the maint branch (it is 2015.0 + bug fixes at the moment). Especially commit:3c92b633715b7eca80dc7a2347e0e4dbcce1f018 ("batman-adv: initialize up/down values when adding a gateway").</p>
<p>Btw. this ticket is closed since 5 months.</p> batman-adv - Bug #183: Batman-adv 2014.1 does not close handle on interfacehttps://www.open-mesh.org/issues/183?journal_id=6152015-07-31T01:14:23ZRuben Kelevracyrond@gmail.com
<ul></ul><p>Sven Eckelmann wrote:</p>
<blockquote>
<p>Btw. this ticket is closed since 5 months.</p>
</blockquote>
<p>Thanks for the hint, so please reopen it. We cant.</p>
<blockquote>
<p>Please first try the maint branch (it is 2015.0 + bug fixes at the moment). Especially commit:3c92b633715b7eca80dc7a2347e0e4dbcce1f018 ("batman-adv: initialize up/down values when adding a gateway").</p>
</blockquote>
<p>I don't think this fix does fix the issue, since we do not have this issues on our gateway, and others do I think we have fixed it with some config-changes. So we need the configs or documentations from Milan.</p>
<p>Best regards</p>
<p>Ruben</p> batman-adv - Bug #183: Batman-adv 2014.1 does not close handle on interfacehttps://www.open-mesh.org/issues/183?journal_id=6162015-07-31T06:51:56ZMarek Lindnermareklindner@neomailbox.ch
<ul></ul><p>Ruben Kelevra wrote:</p>
<blockquote><blockquote>
<p>Please first try the maint branch (it is 2015.0 + bug fixes at the moment). Especially commit:3c92b633715b7eca80dc7a2347e0e4dbcce1f018 ("batman-adv: initialize up/down values when adding a gateway").</p>
</blockquote>
<p>I don't think this fix does fix the issue, since we do not have this issues on our gateway, and others do I think we have fixed it with some config-changes. So we need the configs or documentations from Milan.</p>
</blockquote>
<p>The point was: Try the latest version. Nobody here as any spare time to waste on hunting an already fixed bug.</p>
<p>Feel free to to open a new ticket with the latest stable version tested.</p>
<p>Thanks!</p> batman-adv - Bug #183: Batman-adv 2014.1 does not close handle on interfacehttps://www.open-mesh.org/issues/183?journal_id=6182015-08-09T07:17:30ZMilan Pässlerpetabyteboy@gmail.com
<ul></ul><p>Seems to be some kind of ghost bug :(<br />I can't remember that I changed anything at all, but I can't reproduce it anymore.</p> batman-adv - Bug #183: Batman-adv 2014.1 does not close handle on interfacehttps://www.open-mesh.org/issues/183?journal_id=11752017-02-11T18:13:06ZSven Eckelmann
<ul><li><strong>Target version</strong> set to <i>2014.2.0</i></li></ul>