This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Trouble using lwIP (driver crash...)


I ran udpecho with the same problem. I boost the "Size of per thread stack
in lwIP" to 32Kb and still got the same problem.

I enabled CYGFUN_KERNEL_ALL_THREADS_STACK_CHECKING and now I got:

ASSERT FAIL: <5>if_i82559.c[2370]i82559_can_send() send: Excess send
recursions


Before using lwIP, I was using FreeBSD and every eCos tests passed. Now I am
not able to build all the tests. In eCos Configuration Tool, Build Tests
stops with:

/home/michaelg/ecos/build/ecos_lwip_install/lib/extras.o: In function
'_GLOBAL__I.55000__home_michaelg_ecos_ecos_packages_compat_posix_current_src
_startup.cxx_75E51868_B69D580C':
make[1]: Leaving directory
'/home/michaelg/ecos/build/ecos_lwip_build/kernel/current'
/home/michaelg/ecos/ecos/packages/compat/posix/current/src/startup.cxx:(.bss
.statistics+0x0): multiple definition of 'statistics'
make: Leaving directory '/home/michaelg/ecos/build/ecos_lwip_build'
tests/stress_threads.o:/home/michaelg/ecos/ecos/packages/kernel/current/test
s/stress_threads.c:724: first defined here

/home/michaelg/ecos/gnutools/i386-elf/bin/../lib/gcc/i386-elf/3.4.5/../../..
/../i386-elf/bin/ld: Warning: size of symbol 'statistics' changes from 92 in
tests/stress_threads.o to 32 in
/home/michaelg/ecos/build/ecos_lwip_install/lib/extras.o
collect2: ld returned 1 exit status
make[1]:
***[/home/michaelg/ecos/build/ecos_lwip_install/tests/kernel/current/tests/s
tress_threads] Error 1
make: *** [tests] Error 2


I ran thread0, thread1 and kthread1 without problems.

Do you think of some particular tests that I should run?


Thanks,
Michael


-----Original Message-----
From: uwe_kindler@web.de [mailto:uwe_kindler@web.de] 
Sent: April 4, 2006 11:45 AM
To: ecos-discuss@sourceware.org; michaelg@maxt.com
Subject: Re: [ECOS] Trouble using lwIP (driver crash...)

Did you ran any other lwip test successfully? Does the tcpecho, udpecho 
and sockets tests work properly. Did you ran any other eCos tests 
successfully?


 >Stack base corrupt - i: 0
 >...
 >...
 >ASSERT FAIL: <A>thread.inl[119]void Cyg_HardwareThread::check_stack() 
 >Stack
 >base corrupt
 >
 >Any idea what causes this?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]