On 7/28/2017 1:44 PM, Daren Schwenke wrote: > > machinekit@beaglebone:~/Arcus-3D-M2$ ./run.py > loading cramps_cape.bbio... done > starting configserver... done > starting linuxcnc... MACHINEKIT - 0.1 > Machine configuration directory is '/home/machinekit/Arcus-3D-M2' > Machine configuration file is 'Arcus-3D-M2.ini' > Starting Machinekit... > done > io started > halcmd loadusr io started > Arcus-3D-M2.hal:31: insmod failed, returned -1: > rtapi_app_main(hal_pru_generic): -1 Operation not permitted
This is yet another case of "not very helpful error messages". I poked around on your system and the problem is you didn't build the Xeonomai configuration as well as the preemprt-rt, so you don't have the PRU binary file in your rtlib directory. So the operation you are not permitted to do is read from a non-existing file! I installed the machinekit-xenomai package (it will happily co-exist with a run-in-place source build) and was able to load the hal_pru_generic driver. Change the "prucode=..." part of the HAL file you want to use so it points to the binary file installed as part of the package: prucode=/usr/lib/linuxcnc/xenomai/pru_generic.bin ...and you should get a bit farther. -- Charles Steinkuehler [email protected] -- 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.
