From: James Bottomley <James.Bottomley@SteelEye.com>
To: "Grégoire Favre" <gregoire.favre@gmail.com>
Cc: SCSI Mailing List <linux-scsi@vger.kernel.org>
Subject: Re: [gregoire.favre@gmail.com: What breaks aic7xxx in post 2.6.12-rc2 ?]
Date: Mon, 16 May 2005 11:33:32 -0500 [thread overview]
Message-ID: <1116261212.5040.23.camel@mulgrave> (raw)
In-Reply-To: <20050516155409.GE9558@gmail.com>
On Mon, 2005-05-16 at 17:54 +0200, Grégoire Favre wrote:
> What's DV ?
Domain Validation ... it's a way of probing the SCSI bus to check that
the transport parameters for the device are correct (and that nothing on
the bus is interfering with the transmissions).
> Host: scsi1 Channel: 00 Id: 01 Lun: 00
> Vendor: TOSHIBA Model: DVD-ROM SD-M1201 Rev: 1R08
> Type: CD-ROM ANSI SCSI revision: 02
Aha, this wouldn't be the first DVD to screw up in domain validation.
The first such problem was because the device lied about having an echo
buffer ... I suspect that may be the case here too.
The initial fix was just to disbelieve the device if it didn't support
ppr. Could you try the attached? It expands the check to disbelieve
the return for all CD type devices.
Thanks,
James
--- a/drivers/scsi/scsi_transport_spi.c
+++ b/drivers/scsi/scsi_transport_spi.c
@@ -799,7 +799,7 @@ spi_dv_device_internal(struct scsi_reque
* do the SPI pattern write tests */
len = 0;
- if (sdev->ppr)
+ if (sdev->ppr && sdev->type != TYPE_ROM)
len = spi_dv_device_get_echo_buffer(sreq, buffer);
retry:
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2005-05-16 16:33 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-16 15:26 [gregoire.favre@gmail.com: What breaks aic7xxx in post 2.6.12-rc2 ?] Christoph Hellwig
2005-05-16 15:46 ` James Bottomley
2005-05-16 15:54 ` Grégoire Favre
2005-05-16 16:33 ` James Bottomley [this message]
2005-05-16 18:05 ` Grégoire Favre
2005-05-16 21:07 ` James Bottomley
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=1116261212.5040.23.camel@mulgrave \
--to=james.bottomley@steeleye.com \
--cc=gregoire.favre@gmail.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