Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Aaaargeh!!!! This editor is absolutely unusable. I have spent 20 minutes trying to get this reply formatted right, in both the source view and the normal view. It simply isn't possible, and every time you change view it moves all the tags to the end.I installed LinuxCNC from the Debian 10 .iso onto a 16GB USB thumbdrive and successfully booted into it and then patched it with the RTAI kernel following "Section 7.2" steps in LinuxCNC install.
The very next step was to try to do a calibration run, following Andy's instruction:
% sudo /usr/realtime-4.19.195-rtai-amd64/calibration/run
For reference, on a VM I get this (but obviously the numbers are terrible, it's a VM)
[/code]Code:andypugh@buster:~/linuxcnc-dev/src$ sudo /usr/realtime-4.19.195-rtai-amd64/calibration/run password for andypugh: .runinfo is /usr/realtime-4.19.195-rtai-amd64/calibration/.runinfo No RTAI modules loaded. Running insmod on /usr/realtime-4.19.195-rtai-amd64/calibration/.runinfo... Cleaning up... RTAI successfully unloaded. Removing /tmp/runinfo... Done. andypugh@buster:~/linuxcnc-dev/src$ uname -a Linux buster 4.19.195-rtai-amd64 #5 SMP PREEMPT Sun Jul 11 19:13:27 BST 2021 x86_64 GNU/Linux andypugh@buster:~/linuxcnc-dev/src$ sudo /usr/realtime-4.19.195-rtai-amd64/testsuite/ display latency run andypugh@buster:~/linuxcnc-dev/src$ sudo /usr/realtime-4.19.195-rtai-amd64/testsuite/run .runinfo is /usr/realtime-4.19.195-rtai-amd64/testsuite/.runinfo No RTAI modules loaded. Running insmod on /usr/realtime-4.19.195-rtai-amd64/testsuite/.runinfo... RTAI testsuite and calibration tool (all data in nanoseconds) # period = 100000 (ns) # average time = 1 (s) RTH| lat min| ovl min| lat avg| lat max| ovl max| overruns RTD| -24427| -24427| 19500| 157239| 157239| 3 RTD| -24429| -24429| 19882| 170663| 170663| 4 RTD| -24472| -24472| 19432| 169168| 170663| 10 RTD| -24537| -24537| 18725| 152273| 170663| 14 RTD| -24427| -24537| 18696| 645448| 645448| 21 RTD| -24429| -24537| 19149| 185268| 645448| 27 RTD| -24419| -24537| 19021| 134501| 645448| 30 RTD| -24423| -24537| 19161| 154606| 645448| 31 RTD| -24432| -24537| 18565| 133818| 645448| 35 ^CRTD| -24432| -24537| 18565| 133818| 645448| 35 >>> S = 98.696, EXECTIME = 0.14951 Cleaning up... RTAI successfully unloaded. Removing /tmp/runinfo... Done. But on a real machine I get an error (Which I have seen before, Google gets you back here, but I don't recall the fix) [code]andypugh@rm-one:~$ sudo /usr/realtime-4.19.195-rtai-amd64/calibration/run [sudo] password for andypugh: .runinfo is /usr/realtime-4.19.195-rtai-amd64/calibration/.runinfo No RTAI modules loaded. Running insmod on /usr/realtime-4.19.195-rtai-amd64/calibration/.runinfo... Cleaning up... RTAI successfully unloaded. Removing /tmp/runinfo... Done. andypugh@rm-one:~$ sudo /usr/realtime-4.19.195-rtai-amd64/testsuite/run .runinfo is /usr/realtime-4.19.195-rtai-amd64/testsuite/.runinfo No RTAI modules loaded. Running insmod on /usr/realtime-4.19.195-rtai-amd64/testsuite/.runinfo... CANNOT FIND MAILBOX Cleaning up... RTAI successfully unloaded. Removing /tmp/runinfo... Done. The odd thing is that the second machine, if I run the normal linuxcnc "latency_test" gives me this, which is astonishingly good:
Please Log in or Create an account to join the conversation.