This seems to be the source of the problem: https://github.com/machinekit/machinekit-hal/blob/9fca994e08e3f8384498e78ea8e8baa1c899e4db/src/rtapi/rtapi_app.cc#L1457
The system call iopl seems to be returning an error: http://man7.org/linux/man-pages/man2/iopl.2.html On Fri, May 1, 2020 at 2:49 PM John Allwine <j...@pocketnc.com> wrote: > I posted this on the Beaglebone forums > <https://groups.google.com/forum/#!category-topic/beagleboard/FOEDBLvmu2c> > and figured someone here may be able to help too: > > I'm trying to use a real time kernel on the Beaglebone AI to get > MachineKit running. I'm able to run MachineKit on a non-rt kernel > (4.14.108-ti-r113), but when I update to the latest ti-rt kernel > (4.14.108-ti-rt-r134), I get an error: > > user cannot gain I/O privileges - forgot 'sudo make setuid'? > > In dmesg, I see this: > [ 811.654246] warning: process `rtapi:0' used the deprecated sysctl > system call with 8.1.2. > > Robert Nelson offered to tweak the rt kernel config to support that call. > Is that what needs to happen? > > -- > website: http://www.machinekit.io blog: http://blog.machinekit.io github: > https://github.com/machinekit > --- > You received this message because you are subscribed to a topic in the > Google Groups "Machinekit" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/machinekit/1iYGU9VfvPM/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > machinekit+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/machinekit/5221d20d-643b-4a7a-bab6-42a2886b59c9%40googlegroups.com > <https://groups.google.com/d/msgid/machinekit/5221d20d-643b-4a7a-bab6-42a2886b59c9%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 machinekit+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/machinekit/CAPEK9qbEdq5hL4p5yNsWa6DSTthhed-vM7CBdSBX%3DFPHMZ0BBg%40mail.gmail.com.