[ECOS] RE: Trouble using lwIP (driver crash...)

Michael Grimard michaelg@maxt.com
Wed Apr 5 13:53:00 GMT 2006


Already done that.

This is what I got:

InitRxRing 0
ResetRxRing 0
InitTxRing 0
ResetTxRing 0
Device 0 (eth0), rx descriptor 0:
Rx 0 12e160 (status 8000a022): 1 sg's, 60 bytes
Device 0 (eth0), rx descriptor 0:
Rx 0 12e160 (status 8000a022): 1 sg's, 60 bytes
Device 0 (eth0), rx descriptor 0:
Rx 0 12e160 (status 8000a022): 1 sg's, 60 bytes
Device 0 (eth0), rx descriptor 0:
Rx 0 12e160 (status 8000a022): 1 sg's, 60 bytes
Device 0 (eth0), rx descriptor 0:
Rx 0 12e160 (status 8000a022): 1 sg's, 60 bytes
Device 0 (eth0), rx descriptor 0:
Rx 0 12e160 (status 8000a022): 1 sg's, 60 bytes
Device 0 (eth0), rx descriptor 0:
Rx 0 12e160 (status 8000a022): 1 sg's, 60 bytes
Device 0 (eth0), rx descriptor 0:
Rx 0 12e160 (status 8000a022): 1 sg's, 60 bytes
Device 0 (eth0), rx descriptor 0:
Rx 0 12e160 (status 8000a022): 1 sg's, 60 bytes
Device 0 (eth0), rx descriptor 0:
Rx 0 12e160 (status 8000a022): 1 sg's, 60 bytes
Device 0 (eth0), rx descriptor 0:
Rx 0 12e160 (status 8000a022): 1 sg's, 60 bytes
ASSERT FAIL: <5>if_i82559.c[2370]i82559_can_send() send: Excess send
recursions
ASSERT FAIL: <5>if_i82559.c         [2370] i82559_can_send()         


All I do is ping eCos three times.


Michael

                     
-----Original Message-----
From: ecos-discuss-owner@ecos.sourceware.org
[mailto:ecos-discuss-owner@ecos.sourceware.org] On Behalf Of Andrew Lunn
Sent: April 5, 2006 9:37 AM
To: Michael Grimard
Cc: ecos-discuss@sourceware.org
Subject: Re: [ECOS] RE: Trouble using lwIP (driver crash...)

On Wed, Apr 05, 2006 at 09:13:51AM -0400, Michael Grimard wrote:
> I have this version. I get the sources last week.
> 
> I think the problem is not lwIP but the i82559 driver for i386 target.
> 
> Does anyone has tried lwIP with i386 target and i82559 ethernet driver?
> 
> Each time the driver receives a packet, it crashes with:
> 
> ASSERT FAIL: <5>if_i82559.c [2008]PacketRxReady() No prev EL
> 
> or
> 
> ASSERT FAIL: <5>if_i82559.c[2370]i82559_can_send() send: Excess send
> recursions

Try enabling DEBUG_82559. That might give a clue as to why sending is
going recursive with a depth of more than 10, and what is going wrong
with the end of list marker.

        Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list