[quagga-dev 5287] Re: [PATCH] bgpd crashes or does not open listening socket

Berndt Sevcik sevcik at ict.tuwien.ac.at
Thu Mar 13 12:02:48 GMT 2008


We are very interested to implement the BFD patch for Quagga but encounter some big problems as the quagga output shows:
We used the patch posted by Hajime Tazaki.

2008/03/13 12:42:53 OSPF: BFD: peer delete 172.17.1.3
2008/03/13 12:42:53 OSPF: Assertion `next_state != 0' failed in file ospf_nsm.c, line 836, function ospf_nsm_event
2008/03/13 12:42:53 OSPF: Backtrace for 11 stack frames:
2008/03/13 12:42:53 OSPF: [bt 0] /opt/quagga2/lib/libzebra.so.0(zlog_backtrace+0x1f) [0xb7f553a5]
2008/03/13 12:42:53 OSPF: [bt 1] /opt/quagga2/lib/libzebra.so.0(_zlog_assert_failed+0x99) [0xb7f554fb]
2008/03/13 12:42:53 OSPF: [bt 2] /opt/quagga2/lib/libospf.so.0(ospf_nsm_event+0x159) [0xb7f8e125]
2008/03/13 12:42:53 OSPF: [bt 3] /opt/quagga2/lib/libzebra.so.0(thread_call+0x6a) [0xb7f4a2b1]
2008/03/13 12:42:53 OSPF: [bt 4] /opt/quagga2/lib/libzebra.so.0(funcname_thread_execute+0x57) [0xb7f4a39e]
2008/03/13 12:42:53 OSPF: [bt 5] /opt/quagga2/lib/libospf.so.0(ospf_bfd_peer_down+0x96) [0xb7f88ead]
2008/03/13 12:42:53 OSPF: [bt 6] /opt/quagga2/lib/libzebra.so.0 [0xb7f591b9]
2008/03/13 12:42:53 OSPF: [bt 7] /opt/quagga2/lib/libzebra.so.0(thread_call+0x6a) [0xb7f4a2b1]
2008/03/13 12:42:53 OSPF: [bt 8] /opt/quagga2/sbin/ospfd [0x80491ce]
2008/03/13 12:42:53 OSPF: [bt 9] /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xdc) [0xb7dc7ebc]
2008/03/13 12:42:53 OSPF: [bt 10] /opt/quagga2/sbin/ospfd [0x8048dc1]
2008/03/13 12:42:53 ZEBRA: zebra message comes from socket [13]
2008/03/13 12:42:53 ZEBRA: connection closed socket [13]

Has someone an idea?

Thanks
Berndt

Hajime Tazaki tazaki at sfc.wide.ad.jp
Tue Jan 29 16:17:11 GMT 2008

    * Previous message: [quagga-dev 5229] [PATCH] bgpd crashes or does not open listening socket
    * Next message: [quagga-dev 5241] route-map logic
    * Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

Hi folks,

I've made a patch for quagga CVS HEAD which supports
BFD(Bi-directional Forwarding Detection).

kbfd is a linux kernel-land module.
And this patch could control and synchronize between kbfd
and quagga.

Currently, it is supported only ospfd, ospf6d, bgpd.
Further information of kbfd are available at followed link.

http://kbfd.sourceforge.net


- How to Install, and build

# cvs co quagga
# cd quagga
# patch -p0 < quagga-bfd-support.patch
# cp ${some where which kbfd is installed}/kbfd_netlink.h ./
# ./configure --enable-kbfd-support
# make

All your feedback and comments would be appreciated.

regards,
hajime

-------------- next part --------------
A non-text attachment was scrubbed...
Name: quagga-bfd-support.patch
Type: application/octet-stream
Size: 69057 bytes
Desc: not available
Url : http://lists.quagga.net/pipermail/quagga-dev/attachments/20080129/90581904/quagga-bfd-support-0001.obj




More information about the Quagga-dev mailing list