machinekit@beaglebone:~$ machinekitMACHINEKIT - 0.1Machine configuration directory is '/home/machinekit/machinekit/configs/ARM.BeagleBone.PocketNC'Machine configuration file is 'PocketNC.ini'Starting Machinekit...Warning - /usr/libexec/linuxcnc/rtapi_app_posix not setuid'sudo make setuid' missing?rtapi_msgd command: /usr/libexec/linuxcnc/rtapi_msgd --instance=0 --rtmsglevel=1 --usrmsglevel=1 --halsize=524288rtapi_app command: /usr/libexec/linuxcnc/rtapi_app_posix --instance=0/usr/bin/realtime: line 237: /usr/libexec/linuxcnc/rtapi_app_posix: No such file or directoryrtapi_app startup failed; abortinghalcmd: cant connect to rtapi_app: -1 (uri= uuid=cbc792ea-1cc7-4bda-a949-9dd1552ce3bc): rtapi_rpc(): reply timeout
halcmd: the rtapi:0 RT demon is not running - please investigate /var/log/linuxcnc.logE: 19-04-15 10:33:22 dangling 'DEALER' socket created at hal/utils/halcmd_rtapiapp.cc:284io startedhalcmd: cant connect to rtapi_app: -1 (uri= uuid=cbc792ea-1cc7-4bda-a949-9dd1552ce3bc): rtapi_rpc(): reply timeout
halcmd: the rtapi:0 RT demon is not running - please investigate /var/log/linuxcnc.logE: 19-04-15 10:33:27 dangling 'DEALER' socket created at hal/utils/halcmd_rtapiapp.cc:284halcmd loadusr io startedhalcmd: cant connect to rtapi_app: -1 (uri= uuid=cbc792ea-1cc7-4bda-a949-9dd1552ce3bc): rtapi_rpc(): reply timeout
halcmd: the rtapi:0 RT demon is not running - please investigate /var/log/linuxcnc.logE: 19-04-15 10:33:33 dangling 'DEALER' socket created at hal/utils/halcmd_rtapiapp.cc:284halcmd: cant connect to rtapi_app: -1 (uri= uuid=cbc792ea-1cc7-4bda-a949-9dd1552ce3bc): rtapi_rpc(): reply timeout
halcmd: the rtapi:0 RT demon is not running - please investigate /var/log/linuxcnc.logE: 19-04-15 10:33:38 dangling 'DEALER' socket created at hal/utils/halcmd_rtapiapp.cc:284Shutting down and cleaning up Machinekit...halcmd: cant connect to rtapi_app: -1 (uri= uuid=cbc792ea-1cc7-4bda-a949-9dd1552ce3bc): rtapi_rpc(): reply timeout
halcmd: the rtapi:0 RT demon is not running - please investigate /var/log/linuxcnc.logE: 19-04-15 10:33:46 dangling 'DEALER' socket created at hal/utils/halcmd_rtapiapp.cc:284halcmd: cant connect to rtapi_app: -1 (uri= uuid=cbc792ea-1cc7-4bda-a949-9dd1552ce3bc): rtapi_rpc(): reply timeout
halcmd: the rtapi:0 RT demon is not running - please investigate /var/log/linuxcnc.logE: 19-04-15 10:33:51 dangling 'DEALER' socket created at hal/utils/halcmd_rtapiapp.cc:284halcmd: cant connect to rtapi_app: -1 (uri= uuid=cbc792ea-1cc7-4bda-a949-9dd1552ce3bc): rtapi_rpc(): reply timeout
halcmd: the rtapi:0 RT demon is not running - please investigate /var/log/linuxcnc.loghalcmd: cant connect to rtapi_app: -1 (uri= uuid=cbc792ea-1cc7-4bda-a949-9dd1552ce3bc): rtapi_rpc(): reply timeout
halcmd: the rtapi:0 RT demon is not running - please investigate /var/log/linuxcnc.loghalcmd: cant connect to rtapi_app: -1 (uri= uuid=cbc792ea-1cc7-4bda-a949-9dd1552ce3bc): rtapi_rpc(): reply timeout
halcmd: the rtapi:0 RT demon is not running - please investigate /var/log/linuxcnc.loghalcmd: cant connect to rtapi_app: -1 (uri= uuid=cbc792ea-1cc7-4bda-a949-9dd1552ce3bc): rtapi_rpc(): reply timeout
halcmd: the rtapi:0 RT demon is not running - please investigate /var/log/linuxcnc.loghalcmd: cant connect to rtapi_app: -1 (uri= uuid=cbc792ea-1cc7-4bda-a949-9dd1552ce3bc): rtapi_rpc(): reply timeout
halcmd: the rtapi:0 RT demon is not running - please investigate /var/log/linuxcnc.loghalcmd: cant connect to rtapi_app: -1 (uri= uuid=cbc792ea-1cc7-4bda-a949-9dd1552ce3bc): rtapi_rpc(): reply timeout
halcmd: the rtapi:0 RT demon is not running - please investigate /var/log/linuxcnc.loghalcmd: cant connect to rtapi_app: -1 (uri= uuid=cbc792ea-1cc7-4bda-a949-9dd1552ce3bc): rtapi_rpc(): reply timeout
halcmd: the rtapi:0 RT demon is not running - please investigate /var/log/linuxcnc.loghalcmd: cant connect to rtapi_app: -1 (uri= uuid=cbc792ea-1cc7-4bda-a949-9dd1552ce3bc): rtapi_rpc(): reply timeout
halcmd: the rtapi:0 RT demon is not running - please investigate /var/log/linuxcnc.loghalcmd: cant connect to rtapi_app: -1 (uri= uuid=cbc792ea-1cc7-4bda-a949-9dd1552ce3bc): rtapi_rpc(): reply timeout
halcmd: the rtapi:0 RT demon is not running - please investigate /var/log/linuxcnc.loghalcmd: cant connect to rtapi_app: -1 (uri= uuid=cbc792ea-1cc7-4bda-a949-9dd1552ce3bc): rtapi_rpc(): reply timeout
halcmd: the rtapi:0 RT demon is not running - please investigate /var/log/linuxcnc.logWarning - /usr/libexec/linuxcnc/rtapi_app_posix not setuid'sudo make setuid' missing?ERROR: msgd:0 failed to exit on its own; sending SIGTERMCleanup doneMachinekit terminated with an error. For simple cases more informationcan be found in the following files: /home/machinekit/linuxcnc_debug.txt /home/machinekit/linuxcnc_print.txt
For other cases get more meaningfull information by restarting after export DEBUG=5
and look at the output of: /var/log/linuxcnc.log dmesg
When looking for errors, specifically look for libraries that fail to loadby looking for lines with 'insmod failed' as per example below.
insmod failed, returned -1:do_load_cmd: dlopen: nonexistant-component.so: cannot open shared object file:No such file or directory
For getting help, please have a look here: www.machinekit.io/docs/getting-help/
Linux beaglebone 4.14.108-ti-r104 #1 SMP PREEMPT Tue Apr 9 18:16:29 UTC 2019 armv7l GNU/Linuxmachinekit@beaglebone:/usr/libexec/linuxcnc$ lsflavor inivar pci_read pci_write rtapi_app_rt-preempt rtapi_msgdlocal cmd=(${rtapi_app} --instance=$MK_INSTANCE $RTAPI_APP_OPTS) if [ $DEBUG -gt 0 ] ; then echo "rtapi_app command: ${cmd[@]}" >&2 "${cmd[@]}" || ( e=$?; echo "rtapi_app startup failed; aborting" >&2; exit $e) else "${cmd[@]}" 2>&1 || ( e=$?; echo "rtapi_app startup failed; aborting" >&2; exit $e) fi4.14.108-ti-r104 #1
SMP PREEMPT--
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+...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.
|
|
Sender notified by Mailtrack 04/15/19, 5:52:19 PM |
You received this message because you are subscribed to a topic in the Google Groups "Machinekit" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/machinekit/82h11IE_VX0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to machinekit+...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to machi...@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 a topic in the Google Groups "Machinekit" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/machinekit/82h11IE_VX0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to machi...@googlegroups.com.
Indeed and as I said previously.
It looks like texas instrument based kernels have -rt in the kernel name if the kernel is properly realtime,
but that is only as good as the person who names it and cannot be
totally relied upon.
To unsubscribe from this group and stop receiving emails from it, send an email to machinekit+...@googlegroups.com.
cd /opt/scripts/tools/
git pull
sudo ./update_kernel.sh --ti-rt-channel --lts-4_4
# -*-makefile-gmake-*-# Makefile.inc. Generated from Makefile.inc.in by configure.# on Thu Mar 14 10:48:16 UTC 2019#
# Define libexec dir first, since it contains tools needed to compute# following definitionsEMC2_LIBEXEC_DIR=${exec_prefix}/libexec/linuxcnc
# Threads systems#################
# List of thread flavors to build modulesBUILD_THREAD_FLAVORS= posix rt-preempt
# If $(threads) is not set already, try running 'flavor'; if the# result is empty or not in $(BUILD_THREAD_FLAVORS), pick the first# item from $(BUILD_THREAD_FLAVORS).threads ?= $(shell echo $(BUILD_THREAD_FLAVORS) | \ awk -v f="`${EMC2_LIBEXEC_DIR}/flavor 2>/dev/null`" '\ { \ found=$$1; \ split($$0,flavs); \ for (val in flavs) \ if (flavs[val] == f) found=f; \ print found; \ }')
# Uppercase version of flavor name for use in variablesTHREADS = $(shell echo $(threads) | tr a-z- A-Z_)
HAVE_POSIX_THREADS=yesHAVE_RT_PREEMPT_THREADS=yesHAVE_XENOMAI_THREADS=noHAVE_KERNEL_THREADS=no
POSIX_THREADS_FLAVOR_ID=0RT_PREEMPT_THREADS_FLAVOR_ID=1XENOMAI_THREADS_FLAVOR_ID=2
THREAD_FLAVOR_ID=$($(THREADS)_THREADS_FLAVOR_ID)
POSIX_THREADS_BUILD_SYS = user-dsoRT_PREEMPT_THREADS_BUILD_SYS = user-dsoXENOMAI_THREADS_BUILD_SYS = user-dsoBUILD_SYS = $($(THREADS)_THREADS_BUILD_SYS)
.
.
.
CC = arm-linux-gnueabihf-gccCC_FOR_BUILD = /usr/lib/ccache/gccOBJCOPY = arm-linux-gnueabihf-objcopyLD = arm-linux-gnueabihf-ldCROSS_COMPILING = yesPKG_CONFIG = /usr/bin/arm-linux-gnueabihf-pkg-configMANDB = /usr/bin/mandbHIDRAW_H_USABLE = yes
POSIX_THREADS_SOURCE = rt-preemptRT_PREEMPT_THREADS_SOURCE = rt-preemptXENOMAI_THREADS_SOURCE = xenomaiTHREADS_SOURCE = $($(THREADS)_THREADS_SOURCE)
BUILD_DRIVERS = yesUSE_PORTABLE_PARPORT_IO = noTARGET_PLATFORM_PC =TARGET_PLATFORM_SOCFPGA = yesTARGET_PLATFORM_BEAGLEBONE = yesTARGET_PLATFORM_CHIP = yesTARGET_PLATFORM_RASPBERRY = yesTARGET_PLATFORM_ZEDBOARD = yesTARGET_PLATFORM_H3 = yes
HARDY_AMD64_WORKAROUND=@HARDY_AMD64_WORKAROUND@PRECISE_MULTILIB_BUG=
ifeq ($(BUILD_SYS),user-dso)USERMODE_PCI=yeselseUSERMODE_PCI=noendif1. 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 goDoes this account for my present problem?cd /opt/scripts/tools/
git pull
sudo ./update_kernel.sh --ti-rt-channel --lts-4_4
4.14.108-ti-r104 #1 SMP PREEMPT)
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)
ii linux-image-4.14.108-ti-r104 1stretch armhf Linux kernel, version 4.14.108-ti-r104ii linux-image-4.14.108-ti-rt-r104 1stretch armhf Linux kernel, version 4.14.108-ti-rt-r104ii linux-image-4.14.94-ti-r94 1stretch armhf Linux kernel, version 4.14.94-ti-r94ii linux-image-4.4.155-ti-rt-r153 1stretch armhf Linux kernel, version 4.4.155-ti-rt-r153