-
Notifications
You must be signed in to change notification settings - Fork 66
Description
Following the new guide for how to build EMCApplacation for armhf
I then built a fresh new mksocfpga armhf buster sd-image for testing on a DE0-Nano-SoC Kit/Atlas-SoC Kit
Installing the debs I also had to include:
python3-avahi_0.8-3_armhf.deb
libavahi-common-data_0.8-3_armhf.deb
from "Bullseye"
For some reason emcapplication_2.9.0-pre0.23507.git1dcbe183f-buster_armhf.deb asked for machinekit-hal_0.4.20996
so I wgot that and ended up with:
machinekit@mksocfpga-ob-ox:~/current_emc$ ls
emcapplication_2.9.0~pre0.23507.git1dcbe183f~buster_armhf.deb machinekit-hal_0.4.20894-1.gitebe1344a0~buster_armhf.deb python3-avahi_0.8-3_armhf.deb
libavahi-common-data_0.8-3_armhf.deb machinekit-hal-rt-preempt_0.4.20894-1.gitebe1344a0~buster_armhf.deb
That I installed with:
sudo apt install ./*.deb
testing then turned into an immediate terrible experience:
running linuxcnc gave some error messages (about BACKGROUND color) that could be remedied with:
xrdb -load /dev/null
xrdb -query
Then linuxcnc gui ran (in a ssh -X terminal) however selecting the axis sim configuration lead to a foul error loop:
Investigating further I found out running halrun gave error messages: (with both version 0.4.20894 and 0.4.20868)
However not with the latest version:0.4.20996
machinekit@mksocfpga-ob-ox:~/recomended_emc$ ls
machinekit-hal_0.4.20996-1.git2524ccd02~buster_armhf.deb machinekit-hal-rt-preempt_0.4.20996-1.git2524ccd02~buster_armhf.deb
machinekit@mksocfpga-ob-ox:~/recomended_emc$ halrun
msgd:0 stopped
rtapi:0 stopped
rtapi_msgd command: /usr/libexec/machinekit/rtapi_msgd --instance=0 --rtmsglevel=1 --usrmsglevel=1 --debug=1 --halsize=524288
warning: removing unused HAL shm segment /hal-0-00414c32
rtapi_app command: /usr/libexec/machinekit/rtapi_app --instance=0 --debug=1
3::4345:rt INFO: Picked default flavor 'rt-preempt' automatically
1:rtapi_app:4345:user cannot gain I/O privileges - forgot 'sudo make setuid'?
1:rtapi_app:4345:user rtapi_app:0 failed to setup realtime environment - 'sudo make setuid' missing?
halcmd: cant connect to rtapi_app: -1 (uri= uuid=18cabec7-96ae-4413-85e0-7f75eed5aa92): rtapi_rpc(): reply timeout
halcmd: the rtapi:0 RT demon is not running - please investigate /var/log/hal.log
halcmd: the msgd:0 logger demon is not running - please investigate /var/log/hal.log
E: 20-10-14 14:50:37 [4346]dangling 'DEALER' socket created at hal/utils/halcmd_rtapiapp.cc:284
machinekit@mksocfpga-ob-ox:~/recomended_emc$ cat /var/log/hal.log
Oct 14 14:50:31 localhost rtapi:0: 1:rtapi_app:4345:user cannot gain I/O privileges - forgot 'sudo make setuid'?
Oct 14 14:50:31 localhost rtapi:0: 1:rtapi_app:4345:user rtapi_app:0 failed to setup realtime environment - 'sudo make setuid' missing?
Oct 14 14:50:31 localhost msgd:0: rtapi_app exit detected - scheduled shutdown
Oct 14 14:50:33 localhost msgd:0: msgd shutting down
same reuult for:
machinekit@mksocfpga-ob-ox:~/recomended_emc$ ls
machinekit-hal_0.4.20868-1.gitca75c54aa~buster_armhf.deb machinekit-hal-rt-preempt_0.4.20868-1.gitca75c54aa~buster_armhf.deb
Since the guide specifies max or = 0.4.20868 the setuid problem in these packages is a big showstopper.
On the other side I prefer the Machineface gui qtquickvcp gui setup instead of any builtin linuxcnc gui's so I wonder if its possible to
build against 0.4.20996 and ignore the builtin lcnc gui's and get the Machineface gui to work instead ?