Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Jul 2021 17:02:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 253687] [hwpmc] kernel panic when listing available hardware performance counters
Message-ID:  <bug-253687-227-WheQJd7Stf@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-253687-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-253687-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253687

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=3D226244&action=
=3Dedit
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 i=
ts
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

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-253687-227-WheQJd7Stf>