[Bug 253687] [hwpmc] kernel panic when listing available hardware performance counters
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 05 Jul 2021 17:02:27 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253687 Mitchell Horne <mhorne@freebsd.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@FreeBSD.org |mhorne@freebsd.org Status|New |In Progress --- Comment #7 from Mitchell Horne <mhorne@freebsd.org> --- Created attachment 226244 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=226244&action=edit Set proper nclasses value for Broadwell CPUs (In reply to Zhenlei Huang from comment #6) Thanks for the info. I believe I have identified the problem, but it would be helpful if you could confirm the fix. Please apply the attached patch to a checkout of the src tree, then, compile and load the hwpmc module. There should be no need to build the kernel in its entirety, it is enough to do: # cd /path/to/freebsd-src # make -C sys/modules/hwpmc # make -C sys/modules/hwpmc install # kldload /boot/modules/hwpmc.ko -- You are receiving this mail because: You are the assignee for the bug.