Great information for me. I have been speculating different possibilities
since morning today, and finally realized that I have a good number of
kernels already installed on my BBB!!! Touch wood, there are 4 actually!!
ii linux-image-4.14.108-ti-r104 1stretch
armhf Linux kernel, version 4.14.108-ti-r104
ii linux-image-4.14.108-ti-rt-r104 1stretch
armhf Linux kernel, version 4.14.108-ti-rt-r104
ii linux-image-4.14.94-ti-r94 1stretch
armhf Linux kernel, version 4.14.94-ti-r94
ii linux-image-4.4.155-ti-rt-r153 1stretch
armhf Linux kernel, version 4.4.155-ti-rt-r153
So, does this account for the system not finding the *rt-preempt* kernel,
and instead tune to *posix*, as *Schooner* previously described in their
first response? Not exactly sure from where on my installation journey(!),
but I do recall that I was supposed to work with
*linux-image-4.4.155-ti-rt-r153.*
*Questions*
1. As I want to avoid the lengthy path of installing everything from
scratch, I want to start removing all the other three kernels and maintain
the linux-image-4.4.155-ti-rt-r153. Reasonable, you think? Or can you
experts tell right off the bat that this kernel will not work out either?
2. I have been following this page
<https://machinekoder.com/machinekit-debian-stretch-beaglebone-black/>to
install my M.K on the BBB. Can anyone help me with the command offered in
that link under the title '*Install the RT Kernel'*, in case I want to
install another kernel (e.g. a 4.9 one, as Schooner suggested). what
should I change that command into?
Thanks everyone for your time.
On Tuesday, April 16, 2019 at 5:29:42 PM UTC+3, Schooner wrote:
>
>
> On 16/04/19 09:08, Sardar Vayghannezgad wrote:
>
> 1. in my time installing Machinekit repos from here
> <https://machinekoder.com/machinekit-debian-stretch-beaglebone-black/>, I
> was stuck over installing this RT-Kernel. So I posted a question on the
> forum <https://groups.google.com/forum/#%21topic/machinekit/hwIil4zJDwo>
> 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
> <https://github.com/machinekit/machinekit/issues/1060>, 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.