camcontrol cmd -c - for listing EVPD 0x83

Björn Larsson bjwela at gmail.com
Wed Oct 9 12:20:43 UTC 2013


Dear All, 

 

I am trying to use “camcontrol cmd –c” to send a scsi inquiry command that
lists 0x83 (device identification) data instead of the standard output given
by the “camcontrol inquiry” but I cannot get it to work properly. This could
be due to that I am not understanding the hex format, so hopefully someone
out there can point me in the right direction? The only information I am
looking for is the WWN identifier of the SAS target.   

 

I have tried to create a SCSI CDB command according the information on:
<http://en.wikipedia.org/wiki/SCSI_Inquiry_Command>
http://en.wikipedia.org/wiki/SCSI_Inquiry_Command and come up with the
following command: 

 

# camcontrol cmd da0 –c 0x009600830112 –i 96 –

 

12 is inquiry

01 EVPD bit is set

83 VPD Page

00 MSB length

96 LSB length

00 reserved   

 

The problem is that I cannot get any output from the command? Am I using it
wrong? 

 

Thanks, 

 

Björn

 

 

 

 

 



More information about the freebsd-scsi mailing list