From: Matthew Dharm <mdharm-scsi@one-eyed-alien.net>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: James Bottomley <James.Bottomley@SteelEye.com>,
Sergey Vlasov <vsu@altlinux.ru>,
Samuel Colin <Samuel.Colin3@wanadoo.fr>,
SCSI development list <linux-scsi@vger.kernel.org>,
USB Storage list <usb-storage@lists.one-eyed-alien.net>
Subject: Re: [PATCH as470] Add a NOREPORTLUN blacklist flag
Date: Sun, 20 Feb 2005 22:47:09 -0800 [thread overview]
Message-ID: <20050221064709.GA30205@one-eyed-alien.net> (raw)
In-Reply-To: <Pine.LNX.4.44L0.0502202236350.9805-100000@netrider.rowland.org>
[-- Attachment #1: Type: text/plain, Size: 2619 bytes --]
On Sun, Feb 20, 2005 at 10:44:21PM -0500, Alan Stern wrote:
> On Sun, 20 Feb 2005, Sergey Vlasov wrote:
>
> > On Thu, 17 Feb 2005 17:31:04 -0500 (EST) Alan Stern wrote:
> >
> > > James:
> > >
> > > This patch adds a NOREPORTLUN blacklist flag for a disk made by "WDC"
> > > (Winchester?). The drive's firmware crashes when it receives
> > > REPORT_LUNS, even though it claims to be SCSI rev 04.
> > >
> > > Alan Stern
> > >
> > >
> > >
> > > Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
> > >
> > > ===== drivers/scsi/scsi_devinfo.c 1.14 vs edited =====
> > > --- 1.14/drivers/scsi/scsi_devinfo.c 2004-12-10 11:54:56 -05:00
> > > +++ edited/drivers/scsi/scsi_devinfo.c 2005-02-16 11:30:56 -05:00
> > > @@ -201,6 +201,7 @@
> > > {"WangDAT", "Model 2600", "01.7", BLIST_SELECT_NO_ATN},
> > > {"WangDAT", "Model 3200", "02.2", BLIST_SELECT_NO_ATN},
> > > {"WangDAT", "Model 1300", "02.4", BLIST_SELECT_NO_ATN},
> > > + {"WDC WD25", "00JB-00FUA0", NULL, BLIST_NOREPORTLUN},
> >
> > This does not look like a right solution. WD2500JB is an IDE disk made
> > by Western Digital:
> >
> > http://www.wdc.com/en/products/Products.asp?DriveID=42
> >
> > Therefore the problematic LaCie device is really an USB/Firewire-to-IDE
> > adapter with the WD2500JB drive in a box. And it is the USB-IDE part
> > which fails on the REPORT_LUNS command, not the IDE disk. Probably
> > there are other LaCie devices with the same adapter but different disks
> > inside; adding all such IDE disks to the SCSI blacklist does not seem
> > like a good solution. The usb-storage blacklist seems like a better
> > place for such entry.
>
> You are quite correct. In fact, another user with a different brand of
> USB-IDE converter just wrote in with exactly the same problem.
>
> James, please withdraw the patch above.
>
> Matt, it looks like the best way to solve this problem is to go back to
> the old strategy of always setting the SCSI revision to 2 (no matter what
> it might actually be), at least for Direct Access devices. That would
> suppress the REPORT_LUNS command. Would we lose anything by doing this?
Besides the use of REPORT_LUNS on devices which actually support it? I
don't think so...
I wonder if printing a warning if sdev->scsi_level > SCSI_2 would be
useful...
Matt
--
Matthew Dharm Home: mdharm-usb@one-eyed-alien.net
Maintainer, Linux USB Mass Storage Driver
You are needink to look more evil. You likink very strong coffee?
-- Pitr to Dust Puppy
User Friendly, 10/16/1998
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2005-02-21 6:47 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20050214160210.6c7e7e52@hebus>
2005-02-14 21:07 ` What is SCSI command 0xa0 ? Alan Stern
2005-02-14 21:12 ` Doug Maxey
[not found] ` <Pine.LNX.4.44L0.0502141623440.1843-100000@ida.rowland.org>
2005-02-14 22:06 ` Samuel Colin
2005-02-16 16:42 ` Alan Stern
2005-02-17 15:59 ` Samuel Colin
2005-02-17 21:18 ` Magical ansi scsi revision (was Re: [linux-usb-devel] Re: What is SCSI command 0xa0 ?) Samuel Colin
2005-02-17 22:23 ` Alan Stern
2005-02-17 22:49 ` Samuel Colin
2005-02-17 22:31 ` [PATCH as470] Add a NOREPORTLUN blacklist flag Alan Stern
2005-02-20 16:59 ` Sergey Vlasov
2005-02-21 3:44 ` Alan Stern
2005-02-21 6:47 ` Matthew Dharm [this message]
2005-02-21 17:52 ` Patrick Mansfield
2005-02-21 22:07 ` Alan Stern
2005-02-28 17:26 ` James Bottomley
2005-02-28 22:27 ` Alan Stern
2005-02-14 21:27 ` What is SCSI command 0xa0 ? Matthias Andree
2005-02-14 21:53 ` Patrick Mansfield
2005-02-14 22:02 ` Douglas Gilbert
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=20050221064709.GA30205@one-eyed-alien.net \
--to=mdharm-scsi@one-eyed-alien.net \
--cc=James.Bottomley@SteelEye.com \
--cc=Samuel.Colin3@wanadoo.fr \
--cc=linux-scsi@vger.kernel.org \
--cc=stern@rowland.harvard.edu \
--cc=usb-storage@lists.one-eyed-alien.net \
--cc=vsu@altlinux.ru \
/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