Hi

See this page, look at step 9

https://jetforme.org/2018/04/machinekit-on-bbb/

Will fix the insmod errors

Best regards,
Scott

On Tue, Dec 25, 2018, 1:02 PM mugginsac <[email protected] wrote:

> I have got X11 forwarding working (I got the config picker). However, the
> app is still not executing.
> I got these messages (with DEBUG=5 set):
> machinekit@beaglebone:~/machinekit/configs/ARM.BeagleBone.Xylotex$
> machinekit Xylotex.ini
> MACHINEKIT - 0.1
> Machine configuration directory is
> '/home/machinekit/machinekit/configs/ARM.BeagleBone.Xylotex'
> Machine configuration file is 'Xylotex.ini'
> Starting Machinekit...
> rtapi_msgd command:  /usr/libexec/linuxcnc/rtapi_msgd --instance=0
> --rtmsglevel=5 --usrmsglevel=5 --halsize=524288
> rtapi_app command:  /usr/libexec/linuxcnc/rtapi_app_rt-preempt --instance=0
> io started
> <commandline>:0: Component 'iocontrol' ready
> <commandline>:0: Program 'io' started
> emc/iotask/ioControl.cc 768: can't load tool table.
> halcmd loadusr io started
> <commandline>:0: Component 'halui' ready
> <commandline>:0: Program 'halui' started
> Waiting for /sys/class/uio/uio0 OK
> Xylotex.hal:25: Program './setup.sh' finished
> Xylotex.hal:32: Realtime module 'trivkins' loaded
> Xylotex.hal:35: Realtime module 'tp' loaded
> Xylotex.hal:38: Realtime module 'motmod' loaded
> Xylotex.hal:41: Realtime module 'hal_bb_gpio' loaded
> Xylotex.hal:43: insmod failed, returned -1:
> rtapi_app_main(hal_pru_generic): -1 Operation not permitted
>
> See /var/log/linuxcnc.log for more information.
> Shutting down and cleaning up Machinekit...
> <commandline>:0: Realtime threads stopped
> <commandline>:0: Realtime module 'hal_bb_gpio' unloaded
> <commandline>:0: Realtime module 'motmod' unloaded
> <commandline>:0: Realtime module 'tp' unloaded
> <commandline>:0: Realtime module 'trivkins' unloaded
> Cleanup done
> Machinekit terminated with an error.  For simple cases more information
> can be found in the following files:
>     /home/machinekit/linuxcnc_debug.txt
>     /home/machinekit/linuxcnc_print.txt
>
> For other cases get more meaningfull information by restarting after
>     export DEBUG=5
>
> and look at the output of:
>     /var/log/linuxcnc.log
>     dmesg
>
> When looking for errors, specifically look for libraries that fail to load
> by looking for lines with 'insmod failed' as per example below.
>
> insmod failed, returned -1:
> do_load_cmd: dlopen: nonexistant-component.so: cannot open shared object
> file:
> No such file or directory
>
> For getting help, please have a look here:
> www.machinekit.io/docs/getting-help/
>
> Here is a link to my /var/log/linuxcnc.log <https://pastebin.com/FsWPgSdv>
> Here is a link to my dmesg output <https://pastebin.com/vtHGMFiN>.
>
> --
> 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.

Reply via email to