From: Samuel Colin <Samuel.Colin3@wanadoo.fr>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: SCSI development list <linux-scsi@vger.kernel.org>,
Samuel Colin <Samuel.Colin3@wanadoo.fr>
Subject: Magical ansi scsi revision (was Re: [linux-usb-devel] Re: What is SCSI command 0xa0 ?)
Date: Thu, 17 Feb 2005 22:18:03 +0100 [thread overview]
Message-ID: <20050217221803.091fd840@hebus> (raw)
In-Reply-To: <20050217165940.23cd9521@hebus>
The Thu, 17 Feb 2005 16:59:40 +0100
Samuel Colin <Samuel.Colin3@wanadoo.fr> wrote:
> > I don't know why. Do you want to turn on usb-storage verbose debugging
> > in the 2.6.8 kernel, and run it on that other machine?
> > [...]
> > It's hard to say, since there are so many things being changed all the
> > time. But if the REPORT_LUNS command worked under 2.6.8 and failed
> > under 2.6.11, it would be worthwhile to know why.
> >
> OK, I will do and send the debug logs asap.
>
> linux-usb-devel and linux-scsi (as they might be interested in the test
> results for the 2.6.8 kernel) in Cc:
>
OK, I put the logs here :
http://sjdcolin.free.fr/tmp/scsi-problem.tgz
Actually the different logs are inclusive (I did not erase the previous log
informations :-/ ). I made the test with 2.6.8-test (thus the 2.6.8 with
debugging on) and 2.6.10-test. These kernels are Debian ones, but I don't
think there are patches that would parasite the results.
The results surprised me, thus I did a test with 2.6.8 on the openbrick, and
actually lacie1 (the disk that caused problems). Thus I guess that my
machine hanged back then because both disks were usb and debugging was
turned on. Hence, any "big" test (a big copy) could cause problems related
to overloading of the disk where the root mount point was located.
Anyway, I have interesting results for the scsi devel list :
Feb 17 21:19:09 gnondpom kernel: scsi0 : SCSI emulation for USB Mass Storage
devices
Feb 17 21:19:09 gnondpom kernel: Vendor: WDC WD25 Model:
00JB-00FUA0 Rev: 15.0
Feb 17 21:19:09 gnondpom kernel: Type:
Direct-Access ANSI SCSI revision: 02
Feb 17 21:26:10 gnondpom kernel: scsi0 : SCSI emulation for USB Mass Storage
devices
Feb 17 21:26:15 gnondpom kernel: Vendor: WDC WD25 Model:
00JB-00FUA0 Rev: 15.0
Feb 17 21:26:15 gnondpom kernel: Type:
Direct-Access ANSI SCSI revision: 04
It means that for a 2.6.8 kernel, the revision is 02 (then no report_luns
causing problems), while for a 2.6.10, the revision is 04. As I don't think
the firmware of the disk upgrades itself magically depending on the running
kernel, does anyone have an idea why the numbers reported are different ?
I only put scsi-dev in Cc:, as nothing is really of concern for the
usb-devel list (I guess).
Regards,
Samuel Colin
next prev parent reply other threads:[~2005-02-17 21:18 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 ` Samuel Colin [this message]
2005-02-17 22:23 ` Magical ansi scsi revision (was Re: [linux-usb-devel] Re: What is SCSI command 0xa0 ?) 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
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=20050217221803.091fd840@hebus \
--to=samuel.colin3@wanadoo.fr \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox