public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@suse.de>
To: Steffen Winterfeldt <snwint@suse.de>
Cc: Matthias Andree <ma@dt.e-technik.uni-dortmund.de>,
	James Bottomley <James.Bottomley@SteelEye.com>,
	Jeff Garzik <jgarzik@pobox.com>, Andrew Morton <akpm@osdl.org>,
	Linus Torvalds <torvalds@osdl.org>,
	SCSI Mailing List <linux-scsi@vger.kernel.org>
Subject: Re: SuSE hwinfo/yast2 still confusing SYM53C8XX, killing tape backups (was: [BK PATCH] SCSI -rc1 fixes)
Date: Mon, 22 Nov 2004 12:17:23 +0100	[thread overview]
Message-ID: <20041122111722.GC10463@suse.de> (raw)
In-Reply-To: <Pine.LNX.4.61.0411221102280.22230@ligeti.suse.de>

On Mon, Nov 22 2004, Steffen Winterfeldt wrote:
> On Mon, 15 Nov 2004, Matthias Andree wrote:
> 
> > James Bottomley <James.Bottomley@SteelEye.com> writes:
> > 
> > > Well, I think we're stuck on that one.  SUSE doesn't seem willing to
> > > debug hwscan enough to give a coherent description of the problem or a
> > > non hwscan test case and no-one else wants to take hwscan apart to find
> > > out exactly what it is doing.
> 
> Sorry for the late response; I'm just back from vacation.
> 
> > Steffen, SuSE's hwinfo package throws parity errors on SYM53C8xx
> > hardware.  Same issue with all kernels SuSE shipped for 9.1 including
> > the current 2.6.5-7.111 kernel as well as vanilla 2.6.9.
> > hwinfo-8.62-0.2. hotplugctl-0.08-256 - yet another undocumented piece of
> > who-knows-what-its-good-for.
> > 
> > Common trouble introduced by running yast2 or hwinfo is SCSI parity
> > error, phase mismatch, bus reset and sometimes the machine going out to
> > lunch for 2 minutes. It is unclear whether hwinfo probes the hardware
> > directly, confusing the sym53c8xx, or uses some SCSI ioctl that confuses
> > the adaptor. Please help finding _this_ out and if it's hwinfo hacking
> > PCI registers directly, don't do that on ncr/sym/lsi53c8xx and 53c1010
> > chips.
> 
> hwinfo is just a normal program and doesn't do any special tricks on
> hardware. In particular, it issues an scsi inquiry command to get the serial
> number, but that's about all.
> 
> If running just hwinfo breaks things for you, you might try running it
> through strace and look at the files it accesses. Maybe that gives some hint
> to narrow things down.

hwinfo needs to be updated to use SG_IO, there are too many things that
can go wrong with SCSI_IOCTL_SEND_COMMAND (it's far too easy to confuse
the device or adapter).

-- 
Jens Axboe


  reply	other threads:[~2004-11-22 11:18 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-14 21:20 [BK PATCH] SCSI -rc1 fixes James Bottomley
2004-11-14 23:05 ` Jeff Garzik
2004-11-14 23:09   ` James Bottomley
2004-11-14 23:54     ` Matthias Andree
2004-11-15  0:04       ` James Bottomley
2004-11-15  1:09         ` SuSE hwinfo/yast2 still confusing SYM53C8XX, killing tape backups (was: [BK PATCH] SCSI -rc1 fixes) Matthias Andree
2004-11-22 10:35           ` Steffen Winterfeldt
2004-11-22 11:17             ` Jens Axboe [this message]
2004-11-22 11:21               ` Steffen Winterfeldt
2004-11-22 11:23                 ` Jens Axboe
2004-11-22 11:33                   ` Steffen Winterfeldt
2004-11-22 11:37                     ` Jens Axboe
2004-11-22 12:02             ` SuSE hwinfo/yast2 still confusing SYM53C8XX, killing tape backups Matthias Andree
2004-11-22 13:05               ` Steffen Winterfeldt
2004-11-22 13:30               ` Matthew Wilcox
2004-11-22 14:05                 ` Matthias Andree
2004-11-26 14:16                   ` Steffen Winterfeldt
2004-11-27  0:40                     ` Matthias Andree
2004-11-29 11:16                       ` Steffen Winterfeldt
2004-11-29 11:24                         ` Matthias Andree
2004-12-03 22:35                 ` Matthias Andree
2004-11-22 12:06             ` Douglas Gilbert
2004-11-22 13:07               ` Steffen Winterfeldt

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=20041122111722.GC10463@suse.de \
    --to=axboe@suse.de \
    --cc=James.Bottomley@SteelEye.com \
    --cc=akpm@osdl.org \
    --cc=jgarzik@pobox.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=ma@dt.e-technik.uni-dortmund.de \
    --cc=snwint@suse.de \
    --cc=torvalds@osdl.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