|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] RE: Data in SCSI Response or SCSI DataSteph, Although a logical use of a residual, I can not see where it is defined should the allocation length be greater than the returned length. Should the allocation be less than the response, this is a Check Condition and the residual is defined. It would seem a residual in a case with adequate allocation is not interesting or defined. Do you know where this mechanism you describe is defined? In normal use, without a Check Condition such information is not returned to the application. Doug > -----Original Message----- > From: owner-ips@ece.cmu.edu [mailto:owner-ips@ece.cmu.edu]On Behalf Of > Stephen Bailey > Sent: Wednesday, September 06, 2000 3:45 PM > To: ips@ece.cmu.edu > Subject: Re: Data in SCSI Response or SCSI Data > > > > When do you get GOOD status and residual counts on a read? > What is causing > > the target to get the length wrong? > > One example is an INQUIRY command. The inquiry data length is > target-specific. Typically the CDB allocation length (and DL) are set > to some arbitrary large value (0xff), and the target sends back > everything it has. The transfer ends with success status. > > There can certainly be transfer residual and no SCSI error status. > > Steph >
Home Last updated: Tue Sep 04 01:07:31 2001 6315 messages in chronological order |