On 2/20/2019 12:09 AM, Condit Alan wrote:
OK here are the test results:
machinekit@beaglebone:~$ cat /sys/kernel/realtime
1
machinekit@beaglebone:~$ cat /boot/config-4.19.23-bone-rt-r23 | grep
CONFIG_PREEMPT_RT_FULL=y
CONFIG_PREEMPT_RT_FULL=y
machinekit@beaglebone:~$ uname -a
Linux beaglebone 4.19.23-bone-rt-r23 #1stretch PREEMPT RT Tue Feb 19
17:12:46 UTC 2019 armv7l GNU/Linux
machinekit@beaglebone:~$
I am getting some errors on the Axis screen but I am running inside
without a controller attached.
However, that said, it boots with no problem and starts machinekit. So
I guess the next step is to take the
BBB back out to the shop and try running the machine!
Schooner, you said rtapi.c tests for cat
/boot/config-4.19.23-bone-rt-r23| grep CONFIG_PREEMPT_RT_FULL=yes but
that test failed, I looked at the config and saw that
CONFIG_PREEMPT_RT_FULL was set to “y” not “yes”. Did you really
mean “yes” or is “y” OK?
I didn't say that, I just asked you to do it because I suspected the
config was not properly set.
The test in rtapi_compat.c is just for /sys/kernel/realtime which is
always 1 for a rt-preempt kernel
I copied what was in my current kernel config, but I think I have seen
both, =y and =yes, =y especially regards modules in a kernel.
Anyway looks like it is sorted now, thanks Robert
Thanks,
Robert and Schooner
On Feb 19, 2019, at 12:43 PM, Robert Nelson <[email protected]
<mailto:[email protected]>> wrote:
On Tue, Feb 19, 2019 at 11:06 AM Robert Nelson
<[email protected] <mailto:[email protected]>> wrote:
On Tue, Feb 19, 2019 at 10:26 AM Condit Alan <[email protected]
<mailto:[email protected]>> wrote:
Schooner and Robert,
OK, here is what I see when I run those tests. Rather than grep the
results of uname -r, I just printed out uname -r.
machinekit@beaglebone:~$ cat /sys/kernel/realtime
cat: /sys/kernel/realtime: No such file or directory
machinekit@beaglebone:~$ cat /boot/config-4.19.23-bone-rt-r22 |
grep CONFIG_PREEMPT_RT_FULL=yes
machinekit@beaglebone:~$
machinekit@beaglebone:~$ uname -a
Linux beaglebone 4.19.23-bone-rt-r22 #1stretch Sat Feb 16 22:07:49
UTC 2019 armv7l GNU/Linux
Actually looking at /boot/config-4.19.23-bone-rt-r22 here is what I
found with respect to CONFIG_PREEMPT_*
CONFIG_HAVE_PREEMPT_LAZY=y
CONFIG_PREEMPT_NONE=y
# CONFIG_PREEMPT_VOLUNTARY is not set
# CONFIG_PREEMPT__LL is not set
# CONFIG_PREEMPT_RTB is not set
# CONFIG_PREEMPT_RT_FULL is not set
Ah Crap, 22 builds into the v4.19.x branch and we missed that...
https://github.com/RobertCNelson/bb-kernel/commit/b84cdf5a972d5e9f4347a37d6fa486ce92ab0c6b
pushing to build farm right now.
and now available:
sudo /opt/scripts/tools/update_kernel.sh
Regards,
--
Robert Nelson
https://rcn-ee.com/
--
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.