rakesh rakesh wrote:
> 
> Hi,
> Does the sg driver  in the lk-2.4  provide hooks to
> issue device reset and bus reset.Or is the effort
> going
> on to incorporate it in the 2.5 ver.

The sg driver has had the "hooks" to do SCSI bus resets since
lk 2.2.14 . However those "hooks" are inoperable without a
scsi mid level patch. lk 2.2 and 2.4 versions of that patch
are available from the FAQ on the sg web site (and they have
been posted to this list). Some linux distributions come with 
that mid level patch applied (e.g. RedHat 7.0).

That mid level patch primarily addresses SCSI reservations
and user initiated resets are required to break reservations
in extreme situations. Concerns were raised that allowing
users to do SCSI bus reset could interfere with normal
error processing.

I believe that the past reluctance to include that patch
is now being reconsidered. More generally, there is currently 
a quite useful set of SCSI patches and fixes sitting 
(seemingly stranded) in Alan Cox's "ac" tree. Unfortunately 
only the most superficial of these seem to make it into the
main kernel tree. The sooner the lk 2.5 tree starts the better :-)

Doug Gilbert

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]

Reply via email to