Hello, I'm experiencing a (I think) similar problem. When working in an Itanium2 Montvale machine (SuSE Enterprise 10 Service Pack 1, kernel 2.6.16.53-0.8_SFS2.3_0-default) with the supplied kernel and perfmon packages I can only make the "old_ia64_examples" work, but when I try to run the codes in the "examples" directory, I get errors like "pfm_create_context failed" and "Your kernel does not have performance monitoring support!". As far as I've seen, the problem is with the pfm_create_context function call.
Do you have any idea of how to fix it? Thanks in advance, Juan Ángel El mié, 08-04-2009 a las 17:23 +0200, Péter Szilágyi escribió: > I use the SuSE supplied versions. > > My kernel is 2.6.27.21-0.1.2. About the userspace I'm not really sure > what you mean/need. > > 2009/4/8 Tony Jones <to...@suse.de> > > > > On Wed, Apr 08, 2009 at 12:15:55PM +0200, Péter Szilágyi wrote: > > > Hello,<br><br>? I have a problem with the perfmon in the 2.6.27 > kernel. More specifically, that every library that relies upon it > (libpfm, papi), fails to run on my system (OpenSuse 11.1 x64). > I've been looking at the libpfm example, and the problem is with > the pfm_create_context function call... it returns ENOSYS. After > checking the function implementation in the kernel sources, it seems > to me, that it should only return that error code if the perfmon is > disabled (i.e. perfmon_disabled == 1). But I also checked the > initialization of the perfmon "library" and it succeeds (at > leas in the boot messages everything seems ok... the last init > function call from the pfm_init also succeeds (cpu hotplug), and no > error message appears). Since the perfmon_disabled variable is never > changed anywhere else, it *must* be 0... but then why does the > pfm_create_context fail?<br> > > > <br>? Sorry if this is something very easy and straightforward to > solve... I've been searching more than a day now on google, with > no luck.<br><br>Thanks,<br>? Peter<br> > > > > What kernel and userspace are you using? SuSE supplied or your own? > > > > If it's SuSE please provide rpm versions. Btw, it's likely not going > to work > > on 11.1/x86_64 but no point me elaborating if it's your local > builds. > > > > Tony > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > High Quality Requirements in a Collaborative Environment. > Download a free trial of Rational Requirements Composer Now! > http://p.sf.net/sfu/www-ibm-com > _______________________________________________ perfmon2-devel mailing list > perfmon2-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/perfmon2-devel ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ perfmon2-devel mailing list perfmon2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perfmon2-devel