Problem with pmcstat

Invernizzi Fabrizio fabrizio.invernizzi at telecomitalia.it
Fri Aug 7 06:33:58 UTC 2009


This Is my dmesg:

CPU: Intel(R) Xeon(R) CPU           E5420  @ 2.50GHz (2503.74-MHz K8-class CPU)
  Origin = "GenuineIntel"  Id = 0x10676  Stepping = 6
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0xce3bd<SSE3,RSVD2,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,<b19>>
  AMD Features=0x20100800<SYSCALL,NX,LM>
  AMD Features2=0x1<LAHF>
  Cores per package: 4
usable memory = 8575586304 (8178 MB)
avail memory  = 8281559040 (7897 MB)



When I try to load the hwpmc module I obtain this error:

#kldload hwpmc.ko
kldload: can't load hwpmc.ko: Exec format error

Fabrizio

> -----Original Message-----
> From: Joseph Koshy [mailto:joseph.koshy at gmail.com]
> Sent: giovedì 6 agosto 2009 18.52
> To: Invernizzi Fabrizio
> Cc: freebsd-amd64 at freebsd.org
> Subject: Re: Problem with pmcstat
>
> > i am doing some performance testing with FreeBSD (64 bit)
> and i would like to use pmcstat.
> > I recompiled the kernel with
> > options HWPMC_HOOKS
> > device hwpmc
> >
> > When i restart the system looks like being ok
> >
> > #sysctl -a | grep hwpmc
> > kern.hwpmc.nbuffers: 16
> > kern.hwpmc.logbuffersize: 4
> > kern.hwpmc.mtxpoolsize: 32
> > kern.hwpmc.nsamples: 32
> > kern.hwpmc.hashsize: 16
> >
> > but the pmcstat gives me this error:
> >
> > # pmcstat -s p6-hw-int-rx -w 1
> > pmcstat: ERROR: Initialization of the pmc(3) library
> failed: No such
> > file or directory
> >
> > I googled a lot, but nothing about this problem. Consider
> that on the same hardware with 7.2-RELEASE 32 bit everything
> was working.
> > Anyone can help me?
> >
> > This are some details:
> >
> > uname -a
> > FreeBSD INTRUDER-64.ipv6.tilab.com 7.2-RELEASE FreeBSD
> 7.2-RELEASE #3: Thu Aug  6 11:36:53 CEST 2009    amd64
> >
> > Server: HP DL 180G5
>
> i386 vs amd64 should not make a difference here.
>
> What CPU are you running on and what does hwpmc(4) print out
> at module initialization time?
>
> Koshy
>

Questo messaggio e i suoi allegati sono indirizzati esclusivamente alle persone indicate. La diffusione, copia o qualsiasi altra azione derivante dalla conoscenza di queste informazioni sono rigorosamente vietate. Qualora abbiate ricevuto questo documento per errore siete cortesemente pregati di darne immediata comunicazione al mittente e di provvedere alla sua distruzione, Grazie.

This e-mail and any attachments is confidential and may contain privileged information intended for the addressee(s) only. Dissemination, copying, printing or use by anybody else is unauthorised. If you are not the intended recipient, please delete this message and any attachments and advise the sender by return e-mail, Thanks.



More information about the freebsd-amd64 mailing list