diff options
author | Carsten Emde <C.Emde@osadl.org> | 2009-12-15 00:04:34 +0100 |
---|---|---|
committer | John Kacur <jkacur@redhat.com> | 2009-12-15 00:09:40 +0100 |
commit | a6010f928e7026b1dc640f7a4072d865f7736702 (patch) | |
tree | 25d35dbe22e56f96d8366871e3f6de66af800d31 | |
parent | e9007a0edd52b391ad7d731dca3bd258c620c2f2 (diff) | |
download | rt-tests-a6010f928e7026b1dc640f7a4072d865f7736702.tar.gz |
Explain that the backfire kernel module may need building.
Do a better job of explaining that the backfire kernel module may need
building in the sendme program.
Signed-off-by: Carsten Emde <C.Emde@osadl.org>
Signed-off-by: John Kacur <jkacur@redhat.com>
-rw-r--r-- | src/backfire/sendme.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/backfire/sendme.c b/src/backfire/sendme.c index 190dbf5..a5e2653 100644 --- a/src/backfire/sendme.c +++ b/src/backfire/sendme.c @@ -208,7 +208,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;
|