Skip to contentSkip to conversation

Interpreting SCSI CDB response over FC(FCP-2)

DISCUSSION shankar krishna 1 participant 1 message Nov 14, 2002 SCSI

lore
Share & tools
lore
#0 lore raw

1.
"if ((res = ioctl(sd_fd,SCSI_IOCTL_SEND_COMMAND,&cdb_buf))) {
scsi_status = res & 0xff;
.....
}"

Thanks. Atleast able to get Status Byte. Question out of curiosity: if I declare 'res' as int, the return value from ioctl was 0x28000002 which obviously give 02(Check condition) if "&" with "ff". But I want to know what are all the other Octets?? Any meaning attached to them?

2.
" The only way that I can see to get the
whole FCP response payload would be via an ioctl in the lower level driver."

Where can I consult or get doc to see there is any way I can send probe below Mid-level driver (or even below?)

_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963