ts-7000
[Top] [All Lists]

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

To:
Subject: [ts-7000] Re: Problem with RTAI user test
From: "Julien" <>
Date: Fri, 23 Mar 2007 07:58:26 -0000
Hello.

Thanx a lot for your help, you were right, apparently all libraries 
was not properly loaded by the script.

I entered all your commands and it works !

About cleaning, yeah the latency app is not terminated when pressing 
ctrl+c, just have to make a "ps -aux" and then kill the right process.

Again, thank you.

Regards.

Julien

--- In   wrote:
>
> 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
> > 
> >
>




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

<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