On 18/11/17 19:14, Jeff Washburn wrote:
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.

All computers for the last 15 years approx have been amd64.  You can still run i386 on them however.

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.

It is nothing to do with the processor, what matters is the kernel

I have a single core Pentium P4 which will run all day with a homebrew 3.5.7 rtai kernel at 5k max jitter

machinekit is not an alternative to Linuxcnc that supports later distros,
It has ended up specialising in supporting boards and processors using hardware stepping on ubiquitous kernels (rt-preempt and xenomai)

Add a 5i25 - 7i76 combo and a rt-preempt kernel on Stretch with x86, will run perfectly, I have it in my workshop.

If you want software stepping, rtai is the only way to go and machinekit no longer supports it.


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.

--
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