- Posts: 32
- Thank you received: 0
rtapi -- uspace -- "Using POSIX non-realtime"
I have the same problem in a: Debian 10 4.19.0-14-rt-amd64 kernel.
Where can I check the last patch available?
Thanks a lot!
Please Log in to join the conversation.
Did you compile the RT kernel yourself? (And, if so,. why?)
Did you compile linuxCNC yourself? (and, if so, why?)
What does uname -a say?
Please Log in to join the conversation.
andypugh wrote: Are you sure that you have the same issue as this thread is discussing? /quote]
I'm a beginner and have this one:
"Failed to get reference clock time: Input/output error
Shutting down and cleaning up LinuxCNC...
task: 66304 cycles, min=0.000047, max=0.044388, avg=0.001064, 2 latency excursions (> 10x expected cycle time of 0.001000s)
Note: Using POSIX non-realtime
avc@avc:~/LinuxCncRip/scripts$ "
Did you compile the RT kernel yourself? (And, if so,. why?)/quote wrote:
Firstly I tried to install:
"LinuxCNC 2.8.0 Debian 10 Buster PREEMPT-RT ISO"
from the main page of download, but I had to install the headers and I wasn't able to find the headers for the kernel of this versión and installed the newer ones.
Did you compile linuxCNC yourself? (and, if so, why?)/quote wrote:
I'm trying to install EtherCAT Hal driver and a RIP installation is needed.
What does uname -a say?
avc@avc:~$ uname -a
Linux avc 4.19.0-14-rt-amd64 #1 SMP PREEMPT RT Debian 4.19.171-2 (2021-01-30) x86_64 GNU/Linux
avc@avc:~$
Thanks a lot!!
Please Log in to join the conversation.
./configure --with-realtime=uspace
Please Log in to join the conversation.
I have found a text file with the terminal out from when I did it.
Itś more, I had to do several times due to other problems and the first ones I had to apply:
configure --with-realtime=uspace --enable-non-distributable=yes
Is it the Kernel right?
V-max
Please Log in to join the conversation.
It should be
make
sudo make setuid
I would suggest cleaning up and trying again.
sudo make clean
make clean
./autogen.sh
./configure --with-realtime=uspace
Please Log in to join the conversation.
Done but...
During the first try to start Linuxcnc there is not Posix note.
I do chmod 777 to rtapi_app and appear again the Posix note.
Thanks.
Please Log in to join the conversation.
Please Log in to join the conversation.
"sudo make setuid" changes some permissions, but that is all that should be changed, and you should use the script, not do it by hand.
Please Log in to join the conversation.
Thanks a lot for your help and sorry for the delay, I'm in a hurry lately.
I did CHMOD because I had permission problems:
avc@avc:~/LinuxCncRip/src$ sudo make setuid
chown root ../bin/rtapi_app
chmod 4750 ../bin/rtapi_app
chown root ../bin/linuxcnc_module_helper
chmod 4750 ../bin/linuxcnc_module_helper
avc@avc:~/LinuxCncRip/src$ cd ..
avc@avc:~/LinuxCncRip$ cd scripts/
avc@avc:~/LinuxCncRip/scripts$ . ./rip-environment
avc@avc:~/LinuxCncRip/scripts$ linuxcnc
LINUXCNC - 2.8.1
Machine configuration directory is '/home/avc/linuxcnc/configs/Maquina_ethercat'
Machine configuration file is 'maquinaEthercat.ini'
Starting LinuxCNC...
Found file(REL): ./maquinaEthercat.hal
./maquinaEthercat.hal:6: execv(/home/avc/LinuxCncRip/bin/rtapi_app): Permission denied
./maquinaEthercat.hal:6: waitpid failed /home/avc/LinuxCncRip/bin/rtapi_app trivkins
./maquinaEthercat.hal:6: /home/avc/LinuxCncRip/bin/rtapi_app exited without becoming ready
./maquinaEthercat.hal:6: insmod for trivkins failed, returned -1
Shutting down and cleaning up LinuxCNC...
/home/avc/LinuxCncRip/scripts/realtime: line 176: /home/avc/LinuxCncRip/bin/rtapi_app: Permission denied
LinuxCNC terminated with an error. You can find more information in the log:
/home/avc/linuxcnc_debug.txt
and
/home/avc/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
avc@avc:~/LinuxCncRip/scripts$ cd ..
avc@avc:~/LinuxCncRip$ cd bin/
avc@avc:~/LinuxCncRip/bin$ sudo chmod 777 rtapi_app
avc@avc:~/LinuxCncRip/bin$ cd ..
avc@avc:~/LinuxCncRip$ cd scripts/
avc@avc:~/LinuxCncRip/scripts$ linuxcnc
LINUXCNC - 2.8.1
Machine configuration directory is '/home/avc/linuxcnc/configs/Maquina_ethercat'
Machine configuration file is 'maquinaEthercat.ini'
Starting LinuxCNC...
Found file(REL): ./maquinaEthercat.hal
Note: Using POSIX non-realtime
.
.
.
.
Please Log in to join the conversation.
