I followed 
these: http://www.machinekit.io/docs/developing/machinekit-developing/

machinekit@beaglebone:~/machinekit/src$ sudo make setuid
[sudo] password for machinekit: 

make: Entering directory '/home/machinekit/machinekit/src'
test -f ../libexec/pci_read && chown root ../libexec/pci_read && chmod 4750 
../libexec/pci_read || true
test -f ../libexec/pci_write && chown root ../libexec/pci_write && chmod 
4750 ../libexec/pci_write || true
test -f ../libexec/rtapi_app_rt-preempt && chown root 
../libexec/rtapi_app_rt-preempt && chmod 4750 
../libexec/rtapi_app_rt-preempt || true;
make: Leaving directory '/home/machinekit/machinekit/src'
machinekit@beaglebone:~/machinekit/src$ cd ../../Arcus-3D-M2/
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

See /var/log/linuxcnc.log for more information.
Shutting down and cleaning up Machinekit...
Cleanup done
Machinekit terminated with an error.  You can find more information in the 
log:
    /home/machinekit/linuxcnc_debug.txt
and
    /home/machinekit/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
stopping configserver... done
machinekit@beaglebone:~/Arcus-3D-M2$

On Friday, July 28, 2017 at 2:30:49 PM UTC-4, Charles Steinkuehler wrote:
>
> On 7/28/2017 1:20 PM, Daren Schwenke wrote: 
> > I'll try that. 
> > Loaded up my non-pythonic config for kicks, and I get a similar error to 
> the 
> > canned configs: 
> <snip> 
> > halcmd loadusr io started 
> > Arcus-3D-M2.hal:31: insmod failed, returned -1: 
> > rtapi_app_main(hal_pru_generic): -1 Operation not permitted 
>
> Just to verify, are you using a package install or a run-in-place 
> built from source? 
>
> If you're building from source, did you run "make setuid" after 
> running "make"? 
>
> -- 
> Charles Steinkuehler 
> [email protected] <javascript:> 
>

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