From: Jeff Garzik <jgarzik@pobox.com>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: Jens Axboe <axboe@suse.de>,
SCSI development list <linux-scsi@vger.kernel.org>
Subject: Re: Retry scsi_mode_sense if UNIT ATTENTION occurs
Date: Mon, 28 Jul 2003 11:08:24 -0400 [thread overview]
Message-ID: <20030728150823.GC1399@gtf.org> (raw)
In-Reply-To: <Pine.LNX.4.44L0.0307281005590.797-100000@ida.rowland.org>
On Mon, Jul 28, 2003 at 10:10:33AM -0400, Alan Stern wrote:
> Jens:
>
> This patch changes the scsi_mode_sense() routine to retry up to a total of
> 3 times if a command fails with a UNIT ATTENTION sense key value.
>
> Without this change, sr.c does not properly read the capabilities mode
> page for a just-powered-up cdrom drive -- it gives up upon receiving a
> Device Reset Occurred code.
I'm curious, are you testing against a real SCSI device, or a faked one
as via ide-scsi.c?
Jeff
next prev parent reply other threads:[~2003-07-28 14:53 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-24 15:12 Maximum_transfer_size and SCSI request buffer size parameters Alan Stern
2003-07-24 15:35 ` Jens Axboe
2003-07-24 16:22 ` Alan Stern
2003-07-24 19:50 ` PATCH: (as70) " Alan Stern
2003-07-28 14:10 ` Retry scsi_mode_sense if UNIT ATTENTION occurs Alan Stern
2003-07-28 15:08 ` Jeff Garzik [this message]
2003-07-28 15:31 ` Alan Stern
2003-07-29 20:28 ` Kai Makisara
2003-07-29 21:10 ` Alan Stern
2003-07-29 23:23 ` James Bottomley
2003-07-30 14:09 ` Alan Stern
2003-07-30 19:10 ` Matthew Dharm
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=20030728150823.GC1399@gtf.org \
--to=jgarzik@pobox.com \
--cc=axboe@suse.de \
--cc=linux-scsi@vger.kernel.org \
--cc=stern@rowland.harvard.edu \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.