This bug is known: https://github.com/koppi/mk/issues/4

In brief: M. Haberler says that Makefile of lcec misses 
"essential steps: objcopy - extraction of symbols in the .rtapi_export section, 
creation of a linker script fragment, final link" .

I did something since that time but that did not really help.
My src/realtime.mk is 
now: https://gist.github.com/sirop/3f9e3ab52ea8188b65e9fc4c14656c88

Have to look into the core dump again somewhere this week.

b



On Saturday, November 19, 2016 at 12:19:03 AM UTC+1, Jerry Lian wrote:
>
> I am new to Machinekit and Linux:
> * I tried hard to install Machinekit+IgH-EtherCAT-Master + 
> linuxCNC-EtherCAT-HAL-driver + RT-Preempt @ RaspberryPI-2.
> * I have to admit that:
> ---- All these components may not be integrated well.
> ---- I am testing with Beckhoff digital inputs/outputs only: 
> EK1100+EL1004+EL2004
> ---- I modified .ini/.hal files based on examples, but I just ignored 
> servo/motor setting.
> --- (see attached .ini/.hal./.xml configuration files)
> * As you can see from error message (see below):
> --- Machinekit starts successfully!
> --- I can watch/monitor the pin-value change, when I switch one input-pin 
> of EL1004.
> --- *But when I close/exit Machinekit, I see the error message as shown 
> below.*
>
> Any hint? Thanks!
> Jerry
>
> -------------------------------         * Error Message  *               
>             ----------------------------------------------------
>
> ------------------------------------------------------------------------------------------------------------------------------------------------
> pi@raspberrypi:~ $ machinekit 
> /usr/share/linuxcnc-ethercat/examples/generic-complex/Test/test.ini
> MACHINEKIT - 0.1
> Machine configuration directory is 
> '/usr/share/linuxcnc-ethercat/examples/generic-complex/Test'
> Machine configuration file is 'test.ini'
> Starting Machinekit...
> warning: removing unused HAL shm segment /linuxcnc-0-00414c32
> io started
> halcmd loadusr io started
> task pid=1332
> emcTaskInit: using builtin interpreter
>
>
> Shutting down and cleaning up Machinekit...
> <commandline>:0: error unloading realtime module 'tp': rc=-1
> <commandline>:0: rtapi_rpc(): reply timeout
> <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
> ...
>

-- 
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.

Reply via email to