From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 17 Oct 2007 10:04:48 -0600 From: Jan Hetges Subject: Re: [B.A.T.M.A.N.] batmand_0.3 segmentation fault Message-ID: <20071017160448.GA3798@apoderado.ometepe.net> References: <20071016020242.GA4608@apoderado.ometepe.net> <20071016185253.GA7250@apoderado.ometepe.net> <20071016194803.GA8315@apoderado.ometepe.net> <200710171109.17045.axel@open-mesh.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="X1bOJ3K7DJ5YkBrT" Content-Disposition: inline In-Reply-To: <200710171109.17045.axel@open-mesh.net> Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: The list for a Better Approach To Mobile Ad-hoc Networking --X1bOJ3K7DJ5YkBrT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi On Wed, Oct 17, 2007 at 11:09:16AM +0200, Axel Neumann wrote: > since rv 498 the interface initialization and probing for the tun module = is=20 > done before the daemon forks into background. > However, the warning for "tun not loaded" has not reflected this. Now it = goes=20 > to stderr! >=20 > 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 >=20 > On Dienstag 16 Oktober 2007, Jan Hetges wrote: > > On Tue, Oct 16, 2007 at 12:52:53PM -0600, Jan Hetges wrote: > > > On Tue, Oct 16, 2007 at 11:25:52AM -0600, Jan Hetges wrote: > > > > On Tue, Oct 16, 2007 at 03:13:52PM +0200, Marek Lindner wrote: > > > > > > 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" > > > > > > > > > > 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-be= ta-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 segmentati= on > > 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 >=20 >=20 > _______________________________________________ > 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 --X1bOJ3K7DJ5YkBrT Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHFjKglTtvZdk47D4RAqwuAKClUl2pDvjkbLpdaXy7pjpzKq3jEwCffSpQ 6GhY40RdrsHGhb64MZSrnuA= =zU+T -----END PGP SIGNATURE----- --X1bOJ3K7DJ5YkBrT--