linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Don't reference non-standard realtime group
@ 2011-07-13 20:48 Uwe Kleine-König
  2012-09-02 19:49 ` Uwe Kleine-König
  0 siblings, 1 reply; 17+ messages in thread
From: Uwe Kleine-König @ 2011-07-13 20:48 UTC (permalink / raw)
  To: linux-rt-users; +Cc: Clark Williams, John Kacur

There is no dedicated realtime group in most distributions. So make the
error message a bit more understandable for people not running Redhat
MRG.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Closes: http://bugs.debian.org/619938
---
 src/lib/rt-utils.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

--- a/src/lib/rt-utils.c
+++ b/src/lib/rt-utils.c
@@ -72,7 +72,8 @@
 	param.sched_priority = 1;
 	if (sched_setscheduler(0, SCHED_FIFO, &param)) {
 		fprintf(stderr, "Unable to change scheduling policy!\n");
-		fprintf(stderr, "either run as root or join realtime group\n");
+		fprintf(stderr, "Probably missing capabilities, either run as "
+				"root or increase RLIMIT_RTPRIO limits.\n");
 		return 1;
 	}
 
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2012-10-19  2:12 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-13 20:48 Don't reference non-standard realtime group Uwe Kleine-König
2012-09-02 19:49 ` Uwe Kleine-König
2012-09-03  6:10   ` "g_serial: fix deadlock with PREEMPT_RT enabled" still not integrated Gregoire Gentil
2012-09-03  6:24   ` TI wl1271 wireless bug with 3.4-rt17 Gregoire Gentil
2012-09-04 14:11     ` Josh Cartwright
2012-09-05  1:22       ` Gregoire Gentil
2012-09-06  3:48         ` Josh Cartwright
2012-09-06  4:22           ` Gregoire Gentil
2012-09-09 22:42             ` Gregoire Gentil
2012-09-09 22:51             ` how to put in higher priority a thread in rt-kernel? Gregoire Gentil
2012-09-10  3:52               ` Mike Galbraith
2012-09-10  5:23                 ` Gregoire Gentil
2012-09-10 16:20                   ` Clark Williams
2012-10-15 23:13   ` Don't reference non-standard realtime group John Kacur
2012-10-16 18:26     ` Josh Cartwright
2012-10-18 16:13     ` Josh Cartwright
2012-10-19  2:12       ` Clark Williams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).