rtapi -- uspace -- "Using POSIX non-realtime"

More
5 years 7 months ago #203270 by V-max
Hi Andy, Thaks for reply!

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 or Create an account to join the conversation.

More
5 years 7 months ago #203323 by andypugh
In that case it does sound like you forgot

./configure --with-realtime=uspace

Please Log in or Create an account to join the conversation.

More
5 years 7 months ago #203418 by V-max
Hi andy
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 or Create an account to join the conversation.

More
5 years 7 months ago #203455 by andypugh
It is likely that the underlying problem is that you did "sudo make" so the ownership of you RIP install is wrong.

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 or Create an account to join the conversation.

More
5 years 7 months ago #203551 by V-max
Hi Andy

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 or Create an account to join the conversation.

More
5 years 7 months ago #203693 by thang
seem you missed command "sudo make setuid" after make lcnc

Please Log in or Create an account to join the conversation.

Time to create page: 0.067 seconds
Powered by Kunena Forum