[Bug 253687] [hwpmc] kernel panic when listing available hardware performance counters

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Feb 19 10:14:05 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253687

            Bug ID: 253687
           Summary: [hwpmc] kernel panic when listing available hardware
                    performance counters
           Product: Base System
           Version: 13.0-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: zlei.huang at gmail.com

Created attachment 222630
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=222630&action=edit
FreeBSD 13.0 BETA2 hwpmc core dump text

Steps to repeat:

1. Fresh install FreeBSD 13.0 BETA2 on Fusion 12.1.0 VM (FreeBSD 12 64bit guest
type).
2. kldload hwpmc
3. pmccontrol -l

Kernel panic core dump text summary:

Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0xc
fault code              = supervisor read data, page not present
instruction pointer     = 0x20:0xffffffff82c25a90
stack pointer           = 0x0:0xfffffe007c8ed9b0
frame pointer           = 0x0:0xfffffe007c8edac0
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 832 (pmccontrol)
trap number             = 12
panic: page fault
cpuid = 0
time = 1613757734
KDB: stack backtrace:
#0 0xffffffff80c56695 at kdb_backtrace+0x65
#1 0xffffffff80c09261 at vpanic+0x181
#2 0xffffffff80c090d3 at panic+0x43
#3 0xffffffff810891a7 at trap_fatal+0x387
#4 0xffffffff810891ff at trap_pfault+0x4f
#5 0xffffffff8108885d at trap+0x27d
#6 0xffffffff8105fc38 at calltrap+0x8
#7 0xffffffff8108a0f5 at amd64_syscall+0x755
#8 0xffffffff8106055e at fast_syscall_common+0xf8
Uptime: 1m34s
Dumping 174 out of 471 MB:..10%..19%..28%..37%..46%..56%..65%..74%..83%..92%

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


More information about the freebsd-bugs mailing list