Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 Feb 2026 21:24:56 +0000
From:      bugzilla-noreply@freebsd.org
To:        ppc@FreeBSD.org
Subject:   [Bug 293035] [powerpc64] [power8] [hwpmc] [panic] when capturing userland trace in kernel mode
Message-ID:  <bug-293035-21@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

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

            Bug ID: 293035
           Summary: [powerpc64] [power8] [hwpmc] [panic] when capturing
                    userland trace in kernel mode
           Product: Base System
           Version: 16.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: powerpc
          Assignee: ppc@FreeBSD.org
          Reporter: adrian@freebsd.org

```
0xc00800000ac3f170: at panic+0x40
0xc00800000ac3f1a0: at pmc_capture_user_callchain+0x48c
0xc00800000ac3f2d0: at pmc_hook_handler+0xd10
0xc00800000ac3f460: at userret+0x1f0
0xc00800000ac3f500: at trap+0xf70
0xc00800000ac3f610: at trap+0x618
0xc00800000ac3f740: at powerpc_interrupt+0x1cc
0xc00800000ac3f7d0: user SC trap by 0x8019e49a0: srr1=0x900000000280f933
            r1=0xfffffbfffdd10 cr=0x44420c28 xer=0 ctr=0x8019e4990
r2=0x801a054a0 frame=0xc00800000ac3f800
KDB: enter: panic
[ thread pid 72434 tid 102861 ]
Stopped at      kdb_enter+0x70: ori     r0, r0, 0x0
db> 
db> 
```

This is on FreeBSD-HEAD, 7-Feb-2026

To reproduce:

* fire up a POWER8 box
* kldload hwpmc
* pmcstat -U -S pm_cyc -l 2 -O sample.out

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

home | help

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