[etherlab-users] RTai sample system frooze

Richard Hacker (MSc Eng) ha at igh-essen.com
Fri May 22 14:22:40 CEST 2009


On Friday 22 May 2009 12:20, Gianluca Medini Eurosoft Srl wrote:
> I've the module rtai working but if and only if I avoid to call spin_lock
> and spin_unlock; perhaps I'm missing an rtai module ?
No, you're not missing a special module - you cannot use locking in your 
realtime system! You need other techniques! A lot of kernel functionality, 
actually ALL kernel functionality that relies on locking, is not available 
when inside an RTAI loop.

- Richard

> Regards
>
>
>
> ----- Original Message -----
> From: "Richard Hacker (MSc Eng)" <ha at igh-essen.com>
> To: <etherlab-users at etherlab.org>
> Cc: "Gianluca Medini Eurosoft Srl" <gianluca at eurosoft.191.it>
> Sent: Friday, May 22, 2009 8:50 AM
> Subject: Re: [etherlab-users] RTai sample system frooze
>
> On Thursday 21 May 2009 18:58, Gianluca Medini Eurosoft Srl wrote:
> > Hy all.
> > I'm a new user of etherlab and I've tested successfully the mini kernel
> > space example. I've made minimal modification to match my hardware (a
> > simple EL 2002 ouput terminal) and everithing works fine. I'm using a
> > 2.6.19.7 kernel.
> > Tried to make the same with RTAI 3.5, problems.
> > If I comment don't call task_make_periodic no problem (any problem listed
> > from dmesg) , but if called the system hangs. Any idea ?
>
> Have you run the examples/testsuite in the RTAI package, most notably
> /usr/realtime/testsuite/kern/latency/?
>
> - Richard
>
> > Thank in advance
> > Gianluca Medini

-- 
------------------------------------------------------------------------

Richard Hacker
Ingenieurgemeinschaft IgH
Gesellschaft für Ingenieurleistungen mbH
Heinz-Baecker-Str. 34
D-45356 Essen
Tel.: +49 201 / 360-14-16
Fax.: +49 201 / 360-14-14
Mobil: +49 175 6822089
E-mail: ha at igh-essen.com

------------------------------------------------------------------------



More information about the Etherlab-users mailing list