public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: James Bottomley <James.Bottomley@SteelEye.com>
To: "K.R. Foley" <kr@cybsft.com>
Cc: SCSI Mailing List <linux-scsi@vger.kernel.org>
Subject: Re: [PATCH] fix command retries in spi_transport class
Date: Thu, 05 May 2005 09:57:27 -0500	[thread overview]
Message-ID: <1115305048.5060.2.camel@mulgrave> (raw)
In-Reply-To: <4276DC27.9030403@cybsft.com>

On Mon, 2005-05-02 at 21:04 -0500, K.R. Foley wrote: 
>   Vendor: SEAGATE   Model: SX118273LC        Rev: 6679
>   Type:   Direct-Access                      ANSI SCSI revision: 02
> scsi1:A:0:0: Tagged Queuing enabled.  Depth 32
>  target1:0:0: Beginning Domain Validation
> (scsi1:A:0): 6.600MB/s transfers (16bit)
> (scsi1:A:0:0): parity error detected in Data-in phase. SEQADDR(0x6a) SCSIRATE(0x80)
> (scsi1:A:0:0): parity error detected in Data-in phase. SEQADDR(0x83) SCSIRATE(0x80)
> (scsi1:A:0:0): parity error detected in Data-in phase. SEQADDR(0x83) SCSIRATE(0x80)
> (scsi1:A:0:0): parity error detected in Data-in phase. SEQADDR(0x1a6) SCSIRATE(0x80)
> (scsi1:A:0:0): parity error detected in Command phase. SEQADDR(0x1a6) SCSIRATE(0x80)
>  target1:0:0: Wide Transfers Fail

This means that the driver is now correctly returning an error.

> (scsi1:A:0): 3.300MB/s transfers

Here we set the correct transfer parameters (narrow), which means all
the parity errors should go away.

I'm at a loss to either duplicate this or figure out from the code what
might be going on, so I really need a trace to help out.

If you can't set the kernel boot line options, you can just edit scsi.c
to set the variable scsi_logging_level to 0xffff (and remove the
module_param lines for it, just in case).  Remember that
CONFIG_SCSI_LOGGING must be set as well.

Thanks,

James



      reply	other threads:[~2005-05-05 14:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-01 23:58 [PATCH] fix command retries in spi_transport class James Bottomley
2005-05-02 14:12 ` K.R. Foley
2005-05-02 14:18   ` James Bottomley
2005-05-02 14:20     ` K.R. Foley
2005-05-02 14:44     ` K.R. Foley
2005-05-03  2:04 ` K.R. Foley
2005-05-05 14:57   ` James Bottomley [this message]

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=1115305048.5060.2.camel@mulgrave \
    --to=james.bottomley@steeleye.com \
    --cc=kr@cybsft.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