On Fri, May 8, 2009 at 6:36 PM, Philip Frey1 <p...@zurich.ibm.com> wrote:
>
> Hi,
>
> I am running Fedora 9 with a 2.6.27.9 vanilla kernel to which I applied the
> perfmon patch. I am using an Intel Xeon 4-core machine (E5345).
>
> When I try "pfmon ls /dev/null" (or any other command), I always get
> "can't create perfmon context: Bad addres".
>
> Can you tell me what I am missing?

This is a typical sign of a mismatch between the kernel and the user
library (libpfm)
in terms of syscall numbers.

Make sure you are using the libpfm you think. Sometimes, there is another one
laying around.

I don't know which version of pfmon ships with Fedora. It used to be that libpfm
would have the perfmon syscall numbers hardcoded in it and based on kernel
versions it would pick the right one. But if the library is too old,
then it may not
know about 2.6.27. More recent library version are able to determine the version
via /sys/kernel/perfmon/syscall.

Try download the latest pfmon, libpfm from the perfmon2 web site.

>
> btw: the pfmon as well as the library are the Fedora supplied ones (rpm)
>
> Many thanks for your advice,
>  Philip
> ------------------------------------------------------------------------------
> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
> production scanning environment may not be a perfect world - but thanks to
> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK
> i700
> Series Scanner you'll get full speed at 300 dpi even with all image
> processing features enabled. http://p.sf.net/sfu/kodak-com
> _______________________________________________
> perfmon2-devel mailing list
> perfmon2-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/perfmon2-devel
>
>

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to