public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Douglas Gilbert <dougg@torque.net>
To: deshwar@ctd.hcltech.com
Cc: linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org
Subject: Re: Reg: SCSI
Date: Fri, 04 Jan 2002 20:43:59 -0500	[thread overview]
Message-ID: <3C365A5F.46938829@torque.net> (raw)

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

             reply	other threads:[~2002-01-05  1:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-05  1:43 Douglas Gilbert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-01-04 13:45 Reg: SCSI Eshwar D - CTD, Chennai.

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=3C365A5F.46938829@torque.net \
    --to=dougg@torque.net \
    --cc=deshwar@ctd.hcltech.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@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