Project

General

Profile

Actions

Support #2896

open

"/usr/lib/dtrace/iscsit.d", line 36: ss_family is not a member of struct

Added by eric zhang over 11 years ago. Updated over 11 years ago.

Status:
Feedback
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2012-06-19
Due date:
% Done:

0%

Estimated time:
Tags:
needs-triage
Gerrit CR:
External Bug:

Description

when i install openindiana, dtrace -s vicm.d can work normally. but after i install comstar. it appear 2 boot item. if entry the new boot item, dtrace -s vicm.d show""/usr/lib/dtrace/iscsit.d", line 36: ss_family is not a member of struct", why? how can i fix it?


Files

vicm.d (171 Bytes) vicm.d script file eric zhang, 2012-06-19 06:57 AM
Actions #1

Updated by Rich Lowe over 11 years ago

Generally, that's because of CTF mismatches between closed-bins and the rest of the system. I can't imagine how such a mismatch could have made it into the OI packages, but there's been some talk of the system being accidentally willing to become mismatched.

pkg info system/kernel network/iscsi/target

should show the same version for both, for instance, if they don't, 'pkg install osnet-incorporation@<the newest version from the command above>' might fix it.

Actions #2

Updated by eric zhang over 11 years ago

  • Status changed from New to Feedback

Rich,

thanks for your reply.

on dtrace fail system:
root@vs1:~# pkg info system/kernel network/iscsi/target
Name: network/iscsi/target
Summary: Sun iSCSI COMSTAR Port Provider
Description: Sun iSCSI COMSTAR Port Provider
Category: System/Hardware
State: Installed
Publisher: openindiana.org
Version: 0.5.11
Build Release: 5.11
Branch: 0.151.1
Packaging Date: September 12, 2011 03:13:33 AM
Size: 772.90 kB
FMRI: pkg:,5.11-0.151.1:20110912T031333Z

Name: system/kernel
Summary: Core Solaris Kernel
Description: core kernel software for a specific instruction-set architecture
Category: System/Core
State: Installed
Publisher: openindiana.org
Version: 0.5.11
Build Release: 5.11
Branch: 0.151.1
Packaging Date: September 12, 2011 03:20:38 AM
Size: 45.51 MB
FMRI: pkg:,5.11-0.151.1:20110912T032038Z
root@vs1:~# cd /export/home/eric/vicm/
root@vs1:/export/home/eric/vicm# dtrace -s vicm.d
dtrace: failed to compile script vicm.d: "/usr/lib/dtrace/iscsit.d", line 36: ss_family is not a member of struct

on dtrace success system:
root@vs2:/export/home/eric/vicm# pkg info system/kernel network/iscsi/target
Name: system/kernel
Summary: Core Solaris Kernel
Description: core kernel software for a specific instruction-set architecture
Category: System/Core
State: Installed
Publisher: openindiana.org
Version: 0.5.11
Build Release: 5.11
Branch: 0.151
Packaging Date: May 23, 2011 03:38:06 PM
Size: 45.51 MB
FMRI: pkg:,5.11-0.151:20110523T153806Z

pkg: info: no packages matching the following patterns you specified are
installed on the system. Try specifying -r to query remotely:

network/iscsi/target
root@vs2:/export/home/eric/vicm# dtrace -s vicm.d
dtrace: script 'vicm.d' matched 65762 probes
.....
.....

it seems Sun iSCSI COMSTAR Port Provider affect it.

Actions #3

Updated by eric zhang over 11 years ago

after pkg install gcc-3 or pkg install //openindiana.org/system/kernel, the dtrace -s vicm.d show the follow error message:

dtrace: failed to compile script vicm.d: "/usr/lib/dtrace/scsi.d", line 46: translator member ic_cdb definition uses incompatible types: "uint8_t *" = "struct dtrace_eprobedesc"

Actions

Also available in: Atom PDF