From: Patrick Mansfield <patmans@us.ibm.com>
To: Andries Brouwer <Andries.Brouwer@cwi.nl>
Cc: Alan Stern <stern@rowland.harvard.edu>,
Matthew Dharm <mdharm-usb@one-eyed-alien.net>,
USB Storage List <usb-storage@lists.one-eyed-alien.net>,
SCSI development list <linux-scsi@vger.kernel.org>
Subject: Re: [usb-storage] Time to allow MODE SENSE for USB disk-type storage devices?
Date: Tue, 9 Mar 2004 17:43:53 -0800 [thread overview]
Message-ID: <20040309174353.A15780@beaverton.ibm.com> (raw)
In-Reply-To: <20040308201328.GA13708@apps.cwi.nl>; from Andries.Brouwer@cwi.nl on Mon, Mar 08, 2004 at 09:13:29PM +0100
Andries or others -
Can you elaborate on this comment in sd.c? Do you have a device that hangs
with the current kernel when asking for more than 4 bytes here? Is it USB
storage?
/*
* First attempt: ask for all pages (0x3F), but only 4 bytes.
* We have to start carefully: some devices hang if we ask
* for more than is available.
*/
res = sd_do_mode_sense(SRpnt, 0, 0x3F, buffer, 4, &data);
Per this changeset:
http://linux.bkbits.net:8080/linux-2.5/diffs/drivers/scsi/sd.c@1.53?nav=index.html|src/|src/drivers|src/drivers/scsi|hist/drivers/scsi/sd.c
-- Patrick Mansfield
next prev parent reply other threads:[~2004-03-10 1:44 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-08 16:05 Time to allow MODE SENSE for USB disk-type storage devices? Alan Stern
2004-03-08 17:55 ` [usb-storage] Time to allow MODE SENSE for USB disk-type storage de vices? Pat LaVarre
2004-03-08 21:16 ` [usb-storage] Time to allow MODE SENSE for USB disk-typestorage " Pat LaVarre
2004-03-08 20:13 ` [usb-storage] Time to allow MODE SENSE for USB disk-type storage devices? Andries Brouwer
2004-03-10 1:43 ` Patrick Mansfield [this message]
2004-03-10 9:13 ` Andries Brouwer
2004-03-10 16:56 ` Alan Stern
2004-03-10 18:53 ` [usb-storage] Time to allow MODE SENSE for USB disk-type storag edevices? Pat LaVarre
2004-03-10 20:24 ` Alan Stern
2004-03-10 20:58 ` Pat LaVarre
2004-03-10 22:43 ` Alan Stern
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=20040309174353.A15780@beaverton.ibm.com \
--to=patmans@us.ibm.com \
--cc=Andries.Brouwer@cwi.nl \
--cc=linux-scsi@vger.kernel.org \
--cc=mdharm-usb@one-eyed-alien.net \
--cc=stern@rowland.harvard.edu \
--cc=usb-storage@lists.one-eyed-alien.net \
/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