public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: "Justin T. Gibbs" <gibbs@scsiguy.com>
To: linux-scsi@vger.kernel.org
Subject: underflow field
Date: Thu, 30 Jan 2003 16:45:48 -0700	[thread overview]
Message-ID: <43220000.1043970348@aslan.btc.adaptec.com> (raw)

I received a recent report of the aic7xxx driver reporting:

(scsi0:A:0:0): CDB: 0x12 0x1 0x80 0x0 0x60 0x0
(scsi0:A:0:0): Saw underflow (80 of 96 bytes). Treated as error

This is because the aic7xxx driver (and the aic79xx driver) honors
the underflow field.  Has this field been deprecated and thus should
be ignored by HBA drivers?  If not, why is it that scsi_scan.c doesn't
set underflow to 0 (or maybe 1 in this case) for commands that can have
variable length responses?  The above is a fetch of the serial number
from VPD page 0x80.

--
Justin


             reply	other threads:[~2003-01-30 23:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-30 23:45 Justin T. Gibbs [this message]
2003-02-03 22:49 ` underflow field Doug Ledford

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43220000.1043970348@aslan.btc.adaptec.com \
    --to=gibbs@scsiguy.com \
    --cc=linux-scsi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox