public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Patrick Mansfield <patmans@us.ibm.com>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: Mike Anderson <andmike@us.ibm.com>,
	Florin Iucha <florin@iucha.net>,
	David Brownell <david-b@pacbell.net>,
	USB development list <linux-usb-devel@lists.sourceforge.net>,
	linux-scsi@vger.kernel.org
Subject: Re: [linux-usb-devel] USB Storage oops in 2.5.69-bk8
Date: Sat, 17 May 2003 11:38:48 -0700	[thread overview]
Message-ID: <20030517113848.A26713@beaverton.ibm.com> (raw)
In-Reply-To: <Pine.LNX.4.44L0.0305171108050.26146-100000@netrider.rowland.org>; from stern@rowland.harvard.edu on Sat, May 17, 2003 at 11:29:30AM -0400

On Sat, May 17, 2003 at 11:29:30AM -0400, Alan Stern wrote:
> On Fri, 16 May 2003, Mike Anderson wrote:

> What happens is that the device crashes because of the 3-byte 
> MODE-SENSE(6) request.  The scsi error handler tries various levels of 
> fault recovery, all the way up to a bus reset.  Usb-storage implements the 
> bus reset as a USB port reset, which requires usbcore to re-enumerate 
> the device.  The line
> 
>    drivers/usb/core/message.c: usb_control/bulk_msg: timeout
> 
> refers to a failure during the re-enumeration.  Apparently even the port
> reset was not enough to revive the device.  I don't know the reason for
> the line
> 
>    Error handler scsi_eh_1 waking up

The above is the first thing output when the eh wakes up, so the
re-enumeration could not have started yet (at least it could not have been
initiated via scsi eh calling the bus reset or other abort/reset related
functions), and the USB timeout message could not be part of the scsi eh,
though we did not see the scsi_times_out log message (since it's wrapped
in SCSI_LOG_TIMEOUT, not SCSI_LOG_ERROR_RECOVERY).

Turning on timeout (or even all) logging might give a bit more data:

	echo "scsi log timeout 4" > /proc/scsi/scsi

Or (warning - logs the logging messages if logging to a scsi disk):

	echo "scsi log all" > /proc/scsi/scsi

-- Patrick Mansfield

  parent reply	other threads:[~2003-05-17 18:30 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20030516190414.GD11884@iucha.net>
2003-05-16 21:23 ` [linux-usb-devel] USB Storage oops in 2.5.69-bk8 Alan Stern
2003-05-16 21:44   ` Florin Iucha
2003-05-16 22:29   ` Mike Anderson
2003-05-17 15:29     ` Alan Stern
2003-05-17 16:33       ` David Brownell
2003-05-18 18:31         ` Alan Stern
2003-05-18 23:46           ` David Brownell
2003-05-21 15:19             ` Bug in hot-unplugging for SCSI CD-ROM Alan Stern
2003-05-17 18:38       ` Patrick Mansfield [this message]
2003-05-31 14:35         ` [linux-usb-devel] USB Storage oops in 2.5.69-bk8 Florin Iucha
2003-05-20 14:11     ` Patch: change the serial_number for error-handler commands Alan Stern
2003-05-20 21:25       ` Luben Tuikov
2003-05-21  1:19         ` Alan Stern
2003-05-21 18:03           ` Mike Anderson
2003-05-21 18:50             ` Luben Tuikov
2003-05-21 19:18             ` Luben Tuikov
2003-05-21 20:28               ` Mike Anderson
2003-05-21 21:11                 ` Luben Tuikov
2003-05-21 23:15                   ` Patrick Mansfield
2003-05-22  5:47                     ` Luben Tuikov
2003-05-21 19:57             ` Alan Stern
2003-05-21 20:42               ` Luben Tuikov
2003-05-21 21:05                 ` Alan Stern
2003-05-21 21:19             ` James Bottomley
2003-05-21 22:53               ` Mike Anderson
2003-06-11 17:41             ` PATCH: (as33) Remove /proc/scsi directory in scsi_remove_host() Alan Stern
2003-06-11 18:23               ` Mike Anderson
2003-06-12  6:04                 ` Christoph Hellwig
2003-06-12  6:51                   ` Mike Anderson
2003-06-12 21:00                     ` PATCH: (as33b) " Alan Stern
2003-06-12 21:58                       ` Mike Anderson
2003-06-13 14:38                         ` Alan Stern
2003-06-15 13:01                         ` Christoph Hellwig
2003-05-21 19:24           ` Patch: change the serial_number for error-handler commands Luben Tuikov
2003-05-16 15:56 Fwd: Re: [linux-usb-devel] USB Storage oops in 2.5.69-bk8 Florin Iucha
2003-05-16 16:22 ` Mike Anderson
2003-05-16 17:25   ` Florin Iucha

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=20030517113848.A26713@beaverton.ibm.com \
    --to=patmans@us.ibm.com \
    --cc=andmike@us.ibm.com \
    --cc=david-b@pacbell.net \
    --cc=florin@iucha.net \
    --cc=linux-scsi@vger.kernel.org \
    --cc=linux-usb-devel@lists.sourceforge.net \
    --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