From: Douglas Gilbert <dougg@torque.net>
To: linux-kernel@vger.kernel.org
Cc: German Gomez Garcia <kahuna@ksoft.dnsalias.net>
Subject: Re: Manual SCSI bus reset?
Date: Thu, 15 Feb 2001 18:04:30 -0500 [thread overview]
Message-ID: <3A8C607E.8AB567CC@torque.net> (raw)
German Gomez Garcia wrote:
> I've got Plexwriter 12x10x32S attached to an onbard AIC7890
> (besides other things as three IBM UWSCSI harddisks, an SCSI ZIP and a
> Pioneer DVD) and sometimes when recording a CD the Plexwriter fails at the
> very end of the process (although the CD is recorded correctly) and it is
> locked with no posibility to eject it (it seems that a failure while
> reading from the DVD during on-the-fly recording is the cause).
>
> But if I reset the SCSI bus manually, that is trying to read from
> a "reset-it CD", that is completely broken and makes the SCSI bus resets
> itself, I can eject the CD from the Plexwriter. So I would like to know if
> there is a way to do it without that trick. I've downloaded some utilities
> for the SCSI generic driver, one of them should let you reset the bus (or
> even just a single device) but it fails with "SCSI_RESET" not supported
> and after reading through the docs it seems that the kernel (or should I
> say the SCSI drivers) doesn't support this kind of reset.
>
> I would like to know if this is "kernel politics", "faulty
> hardware", or just lazy programmers ;-), thanks and please CC the answer
> to me as I'm not subscribed to this mailing list.
Various distributions (e.g. RH 7.0) contain the SCSI
mid-level patch that will permit the sg_reset utility
to perform a scsi bus reset. [The same patch makes the
scsi subsystem respect device reservations.]
The patch originates from James Bottomley (see the linux-scsi
list archive) and he has submitted a new version for the lk 2.4
tree recently. When first submitted, objections were raised to
the concept of allowing users to do scsi bus resets (see same
list archive).
There is a chance that the required patch will go into main
kernel tree soon.
Doug Gilbert
next reply other threads:[~2001-02-15 23:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-02-15 23:04 Douglas Gilbert [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-02-15 1:00 Manual SCSI bus reset? German Gomez Garcia
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=3A8C607E.8AB567CC@torque.net \
--to=dougg@torque.net \
--cc=kahuna@ksoft.dnsalias.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