From nobody Sat Feb 7 21:24:56 2026 X-Original-To: ppc@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4f7kWF124Sz6RSWj for ; Sat, 07 Feb 2026 21:24:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4f7kWD3x1zz3W40 for ; Sat, 07 Feb 2026 21:24:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1770499496; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=1NR1QYZ/fhg99obgb1Z0vN4om9qLCeE2o/MG7NWWppY=; b=H1N5eHcRSw13Qn4AhuB8EV49sdqK+Ek+Ydg4w/VkjXzZ5HqpWMinsxOC1M1imFnaFO/if/ EXrxGpSXRQKQvmuDEMEs37dMUIJ5jPhFSAemiLmPFM8ULEouwd65HOEyBs6wiviSTZR2nT bWZbWl4fQT2YjZceFIOI/0UhEhzxMbIqYmokvqW2SIqmLImGUJdJSexz2Cxsns2KUYu0aG +8vB2bDiHgpVHq97IXWzdP536WbzGKtT6ILVtY40DZ7a0jrF12hIucdF7iHxWEo5bRj8su XSu2MZqKMdBjzzHmcI9rfM+SWj154f49yIMf0/mAgNf9EYgKd0EzvJWpE8BtFA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1770499496; a=rsa-sha256; cv=none; b=EP8ZtXufFT9Y4486KDUu2JsX9JWvB/0eF6m3REcpWaIEnm2dFERnrhgpVV+KiaOkZbuacO Aah6AbhjOfNYHPNbdQfUgxBvHiHHaNZISp6M299m7ztQ4KGh+J37CRrjemotG3tuFNOTPt 6l0NPjg0zBIzv5eu0u+rTZNDg1ur8q+O6SePX+kVHYLjrLmXaXVCnSdOzclfKwpp8FEH2n 0+mfYlCE1pIMcxVs+9FXJpBxRI4+XVEzpiQz4ARwZKJNbbW6mZ2zjCVrEPE1yl3p3UdvNv yNJXhlbnUZbOXqeXH7mMiEkYSn9k61OBbiN2e9/ac14tOTDcpe2WSpr2PEJ9lg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1770499496; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=1NR1QYZ/fhg99obgb1Z0vN4om9qLCeE2o/MG7NWWppY=; b=Hx2FW/1m2QD48o3NaF1z9bY+9cN2JHgt0AJUpZyQ4HBF7LPY6yGdTL38ieNC8zsCeOFxZC FicPN5EtCqORUn7Jv9rH8BdabYJClvKJiNPgZ4477dS1nndEH6HgeqdjkVVHPZqFACGNQP m7MnJZtU7jHsFB2jc9D0tm4wjp1Cw7DF9/EXaWUedEqVeibhzedtOFUJvnEABwY343lXsR oB+gRJa8KdgOV1c8hZAzWbpyC3ii8w87MlKeYJ9+Ge3UjLPkHgT8EmoWSAdKhY0TYDnBQ7 IO92HUS3wX8MHSSqok/mXqlLK4UqJBLlChWGTxX+mrqVfifeoBadOd5yB3nYmQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4f7kWD39hqz3cR for ; Sat, 07 Feb 2026 21:24:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 617LOu2m086146 for ; Sat, 7 Feb 2026 21:24:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 617LOuqI086145 for ppc@FreeBSD.org; Sat, 7 Feb 2026 21:24:56 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ppc@FreeBSD.org Subject: [Bug 293035] [powerpc64] [power8] [hwpmc] [panic] when capturing userland trace in kernel mode Date: Sat, 07 Feb 2026 21:24:56 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: powerpc X-Bugzilla-Version: 16.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: adrian@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ppc@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Porting FreeBSD to the PowerPC List-Archive: https://lists.freebsd.org/archives/freebsd-ppc List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ppc@freebsd.org Sender: owner-freebsd-ppc@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D293035 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=3D0x900000000280f933 r1=3D0xfffffbfffdd10 cr=3D0x44420c28 xer=3D0 ctr=3D0x8019e4990 r2=3D0x801a054a0 frame=3D0xc00800000ac3f800 KDB: enter: panic [ thread pid 72434 tid 102861 ] Stopped at kdb_enter+0x70: ori r0, r0, 0x0 db>=20 db>=20 ``` 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 --=20 You are receiving this mail because: You are the assignee for the bug.=