--
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.
I don't know if this is related and know nothing specifically about BBB, but the line
1min 30.559s dev-mmcblk1p1.device
raises some suspicions.
The newer linux kernels are prone to hanging for 1min 30 secs where there are problems with a 'start job'
which usually relates to mounting a drive.
What usually happens is often related to the 'resume / suspend to disk' capability of the kernel, whether you use it or not.
Take this scenario:
You install a distro on a spare partition.
The Debian install program will format the partition you have chosen plus the swap partition.
However the reformatting of the swap partition also changes the UUID
Next boot of your original partition, the UUID in /etc/fstab for the swap partition is wrong and you
get a 90 sec wait with the 'A start job for dev-disk-by-uuid-xxx' message
Check what is installed.
The error re not setuuid is misleading, the main
question is why are you trying to use rtapi_app_posix, it
should be rt-preempt
4.19.x All BeagleBone Variants + RT sudo /opt/scripts/tools/update_kernel.sh --bone-rt-kernel --lts-4_19
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/sOWj5I7fVpo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to machinekit+...@googlegroups.com.
You are going to have to do what it says at the end of the printout to narrow it down.
At least it is now a new error:-P
I built another fresh uSD from the image I got from Robert Nelson, I installed ssh, xorg, openbox, and uuid-runtime. I tried running Machinekit again. And it is back to trying to load rtapi_app_posix.
Where does machinekit find “flavor”?
Here is a link to the output from the attempt to start Machinekit, the output from linuxcnc.log, linuxcnc_debug.txt, linuxcnc_print.txt, machinekit.ini and mkuuid. And yes, I know the the output from /var/log/linuxcnc.log is only one line long.
Here is a link to output from dmesg:https://pastebin.com/UFveVH2f
Alan
On Feb 14, 2019, at 10:00 AM, schoo...@gmail.com wrote:
I don't know why this would fail, unless new packages were somehow installed on a system that does not have `uuidgen` installed.
Just generate a new MKUUID with uuidgen (if you don't have it, that is your problem right there, you need to install `uuid-runtime`)
and put it in your /etc/linuxcnc/machinekit.ini
Then try again.
(Need a link to the whole linuxcnc.log for the failed run next time, not just the line you think is important. There is no context otherwise)
On 14/02/19 16:44, Condit Alan wrote:
after first startup and fail there was a 0 length file mkuuid in /etc/linuxcncand "MKUUID=" in machinekit.ini
on subsequent attempts to run it it tries to load rtapi_app_posix
Is there a simple way to reset machinekit to its initial state (like it has never been run yet)???
machinekit@beaglebone:~$ cat linuxcnc_debug.txt2081PID TTY STAT TIME COMMANDStopping realtime threadsUnloading hal components
machinekit@beaglebone:~$ cat linuxcnc_print.txtRUN_IN_PLACE=noLINUXCNC_DIR=LINUXCNC_BIN_DIR=/usr/binLINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcncLINUXCNC_SCRIPT_DIR=LINUXCNC_RTLIB_DIR=/usr/lib/linuxcncLINUXCNC_CONFIG_DIR=LINUXCNC_LANG_DIR=/usr/share/linuxcnc/tcl/msgsINIVAR=/usr/libexec/linuxcnc/inivarHALCMD=halcmdLINUXCNC_EMCSH=/usr/bin/wish8.6INIFILE=/home/machinekit/machinekit/configs/ARM.BeagleBone.Xylotex/Xylotex.iniPARAMETER_FILE=pru-stepper.varTASK=milltaskHALUI=haluiDISPLAY=axisStarting Machinekit server program: linuxcncsvrLoading Real Time OS, RTAPI, and HAL_LIB modulesStarting Machinekit IO program: ioStarting HAL User Interface program: haluiKilling task linuxcncsvr, PID=2081Removing HAL_LIB, RTAPI, and Real Time OS modulesRemoving NML shared memory segments
machinekit@beaglebone:~$ cat /var/log/linuxcnc.logFeb 14 00:03:43 beaglebone msgd:0: no [MACHINEKIT]MKUUID found in /etc/linuxcnc/machinekit.ini