Re: Overlapped command error handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2006-02-02 at 14:00 +0100, Hannes Reinecke wrote:
> It looks to me as if the device has aborted _both_ commands when
> returning the 'overlapped commands attempted' sense.
> Is that conformant behaviour?
> 
> SCSI-2 states in section 7.5.2:
> A target that detects an incorrect initiator connection shall abort all
> I/O processes for the initiator on the logical unit or target routine
> and shall return CHECK CONDITION status. The sense key shall be set to
> ABORTED COMMAND and the additional sense code shall be set to OVERLAPPED
> COMMANDS ATTEMPTED.

Actually, I think it's probably complaining about tag reuse in the sense
of SAM-3 section 5.9.3.  You return this sense if an initiator attempts
to use a duplicate tag.  Since the aic79xx manges its own tags, then
it's probably a driver error.  You could verify this by having the
aic79xx print out the tag as it sends the command out on the wire.  (The
device does support TCQ, doesn't it?)

James


-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux