Rodney
2009-Nov-12 06:54 UTC
[dtrace-discuss] Dtrace error - ic_len definition uses incompatible types
I''m using OSOL 10.02 dev release 126 from the /dev repo, x86 32-bit.
All dtrace scripts are failing with:
"/usr/lib/dtrace/scsi.d", line 46: translator member ic_len definition
uses incompatible types: "uint64_t" = "ctxop_t *"
Any suggestions what is wrong and how to fix?
On my system /usr/lib/dtrace/scsi.d has at lines 39 to 46:
/*
* Translator for scsicmd_t, translating from a scsi_task_t
*/
#pragma D binding "1.5" translator
translator scsicmd_t < scsi_task_t *T > {
ic_len = T->task_cdb_length;
ic_cdb = T->task_cdb;
};
I tried removing SUNWiscsitgt but it made no difference.
--
This message posted from opensolaris.org
Jon Haslam
2009-Nov-12 07:53 UTC
[dtrace-discuss] Dtrace error - ic_len definition uses incompatible types
Hi, You''re probably running into the following issue which is an OpenSolaris upgrade related problem: http://defect.opensolaris.org/bz/show_bug.cgi?id=11609 Unfortunately, this breaks the type information that DTrace uses. I''m not really aware of anything that you can do to get DTrace working correctly without a fresh install. Maybe someone else with more knowledge on this area/problem will pipe up. Jon.> I''m using OSOL 10.02 dev release 126 from the /dev repo, x86 32-bit. > > All dtrace scripts are failing with: > > "/usr/lib/dtrace/scsi.d", line 46: translator member ic_len definition uses incompatible types: "uint64_t" = "ctxop_t *" > > Any suggestions what is wrong and how to fix? > > On my system /usr/lib/dtrace/scsi.d has at lines 39 to 46: > > /* > * Translator for scsicmd_t, translating from a scsi_task_t > */ > #pragma D binding "1.5" translator > translator scsicmd_t < scsi_task_t *T > { > ic_len = T->task_cdb_length; > ic_cdb = T->task_cdb; > }; > > I tried removing SUNWiscsitgt but it made no difference. >