Re: RTAI in debian9
Paolo Mantegazza <[email protected]> Fri, 23 Feb 2018 17:56:37 +0000
| Newsgroups | gmane.linux.real-time.rtai |
|---|---|
| Message-ID | <HE1PR0601MB2458DAF4240CDD54BB235FEA90CC0@HE1PR0601MB2458.eurprd06.prod.outlook.com> |
May you try the "testsuite/user/latency" test, in your RTAI install dir, after saving and substituting the existing "run" script with the one below and then let me know what happened?
Do it on an unloaded machined and, if possible, after seeing a stabilized average latency, attach to your answer also a short snapshot of what appears on the screen.
Thanks, Paolo
-----------------------------------------------------------------------------------------------------------
#!/bin/sh
prefix=`rtai-config --prefix`
if test "$prefix" = ""; then
echo "ERROR: please set your PATH variable to <rtai-install>/bin"
exit
fi
MODULES=$prefix/modules
libpath=`rtai-config --library-dir`
if test "$libpath" = ""; then
echo "ERROR: please set your PATH variable to <rtai-install>/bin"
exit
fi
export LD_LIBRARY_PATH=$libpath:$LD_LIBRARY_PATH
cleanup () {
rmmod rtai_msg
rmmod rtai_mbx
rmmod rtai_sem
rmmod rtai_sched
rmmod rtai_hal
}
trap cleanup INT ALRM TERM HUP KILL
insmod $MODULES/rtai_hal.ko
insmod $MODULES/rtai_sched.ko kernel_latency=0 user_latency=0
insmod $MODULES/rtai_sem.ko;
insmod $MODULES/rtai_mbx.ko;
insmod $MODULES/rtai_msg.ko;
./latency &
until(`ps -a | grep -q latency`); do sleep 1; done
./display
cleanup
-----------------------------------------------------------------------------------------------
________________________________________
From: josu jugo [[email protected]]
Sent: Friday, February 23, 2018 5:37 PM
To: Paolo Mantegazza
Cc: RTAI RTAI
Subject: Re: [Rtai] RTAI in debian9
Hi again:
I have test a simple program obtained with rtai-lab (scicoslab version), monitoring with qrtailab and the system is working.
I have load rtai_sched with kernel_latency=1000 and user_latency=1000
josu
On 23 Feb 2018, at 12:51, josu jugo <[email protected]<mailto:[email protected]>> wrote:
_______________________________________________
Rtai mailing list
[email protected]
https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai