Skip to contentSkip to conversation

freifunk 1.6.8/1.6.9

B.A.T.M.A.N. Jan Hetges 4 participants 10 messages Oct 16, 2007 – Oct 17, 2007

lore
Share & tools
lore

Jan Hetges

author
#0 lore raw

Hi
is anyone using this on wrt54g ?
i just tried both and batmand_0.3-beta-rv674 gives a segmenation fault and batmand_0.2-rv502 doesn't start (probably segfault as well). can someone confirm/deny this?
has someone a link for a working (with batmand) openwrt-g-freifunk-1.6.x-x.bin/trx ?

cheers

--Jan

#1 lore raw

Hi Jan

(maybe a dum reply) sure you have mipsel version of that revisions?

-- Antonio

Quoted 16 lines

Hi
is anyone using this on wrt54g ?
i just tried both and batmand_0.3-beta-rv674 gives a segmenation fault and batmand_0.2-rv502 doesn't start (probably segfault as well). can someone confirm/deny this?
has someone a link for a working (with batmand) openwrt-g-freifunk-1.6.x-x.bin/trx ?

cheers

--Jan
_______________________________________________
B.A.T.M.A.N mailing list
[email protected]
https://list.open-mesh.net/mm/listinfo/b.a.t.m.a.n

author
#2 lore raw

Hi

Quoted 8 lines · On Tue, Oct 16, 2007 at 08:23:59AM +0200, [email protected] wrote:
Quoted 7 lines

is anyone using this on wrt54g ?
i just tried both and batmand_0.3-beta-rv674 gives a segmenation fault and batmand_0.2-rv502 doesn't start (probably segfault as well). can someone confirm/deny this?
has someone a link for a working (with batmand) openwrt-g-freifunk-1.6.x-x.bin/trx ?

(maybe a dum reply) sure you have mipsel version of that revisions?

of course i have the right versions :)
if one reboots the box after the batman installation everything is fine (i fell over that before... but didn't remember ;)

cheers

--Jan

#3 lore raw

Hi,

Quoted 10 lines · Jan Hetges

Hi

Quoted 7 lines · On Tue, Oct 16, 2007 at 08:23:59AM +0200, [email protected] wrote:
Quoted 6 lines

is anyone using this on wrt54g ?
i just tried both and batmand_0.3-beta-rv674 gives a segmenation fault and batmand_0.2-rv502 doesn't start (probably segfault as well). can someone confirm/deny this?
has someone a link for a working (with batmand) openwrt-g-freifunk-1.6.x-x.bin/trx ?

Quoted 3 lines

if one reboots the box after the batman installation everything is fine (i fell over that before... but didn't remember ;)

If you start the daemon with -r, -g, or -p (any GW functionality), then it might be related to the tun module (kmod-tun). I remember that when installing that module it is not loaded automatically. But after the next restart its loaded.

ciao,
/ axel

Quoted 3 lines

cheers

--Jan

#4 lore raw
In reply to Jan Hetges

Hi,

Quoted 5 lines

i just tried both and batmand_0.3-beta-rv674 gives a segmenation fault and batmand_0.2-rv502 doesn't start (probably segfault as well). can someone confirm/deny this?
has someone a link for a working (with batmand) openwrt-g-freifunk-1.6.x-x.bin/trx ?

are you sure it segfaults or is it simply not running ? Please check "logread -f" to see if batmand is complaining. If you are missing the kmod-tun module batmand will exit and write an error to syslog. Another option is to try the statically linked binary in case some libs changed recently.

Greetings,
Marek

author
#5 lore raw

Re: [B.A.T.M.A.N.] batmand_0.3-beta-rv724 segmentation fault

Quoted 3 lines · Marek Lindner
Quoted 2 lines

i just tried both and batmand_0.3-beta-rv674 gives a segmenation fault and

are you sure it segfaults or is it simply not running ? Please

yes, at least it said "Segmentation fault"

Quoted 1 line
Quoted 1 line

batmand_0.2-rv502 doesn't start (probably segfault as well).

this one is simply not running

so i installed
http://downloads.open-mesh.net/batman/development/misc/batmand_0.3-beta-rv724_mipsel-wr-elf-32-lsb-dynamic-unstripped.tgz
md5sum /tmp/batmand_0.3-beta-rv724_mipsel-wr-elf-32-lsb-dynamic 955cc1f203c4ad47fea84427b7b7c5c4 /tmp/batmand_0.3-beta-rv724_mipsel-wr-elf-32-lsb-dynamic

i'll send the coredump in private mail, and if really needed the binary as well

cheers

--Jan

author
#6 lore raw

Re: [B.A.T.M.A.N.] batmand_0.3-beta-rv724 segmentation fault

Quoted 6 lines · Jan Hetges
Quoted 3 lines · Marek Lindner
Quoted 2 lines

i just tried both and batmand_0.3-beta-rv674 gives a segmenation fault and

are you sure it segfaults or is it simply not running ? Please

yes, at least it said "Segmentation fault"

Quoted 9 lines
Quoted 1 line
Quoted 1 line

batmand_0.2-rv502 doesn't start (probably segfault as well).

this one is simply not running

so i installed
http://downloads.open-mesh.net/batman/development/misc/batmand_0.3-beta-rv724_mipsel-wr-elf-32-lsb-dynamic-unstripped.tgz
md5sum /tmp/batmand_0.3-beta-rv724_mipsel-wr-elf-32-lsb-dynamic 955cc1f203c4ad47fea84427b7b7c5c4 /tmp/batmand_0.3-beta-rv724_mipsel-wr-elf-32-lsb-dynamic

the safe way to reproduce this:
flash openwrt-g-freifunk-1.6.9-es.bin to a wrt54g
then put scr lui http;//freifunk.schmudde.com/ipkg into /etc/ipkg.conf
ipkg update
ipkg install freifunk-batman freifunk-recommended-es
install http://downloads.open-mesh.net/batman/development/misc/batmand_0.3-beta-rv724_mipsel-wr-elf-32-lsb-dynamic-unstripped.tgz
without rebooting!
i insmod /lib/modules/.../tun.o and tried again... still segfaults
after rebooting the box no more segfault!

cheers

--Jan

author
#7 lore raw

Re: [B.A.T.M.A.N.] batmand_0.3 segmentation fault

Quoted 17 lines · Jan Hetges
Quoted 6 lines · Jan Hetges
Quoted 3 lines · Marek Lindner
Quoted 2 lines

i just tried both and batmand_0.3-beta-rv674 gives a segmenation fault and

are you sure it segfaults or is it simply not running ? Please

yes, at least it said "Segmentation fault"

Quoted 9 lines
Quoted 1 line
Quoted 1 line

batmand_0.2-rv502 doesn't start (probably segfault as well).

this one is simply not running

so i installed
http://downloads.open-mesh.net/batman/development/misc/batmand_0.3-beta-rv724_mipsel-wr-elf-32-lsb-dynamic-unstripped.tgz
md5sum /tmp/batmand_0.3-beta-rv724_mipsel-wr-elf-32-lsb-dynamic 955cc1f203c4ad47fea84427b7b7c5c4 /tmp/batmand_0.3-beta-rv724_mipsel-wr-elf-32-lsb-dynamic

Quoted 9 lines

the safe way to reproduce this:
flash openwrt-g-freifunk-1.6.9-es.bin to a wrt54g
then put scr lui http;//freifunk.schmudde.com/ipkg into /etc/ipkg.conf
ipkg update
ipkg install freifunk-batman freifunk-recommended-es
install http://downloads.open-mesh.net/batman/development/misc/batmand_0.3-beta-rv724_mipsel-wr-elf-32-lsb-dynamic-unstripped.tgz
without rebooting!
i insmod /lib/modules/.../tun.o and tried again... still segfaults
after rebooting the box no more segfault!

because i'm upgrading some more wrt54g, i can do some more testing :-). so i tried some random 0.3 versions and *ALL* of them gave a segmentation fault (all the way back including batmand_III_rv405)
and i veryfied 0.2-rv502 with logread -f , and there was something with tun not loaded , can't try again because someone rebooted the box ;-) but i have some more :)

--Jan

#8 lore raw

Re: [B.A.T.M.A.N.] batmand_0.3 segmentation fault

Hi,

since rv 498 the interface initialization and probing for the tun module is done before the daemon forks into background.
However, the warning for "tun not loaded" has not reflected this. Now it goes to stderr!

Can you try rv 727 ?

ciao,
/axel

Quoted 40 lines · Jan Hetges
Quoted 20 lines · Jan Hetges
Quoted 10 lines · Jan Hetges
Quoted 4 lines · Marek Lindner
Quoted 2 lines

i just tried both and batmand_0.3-beta-rv674 gives a segmenation fault and

are you sure it segfaults or is it simply not running ? Please

yes, at least it said "Segmentation fault"

Quoted 1 line
Quoted 1 line

batmand_0.2-rv502 doesn't start (probably segfault as well).

Quoted 8 lines

this one is simply not running

so i installed
http://downloads.open-mesh.net/batman/development/misc/batmand_0.3-beta
-rv724_mipsel-wr-elf-32-lsb-dynamic-unstripped.tgz md5sum /tmp/batmand_0.3-beta-rv724_mipsel-wr-elf-32-lsb-dynamic 955cc1f203c4ad47fea84427b7b7c5c4 /tmp/batmand_0.3-beta-rv724_mipsel-wr-elf-32-lsb-dynamic

Quoted 10 lines

the safe way to reproduce this:
flash openwrt-g-freifunk-1.6.9-es.bin to a wrt54g
then put scr lui http;//freifunk.schmudde.com/ipkg into /etc/ipkg.conf ipkg update
ipkg install freifunk-batman freifunk-recommended-es install
http://downloads.open-mesh.net/batman/development/misc/batmand_0.3-beta-r
v724_mipsel-wr-elf-32-lsb-dynamic-unstripped.tgz without rebooting! i insmod /lib/modules/.../tun.o and tried again... still segfaults after rebooting the box no more segfault!

because i'm upgrading some more wrt54g, i can do some more testing :-). so i tried some random 0.3 versions and *ALL* of them gave a segmentation fault (all the way back including batmand_III_rv405)
and i veryfied 0.2-rv502 with logread -f , and there was something with tun not loaded , can't try again because someone rebooted the box ;-) but i have some more :)

--Jan

author
#9 lore raw

Re: [B.A.T.M.A.N.] batmand_0.3 segmentation fault

Hi

Quoted 6 lines · Axel Neumann

since rv 498 the interface initialization and probing for the tun module is done before the daemon forks into background.
However, the warning for "tun not loaded" has not reflected this. Now it goes to stderr!

Can you try rv 727 ?

that looks good to me:

root@Experimental-l/ever:~# batmand -r 2 eth1
WARNING: You are using the unstable batman branch. If you are interested
in *using* batman get the latest stable release !
Error - could not open '/dev/net/tun' ! Is the tun kernel module loaded?

cheers

--Jan

Quoted 48 lines · Jan Hetges
Quoted 32 lines · Jan Hetges
Quoted 20 lines · Jan Hetges
Quoted 10 lines · Marek Lindner
Quoted 4 lines
Quoted 2 lines

i just tried both and batmand_0.3-beta-rv674 gives a segmenation fault and

are you sure it segfaults or is it simply not running ? Please

yes, at least it said "Segmentation fault"

Quoted 1 line
Quoted 1 line

batmand_0.2-rv502 doesn't start (probably segfault as well).

Quoted 8 lines

this one is simply not running

so i installed
http://downloads.open-mesh.net/batman/development/misc/batmand_0.3-beta
-rv724_mipsel-wr-elf-32-lsb-dynamic-unstripped.tgz md5sum /tmp/batmand_0.3-beta-rv724_mipsel-wr-elf-32-lsb-dynamic 955cc1f203c4ad47fea84427b7b7c5c4 /tmp/batmand_0.3-beta-rv724_mipsel-wr-elf-32-lsb-dynamic

Quoted 10 lines

the safe way to reproduce this:
flash openwrt-g-freifunk-1.6.9-es.bin to a wrt54g
then put scr lui http;//freifunk.schmudde.com/ipkg into /etc/ipkg.conf ipkg update
ipkg install freifunk-batman freifunk-recommended-es install
http://downloads.open-mesh.net/batman/development/misc/batmand_0.3-beta-r
v724_mipsel-wr-elf-32-lsb-dynamic-unstripped.tgz without rebooting! i insmod /lib/modules/.../tun.o and tried again... still segfaults after rebooting the box no more segfault!

Quoted 8 lines

because i'm upgrading some more wrt54g, i can do some more testing :-). so i tried some random 0.3 versions and *ALL* of them gave a segmentation fault (all the way back including batmand_III_rv405)
and i veryfied 0.2-rv502 with logread -f , and there was something with tun not loaded , can't try again because someone rebooted the box ;-) but i have some more :)

--Jan

_______________________________________________
B.A.T.M.A.N mailing list
[email protected]
https://list.open-mesh.net/mm/listinfo/b.a.t.m.a.n