PNCconf encountered an error

More
6 years 11 months ago #150555 by little_sparky
Hi All,

I tried to test my motors after a fresh install of linux cnc and recieved this message.

Does anyone know how to solve?



Thank you in advance!

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

More
6 years 11 months ago #150557 by cmorley
What version of linuxcnc?

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

More
6 years 11 months ago #150558 by cmorley
I bet 2.7.14 - there is a fix for this but it hasn't been released yet.

It's a one line change if you want to try to fix it yourself.

change (aprox line 1641 in /usr/bin/pncconf:
Code:
elif hal.is_rt and not hal.kernel_version == actual_kernel:
to
Code:
elif hal.is_kernelspace and hal.kernel_version != actual_kernel:

See if that works. Not that many people use RTAI any more

Chris

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

More
6 years 11 months ago #150559 by little_sparky
I downloaded the "linuxcnc-stretch-uspace-i386-r13.iso" image which gave me version 2.7.14.

In the future I need to download 2.8 or master to run PlasmaC but am unable to for some reason. Have that discussio thread here forum.linuxcnc.org/39-pncconf/37798-mesa...-board-found?start=0

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

More
6 years 11 months ago #150560 by little_sparky

cmorley wrote: Not that many people use RTAI any more


how do you know it is RTAI?

I was meant to download RTPREEMPT as I am using a mesa board.

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

More
6 years 11 months ago #150561 by cmorley
An educated guess based on the error. That is what the line of code is doing - figuring out what kind of realtime system is being used.

In a terminal:
uname -r

should let you know what kernel you are using in general:
RTAI will have rtai in the name
Preemptive will have _rt in the name
most others will have generic in the name

Chris

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

Moderators: cmorley
Time to create page: 0.144 seconds
Powered by Kunena Forum