Summary: | Translation Fault (L1) when executing a DTrace script | ||
---|---|---|---|
Product: | Base System | Reporter: | Sevan Janiyan <venture37> |
Component: | arm | Assignee: | Oleksandr Tymoshenko <gonzo> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | emaste, freebsd-arm, gonzo, linimon |
Priority: | --- | ||
Version: | 11.0-BETA2 | ||
Hardware: | Any | ||
OS: | Any | ||
See Also: | https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226027 |
Description
Sevan Janiyan
2016-07-26 17:42:54 UTC
Issue is not specific to the PI though I appears that on the PI the reboot is immediate upon executing dtrace whereas on a BeagleBone Black (mine is a Rev A5C) dtrace appears to run for some time before producing the same error & rebooting dtrace: description 'fbt:kernel:*_interrupt:entry ' matched 5 probes dtrace: buffer size lowered to 2m dtrace: aggregation size lowered to 2m Fatal kernel mode data abort: 'Translation Fault (L1)' on read trapframe: 0xdcfb8c68 FSR=00000005, FAR=bfbfeb20, spsr=60000093 r0 =c3224de8, r1 =dcfb8d28, r2 =00000000, r3 =bfbfeb20 r4 =c34da080, r5 =c3224f00, r6 =c0784a48, r7 =c2b75bc0 r8 =00000000, r9 =c096e174, r10=c29d8100, r11=dcfb8d08 r12=00000000, ssp=dcfb8cf8, slr=c324b114, pc =c32801e4 panic: Fatal abort Uptime: 6m44s A commit references this bug: Author: gonzo Date: Tue Apr 3 21:22:44 UTC 2018 New revision: 331952 URL: https://svnweb.freebsd.org/changeset/base/331952 Log: MFC r312378 by andrew: Use the kernel stack in the ARM FBT DTrace provider. This is used to find the fifth argument to functions being traced, however there was an error where the userspace stack was being used. This may be invalid leading to a kernel panic if this address is unmapped. Submitted by: Graeme Jenkinson <graeme.jenkinson@cl.cam.ac.uk> Differential Revision: https://reviews.freebsd.org/D9229 MFC commit fields PR: 211389 Changes: _U stable/11/ stable/11/sys/cddl/dev/fbt/arm/fbt_isa.c |