Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Quagga: Dev

Segmentation fault while running Quagga on Octeon

 

 

Quagga dev RSS feed   Index | Next | Previous | View Threaded


Harini.Gopalakrishnan at lntinfotech

May 24, 2012, 2:53 AM

Post #1 of 3 (280 views)
Permalink
Segmentation fault while running Quagga on Octeon

Hi ,
I am trying to cross compile quagga 0.99.18 routing suite for octeon .
After setting "ac_cv_func_malloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes" in configure my cross compilation was successful . But when I tried to run the zebra daemon on the octeon board I got a segmentation fault.
please suggest a way to go about this issue.
Also please provide a solution to get statically linked quagga daemons as the -static flag is ineffective.


Thanks & Regards,
Harini Gopalakrishnan


________________________________
The contents of this e-mail and any attachment(s) may contain confidential or privileged information for the intended recipient(s). Unintended recipients are prohibited from taking action on the basis of information in this e-mail and using or disseminating the information, and must notify the sender and delete it from their system. L&T Infotech will not accept responsibility or liability for the accuracy or completeness of, or the presence of any virus or disabling code in this e-mail"


troglobit at gmail

May 28, 2012, 4:44 AM

Post #2 of 3 (251 views)
Permalink
Re: Segmentation fault while running Quagga on Octeon [In reply to]

Hi,

Could be a bit cumbersome to help you debug the software for your
Octeon. The segfault can be caused by anything from your toolchain to
uClibc/(e)glibc, the kernel or any patches to Quagga from Cavium. I
would suggest contacting Cavium support for this.

Also, why do you need statically built daemons, the Octeon has an MMU
and so you can run regular Linux on it and thus use dynamic libraries.

Nevertheless, you could try downgrading to 0.99.17, or upgrading to the
latest 0.99.21 release, maybe that helps solve the segfault at least.
However, I don't know how much work that would entail since I don't know
how heavily patched the Quagga code from Cavium is to be able to support
their proprietary hw-routing library.

Regards
/Joachim

On 05/24/2012 11:53 AM, Harini Gopalakrishnan wrote:
>
> Hi ,
>
> I am trying to cross compile quagga 0.99.18 routing
> suite for octeon .
>
> After setting "ac_cv_func_malloc_0_nonnull=yes
> ac_cv_func_realloc_0_nonnull=yes" in configure my cross compilation
> was successful . But when I tried to run the zebra daemon on the
> octeon board I got a segmentation fault.
>
> please suggest a way to go about this issue.
>
> Also please provide a solution to * get statically linked quagga
> daemons *as the --static flag is ineffective*.*
>
> Thanks & Regards,
>
> Harini Gopalakrishnan
>
>
> ------------------------------------------------------------------------
> The contents of this e-mail and any attachment(s) may contain
> confidential or privileged information for the intended recipient(s).
> Unintended recipients are prohibited from taking action on the basis
> of information in this e-mail and using or disseminating the
> information, and must notify the sender and delete it from their
> system. L&T Infotech will not accept responsibility or liability for
> the accuracy or completeness of, or the presence of any virus or
> disabling code in this e-mail"
>
>
> _______________________________________________
> Quagga-dev mailing list
> Quagga-dev [at] lists
> http://lists.quagga.net/mailman/listinfo/quagga-dev


syedasmat at rocketmail

Jun 11, 2012, 3:51 PM

Post #3 of 3 (211 views)
Permalink
Re: Segmentation fault while running Quagga on Octeon [In reply to]

Harini,

assuming you used cavium provided SDK to crosss compile, can you use  nm or readelf to decode the crash addresses?
what is the reason for insisting on static linking.
we did a short lived evaluation of quagga on Octeon few years ago.   You should check with Paxym, their tech leads might still remember how they got it working on multicore SMP linux.
Ashish

Quagga dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.