Skip to contentSkip to conversation

rt-tests: Better explanation in the kernel module

PATCH New John Kacur 1 participant 1 message Dec 22, 2009

lore
Share & tools
lore

John Kacur

author
#0 lore raw

PATCH 1/1 rt-tests: Better explanation in the kernel module

Clark: I'm not sure how we missed Carsten's patch again. you can pull the following and the last clean-up from rt-tests-dev-new
and the usual git repo
(notice the branch has changed)

Thanks

Quoted 1 line

From 77c00420d06ec5010a251d4ecac1f74201cd20ca Mon Sep 17 00:00:00 2001

From: Carsten Emde <[email protected]>
Date: Tue, 22 Dec 2009 00:58:59 +0100
Subject: [PATCH] rt-tests: Better explanation in the kernel module

---
 src/backfire/sendme.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
src/backfire/sendme.c +6 -1
index fdc1056..27ea077 100644
@@ -209,7 +209,12 @@ int main(int argc, char *argv[])
 	path = open("/dev/backfire", O_RDWR);
 	if (path < 0) {
 		fprintf(stderr, "ERROR: Could not access backfire device, "
-				"try 'modprobe backfire'\n");
+				"try 'modprobe backfire'\n"
+				"If the module backfire can't be loaded, "
+				"it may need to be built first.\n"
+				"Execute 'cd src/backfire; make' in the "
+				"rt-tests directory (requires rt-tests\n"
+				"sources and kernel-devel package).\n");
 		return 1;
 	}
 	fl.l_type = F_WRLCK;
Signature · 1 line
1.6.0.6