Skip to contentSkip to conversation

batman-adv on different archs

B.A.T.M.A.N. Juha Ylönen 3 participants 4 messages Jan 24, 2010 – Jan 26, 2010

lore
Share & tools
lore
#0 lore raw

-------- Original-Nachricht --------

Quoted 4 lines

Datum: Fri, 22 Jan 2010 13:16:09 +0100
Von: Sven Eckelmann <[email protected]>

Cannot find the driver at http://www.csr.com/products/UF1050_over.htm

They have files at csrsupport.com, but I can't actually find the driver sources there either. But the LICENSE file included says they're GPLv2. I'll check from the guy who I got the sources from, since this is a bit confusing.

Quoted 7 lines

So please test and capture
* rawsend from ARM
* ping between laptop and arm
* a "ping -s 1" between laptop and arm

I hope that tests help to see were the problem really is. If the ping -s 1 works, can you please also capture a some packets of batman-adv 0.2?

Logs for all cases attached. I pinged from arm to laptop, would you have liked it in the other direction too?

Rawsend from arm->laptop didn't work, the packets end up in the laptop as llc packets, so apparently they were mangled by the driver. rawsend from laptop->arm worked fine, which is included in the rawsend.log file.

I'll try out with a later driver version (it has bad stability issues, which is why we use older version in the device).

-Juha

Signature · 2 lines
Haiti-Nothilfe! Helfen Sie per SMS: Sende UIHAITI an die Nummer 81190.
Von 5 Euro je SMS (zzgl. SMS-Gebühr) gehen 4,83 Euro an UNICEF.

