[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensolaris-dtrace-discuss
Subject:    Re: [dtrace-discuss] Dtrace error - ic_len definition uses
From:       Jon Haslam <Jonathan.Haslam () Sun ! COM>
Date:       2009-11-12 7:53:35
Message-ID: 4AFBBEFF.9010507 () sun ! com
[Download RAW message or body]

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.
> 

_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic