OpenWrt Forum Archive

Topic: Quagga-unstable on RouterStation (AR71xx) problem - zebra segm. fault

The content of this topic has been archived on 28 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi,

I get segmentation fault when starting Zebra on RouterStation (Kamikaze  r15349, prebuild by Ubiquiti). Can anyone help?


I downloaded the code via SVN:
svn co - r15349 svn://svn.openwrt.org/openwrt/trunk

I selected target AR71xx and RouterStation option in menuconfig.
Downloaded quagga-unstable files from https://dev.openwrt.org/browser/package … a-unstable (currently at version 0.99.15)

Hit "make V=99", all successfull.

Copied packages to web server, edited opkg.conf, did a "opkg update" on my board.

"Opkg install quagga-unstable-ospfd" downloaded and installed all dependencies successfully.

Then I copy-pasted zebra.conf and ospfd.conf from my old router (Debian, tried also my OpenWRT IXP4xx router config files).
When i hit "./quagga-unstable start" i get ...

root@RouterStation:~# /etc/init.d/quagga start
quagga.init: Starting zebra ... Segmentation fault
failed.
quagga.init: Starting ospfd ... done.
quagga.init: Starting watchquagga ... done.
root@RouterStation:~#

Then i did "opkg clear quagga-unstable" ... with all dependencies.
Recompiled the package using quagga-unstable 0.99.12 (i got this working on my old RB433AH, also AR71xx).
But I get the same error again.

Zebra -> Segmentation Fault
OSPF -> OK
watchquagga -> OK

Any ideas what could be the problem?

If it helps... i tried to make some other packages "nano" and "ntpclient" ... all work OK


root@RouterStation:~# ntpclient -l -h pool.ntp.org -c 1 -s &
root@RouterStation:~# 40109 34230.183   22444.0     18.7   13890.4  45501.7 0
root@RouterStation:~# date
Sun Oct 25 09:30:34 UTC 2009
root@RouterStation:~#

(Last edited by dajhard on 25 Oct 2009, 11:33)

Quagga stable (0.98.6) is working

dajhard wrote:

Quagga stable (0.98.6) is working

Yes , I get Segmentation fault too :-(. Version 0.98.6 has some bugs and should not been used. For example it does not support 32-bit asn and crushes from them if I'm not mistaken.

What to expect on quagga-unstable development for RouterStation?
I dont have the knowledge to find the bug, debug it and compile.
I can provide with a test enviroment (wireless network) and can give access to a RouterStation from Internet inside the network.

dajhard wrote:

Quagga stable (0.98.6) is working

dajhard, do You use vtysh ? If You do how do You get working without normal "more" command on the system ?

I tried to call script with command "/usr/bin/less -E" or other parametrs but I cannot get normal working of vtysh.

The discussion might have continued from here.