Kernel Oops when receiving a lot of UDP packets while booting

Kári Davíðsson kd at flaga.is
Tue Jan 8 02:16:55 EST 2002


> -----Original Message-----
> From: Peter Desnoyers [mailto:pdesnoyers at chinook.com]
> Sent: 7. janúar 2002 15:02
> To: Kári Davíðsson
> Cc: LEROY Christophe; linuxppc
> Subject: Re: Kernel Oops when receiving a lot of UDP packets while
> booting
>
>
> > I have verified that I am getting packets over the ethernet
> > before the scc_enet_open() is called, I somehow suspect that
> > this might be causing my random crashes.
>
> You just kludge it by looking at your 'opened' flag and dropping the
> packet in scc_enet_rx if it's false.  If it stops the

Yes I will try that too.

> crashes, you'll be
> OK until you find a version of the driver that doesn't have this
> problem.
>
> The version of the driver I use does all the hardware
> initialization in
> scc_enet_init, and then all that scc_enet_open does is call
> netif_start_queue.

My enet.c does excactly this. And it is deffinitly not doing the right
thing,
try e.g. to flood ping the board while it is booting you will see all
kinds
of wonderful strange behaviour.

Thanks,

K.D.

>
> --
> .....................................................................
>  Peter Desnoyers            (781) 457-1165   pdesnoyers at chinook.com
>  Chinook Communications     (617) 661-1979   pjd at fred.cambridge.ma.us
>  100 Hayden Ave, Lexington MA 02421
>

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list