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

Re: [rtl] RTAI semaphore problem



Paolo Mantegazza wrote:
> 
> >
> > unexpected IRQ vector 209 on CPU#0!
> >
> > or
> > unexpected IRQ vector 209 on CPU#1!
> >
> 
> Does it happens just once? Which scheduler are you using? In any case
> 209 must be read 241 and is the vector for the interprocessor scheduling
> message, initialized when an APIC real time timer is installed. It seems
> that there is no rtai timer installed.
> 

Hi,
  yes I confirm that I had that problem at the begining.
Like paolo said, you need :

  rt_assign_irq_to_cpu(TIMER_8254_IRQ, TIMER_TO_CPU);
  start_rt_timer((int)nano2count(TICK_PERIOD));

before starting any rt_task.

Chris.

--
Kumsta Christophe
Machinery Agrobotic Fruit
<kumsta@easynet.fr>
Real-Time image processing developper
RT-Linux/RTAI ( Use the Source Luck !)