Michel Doyon wrote:
> 
> Hi,
> 
> I am using a DUAL CPU P-III 500 with RTAI.
> 
> I want to have a fifo handler release a semaphore that a task blocks on.
> I managed to make it work more or less but after say 5 to 10 release of
> the semaphore through the fifo handler following a user space command to issue
> the semaphore release I get the following error message in
> /var/log/messages:
> 
> unexpected IRQ vector 209 on CPU#0!
> 
> or
> unexpected IRQ vector 209 on CPU#1!
> 
> depending on which CPU I put the task.
> 
> Any idea what is that ?
> Where is is coming from and how I could get rid of it !
> 
> The basic test I want to make here is to have the fifo handler control
> the execution of a rt_task (initialized with rt_task_init) asynchronuously
> when the user decides that the task should run.
> 
> Then, my main goal will be to test how much time it takes between the
> time
> a cpu release a semaphore and another CPU can stop blocking on a
> rt_sem_wait. and executes its task.
> 
> For now I want to make sure that I understand properly the mechanism and
> that error puzzles me somehow.
> 
> You help or advice would be appreciated.
> 
> Thank you
> 
> Michel

Hi Michael,

Have you tried this code on a uniprocessor ?? If so what were the
results.  
Can you post the code so we can take a look, or try it on our SMP
machines ??.

The only time I have seen this kind of message is on SMP systems, where
I have run the RTAI copyto on a linux kernel where which didn't match
rtai.c (the irq_desc_t structure definitions didn't match).  This is
probably not your problem as this is usually fatal almost immediately
when you insert rtai, but I thought it may be relevant as the symtom is
the same.

Regards, Stuart
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/

Reply via email to