From: Patrick Mansfield <patmans@us.ibm.com>
To: andy barlak <andyb@island.net>
Cc: Mike Anderson <andmike@us.ibm.com>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] scsi_error device offline fix
Date: Tue, 22 Oct 2002 08:38:15 -0700 [thread overview]
Message-ID: <20021022083815.A61@eng2.beaverton.ibm.com> (raw)
In-Reply-To: <Pine.LNX.4.30.0210211739330.2010-100000@tosko.alm.com>; from andyb@island.net on Mon, Oct 21, 2002 at 05:58:04PM -0700
On Mon, Oct 21, 2002 at 05:58:04PM -0700, andy barlak wrote:
> On Mon, 21 Oct 2002, Patrick Mansfield wrote:
> > Can you turn on all scsi logging - with CONFIG_SCSI_LOGGING enabled,
> > on your boot command line add a "scsi_logging=1" and send
> > the output.
> >
> > -- Patrick Mansfield
>
> Sure. large dmesg buffer required. This produced a 55k file that
> I will pare down to what I consider informative.
It looks like the INQUIRY page code 0 is timing out and appears to have
hung the bus, as all other commands sent to the bus then timeout.
It's surprising that that would hang the bus.
That driver really needs at least some basic reset handling.
Try removing the scsi_load_identifier call in scsi_scan.c and
see if you can boot. And/or get sg_utils and on your 2.4 system
send a INQUIRY page 0 to the device, and see if that hangs or
not, like:
[patman@elm3a50 sg_utils]$ sudo ./sg_inq -e -o=0 /dev/sg1
EVPD INQUIRY, page code=0x00:
Only hex output supported
00 00 00 00 0c 00 03 80 81 c0 c1 c2 c3 c7 c8 d1 d2 ................
FYI sg_utils is at:
http://www.torque.net/sg/index.html#Utilities:%20sg_utils%20and%20sg3_utils
http://www.torque.net/sg/p/sg3_utils-1.01.tgz
-- Patrick Mansfield
next prev parent reply other threads:[~2002-10-22 15:32 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-21 17:39 andy barlak
2002-10-21 19:33 ` Mike Anderson
2002-10-21 20:01 ` andy barlak
2002-10-21 22:52 ` Patrick Mansfield
2002-10-22 0:58 ` andy barlak
2002-10-22 15:38 ` Patrick Mansfield [this message]
2002-10-22 16:14 ` andy barlak
2002-10-22 19:05 ` INQUIRY VPD page 0 hangs disk [was scsi_error device offline fix] Patrick Mansfield
-- strict thread matches above, loose matches on Subject: below --
2002-10-21 7:37 [PATCH] scsi_error device offline fix Mike Anderson
2002-10-21 16:39 ` Richard Gooch
2002-10-21 16:51 ` Mike Anderson
2002-10-21 16:50 ` Mike Anderson
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=20021022083815.A61@eng2.beaverton.ibm.com \
--to=patmans@us.ibm.com \
--cc=andmike@us.ibm.com \
--cc=andyb@island.net \
--cc=linux-kernel@vger.kernel.org \
/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
Powered by JetHome