[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rtl] Determinism requires a well defined stack



On Wed, Sep 06, 2000 at 09:01:04AM -0500, Sheldon Hoffman wrote:
> And as Victor says that, it would also add additional time, albeit
> only a few instructions, to the processing of each interrupt.

Cache misses too!

> The fifo handler gets control, processes the "command" (from the
> linux process to initialize the card) correctly and exits.  Then the
> machine freezes and I have to power boot it.  I see plenty of

What's the fifo handler code? Remember this code runs in Linux kernel 
context, not RT context.

> Strangely, this is not repeatable.  When I reboot and rerun the
> test, it works perfectly!  The card initialization code is identical
> to the code that works with the DOS software.  So I'm reasonably
> sure that I'm not mucking up something with the pci-das-1602.
> Besides, all the initialization appears to run correctly (from
> the messages I see on the mono monitor).

I think it's a hardware init problem. Try using rtl_no_interrupts
around the init code.



-- 
---------------------------------------------------------
Victor Yodaiken 
Finite State Machine Labs: The RTLinux Company.
 www.fsmlabs.com  www.rtlinux.com