Bluse | 6 Feb 23:10 2016
Picon
Picon

OLSR issues

Hi all,

Since a couple of month I observe some log messages from olsrd in our Freifunk mesh, that I just want to share,
although the actual routing works fine.
Just in case there is something interesting for the development about this issue. (There were a couple of
email in Jan.2016 that went in the same direction but their was no solution yet.)

So here my observations

(A) regular olsrd start on nodes with a single wlan interface (UBIQUITY Bullet M5 & Nanosation M5):
=>no dmesg output related to olsrd, routing works properly

(B)regular olsrd start on nodes with 2x wlan interfaces (2,4GHz AP mode & 5 GHz adhoc mode) 

(B.1) TPLink 4300 (MIPS):

=>olsrd is running and routing works properly, dmesg shows:

do_page_fault(): sending SIGSEGV to olsrd for invalid write access to 00000000
epc = 7763d4d0 in libc.so[7760e000+9d000]
ra  = 00425c90 in olsrd[400000+4c000]

(B.2) TPLink 4900 (POWERPC):

=>olsrd is running and routing works properly, dmesg shows:

olsrd[19632]: unhandled signal 11 at 00000000 nip b78555b4 lr b78554b4 code 30001

MANUAL START OF OLSRD with debug level 6:

(Continue reading)

Bastian Bittorf | 14 Jan 13:58 2016
Gravatar

olsr / txtinfo-plugin / broken selective section-fetching

while digging deeper into the crash-on-shutdown problem
i recognized that olsr-git has a changed/broken behaviour
when fetching e.g.

wget -qO - http://127.0.0.1:2006/Links
wget -qO - http://127.0.0.1:2006/links
wget -qO - http://127.0.0.1:2006/Neighbours
wget -qO - http://127.0.0.1:2006/neighs

this was IMHO working before the refactoring.
any obvious mistake on my side?

It always outputs everything (all sections).

thanks & bye, bastian

PS: i have updated the OpenWrt-makefile, please report any issues:
https://github.com/openwrt-routing/packages/commit/3d25d7793535aa524fd3f09a71656fea30c3b73f

--

-- 
Olsr-dev mailing list
Olsr-dev <at> lists.olsr.org
https://lists.olsr.org/mailman/listinfo/olsr-dev
Ferry Huberts | 8 Jan 19:19 2016
Gravatar

git down

git seems to be down.
can someone with access to the server please fix it?

> $ git fetch olsr
> fatal: unable to connect to olsr.org:
> olsr.org[0: 2a02:60:1:1::c]: errno=Connection refused
> olsr.org[1: 193.238.157.30]: errno=Connection refused

--

-- 
Olsr-dev mailing list
Olsr-dev <at> lists.olsr.org
https://lists.olsr.org/mailman/listinfo/olsr-dev
smilebef | 6 Jan 16:29 2016
Picon

Mikrotik RB411 fails with wet2nand

The problem is the kernel vmlinux.lzma.elf dos not start.
wget2nand works but the kernel result no answer while booting.
it is strange, because initrd boot fine.
this problem is new with cc und trunk.
i have no problems with bb.

any ideas?

--

-- 
Olsr-dev mailing list
Olsr-dev <at> lists.olsr.org
https://lists.olsr.org/mailman/listinfo/olsr-dev
Manuel Munz | 4 Jan 19:59 2016
Picon

txtinfo/jsoninfo: missing ipv6only option in 0.9.0.3

Hi,

it seems the ipv6only option was removed from jsoninfo and txtinfo when
it was refactored. I tried starting olsrd without it, but with the
default port (i.e. no port set in config) both plugins don't open a port
for the ipv6 instance.

Should it work without that option or is there just no way now to use
the same port for v4 and v6?

Regards, soma

--

-- 
Olsr-dev mailing list
Olsr-dev <at> lists.olsr.org
https://lists.olsr.org/mailman/listinfo/olsr-dev
Bastian Bittorf | 30 Dec 19:59 2015
Gravatar

olsr1 / crashes with recent OpenWrt

we observe a lot of crashes since we upgraded
our routers. unsure what changed, but these are our findings:

it seems to happen during shutdown/restart:

Wed Dec 30 19:32:09 2015 daemon.info olsrd[13906]: Writing '1' (was 0) to /proc/sys/net/ipv4/conf/all/send_redirects
Wed Dec 30 19:32:09 2015 daemon.info olsrd[13906]: Writing '1' (was 0) to /proc/sys/net/ipv4/conf/wlan1/send_redirects
Wed Dec 30 19:32:09 2015 daemon.info olsrd[13906]: Writing '1' (was 0) to /proc/sys/net/ipv4/conf/wlan0/send_redirects
Wed Dec 30 19:32:09 2015 daemon.info olsrd[13906]: Writing '1' (was 0) to /proc/sys/net/ipv4/conf/eth0.2/send_redirects
Wed Dec 30 19:32:09 2015 daemon.info olsrd[13906]: Writing '1' (was 0) to /proc/sys/net/ipv4/conf/eth0.1/send_redirects
Wed Dec 30 19:32:09 2015 daemon.info olsrd[13906]: olsr.org -
0.9.0.3-git_6265512-hash_b007c5ebb9bcf37ab629b09d81e2e7b9 stopped
Wed Dec 30 19:32:09 2015 daemon.err olsrd[13906]: OLSR: sendto IPv4 Bad file descriptor
Wed Dec 30 19:32:09 2015 daemon.err olsrd[13906]: OLSR: sendto IPv4 Bad file descriptor
Wed Dec 30 19:32:09 2015 daemon.err olsrd[13906]: OLSR: sendto IPv4 Bad file descriptor
Wed Dec 30 19:32:09 2015 daemon.err olsrd[13906]: OLSR: sendto IPv4 Bad file descriptor
Wed Dec 30 19:32:09 2015 daemon.err olsrd[13906]: OLSR: sendto IPv4 Bad file descriptor
Wed Dec 30 19:32:09 2015 daemon.err olsrd[13906]: OLSR: sendto IPv4 Bad file descriptor
Wed Dec 30 19:32:09 2015 daemon.err olsrd[13906]: OLSR: sendto IPv4 Bad file descriptor
Wed Dec 30 19:32:09 2015 daemon.err olsrd[13906]: OLSR: sendto IPv4 Bad file descriptor
Wed Dec 30 19:32:09 2015 kern.info kernel: [ 1785.284790]
Wed Dec 30 19:32:09 2015 kern.info kernel: [ 1785.284790] do_page_fault(): sending SIGSEGV to olsrd for
invalid write access to 00000000
Wed Dec 30 19:32:09 2015 kern.info kernel: [ 1785.293271] epc = 7769ce54 in libc.so[77676000+92000]
Wed Dec 30 19:32:09 2015 kern.info kernel: [ 1785.298639] ra  = 004190bd in olsrd[400000+3b000]
Wed Dec 30 19:32:09 2015 kern.info kernel: [ 1785.303502]

the coredump's backtrace is this:
user <at> box:~/openwrt$ ./scripts/remote-gdb r48016.ar71xx.olsrd.503.11.1451500700.core staging_dir/target-mips_34kc_musl-1.1.11/root-ar71xx/usr/sbin/olsrd
[...]
(Continue reading)

Bastian Bittorf | 17 Dec 12:04 2015
Gravatar

Re: hanging http-requests / httpinfo+json / v9.0.3 (STILL in git)

* Ferry Huberts <mailings <at> hupie.com> [17.12.2015 11:43]:
> Well, it works for me on master and I can't see anything wrong from
> the information you provided. So we have some kind of stale-mate here
> I guess

i start now to debug this with some OLSR_LOG in the code
and will write here my findings...

bye, bastian

--

-- 
Olsr-dev mailing list
Olsr-dev <at> lists.olsr.org
https://lists.olsr.org/mailman/listinfo/olsr-dev
Bastian Bittorf | 17 Dec 09:42 2015
Gravatar

hanging http-requests / httpinfo+json / v9.0.3 (fixed in git)

i have seen this issue in the past too, but rarely and
rebooting the box did always help 8-) but now i installed
the daemon on a recent debian8-server and it's happen
again - reliable...with 9.0.3

starting the daemon works and i see routes, but
query :80 for httpinfo or json hangs infinitely.

but: recent git (with the reworks from ferry) works!
thanks for that!

bye, bastian

PS: if we release 9.0.4 - can we please have a:
http://www.olsr.org/releases/latest.tar.bz2

--

-- 
Olsr-dev mailing list
Olsr-dev <at> lists.olsr.org
https://lists.olsr.org/mailman/listinfo/olsr-dev
Ferry Huberts | 9 Dec 11:15 2015
Gravatar

[PATCH v1 0/2] Support building with clang on Linux

From: Ferry Huberts <ferry.huberts <at> pelagic.nl>

For fun I built with clang...

Ferry Huberts (2):
  make: support building with clang (on Linux)
  all: fixes resulting from building with clang

 Makefile.inc                     | 12 ++++++++++--
 gui/linux-gtk/src/ipc.c          |  2 +-
 lib/mdns/src/NetworkInterfaces.c |  2 +-
 lib/p2pd/src/NetworkInterfaces.c |  2 +-
 lib/pud/nmealib/src/random.h     |  3 ++-
 src/main.c                       |  2 ++
 src/mpr.c                        |  2 +-
 src/net_olsr.c                   |  2 +-
 8 files changed, 19 insertions(+), 8 deletions(-)

-- 
2.5.0

--

-- 
Olsr-dev mailing list
Olsr-dev <at> lists.olsr.org
https://lists.olsr.org/mailman/listinfo/olsr-dev
Ferry Huberts | 3 Dec 12:26 2015
Gravatar

ATTN: olsrd v1 jsoninfo and txtinfo received major changes

To all users of jsoninfo and/or txtinfo:

Both plugins received major changes because of the merge of their
common code.

The changes /should/ not make a difference for properly coded
interfacing with the plugins. However, more information might now
be sent or in a different order. I tried avoiding that as much
as possible but some things /had/ to change regardless.

Everyone depending on those plugins is strongly advised to track
the changes on the master branch and validate that their code
is still doing what is expected.

There might be other changes to the plugins before we release a
new version of olsrd.

If there are any questions, please do not hesitate to ask.

Ferry

--

-- 
Olsr-dev mailing list
Olsr-dev <at> lists.olsr.org
https://lists.olsr.org/mailman/listinfo/olsr-dev
Ferry Huberts | 2 Dec 21:27 2015
Gravatar

[PATCH v1 000/115] Merge common code from jsoninfo and txtinfo

From: Ferry Huberts <ferry.huberts <at> pelagic.nl>

It's here, and a lot of good fun I had doing these 115 patches </sarcasm>.

Anyway, it's a lot of shuffling code around, beating it into shape, and then
some more shuffling around.

Patch 43 does the actual merge of common code into the info module.
Everything after that is cleanup and optimisation resulting from review.

There are also some actual fixes in this series, highlights:

008: applies the same fix to jsoninfo as e2149e7
011: use a standard function instead of a homebrewn one for a jsoninfo parameter
066: make sure that output buffers are correctly cleaned up and freed, their
     sockets properly closed
092: close the ipc socket on error paths
096: check against the correct __linux__ define
107: show float/double values in full precision in jsoninfo

I've cleaned up the info, jsoninfo and txtinfo modules and reviewed them.
The only thing it didn't clean up and review yet are the ipc_print_* functions
of both jsoninfo and txtinfo. That will come later.

Feedback welcome.

Ferry Huberts (115):
  txtinfo: use the same 'c-basic-offset: 2' as jsoninfo
  txtinfo: treat the olsrd configuration differently
  txtinfo: catch '/all' earlier when determining the action
(Continue reading)


Gmane