Re: cyclictest: Unable to set scheduling policy / join real-time group or run as root

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2013/2/25 Hartmut Behrens <hartmut.behrens@xxxxxxxxx>
>
> No, neither of these work (realtime groupnames that were tried:
> realtime  / rtprio)
>
> This might be related:
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=619938 but I have yet
> to dig into the details.
>
> Are there perhaps any other suggestions?
>
> Best Regards,
>
> Hartmut
>
> On Mon, Feb 25, 2013 at 10:55 PM, Sven-Thorsten Dietrich
> <sven@xxxxxxxxxxxxxxxxxxxxx> wrote:
> >
> > On Feb 25, 2013, at 12:03 PM, Hartmut Behrens <hartmut.behrens@xxxxxxxxx> wrote:
> >
> >> Dear RT Folks,
> >>
> >> After successfully patching a 3.2 kernel (gumstix platform) with
> >> patch-3.2-rt10, I obtained the rt-tests suite from
> >> git://git.kernel.org/pub/scm/linux/kernel/git/clrkwllms/rt-tests.git
> >>
> >> I enabled CONFIG_PREEMPT_RT in menuconfig and disabled "CPU frequency scaling".
> >>
> >> Compilation of rt-tests ("make all") on the platform is also successful.
> >>
> >> When trying to execute cyclictest, the program reports: "Unable to
> >> change scheduling policy! either run as root or join realtime group"
> >>
> >> Looking in rt-utils.c, it appears that set_scheduler is unable to
> >> select SCHED_FIFO scheduling policy.
> >>
> >> Do you have any hints on how to fix this problem, or at least narrow
> >> it down further? Could it
> >>
> >
> > Does "either run as root or join realtime group" fix the problem?
> >
> > Sven
> >
> >> Best Regards,
> >> Hartmut Behrens
> >> --
> >> To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
> >> the body of a message to majordomo@xxxxxxxxxxxxxxx
> >> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> >
> --
> To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html




Hi,
Try add yourself to a group that allows changing scheduling policy.

Check the following link to know how to do this (I'm from the audio world)

http://www.jackaudio.org/linux_rt_config

hth
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux