- Configuring LinuxCNC
- HAL
- Error: "insmod failed, returned -1"? (RT-Preempt + EtherCAT @ RaspberryPI-2)
Error: "insmod failed, returned -1"? (RT-Preempt + EtherCAT @ RaspberryPI-2)
16 Nov 2016 21:19 - 16 Nov 2016 21:40 #82873
by jerryCNC
Error: "insmod failed, returned -1"? (RT-Preempt + EtherCAT @ RaspberryPI-2) was created by jerryCNC
I tried hard to install "RT-Preempt, MachineKit, IgH EtherCAT master, linuxCNC-Ethercat HAL driver" on Raspberry-PI 2.
I create my own setup(attached), based on the demo files:
github.com/sittner/linuxcnc-ethercat/tre...eneric-complex/CPD17
When I run machinekit, I got error:
Any hint? Thanks!
I create my own setup(attached), based on the demo files:
github.com/sittner/linuxcnc-ethercat/tre...eneric-complex/CPD17
When I run machinekit, I got error:
pi@raspberrypi:~ $ machinekit /usr/share/linuxcnc-ethercat/examples/generic-complex/Basic/basic.ini
MACHINEKIT - 0.1
Machine configuration directory is '/usr/share/linuxcnc-ethercat/examples/generic-complex/Basic'
Machine configuration file is 'basic.ini'
Starting Machinekit...
io started
halcmd loadusr io started
basic.hal:6: insmod failed, returned -1:
rtapi_app_main(motmod): -1 Operation not permitted
See /var/log/linuxcnc.log for more information.
Shutting down and cleaning up Machinekit...
<commandline>:0: error unloading realtime module 'trivkins': rc=-1
<commandline>:0: rtapi_rpc(): reply timeout
<commandline>:0: unloadrt failed
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
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
Any hint? Thanks!
Last edit: 16 Nov 2016 21:40 by jerryCNC.
Please Log in or Create an account to join the conversation.
18 Nov 2016 15:46 #82963
by jepler
Replied by jepler on topic Error: "insmod failed, returned -1"? (RT-Preempt + EtherCAT @ RaspberryPI-2)
It looks like you're using machinekit, not linuxcnc. This page details how to contact the machinekit community: www.machinekit.io/community/home/
Please Log in or Create an account to join the conversation.
21 Nov 2016 15:11 #83078
by jerryCNC
Replied by jerryCNC on topic Error: "insmod failed, returned -1"? (RT-Preempt + EtherCAT @ RaspberryPI-2)
Yes, this is indeed the problem of Machinekit, not linuxCNC. Although machinekit is forked from linuxCNC.
Please Log in or Create an account to join the conversation.
- Configuring LinuxCNC
- HAL
- Error: "insmod failed, returned -1"? (RT-Preempt + EtherCAT @ RaspberryPI-2)
Time to create page: 0.066 seconds