�ò���͵\K�"�ܚ�����Ϊ�7� �@(�@@�@�@��@�оl�о9��/@@��о�@�о�H@ �@\?@P��@��о(�@@L?@�?@�?@�?@�?@�?@�@(�@����@�P@(P@@��ص\K!� "�ܚ�����Ϊ�7� �@(�@@�@�@��@<�l<�9��/@@�<��@<쾌H@ �@\?@P��@�<�(�@@L?@�?@�?@�?@�?@�?@�@(�@����@�P@(P@@�<ٵ\Kp@"�ܚ�����Ϊ�7� �@(�@@�@�@��@���l���9��/@@�����@����H@ �@\?@P��@����(�@@L?@�?@�?@�?@�?@�?@�@(�@����@�P@(P@@��۵\KE"�ܚ�����Ϊ�7� �@(�@@�@�@��@,��l,��9��/@@�,���@,���H@ �@\?@P��@�,��(�@@L?@�?@�?@�?@�?@�?@�@(�@����@�P@(P@@�,ܵ\K�s"�ܚ�����Ϊ�7� �@(�@@�@�@��@�;l�;9��/@@��;�@�;�H@ �@\?@P��@��;(�@@L?@�?@�?@�?@�?@�?@�@(�@����@�P@(P@@��

�ò����\K� ���"�ܚ�7H0�p,�.N=�X��q�ططo@��X��� �طd��o�.N=�(x�-⿿2�-�d�t-��w�@��Xv�h���-�t-��-�pv����/�\KjW"�ܚ�����Ϊ�7� �@(�@@�@�@��@���l���9��/@@�����@����H@ �@\?@P��@����(�@@L?@�?@�?@�?@�?@�?@�@(�@����@�P@(P@@��

�ò���B�\K��++"�ܚ����E@@$� ! ($�B�\K�++���"�ܚ�E$V@@B ( !,�C�\K��++"�ܚ����E@@$� ! (���C�\K��++���"�ܚ�E$W@@A ( !���D�\Ko%++"�ܚ����E@@$� ! (���D�\K�%++���"�ܚ�E$X@@@ ( !���E�\K�i++"�ܚ����E@@$� ! (�)E�\Kj++���"�ܚ�E$Y@@? ( !�)F�\K�s++"�ܚ����E@@$� ! (��:F�\K�s++���"�ܚ�E$Z@@> ( !�:G�\K�++"�ܚ����E@@$� ! (���G�\KC�++���"�ܚ�E$[@@= ( !���H�\K\�++"�ܚ����E@@$� ! (&�H�\K��++���"�ܚ�E$\@@< ( !.�I�\K��++"�ܚ����E@@$� !
( ߾.I�\K��++���"�ܚ�E$]@@; ( !߾.J�\K�++"�ܚ����E@@$� ! (Bݾ�J�\K++���"�ܚ�E$^@@:
( !Jݾ�K�\K9++"�ܚ����E@@$� ! (�ܾ�K�\K79++���"�ܚ�E$_@@9 ( !�ܾ�L�\K�_++"�ܚ����E@@$� ! (�۾TL�\K++���"�ܚ�E$@@8 ( !�۾TM�\K�++"�ܚ����E@@$� ! (�ھ�M�\K&�++���"�ܚ�E$a@@7 ( !�ھ�N�\Ki�**"�ܚ������� ! (N�\K�**���"�ܚ�"�ܚ� (���
!N�\Kˬ++"�ܚ����E@@$�
!
(�پ �N�\K�++���"�ܚ�E$b@@6 (
!�پ �O�\K��++"�ܚ����E@@$� ! (�ؾ!FO�\K��++���"�ܚ�E$c@@5 ( !�ؾ!FP�\K��++"�ܚ����E@@$� ! (�׾"�P�\K��++���"�ܚ�E$d@@4 ( !�׾"�Q�\K#++"�ܚ����E@@$� ! (�־#�Q�\K9#++���"�ܚ�E$e@@3 ( !�־#�R�\KTK++"�ܚ����E@@$� ! (\վ$�R�\KzK++���"�ܚ�E$f@@2 (
!dվ$�S�\K �**���"�ܚ�"�ܚ� ( !S�\K;�**"�ܚ������� !"�ܚ�
(S�\K?r++"�ܚ����E@@$�
! ('վ%S�\K`r++���"�ܚ�E$g@@1 ( !/վ%T�\K9�++"�ܚ����E@@$� ! (Ծ&1T�\K]�++���"�ܚ�E$h@@0 ( !Ծ&1U�\K�++"�ܚ����E@@$� ! (cҾ'�U�\K3�++���"�ܚ�E$i@@/ ( !kҾ'�V�\K��++"�ܚ����E@@$� ! ($Ҿ(V�\K�++���"�ܚ�E$j@@. (
!,Ҿ(W�\K� ++"�ܚ����E@@$� !
(xо)�W�\K ++���"�ܚ�E$k@@- ( !�о)�X�\K�5++"�ܚ����E@@$� ! (gϾ*�X�\K�5++���"�ܚ�E$l@@, ( !oϾ*�Y�\K�\++"�ܚ����E@@$� ! (1Ͼ+Y�\K�\++���"�ܚ�E$m@@+ ( !9Ͼ+Z�\K�++"�ܚ����E@@$� ! (�;,}Z�\K?�++���"�ܚ�E$n@@* ( !�;,}[�\K8�++"�ܚ����E@@$� ! (`̾-�[�\KY�++���"�ܚ�E$o@@) ( !h̾-�\�\K��++"�ܚ����E@@$� ! (�˾.X\�\K��++���"�ܚ�E$p@@( ( !�˾.X]�\K?�++"�ܚ����E@@$� ! (˾/1]�\Kd�++���"�ܚ�E$q@@' ( !˾/1^�\K)"++"�ܚ����E@@$� ! (ʾ04^�\KL"++���"�ܚ�E$r@@& (
! ʾ04_�\KrG++"�ܚ����E@@$� ! (�Ⱦ1G_�\K�G++���"�ܚ�E$s@@% (
!�Ⱦ1G

�ò�����\K�:bb"�ܚ����ET@@$a
!
(�� ���+��\K�:bb���"�ܚ�ET$@@E (
!�� ���+��\K;dbb"�ܚ����ET@@$a !
(��� � �+��\K_dbb���"�ܚ�ET$@@D (
!Ƣ� � �+��\K�bb"�ܚ����ET@@$a !
(�:� [��+��\KA�bb���"�ܚ�ET$@@C (
!;� [��+��\K��bb"�ܚ����ET@@$a !
(�н `��+��\Kدbb���"�ܚ�ET$@@B (
!�н `��+�\KV�bb"�ܚ����ET@@$a ! (�e��Z,�\Ky�bb���"�ܚ�ET$ @@A ( !�e��Z,�\K��bb"�ܚ����ET@@$a ! (���C�,�\K�bb���"�ܚ�ET$!@@@ ( !���C�,�\K�'bb"�ܚ����ET@@$a ! (ȏ�O.#,�\K�'bb���"�ܚ�ET$"@@? ( !Џ�O.#,�\K�Mbb"�ܚ����ET@@$a ! (('���2,�\K�Mbb���"�ܚ�ET$#@@> ( !0'���2,�\Kw�bb"�ܚ����ET@@$a ! (�����A,�\K��bb���"�ܚ�ET$$@@= ( !����A,�\K��bb"�ܚ����ET@@$a ! (�R�FhQ,�\K�bb���"�ܚ�ET$%@@< ( !�R�FhQ,�\K�bb"�ܚ����ET@@$a !
( ���`,�\K@�bb���"�ܚ�ET$&@@;
( !���`,�\K'�bb"�ܚ����ET@@$a ! (�}�:;p,�\KE�bb���"�ܚ�ET$'@@:
( !�}�:;p,�\K�bb"�ܚ����ET@@$a ! (;���,�\K�bb���"�ܚ�ET$(@@9 (
!C���, �\K�:bb"�ܚ����ET@@$a
!
(Ө�� �, �\K;bb���"�ܚ�ET$)@@8
(
!ۨ�� �, �\K�abb"�ܚ����ET@@$a
!
(�>��v�, �\K�abb���"�ܚ�ET$*@@7
(
!�>��v�, �\K:�bb"�ܚ����ET@@$a !
(ӽm�, �\K`�bb���"�ܚ�ET$+@@6 (
!'ӽm�, �\KL6 bb"�ܚ����ET@@$a
!
(j�zI�, �\K_6 bb���"�ܚ�ET$,@@5
(
! j�zI�,

���\K8�<<���������E.@@#� !
���x�@1��
(
(��\KU<<���������E.@@#�
!
���i(2��
!
!��\K�<<������"�ܚ�E.@@#�
(
���s�@1��
!
!��\KYv<<������"�ܚ�E.@@#�
(
���i2��
(
(��\K��<<���������E.@@#�
!
���x�@1��
(
(��\K4�<<���������E.@@#�
!
���i'2��
!
!��\K��<<������"�ܚ�E.@@#�
(
���s�@1��
!
!��\K��<<������"�ܚ�E.@@#�
(
���i2��
(
(��\K�<<���������E.@@#�
!
���x�@1��
(
(��\K��<<���������E.@@#�
!
���i&2��
!
!��\K0�<<������"�ܚ�E.@@#�
(
���s�@1��
!
!��\K5<<������"�ܚ�E.@@#�
(
���i2��
(
(��\K��<<���������E.@@#�
!
���x�@1��
(
(��\K��<<���������E.@@#�
!
���i%2��
!
!��\K$�<<������"�ܚ�E.@@#�
(
���s�@1��
!
!��\K�<<������"�ܚ�E.@@#�
(
���i2��
(
(��\KZ�<<���������E.@@#�
!
���x�@1��
(
(��\K;
<<���������E.@@#�
!
���i$2��
!
!��\K<
<<������"�ܚ�E.@@#�
(
���s�@1��
!
!��\K��<<������"�ܚ�E.@@#�
(
���i2��
(
(��\K��<<���������E.@@#�
!
���x�@1��
(
(��\KCy <<���������E.@@#�
!
���i#2��
!
!��\K�y <<������"�ܚ�E.@@#�
(
���s�@1��
!
!��\K�F<<������"�ܚ�E.@@#�
(
���i2��
(
(��\KD�<<���������E.@@#�
!
���x�@1��
(
(��\K�� <<���������E.@@#�
!
���i"2��
!
!��\K>� <<������"�ܚ�E.@@#�
(
���s�@1��
!
!��\Kp�<<������"�ܚ�E.@@#�
(
���h�2��
(
(��\Kt<<���������E.@@#�
!
���x�@1��
(
(��\K��
<<���������E.@@#�
!
���i!2��
!
!��\K2�
<<������"�ܚ�E.@@#�
(
���s�@1��
!
!��\K��<<������"�ܚ�E.@@#�
(
���h�2��
(
(��\Kˬ<<���������E.@@#�
!
���x�@1��
(
(��\K\� <<���������E.@@#�
!
���i 2��
!
!��\K�� <<������"�ܚ�E.@@#�
(
���s�@1��
!
!��\K�Y<<������"�ܚ�E.@@#�
(
���h�2��
(
(��\K��<<���������E.@@#�
!
���x�@1��
(
(��\K_� <<���������E.@@#�
!
���i2��
!
!��\Kڇ <<������"�ܚ�E.@@#�
(
���s�@1��
!
!� �\K�<<������"�ܚ�E.@@#�
(
���h�2��
(
(� �\K7<<���������E.@@#�
!
���x�@1��
(
(� �\KȬ <<���������E.@@#�
!
���i2��
!
!� �\Kb� <<������"�ܚ�E.@@#�
(
���s�@1��
!
!�!�\KH�<<������"�ܚ�E.@@#�
(
���h�2��
(
(�!�\Kr�<<���������E.@@#�
!
���x�@1��
(
(�!�\KR� <<���������E.@@#�
!
���i2��
!
!�!�\KJ <<������"�ܚ�E.@@#�
(
���s�@1��
!
!�!�\K" <<������"�ܚ�E.@@#�
(
���h�2��
(
(�"�\K�=<<���������E.@@#�
!
���x�@1��
(
(�"�\K�� <<���������E.@@#�
!
���i2��
!
!�"�\KP� <<������"�ܚ�E.@@#�
(
���s�@1��
!
!�#�\K�<<������"�ܚ�E.@@#�
(
���h�2��
(
(�#�\K(<<���������E.@@#�
!
���x�@1��
(
(�#�\K�<<���������E.@@#�
!
���i2��
!
!�#�\KT�<<������"�ܚ�E.@@#�
(
���s�@1��
!
!�#�\K��<<������"�ܚ�E.@@#�
(
���h�2��
(
(�$�\K�<<���������E.@@#�
!
���x�@1��
(
(�

#1 lore raw
Quoted 10 lines · Juha Ylönen
Quoted 7 lines

So please test and capture
* rawsend from ARM
* ping between laptop and arm
* a "ping -s 1" between laptop and arm

I hope that tests help to see were the problem really is. If the ping -s 1 works, can you please also capture a some packets of batman-adv 0.2?

Logs for all cases attached. I pinged from arm to laptop, would you have
liked it in the other direction too?

No, one direction is ok. What we can see here is that we have a < 50 bytes packet and it is seems to be send correctly. So maybe the problem is not related to "small" packets.

Quoted 3 lines

Rawsend from arm->laptop didn't work, the packets end up in the laptop as
llc packets, so apparently they were mangled by the driver. rawsend from laptop->arm worked fine, which is included in the rawsend.log file.

Ok, so we have a real simple example here. We see that we have a "large" ethernet frame (unlike batman-adv) and a "unnormal" ethernet type. So maybe you could forward rawsend.log and rawsend.c to the driver developers. They should be able to find and fix the problem with such a real small example. Or does anyone see a related problem in rawsend.c?

What is the batmand stuff for?

Best regards,
Sven

#2 lore raw

[B.A.T.M.A.N.] batman-adv mujlticast [WAS: Re: batman-adv on different archs]

-------- Original-Nachricht --------

Quoted 10 lines

Datum: Sun, 24 Jan 2010 23:03:48 +0100
Von: Sven Eckelmann <[email protected]>

Ok, so we have a real simple example here. We see that we have a "large" ethernet frame (unlike batman-adv) and a "unnormal" ethernet type. So maybe
you could forward rawsend.log and rawsend.c to the driver developers. They should be able to find and fix the problem with such a real small example. Or
does anyone see a related problem in rawsend.c?

Thanks for the analysis, I'll try to get this solved with the driver.

Quoted 1 line

What is the batmand stuff for?

I'm evaluating the batmand for routing multicast audiostream in a mesh. Batmand seems to be doing the routing better than olsr, but the lack of multicast is a problem, hence batman-adv.

I tried batman-adv and multicast routing with couple of laptops, but it did not work quite well. Some packages seemed to be left ping-ponging in the mesh, while others disappeared completely. Is batman-adv multicast being actively used somewhere?

-Juha

Signature · 2 lines
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser
#3 lore raw

Re: [B.A.T.M.A.N.] batman-adv mujlticast [WAS: Re: batman-adv on different archs]

Quoted 4 lines · On Tuesday 26 January 2010 15:20:58 Juha Ylönen wrote:

I tried batman-adv and multicast routing with couple of laptops, but it did
not work quite well. Some packages seemed to be left ping-ponging in the mesh, while others disappeared completely. Is batman-adv multicast being actively used somewhere?

I know that Freifunk Luebeck was experimenting with multicast but I don't know where that stands. Maybe Linus could share some insights ?

Could you be a bit more specific on the multicast problems you see ? As always:
If you provide logs, tcpdump and/or wireshark dumps we can help otherwise it is quite difficult.

Cheers,
Marek