autumn Wang
2010-Jun-24 04:01 UTC
[dtrace-discuss] ISCSI provider does not work on build134
Hi, I tried to run iscsi provider on X86 server/w OpenSolaris build_134, got the following error: root at ucslab01:/var# dtrace -n ''iscsi*::: { @[args[0]->ci_remote] = count(); }'' [u]dtrace: invalid probe specifier iscsi*::: { @[args[0]->ci_remote] = count(); }: in action list: failed to resolve native type for args[0][/u] Looks like the data structure of the argument was changed. Anybody knows how to find out the exact data strucuture and argument type in source code? (which file should I look into)? Regards, Autumn Wang. Regards, Autumn Wang. -- This message posted from opensolaris.org
Peter Cudhea
2010-Jun-24 15:33 UTC
[dtrace-discuss] ISCSI provider does not work on build134
I have tested this on both snv_120 and snv_140 and it is working for me, exactly the way you spelled it. So I suspect some difference in what is loaded on your system and what is loaded on mine. Could you investigate the contents of /usr/lib/dtrace? On my snv_120 system I have both iscsi.d and iscsit.d in that directory. In the snv_140 system, I have just iscsit.d. Which version of the iSCSI target do you have loaded (iscsitgt or iscsit)? The iscsitgt (iSCSI target daemon) was removed in build 136, so that should not be your problem here. But if the iscsit package is not yet loaded, could you try loading it and try again? Peter On Jun 24, 2010, at 12:01 AM, autumn Wang wrote:> dtrace -n ''iscsi*::: { @[args[0]->ci_remote] = count(); }''