rtai-24.1.11-pre3 plus ADEOS
Hi all.
I've been testing a bit the 2.4.11-pre3 plus the ADEOS patch. I've found the following behaviour:
My test have a periodic task(T1 with 1 ms period), an sporadic task(T2) and an interrupt handler. The periodic task, in each period, set a bit over the parallel port, this write activates the correspondent interrupt. The interrupt handler uses a semaphore to signal this event to the sporadic task which reset the bit
First Test:
linux-2.4.19, rtai 2.4.11-pre3 with ADEOS patch, newlxrt
scheduler, T1 priority <= T2 priority
User Land(newlxrt) : OK
Kernel Land: OK
Second Test::
Same as above but the T1 priority >T2 priority, so the signal in the
interrupt handler results in T2 execution before exit from the interrupt handler.
User Land(newlxrt): KO The system freeze.
Kernel Land: OK
Both tests go fine with the rthal patch.
Regards,
Juan Antonio
Hi,
Quoted 18 lines · Juan Antonio Garcia
Hi all.
I've been testing a bit the 2.4.11-pre3 plus the ADEOS patch. I've found the following behaviour:
My test have a periodic task(T1 with 1 ms period), an sporadic task(T2) and an interrupt handler. The periodic task, in each period, set a bit over the parallel port, this write activates the correspondent interrupt. The interrupt handler uses a semaphore to signal this event to the sporadic task which reset the bit
First Test:
linux-2.4.19, rtai 2.4.11-pre3 with ADEOS patch, newlxrtscheduler, T1 priority <= T2 priority
User Land(newlxrt) : OK
Kernel Land: OK
Quoted 8 lines
Second Test::
Same as above but the T1 priority >T2 priority, so the signal in the
interrupt handler results in T2 execution before exit from the interrupt handler.
User Land(newlxrt): KO The system freeze.
Kernel Land: OKBoth tests go fine with the rthal patch.
Ok. I'll try to reproduce this bug asap and let you know. Thanks for helping.
Philippe.