Good catch Peter. I did not notice where it was looking for /sbin/sysctl. I don't know how many times i had looked at the error logs.
However the file and path both exist. When I run /sbin/sysctl -a the variable "net.ipv6.conf.eth0.disable_ipv6" does not exist. In fact no "net.ipv6" variables exist. I believe this is turned off in the grub configuration kernel parameters.
Code:
quiet splash intel_idle.max_cstate=1 ipv6.disable=1 cgroup_enable=memory,cpu,cpuset swapaccount=1 usbcore.autosuspend=-1
I see that the missing directory is /proc/sys/net/ipv6
What is interesting is that this is the same for when I boot to the pathpilot partition and pathpilot works just fine.
To clear up how I am at the point I am at. I took an image of the existing pathpilot installation partition and replicated it to a new partition, lets call it the linuxcnc partition. I then installed linuxcnc 2.8.1 on the linuxcnc partition. I made a new configuration using information from the pathpilot .ini and .hal files to make a config that uses the linuxcnc 2.8 stuff and the pathpilot stuff.
I compiled the kernel 4.19.1-rt3 per Big John T's instructions for linux mint. That is what was installed on the pathpilot install from the factory.
Both of the kernels. 4.11.9-rt7 and 4.19.1-rt3 have terrible latency. Spikes between 100us and 200us are not uncommon. I have seen up to 215us.
I have not tried isolcpus yet. Do I put the isolcpus param in the grub line like the following? I have never had to do it to this point.
Code:
quiet splash intel_idle.max_cstate=1 ipv6.disable=1 cgroup_enable=memory,cpu,cpuset swapaccount=1 usbcore.autosuspend=-1 isolcpus=2,3
Peter, Thanks for the feedback on the use of the switch and the daughter cards for additional steppers. When I figure out if I can use the ECM1 card or not I will know which way to go.
What do you think about the sysctl issue and the latency issue?