Subject: pmc not working in 2.0_BETA
To: None <port-i386@netbsd.org>
From: Pavel Cahyna <pcah8322@artax.karlin.mff.cuni.cz>
List: port-i386
Date: 07/12/2004 19:22:09
Hello,
I've compiled a kernel with pmc support and discovered that it does not
work, even if my CPU (Pentium II) has pmc support. (pmc -h prints
pmc: PMC counters are not supported for your CPU (0x0) .)
The cause seems to be this commit to sys/arch/i386/i386/pmc.c :
----------------------------
revision 1.5
date: 2002/10/05 05:55:46; author: gmcgarry; state: Exp; lines: +4 -2
branches: 1.5.2;
At least make it compile even though it doesn't make sense.
----------------------------
The log mesage is correct.
This seems to be fixed in rev. 1.7 . Shouldn't it be pulled up to the
netbsd-2-0 branch?
Bye Pavel