On 16/04/19 09:08, Sardar Vayghannezgad wrote:
1. in my time installing Machinekit repos from here, I was stuck over installing this RT-Kernel. So I posted a question on the forum to fix things. I might be off the point here, but I was told to go 
cd /opt/scripts/tools/
git pull
sudo ./update_kernel.sh --ti-rt-channel --lts-4_4
Does this account for my present problem?

Your present problem is that the kernel you are trying to use is NOT realtime

The kernel name string does NOT say '-rt' despite the update script specifying '-ti-rt'

Also don't understand how you specified a 4.4 kernel to the update script and get a 4.14 kernel (4.14.108-ti-r104 #1 SMP PREEMPT)
( various revisions of which are known to be flaky and have caused all sorts of problems in the past )


2. A couple hours ago and with help of here, I dag into some directory to find a file named Makefile.inc. Its opening lines look like (see yellow lines for supposedly important parts)

The 'some' directory you dug into is under /usr/share/linuxcnc.

This reference to flavours, all relates to the same issue but not in any way that will help you.  So don't waste time changing things to try and beat the system.
If somehow you convinced machinekit that your kernel was realtime, it still would not work, because it isn't realtime.

The bottom line is that you need a kernel that is realtime preempt

RCN's kernels are all here http://repos.rcn-ee.com/debian/pool/main/l/linux-upstream/

You will see there are lots which are <kernel-num>-ti-r<revision-num> like yours
and then there are <kernel-num>-ti-rt-r<revision-num>  which are the realtime kernels.

It will be one of those you want and I would suggest a 4.9 kernel which is stable and well proved.


--
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 [email protected].
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to