Skip to contentSkip to conversation

rtai-24.1.11-pre3 plus ADEOS

Adeos-main Juan Antonio Garcia 2 participants 2 messages Mar 3, 2003

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

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, newlxrt 

scheduler, 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: OK

Both tests go fine with the rthal patch.

Ok. I'll try to reproduce this bug asap and let you know. Thanks for helping.

Philippe.