|
From: William C. <wc...@nc...> - 2004-08-20 20:04:22
|
Richard Hansen wrote: > William Cohen wrote: > >> I have certainly had oprofile using the Pentium M hardware counters on >> a 2.6 kernel. The machine is a IBM ThinkPad T41. Which kernel source >> are you using? > > > I'm using Fedora's 2.6.8-1.521 kernel source plus .config with some > changes (added driver for my web camera, comment out the Latitude > blacklisting in arch/i386/kernel/dmi_scan.c, and config changes to turn > on APIC, OProfile, and the webcam driver). > >> After doing a "opcontrol --init" what do you get for "cat >> /dev/oprofile/cpu_type"? In theory this should give "i386/p6_mobile". > > > It does indeed say "i386/p6_mobile". How interesting. I didn't think > the module was loading (I thought the error was fatal). Maybe it's the > daemon that's spitting out the errors. I just tried opcontrol > --start-daemon and it doesn't seem to fire up the daemon. > > I'm wondering: Looks like the userland stuff is somewhat old (CVS > version around January 2004, not the official release from May 2004). > Maybe the errors are due to bugs in the userland stuff that have since > been fixed? I wonder why the Fedora crew hasn't updated the RPM... Is > there a newer RPM available somewhere? I haven't run the fc2 version of oprofile on the p6 machine I have. it is mainly a RHEL3 machine with some 2.6 kernel. Which oprofile rpm are you using? oprofile-0.8-0.20040121.4? There is a newer version in FC3, oprofile-0.8-20040511.12.src.rpm. You might try to build and use that one. If the problem is still there file a bug report on bugzilla.redhat.com. -Will |