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: Re: Problems with "Scheduler lock not zero"


Hello,

We are doing tests now with big UDP and TCP packets, bigger than the Ethernet MTU size, so IP has to fragment the packets.
Then, from time to time, we have the error "Scheduler lock not zero".
Has anybody experience with IP fragmented packets in ecos?

Øyvind Harboe wrote:
On 11/7/06, Andrew Lunn <andrew@lunn.ch> wrote:

Hi Folks

I think it is unlikley this is your problem, but i will mention it
anyway. I once had an assertion failure in the same place. It was
caused by a thread exiting with the scheduler locked.

Another thing to check is do you have an spurious interrupts. There
has been problems on the ARM platform not correctly dealing with
this. Since spurious interrupts generally means broken hardware, its
not the easiest thing to test and debug.


After fixing a bug in our DDR controller(implemented in FPGA), we can
no longer reproduce the problem..... Crossing fingers.... :-)

It is hard enough to tell how a system behaves when it works, but to
explain what possible a *nearly* working DDR controller could result
in, is pretty much impossible.

The main symptom of our broken DDR controller was that the whole
system locked up. We'll run some more overnight testing, but it looks
like the  "Scheduler lock not zero" assert failure was just another,
albeit unfatohmable, manifestation of that same problem.


This will be the first thing to investigate I guess.


--
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]