Hi Francois,
You''re hitting this bug:
6581257 dtrace_lookup_by_type() can fail spuriously
It existed in DTrace pretty much since the beginning, but we only started
hitting it after the iSCSI target provider integrated. The bug was fixed
in build 72.
Adam
On Mon, Oct 01, 2007 at 04:57:47PM -0400, Francois Dion
wrote:> Strange problem on a desktop, 64 bit, SXDE3.
>
> ] ./jpg1.d
> dtrace: failed to compile script ./jpg1.d:
"/usr/lib/dtrace/iscsi.d",
> line 94: syntax error near "uiscsiproto_t"
>
> Doesn''t matter what script. Even classic oneliners such as:
> ] dtrace -n ''syscall::open*:entry { printf("%s %
> s",execname,copyinstr(arg0)); }''
>
> bomb in this way...
>
> dtrace: invalid probe specifier syscall::open*:entry { printf("%s %
> s",execname,copyinstr(arg0)); }: "/usr/lib/dtrace/iscsi.d",
line 94:
> syntax error near "uiscsiproto_t"
>
> Thing is, I have another machine (a laptop, 32 bit) that works
> perfectly. The iscsi.d file is identical on both.
>
> Ideas?
>
> Francois
> _______________________________________________
> dtrace-discuss mailing list
> dtrace-discuss at opensolaris.org
--
Adam Leventhal, FishWorks http://blogs.sun.com/ahl