Re: [PATCH] dtrace crashes when trying to trace fbt probes

2011-09-29 Thread Paul Ambrose
sorry, I miss a check, here is the patch . diff --git a/sys/kern/kern_ctf.c b/sys/kern/kern_ctf.c index 758ad81..6beefcc 100644 --- a/sys/kern/kern_ctf.c +++ b/sys/kern/kern_ctf.c @@ -164,8 +164,14 @@ link_e

Re: [PATCH] dtrace crashes when trying to trace fbt probes

2011-09-29 Thread Paul Ambrose
In 8-stable, WITH_CTF=1 configure item is enabled in command line, not in make.conf, so when I build kernel module out of /usr/src source tree, such as x11/nvidia-driver, I forgot to use WITH_CTF=1 and nvidia.ko was built without .SUNW_ctf section. However, when I run: #dtrace -lv trigger the

[PATCH] dtrace crashes when trying to trace fbt probes

2011-09-26 Thread Paul Ambrose
Hi, Ryan, I came across the similar problem on 8-stable when I run # dtrace -lv the panic message says: page fault just happened at fbt.c if (*lc.ctfoffp == NULL) { // page fault /* * Initialise the

[PATCH] dtrace crashes when trying to trace fbt probes without CTF data

2011-09-25 Thread Ryan Stone
I get a panic if I try to run a dtrace script that uses an fbt probe from a module that does not have CTF data. The polling patch resolves the issue for me: Index: sys/cddl/dev/fbt/fbt.c === --- sys/cddl/dev/fbt/fbt.c (revision