lkml.org 
[lkml]   [2002]   [Jan]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Reg: SCSI
Eshwar D - CTD, Chennai wrote:

> In my project while reading/writing the data in
> to scsi disk, I need to block the device using
> RESERVE UNIT and RELEASE UNIT. Can any one help me
> how to send SCSI command to SCSI device. I know that
> this can be done under user level using SCSI generic
> interface. I required function in kernel version
> 2.4.2. level.

See:
http://www.linuxdoc.org/HOWTO/SCSI-Generic-HOWTO/

To break reservations from a crippled SCSI initiator, the
other initiator needs access to a SCSI bus reset. Even
though the sg driver supports this, the SCSI mid-level
support is missing in the standard lk 2.4 series. Many
distributions have the required patch (from James
Bottomley) that makes SCSI bus reset functional.

That SCSI bus reset mid-level patch for the lk 2.5 series
will be heading in Jens's direction shortly.

Doug Gilbert
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:15    [W:0.552 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site