ts-7000
[Top] [All Lists]

Re: [ts-7000] Problem with RTAI user test

To:
Subject: Re: [ts-7000] Problem with RTAI user test
From:
Date: Thu, 22 Mar 2007 12:53:38 -0500

My guess is that one of the libraries isn't being loaded.  There are different modules used for kernel and user space -- and order matters.

I have not had much luck with the rtai-load script, which is supposed to load libraries automatically based on a .runinfo file.

Try loading the libraries manually:
        /sbin/insmod /usr/realtime/modules/rtai_hal.o
        /sbin/insmod /usr/realtime/modules/rtai_ksched.o
        /sbin/insmod /usr/realtime/modules/rtai_lxrt.o
        /sbin/insmod /usr/realtime/modules/rtai_sem.o
        /sbin/insmod /usr/realtime/modules/rtai_mbx.o
        /sbin/insmod /usr/realtime/modules/rtai_msg.o

and then load the latency tests manually:
        ./latency &
        ./display

BTW... the contents of the .runinfo file in user/latency are
        latency:lxrt+sem+mbx+msg:!./latency &;sleep 1;./display;popall:control_c

which is where I got the manual order.

I don't know if manually this cleans up everything nicely... so you might have to kill the latency app manually.



wrote on 03/21/2007 09:56:51 AM:

> I meet some problems while running the RTAI tests (under TS8 kernel
> with ADEOS patch, with TSlinux and sh shell). I extracted the
> ts7200_rtfiles_obf_dev.tar.gz, and went to /usr/realtime/testsuite/
>
> When I launch any test located in the "kernel" subdirectory of
> "testsuite" : no problem.
> But when I try to do the same with a test in "user" subdirectory, I
> got errors.
>
> Example with the latency test :

> $ pwd
> /usr/realtime/testsuite/user/latency
> $ ./run
> /usr/realtime/bin/rtai-load: 85: Syntax error: Bad fd number
> *
> *
> * Type ^C to stop this application.
> *
> *
> /usr/realtime/bin/rtai-load: 250: Syntax error: Bad fd number
> Using /usr/realtime/modules/rtai_hal.o
> RTAI[hal]: mounted (PIPED).
> Adeos: Domain RTAI registered.
> RTAI[hal]: 3.2 mounted over Adeos 2.4r17c3/arm-ep9301.
> RTAI[hal]: compiled with gcc version 3.3.4.
> /usr/realtime/bin/rtai-load: 250: Syntax error: Bad fd number
> Using /usr/realtime/modules/rtai_lxrt.o
> RTAI[malloc]: kmalloced extent c05a0000, size 131072.
> RTAI[malloc]: loaded (global heap size=131072 bytes).
> RTAI[sched_lxrt]: loaded (PIPED, UP, KERNEL/USER SPACE).
> RTAI[sched_lxrt]: timer=periodic (TIMER1),.
> RTAI[sched_lxrt]: standard tick=100 hz, CPU freq=983040 hz.
> RTAI[sched_lxrt]: timer setup=3052 ns, resched latency=3052 ns.
> Using /usr/realtime/modules/rtai_sem.o
> Using /usr/realtime/modules/rtai_mbx.o
> Using /usr/realtime/modules/rtai_msg.o
> latency: applet not found
> CANNOT FIND MAILLXRT releases PID 310 (ID: display).
> BOX
> /usr/realtime/bin/rtai-load: 250: Syntax error: Bad fd number

>
>
> If you have an idea about this "applet not found" with user tests...
>
> Thanks for help.
>
> Regards
>
> Julien
>
>
__._,_.___


SPONSORED LINKS
Single board computer Hardware Computer running slow
Linux os Single board

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU