* Re: [B.A.T.M.A.N.] HowTo Test Bla2
@ 2011-12-28 17:11 Clemens John
2011-12-29 21:19 ` Bjoern Franke
2012-01-05 16:01 ` Marek Lindner
0 siblings, 2 replies; 14+ messages in thread
From: Clemens John @ 2011-12-28 17:11 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking
[-- Attachment #1: Type: text/plain, Size: 1275 bytes --]
On Mittwoch, 28. Dezember 2011 03:07:38 you wrote:
> Sry for the delay, but we were busy rebasing and fixing the blaII code.
> There are also some other meetings we are currently attending.
Thats no problem. We are very glad that you guys do this work and try to help
us.
> But to make it short: The code is automatically built (you correctly saw
> the CONFIG_BATMAN_ADV_BLA=y), but you have to enable it through the new
> sysfs file "bridge_loop_avoidance" or the batctl option.
Sadly we are still some steps away from enabling it on the device. I searched
for the sysfs file and while I did this I figured out, that the patch I created
was not apllied because patches for batman-adv need to have the string
"batman" in their file name. So I renamed it and now it gets apllied but: now I
get the compile error again I descriped already in my previos email. Here is
the pastebin link from the actual compile error: http://pastebin.com/iJy2u7Ff
Maybe you can take a look at it and find our mistake?
This is the patch we use:
http://trac.freifunk-ol.de/browser/firmware/Trunk/build_patches/bla2/0001-
batman-adv-bla2.patch
I made no other changes to the default files that are shipped with the latest
OpenWrt release.
Regards
Clemens
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [B.A.T.M.A.N.] HowTo Test Bla2
2011-12-28 17:11 [B.A.T.M.A.N.] HowTo Test Bla2 Clemens John
@ 2011-12-29 21:19 ` Bjoern Franke
2011-12-29 22:21 ` Bjoern Franke
2012-01-05 16:01 ` Marek Lindner
1 sibling, 1 reply; 14+ messages in thread
From: Bjoern Franke @ 2011-12-29 21:19 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking
Hi,
Am Mittwoch, 28. Dezember 2011, 18:11:48 schrieb Clemens John:
>
> Maybe you can take a look at it and find our mistake?
We got it built now, but it has some unknown symbols:
batman_adv: Unknown symbol free_rcu_tt_local_entry
batman_adv: Unknown symbol free_rcu_gw_node
batman_adv: Unknown symbol free_rcu_backbone_gw
batman_adv: Unknown symbol free_rcu_neigh_node
What did we miss?
regards
Bjoern
--
jabber: bjo@schafweide.org
bjo.nord-west.org | nord-west.org | freifunk-ol.de
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [B.A.T.M.A.N.] HowTo Test Bla2
2011-12-29 21:19 ` Bjoern Franke
@ 2011-12-29 22:21 ` Bjoern Franke
2011-12-30 10:38 ` Sven Eckelmann
0 siblings, 1 reply; 14+ messages in thread
From: Bjoern Franke @ 2011-12-29 22:21 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking
Am Donnerstag, 29. Dezember 2011, 22:19:11 schrieb Bjoern Franke:
> Hi,
>
> Am Mittwoch, 28. Dezember 2011, 18:11:48 schrieb Clemens John:
> > Maybe you can take a look at it and find our mistake?
>
> We got it built now, but it has some unknown symbols:
>
> batman_adv: Unknown symbol free_rcu_tt_local_entry
> batman_adv: Unknown symbol free_rcu_gw_node
> batman_adv: Unknown symbol free_rcu_backbone_gw
> batman_adv: Unknown symbol free_rcu_neigh_node
>
> What did we miss?
Fixed, batman-adv-y += compat.o was missing in Makefile.kbuild.
--
jabber: bjo@schafweide.org
bjo.nord-west.org | nord-west.org | freifunk-ol.de
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [B.A.T.M.A.N.] HowTo Test Bla2
2011-12-29 22:21 ` Bjoern Franke
@ 2011-12-30 10:38 ` Sven Eckelmann
0 siblings, 0 replies; 14+ messages in thread
From: Sven Eckelmann @ 2011-12-30 10:38 UTC (permalink / raw)
To: b.a.t.m.a.n
[-- Attachment #1: Type: text/plain, Size: 1706 bytes --]
Sorry for the late reply, but nearly all batman-adv developers are currently
without internet access (I've just gone alone to a place with free wifi access
to answer you).
I am happy that you didn't gave up and are still trying to get it working. We
hope that we can react a lot faster again in one week.
On Thursday 29 December 2011 23:21:39 Bjoern Franke wrote:
> > Am Mittwoch, 28. Dezember 2011, 18:11:48 schrieb Clemens John:
> > > Maybe you can take a look at it and find our mistake?
> >
> > We got it built now, but it has some unknown symbols:
> >
> > batman_adv: Unknown symbol free_rcu_tt_local_entry
> > batman_adv: Unknown symbol free_rcu_gw_node
> > batman_adv: Unknown symbol free_rcu_backbone_gw
> > batman_adv: Unknown symbol free_rcu_neigh_node
> >
> > What did we miss?
>
> Fixed, batman-adv-y += compat.o was missing in Makefile.kbuild.
It is not really missing. The build "framework" including the configuration
stuff was rewritten and doesn't use Makefile.kbuild directly. You use the new
branch and therefore also fetched the makefile patchset. This change will
propably be part of 2012.1.0... so a little bit too far in the future to
change the standard openwrt package to support it.
The batman-adv-devel package [1] already supports the new configuration
mechanism. You can just use try to use it (keep in mind that you have to
change the patch/commit ids. Marek and Simon also had many other suggestion to
allow interested people to test new features. We will try to create a wiki
page in the next year that explains different approaches and some suggestions
when they should be used.
Kind regards,
Sven
[1] http://downloads.open-mesh.org/svn/openwrt-feed/
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [B.A.T.M.A.N.] HowTo Test Bla2
2011-12-28 17:11 [B.A.T.M.A.N.] HowTo Test Bla2 Clemens John
2011-12-29 21:19 ` Bjoern Franke
@ 2012-01-05 16:01 ` Marek Lindner
2012-01-06 19:59 ` Bjoern Franke
1 sibling, 1 reply; 14+ messages in thread
From: Marek Lindner @ 2012-01-05 16:01 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking
On Thursday, December 29, 2011 01:11:48 Clemens John wrote:
> Maybe you can take a look at it and find our mistake?
>
> This is the patch we use:
> http://trac.freifunk-ol.de/browser/firmware/Trunk/build_patches/bla2/0001-
> batman-adv-bla2.patch
>
> I made no other changes to the default files that are shipped with the
> latest OpenWrt release.
I added the option to build from alternative branches to the batman-adv-devel
package. Now you can simply choose "bla2" as your branch to get the latest
bla2 development into your openwrt (don't forget to adjust the git revision to
your liking).
Cheers,
Marek
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [B.A.T.M.A.N.] HowTo Test Bla2
2012-01-05 16:01 ` Marek Lindner
@ 2012-01-06 19:59 ` Bjoern Franke
0 siblings, 0 replies; 14+ messages in thread
From: Bjoern Franke @ 2012-01-06 19:59 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking
Am Freitag, 6. Januar 2012, 00:01:32 schrieb Marek Lindner:
> > I added the option to build from alternative branches to the
> batman-adv-devel package. Now you can simply choose "bla2" as your branch
> to get the latest bla2 development into your openwrt (don't forget to
> adjust the git revision to your liking).
Thanks for this help!
bjo
--
jabber: bjo@schafweide.org
bjo.nord-west.org | nord-west.org | freifunk-ol.de
^ permalink raw reply [flat|nested] 14+ messages in thread
* [B.A.T.M.A.N.] HowTo Test Bla2
@ 2011-12-25 21:36 Clemens John
2011-12-25 22:29 ` Sven Eckelmann
0 siblings, 1 reply; 14+ messages in thread
From: Clemens John @ 2011-12-25 21:36 UTC (permalink / raw)
To: b.a.t.m.a.n
[-- Attachment #1: Type: text/plain, Size: 250 bytes --]
Hi,
I want to test the Bridge loop avoidance II with our OpenWrt Freifunk
firmware. Is there a version that works and can be tested? Which git repo do I
have to use and what are the main steps to compile it into openwrt?
Regards
Clemens
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [B.A.T.M.A.N.] HowTo Test Bla2
2011-12-25 21:36 Clemens John
@ 2011-12-25 22:29 ` Sven Eckelmann
2011-12-27 22:06 ` Clemens John
2012-01-02 22:09 ` Bjoern Franke
0 siblings, 2 replies; 14+ messages in thread
From: Sven Eckelmann @ 2011-12-25 22:29 UTC (permalink / raw)
To: b.a.t.m.a.n
[-- Attachment #1: Type: text/plain, Size: 1460 bytes --]
On Sunday 25 December 2011 22:36:18 Clemens John wrote:
> Hi,
>
> I want to test the Bridge loop avoidance II with our OpenWrt Freifunk
> firmware. Is there a version that works and can be tested? Which git repo do
> I have to use and what are the main steps to compile it into openwrt?
Simon Wunderlich is the maintainer of the bridge loop avoidance II patchset.
His current version can be found in his repo [1] in branch blaII (or another
branch with blaII in the name). It is currently not rebased on top of master
or v2011.4.0... so you cannot take the patchset and put it in OpenWRT.
A quick and easy way would be to clone the repo, make a diff using
`git diff v2011.4.0..origin/blaII > blaII.patch` and place the resulting patch
in the patches directory [2]. Keep in mind that this patch removes some
changes that were added before the release of 2011.4.0 and adds some other
ones which were already applied in master. His next-blaII branch is also a
little bit newer (includes some fixes for smaller problems) and could be a
better starting point.
You can find the patches merged after the release of v2011.4.0 and not part of
the blaII patchset using:
git log --no-merges '^v2011.4.0' 8dd0e9973429c80f52483e8045862f61a74b6fd6
I am sorry that I cannot give a perfect answer right now.
Kind regards,
Sven
[1] http://git.open-mesh.org/?p=simon/batman-adv.git;a=summary
[2] https://dev.openwrt.org/browser/packages/net/batman-adv/patches
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [B.A.T.M.A.N.] HowTo Test Bla2
2011-12-25 22:29 ` Sven Eckelmann
@ 2011-12-27 22:06 ` Clemens John
2011-12-27 22:27 ` Clemens John
2012-01-02 22:09 ` Bjoern Franke
1 sibling, 1 reply; 14+ messages in thread
From: Clemens John @ 2011-12-27 22:06 UTC (permalink / raw)
To: b.a.t.m.a.n
[-- Attachment #1: Type: Text/Plain, Size: 1552 bytes --]
On Sonntag, 25. Dezember 2011 23:29:42 you wrote:
> On Sunday 25 December 2011 22:36:18 Clemens John wrote:
> > Hi,
> >
> > I want to test the Bridge loop avoidance II with our OpenWrt Freifunk
> > firmware. Is there a version that works and can be tested? Which git repo
> > do I have to use and what are the main steps to compile it into openwrt?
>
> Simon Wunderlich is the maintainer of the bridge loop avoidance II
> patchset. His current version can be found in his repo [1] in branch blaII
> (or another branch with blaII in the name). It is currently not rebased on
> top of master or v2011.4.0... so you cannot take the patchset and put it
> in OpenWRT.
Simon commited another patchset today so I took the latest snapshot of his
blaII_rebase branch [1] and put it on our own server [2]. I changed the name
of the folder inside the snapshot to 2011.4.0 and the md5sum and the url to
download the source in the OpenWrt Makefile [3]. For batctl I used the latest
2011.4.0 release and copied it to our server. But when I try to compile
OpenWrt, I get the following error: http://pastebin.com/PcNH15EC
Anything I can do?
[1] http://git.open-mesh.org/?p=simon/batman-
adv.git;a=snapshot;h=ebdc92a614b3de8a32c66c92a46df286afe4bf6a;sf=tgz
[2] http://dev.freifunk-ol.de/batman-adv-2011.4.0.tar.gz
[3] http://trac.freifunk-
ol.de/browser/firmware/Trunk/build_patches/bla2/Makefile
Sry for this questions but I´m absolutely not very familar with this things so
I need your help to test it.
Regards
Clemens
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [B.A.T.M.A.N.] HowTo Test Bla2
2011-12-27 22:06 ` Clemens John
@ 2011-12-27 22:27 ` Clemens John
2011-12-28 2:07 ` Sven Eckelmann
0 siblings, 1 reply; 14+ messages in thread
From: Clemens John @ 2011-12-27 22:27 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking
[-- Attachment #1: Type: Text/Plain, Size: 888 bytes --]
On Dienstag, 27. Dezember 2011 23:06:36 Clemens John wrote:
> Simon commited another patchset today so I took the latest snapshot of his
> blaII_rebase branch [1] and put it on our own server [2]. I changed the
> name of the folder inside the snapshot to 2011.4.0 and the md5sum and the
> url to download the source in the OpenWrt Makefile [3]. For batctl I used
> the latest 2011.4.0 release and copied it to our server. But when I try to
> compile OpenWrt, I get the following error: http://pastebin.com/PcNH15EC
Ok I created a patch from this version now and put it into the patches folder.
This worked. So forget about the last mail.
What´s about the make option to enable bla2? How does this need to be applied
to the makefile in openwrt or is there no need to change anything because the
option in in batman advanced own makefile is set to y?
Regards
Clemens
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [B.A.T.M.A.N.] HowTo Test Bla2
2011-12-27 22:27 ` Clemens John
@ 2011-12-28 2:07 ` Sven Eckelmann
0 siblings, 0 replies; 14+ messages in thread
From: Sven Eckelmann @ 2011-12-28 2:07 UTC (permalink / raw)
To: b.a.t.m.a.n
[-- Attachment #1: Type: text/plain, Size: 1323 bytes --]
On Tuesday 27 December 2011 23:27:51 Clemens John wrote:
> On Dienstag, 27. Dezember 2011 23:06:36 Clemens John wrote:
> > Simon commited another patchset today so I took the latest snapshot of
> > his blaII_rebase branch [1] and put it on our own server [2]. I changed
> > the name of the folder inside the snapshot to 2011.4.0 and the md5sum
> > and the url to download the source in the OpenWrt Makefile [3]. For
> > batctl I used the latest 2011.4.0 release and copied it to our server.
> > But when I try to compile OpenWrt, I get the following error:
> > http://pastebin.com/PcNH15EC
> Ok I created a patch from this version now and put it into the patches
> folder. This worked. So forget about the last mail.
>
> What´s about the make option to enable bla2? How does this need to be
> applied to the makefile in openwrt or is there no need to change anything
> because the option in in batman advanced own makefile is set to y?
Sry for the delay, but we were busy rebasing and fixing the blaII code. There
are also some other meetings we are currently attending.
But to make it short: The code is automatically built (you correctly saw the
CONFIG_BATMAN_ADV_BLA=y), but you have to enable it through the new sysfs file
"bridge_loop_avoidance" or the batctl option.
Kind regards,
Sven
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [B.A.T.M.A.N.] HowTo Test Bla2
2011-12-25 22:29 ` Sven Eckelmann
2011-12-27 22:06 ` Clemens John
@ 2012-01-02 22:09 ` Bjoern Franke
2012-01-02 23:10 ` Sven Eckelmann
1 sibling, 1 reply; 14+ messages in thread
From: Bjoern Franke @ 2012-01-02 22:09 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking
Hi,
Am Sonntag, 25. Dezember 2011, 23:29:42 schrieb Sven Eckelmann:
> On Sunday 25 December 2011 22:36:18 Clemens John wrote:
> > Hi,
> >
> > I want to test the Bridge loop avoidance II with our OpenWrt Freifunk
> > firmware. Is there a version that works and can be tested? Which git repo
> > do I have to use and what are the main steps to compile it into openwrt?
> Simon Wunderlich is the maintainer of the bridge loop avoidance II patchset.
> His current version can be found in his repo [1] in branch blaII (or
> another branch with blaII in the name). It is currently not rebased on top
> of master or v2011.4.0... so you cannot take the patchset and put it in
> OpenWRT.
We used the rebased version and got the module compiled (yeah! ;).
I enabled blaII on one node, and after that all nodes connected to the vpn
went unreachable. Most of them use 2011.0.0, some others 2011.4.0, running an
ad-hoc iface as bat-adv-iface and bat0, tap0 and ath0(master, for clients) as
a bridge. Do the blaII-packets "kill" all the other nodes? I thought the
blaII-packets would have no effect on the other nodes because of the compat-
layer.
regards
Bjoern
--
jabber: bjo@schafweide.org
bjo.nord-west.org | nord-west.org | freifunk-ol.de
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [B.A.T.M.A.N.] HowTo Test Bla2
2012-01-02 22:09 ` Bjoern Franke
@ 2012-01-02 23:10 ` Sven Eckelmann
2012-01-03 10:27 ` Marek Lindner
0 siblings, 1 reply; 14+ messages in thread
From: Sven Eckelmann @ 2012-01-02 23:10 UTC (permalink / raw)
To: b.a.t.m.a.n
[-- Attachment #1: Type: text/plain, Size: 1006 bytes --]
[...]
> I enabled blaII on one node, and after that all nodes connected to the vpn
> went unreachable. Most of them use 2011.0.0, some others 2011.4.0, running
> an ad-hoc iface as bat-adv-iface and bat0, tap0 and ath0(master, for
> clients) as a bridge. Do the blaII-packets "kill" all the other nodes? I
> thought the blaII-packets would have no effect on the other nodes because
> of the compat- layer.
You should use the same version everywhere. The compat layer is only to get a
version running on an older kernel... not for incompatibilities between the
different features/versions of batman-adv.
Marek already suggested that the packet format version should be increased to
clearly state that these versions are not compatible. But it could also be
that you triggered a bug in the new bla implementation... still I don't
understand why you are doing this. Which node should detect the ARP packets?
Maybe you can explain it again to better understand your network architecture.
Thanks,
Sven
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [B.A.T.M.A.N.] HowTo Test Bla2
2012-01-02 23:10 ` Sven Eckelmann
@ 2012-01-03 10:27 ` Marek Lindner
0 siblings, 0 replies; 14+ messages in thread
From: Marek Lindner @ 2012-01-03 10:27 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking
On Tuesday, January 03, 2012 07:10:02 Sven Eckelmann wrote:
> Marek already suggested that the packet format version should be increased
> to clearly state that these versions are not compatible. But it could also
> be that you triggered a bug in the new bla implementation... still I don't
> understand why you are doing this. Which node should detect the ARP
> packets? Maybe you can explain it again to better understand your network
> architecture.
Before you update all your nodes to the same version it would be really
helpful to find out if there is an incompatibility between the old BLA and the
new BLA. We are not 100% sure about that.
By the way, looking at our compatibility number table (http://www.open-
mesh.org/wiki/batman-adv/Compatversion) I see that 2011.0.0 has compat 12
whereas 2011.4.0 has compat number 14. That could be the reason why your setup
is not working.
Cheers,
Marek
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2012-01-06 19:59 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-28 17:11 [B.A.T.M.A.N.] HowTo Test Bla2 Clemens John
2011-12-29 21:19 ` Bjoern Franke
2011-12-29 22:21 ` Bjoern Franke
2011-12-30 10:38 ` Sven Eckelmann
2012-01-05 16:01 ` Marek Lindner
2012-01-06 19:59 ` Bjoern Franke
-- strict thread matches above, loose matches on Subject: below --
2011-12-25 21:36 Clemens John
2011-12-25 22:29 ` Sven Eckelmann
2011-12-27 22:06 ` Clemens John
2011-12-27 22:27 ` Clemens John
2011-12-28 2:07 ` Sven Eckelmann
2012-01-02 22:09 ` Bjoern Franke
2012-01-02 23:10 ` Sven Eckelmann
2012-01-03 10:27 ` Marek Lindner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox