Ethernet Bridge development
 help / color / mirror / Atom feed
* [Bridge] sigsegv from rstpd on ppc
@ 2009-05-08  7:41 Butorina Lilya
  2009-05-08  8:33 ` Srinivas M.A.
  0 siblings, 1 reply; 2+ messages in thread
From: Butorina Lilya @ 2009-05-08  7:41 UTC (permalink / raw)
  To: bridge


Hi,

I want to run RSTP on ppc_8xx target, kernel 2.6.19.
Is there some recommendation or restriction from RSTP implementation for this condition?

I have a problem:
I ran rstpd-daemon on ppc and it dies in one minute after start with SIGSEGV exception. Debuging shows that the reason in 
epoll_list.c file , epoll_main_loop() function, one of element(ev) of epoll_event[] array:

ev[i].data.ptr->ref_ev = &ev[i];

This code kills rstpd.

Is this known problem? Where should I find solution?

Thanks.
Liliya.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Bridge] sigsegv from rstpd on ppc
  2009-05-08  7:41 [Bridge] sigsegv from rstpd on ppc Butorina Lilya
@ 2009-05-08  8:33 ` Srinivas M.A.
  0 siblings, 0 replies; 2+ messages in thread
From: Srinivas M.A. @ 2009-05-08  8:33 UTC (permalink / raw)
  To: Butorina Lilya; +Cc: bridge

What code are you using? And from where? All the code I can find in
epoll_loop.c has things like:

for (i = 0; i < r; i++) {
    struct epoll_event_handler *p = ev[i].data.ptr;
    if (p != NULL)
      p->ref_ev = &ev[i];
}

Maybe ev[i].data.ptr is NULL and causing the crash. This can happen
when we have indicated that we don't want epoll to tell us events for
this fd anymore but an earlier event is still returned by epoll.

Another thing is that all the bridge changes needed for userspace STP
are there only in Linux 2.6.22. So you will not be able to use rstpd
on 2.6.19.

On Fri, May 8, 2009 at 7:41 AM, Butorina Lilya <lilybox@yandex.ru> wrote:
>
> Hi,
>
> I want to run RSTP on ppc_8xx target, kernel 2.6.19.
> Is there some recommendation or restriction from RSTP implementation for this condition?
>
> I have a problem:
> I ran rstpd-daemon on ppc and it dies in one minute after start with SIGSEGV exception. Debuging shows that the reason in
> epoll_list.c file , epoll_main_loop() function, one of element(ev) of epoll_event[] array:
>
> ev[i].data.ptr->ref_ev = &ev[i];
>
> This code kills rstpd.
>
> Is this known problem? Where should I find solution?
>
> Thanks.
> Liliya.
> _______________________________________________
> Bridge mailing list
> Bridge@lists.linux-foundation.org
> https://lists.linux-foundation.org/mailman/listinfo/bridge
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-05-08  8:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-08  7:41 [Bridge] sigsegv from rstpd on ppc Butorina Lilya
2009-05-08  8:33 ` Srinivas M.A.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox