I installed according to the machinekit.io Getting Started page for Debian 
Stretch on amd64. That means apt configure, intall kernel and then runtime 
packages. I did not build machinekit from sources. Beyond that I have not 
installed anything associated with Machinekit. After installing runtime 
packages, I ran Latency Test from the drop down menu in Gnome and then 
Xfce. I did run latency-test  25us and 1ms. That gave jitter number in both 
servo and base, but according to linuxcnc.log,rtapi:0 stopped so the 
numbers are simulation based.

As for being directed to LinuxCNC earlier,  I don't know when that 
happened, but I am not as young as I once was.

As for LinuxCNC, their documentation states that Preempt RT is necessary 
for 64 bit (amd64). That is probably not the same kernel as RT-Preempt.

I am unclear as to why software stepping on my core i5 with rt-preempt 
kernel won't work. Perhaps the Debian Stretch with "amd64" platform should 
notify potential users that amd64 does not include Intel 64 bit chips.

On Saturday, November 18, 2017 at 11:08:08 AM UTC-7, Schooner wrote:
>
> Can you please elaborate
>
> Have you installed packages, if so which ones?
>
> Rather sounds as if you have built machinekit from sources, if you have 
> somewhere to try running 'sudo make setuid' ?
> In which case you presumably have not completed the building properly.
>
> The whole latency-test issue rather suggests you are operating under the 
> misapprehension that you can do software stepping on an x86 with rt-preempt 
> kernel.
> You can't.
>
> The reason there is no base thread reading by default in latency-test, is 
> that the various hardware step generation methods used ( BBB PRU, 
> DE0-NANO-Soc, Mesa boards)
> do not require a base thread.
>
> The rtai kernel based Linuxcnc distro you were pointed to earlier is where 
> you need to go if you want to run a machine off the parport with software 
> stepgen.
>
> On Saturday, 18 November 2017 17:35:44 UTC, Jeff Washburn wrote:
>>
>> I have loaded Machinekit on an Intel Core i5 3400 series and on Debian 
>> Stretch. Flavor is rt-preempt. When I run Latency Test, I get the subject 
>> message in the linuxcnc.log file as it is starting up. When I run 
>> latency-test in root, then I get a mesage saying the rtapi_app is not root. 
>> Thus, lack of root privilege stops rtapi_app.
>>
>> How do I give rtapi_app root privilege? Somebody might suggest 'sudo make 
>> setuid' running from /src. I've tried it and get an error: 'no rule to make 
>> target 'setuid''. I am guessing that make operates with setuid, which I 
>> don't have.
>>
>

-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to machinekit+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to