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:39 PM John Allwine <[email protected]> wrote: > I'm not sure, what does that involve? It's probably worth a shot. > > On Fri, May 1, 2020 at 2:38 PM Robert Nelson <[email protected]> > wrote: > >> Let me know if we need to tweak the rt kernel config to support that.. >> >> On Fri, May 1, 2020, 3:15 PM John Allwine <[email protected]> wrote: >> >>> I checked dmesg and saw this as well: >>> >>> [ 811.654246] warning: process `rtapi:0' used the deprecated sysctl >>> system call with 8.1.2. >>> >>> On Friday, May 1, 2020 at 2:13:15 PM UTC-6, John Allwine wrote: >>>> >>>> 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'? >>>> >>>> Any idea what's going on? Is there a different kernel that is >>>> recommended? >>>> >>> -- >>> For more options, visit http://beagleboard.org/discuss >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "BeagleBoard" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/beagleboard/0d99a63b-0522-4666-805c-d12c3d1628ae%40googlegroups.com >>> <https://groups.google.com/d/msgid/beagleboard/0d99a63b-0522-4666-805c-d12c3d1628ae%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- >> For more options, visit http://beagleboard.org/discuss >> --- >> You received this message because you are subscribed to the Google Groups >> "BeagleBoard" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/beagleboard/CAOCHtYgNeScirH6faFDFg9vH14xxOMG0GiP6h%3DqMtsf6mpV43A%40mail.gmail.com >> <https://groups.google.com/d/msgid/beagleboard/CAOCHtYgNeScirH6faFDFg9vH14xxOMG0GiP6h%3DqMtsf6mpV43A%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAPEK9qZzdD6-RTnqhczA9twawWA3aaPDv3a-vy_AZWp8m48RxQ%40mail.gmail.com.
