Error: "insmod failed, returned -1"? (RT-Preempt + EtherCAT @ RaspberryPI-2)

More
16 Nov 2016 21:19 - 16 Nov 2016 21:40 #82873 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:
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!

File Attachment:

File Name: syslog_2016-11-16.txt
File Size:4 KB

File Attachment:

File Name: ethercat-c...1-16.xml
File Size:0 KB

File Attachment:

File Name: basic_2016...16-3.ini
File Size:4 KB

File Attachment:

File Name: basic_2016...16-2.hal
File Size:2 KB
Attachments:
Last edit: 16 Nov 2016 21:40 by jerryCNC.

Please Log in or Create an account to join the conversation.

More
18 Nov 2016 15:46 #82963 by jepler
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.

More
21 Nov 2016 15:11 #83078 by jerryCNC
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.

Time to create page: 0.296 seconds
Powered by Kunena Forum