I have now installed the machinekit and machinekit-posix packages on
an armv7 server
and run machinekit via a normal user account.
I cannot change the kernel to a rt-preempt one, but that should not
matter as all the modules are the same.
It works fine as per the screen grab attached
To help you further:
You will need to remove the existing packages and re-install the new
packages,
empty the /var/log/linuxcnc.log (`> /var/log/linuxcnc.log` as
root, sudo often does not work)
`export DEBUG=5`
then run machinekit and select the sim.tklinuxcnc config
If it errors, the specific fault should be in the log, so attach
that in its entirety.
On 15/09/18 20:20, Tac Huynh wrote:
Using
sudo apt-get install machinekit-rt-preempt
Installation went OK.
But when trying to run machinekit, there is error of
realtime is not running.
Unfortunately the errors do not tell me anything, you will get
those whatever the problem is
I have installed and run the new packages on amd64 Stretch without
any problem
(see attached screen grab)
Unless you can run with DEBUG=5 exported and send me the resulting
/var/log/linuxcnc.log I am going to have
to try and find an arm machine with non root user access to test
them.
Hopefully the tklinuxcnc sim you were trying to run was the stock
one from configs, so I can test like for like?
Tac.
pi@realtimepi:~ $ machinekit
Creating machinekit directory
MACHINEKIT - 0.1
Machine configuration directory is
'/home/pi/machinekit/configs/sim.tklinuxcnc'
Machine configuration file is 'servo_sim.ini'
Starting Machinekit...
rtapi_msgd command: /usr/libexec/linuxcnc/rtapi_msgd
--instance=0 --rtmsglevel=1 --usrmsglevel=1 --halsize=524288
rtapi_app command:
/usr/libexec/linuxcnc/rtapi_app_rt-preempt --instance=0
halcmd: cant connect to rtapi_app: -1 (uri=
uuid=a42c8c6b-4025-4f83-ba28-dad21114744a): rtapi_rpc():
reply timeout
halcmd: the rtapi:0 RT demon is not running - please
investigate /var/log/linuxcnc.log
halcmd: the msgd:0 logger demon is not running - please
investigate /var/log/linuxcnc.log
E: 18-09-15 19:13:53 dangling 'DEALER' socket created at
hal/utils/halcmd_rtapiapp.cc:281
io started
halcmd: cant connect to rtapi_app: -1 (uri=
uuid=a42c8c6b-4025-4f83-ba28-dad21114744a): rtapi_rpc():
reply timeout
On Friday, September 14, 2018 at 7:41:29 AM UTC-7, Tac Huynh
wrote:
Please help:
How do I fix this installation error?
Thanks,
Tac.
I tried to install Machinekit on Raspberry Pi 3,
Raspian Stretch, got following errors:
sudo apt-get install machinekit-rt-preempt
....
Setting up xdot (0.7-2) ...
Setting up machinekit-rt-preempt (0.1.1536747208.git041712d-1~stretch) ...
ln: failed to create symbolic link '/usr/lib/linuxcnc/rt-preempt/pru_generic.bin': No such file or directory
ln: failed to create symbolic link '/usr/lib/linuxcnc/rt-preempt/pru_generic.dbg': No such file or directory
ln: failed to create symbolic link '/usr/lib/linuxcnc/rt-preempt/pru_decamux.bin': No such file or directory
ln: failed to create symbolic link '/usr/lib/linuxcnc/rt-preempt/pru_decamux.dbg': No such file or directory
dpkg: error processing package machinekit-rt-preempt (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of machinekit:
machinekit depends on machinekit-rt-threads; however:
Package machinekit-rt-threads is not installed.
Package machinekit-rt-preempt which provides machinekit-rt-threads is not configured yet.
dpkg: error processing package machinekit (--configure):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Processing triggers for systemd (232-25+deb9u2) ...
Errors were encountered while processing:
machinekit-rt-preempt
machinekit
E: Sub-process /usr/bin/dpkg returned an error code (1)
--
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.
--
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.
|