All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-core] Problem running klatency test
@ 2009-06-22 11:18 Shashank Bhatia
  2009-06-22 11:59 ` Stefan Kisdaroczi
  2009-06-29 18:00 ` Stefan Kisdaroczi
  0 siblings, 2 replies; 3+ messages in thread
From: Shashank Bhatia @ 2009-06-22 11:18 UTC (permalink / raw)
  To: Xenomai Help

Dear All,

          I could manage to compile my patched kernel on ubuntu using
the following guide : https://wiki.ubuntu.com/KernelTeam/GitKernelBuild

Now when i installed Xenomai, i could run the latency tests, but when i
tried to run the kernel space latency test, i found the following error.


root@domain.hid# ./run 
*
*
* Type ^C to stop this application.
*
*
open(/proc/xenomai/registry/native/pipes/klat_pipe): No such file or
directory
modprobe klat_mod or try the -P option?



Please help to get this running.


The dmesg | grep Xenomai gave the following output:
[    4.353912] I-pipe: Domain Xenomai registered.
[    4.353949] Xenomai: hal/i386 started.
[    4.354530] Xenomai: real-time nucleus v2.4.8 (Lords Of Karma)
loaded.
[    4.354612] Xenomai: SMI-enabled chipset found
[    4.354623] Xenomai: SMI workaround enabled
[    4.354647] Xenomai: starting native API services.
[    4.354650] Xenomai: starting POSIX services.
[    4.354693] Xenomai: starting RTDM services.



Thanks in advance


-------------------------------------
Hi-Tech Gears Limited, Gurgaon, India






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

* Re: [Xenomai-core] Problem running klatency test
  2009-06-22 11:18 [Xenomai-core] Problem running klatency test Shashank Bhatia
@ 2009-06-22 11:59 ` Stefan Kisdaroczi
  2009-06-29 18:00 ` Stefan Kisdaroczi
  1 sibling, 0 replies; 3+ messages in thread
From: Stefan Kisdaroczi @ 2009-06-22 11:59 UTC (permalink / raw)
  To: Shashank Bhatia; +Cc: Xenomai Help

[-- Attachment #1: Type: text/plain, Size: 1796 bytes --]

Hi,

Shashank Bhatia schrieb:
> Dear All,
> 
>           I could manage to compile my patched kernel on ubuntu using
> the following guide : https://wiki.ubuntu.com/KernelTeam/GitKernelBuild
> 
> Now when i installed Xenomai, i could run the latency tests, but when i
> tried to run the kernel space latency test, i found the following error.
> 
> 
> root@domain.hid# ./run 
> *
> *
> * Type ^C to stop this application.
> *
> *
> open(/proc/xenomai/registry/native/pipes/klat_pipe): No such file or
> directory
> modprobe klat_mod or try the -P option?

1) go to your xeno-patched kernel tree
2) make menuconfig
3) navigate to Real-time sub-system ---> Drivers ---> Testing Drivers
4) enable 'Timer benchmark driver'
5) a new options pops up: 'Kernel-only latency measurement module'
6) enable this option
7) rebuild kernel & install kernel & reboot
8) try again, if you enabled it as a module (M) and not built-in (*)
   use modprobe to load to module

kisda

> The dmesg | grep Xenomai gave the following output:
> [    4.353912] I-pipe: Domain Xenomai registered.
> [    4.353949] Xenomai: hal/i386 started.
> [    4.354530] Xenomai: real-time nucleus v2.4.8 (Lords Of Karma)
> loaded.
> [    4.354612] Xenomai: SMI-enabled chipset found
> [    4.354623] Xenomai: SMI workaround enabled
> [    4.354647] Xenomai: starting native API services.
> [    4.354650] Xenomai: starting POSIX services.
> [    4.354693] Xenomai: starting RTDM services.
> 
> 
> 
> Thanks in advance
> 
> 
> -------------------------------------
> Hi-Tech Gears Limited, Gurgaon, India
> 
> 
> 
> 
> 
> _______________________________________________
> Xenomai-core mailing list
> Xenomai-core@domain.hid
> https://mail.gna.org/listinfo/xenomai-core
> 



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

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

* Re: [Xenomai-core] Problem running klatency test
  2009-06-22 11:18 [Xenomai-core] Problem running klatency test Shashank Bhatia
  2009-06-22 11:59 ` Stefan Kisdaroczi
@ 2009-06-29 18:00 ` Stefan Kisdaroczi
  1 sibling, 0 replies; 3+ messages in thread
From: Stefan Kisdaroczi @ 2009-06-29 18:00 UTC (permalink / raw)
  To: xenomai


[-- Attachment #1.1: Type: text/plain, Size: 217 bytes --]

Shashank Bhatia schrieb:
> [...]
> open(/proc/xenomai/registry/native/pipes/klat_pipe): No such file or
> directory
> modprobe klat_mod or try the -P option?

the module ist called xeno_klat. patch attached.


[-- Attachment #1.2: xeno_klat.patch --]
[-- Type: text/plain, Size: 513 bytes --]

diff --git a/src/testsuite/klatency/klatency.c b/src/testsuite/klatency/klatency.c
index a22cd59..c419402 100644
--- a/src/testsuite/klatency/klatency.c
+++ b/src/testsuite/klatency/klatency.c
@@ -187,7 +187,7 @@ int main(int argc, char **argv)
 		if (benchdev == -1) {
 			perror("open(/proc/xenomai/registry/native/pipes/klat_pipe)");
 			fprintf(stderr,
-				"modprobe klat_mod or try the -P option?\n");
+				"modprobe xeno_klat or try the -P option?\n");
 			exit(EXIT_FAILURE);
 		}
 	} else {

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

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

end of thread, other threads:[~2009-06-29 18:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-22 11:18 [Xenomai-core] Problem running klatency test Shashank Bhatia
2009-06-22 11:59 ` Stefan Kisdaroczi
2009-06-29 18:00 ` Stefan Kisdaroczi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.