How to do SCSI Target Reset?
PC Hardware Forum Index PC Hardware
Dicussion of PC hardware and peripherals
 
 FAQFAQ   MemberlistMemberlist    RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web hwtalk.net
How to do SCSI Target Reset?

 
Post new topic   Reply to topic    PC Hardware Forum Index -> SCSI
Author Message
Guest






Posted: Tue Nov 16, 2004 12:10 am    Post subject: How to do SCSI Target Reset? Reply with quote

Hi Everyone,

I am planning to use SCSI Reserve/Release for SCSI Devices. Since
software that I work on operates in multiple host environments, if
original host dies somehow before releasing reservation, we want to
release the reservation using SCSI Target Reset if possible and if
it's not possible then through SCSI Bus Reset.

Is there a way to send SCSI Target Reset on Windows directly from
Application?
If not then how can we do it?
I read about doing this through ASPI.
Does all type of Host Adapters/Windows OS versions support ASPI? If
not, where can I get list of adapter/OS that is ASPI compatible?
Is there any alternative to ASPI?

I want to do same on UNIX and Netware. How can we achieve this? Can we
do this using Pass Throug IOCTLS?

Thanks for your time and feedback in advance. I will appreciate any
help on this.
Hetal.
Back to top
Rob Turk
Guest





Posted: Tue Nov 16, 2004 3:25 am    Post subject: Re: How to do SCSI Target Reset? Reply with quote

<hetaljoshi77@yahoo.com> wrote in message
news:1100545833.740176.50150@f14g2000cwb.googlegroups.com...
Quote:
Hi Everyone,

I am planning to use SCSI Reserve/Release for SCSI Devices. Since
software that I work on operates in multiple host environments, if
original host dies somehow before releasing reservation, we want to
release the reservation using SCSI Target Reset if possible and if
it's not possible then through SCSI Bus Reset.

Is there a way to send SCSI Target Reset on Windows directly from
Application?
If not then how can we do it?
I read about doing this through ASPI.
Does all type of Host Adapters/Windows OS versions support ASPI? If
not, where can I get list of adapter/OS that is ASPI compatible?
Is there any alternative to ASPI?

I want to do same on UNIX and Netware. How can we achieve this? Can we
do this using Pass Throug IOCTLS?

Thanks for your time and feedback in advance. I will appreciate any
help on this.
Hetal.


Most operating systems do not provide access to the level where you can send
a device reset message or a SCSI bus reset from an application. If you SCSI
peripherals support it you may be able to use a central master machine that
uses third-party reserve/release or superceding reservations. Your nodes can
then request the reservation from the master machine across a network.
Obviously the master machine would become the single-point-of-failure...

[Plug] Send me an e-mail if you're interested in SCSI passthrough code for
Windows, Linux, MacOS-X, AIX, Solaris, Netware or NetBSD/FreeBSD [/Plug]

Rob
Back to top
hetal
Guest





Posted: Tue Nov 16, 2004 7:55 pm    Post subject: Re: How to do SCSI Target Reset? Reply with quote

Hi Rob,

First of all thanks for your reply. Tried sending you email but it
bounced back.

I am interested in knowing how to do SCSI Target Reset
on all windows platform through Pass Through.

Please let me know if you can Provide me with some kind of
code sample.

Also i wanted to know if this is possible through
ASPI? and there are any drawbacks of using ASPI and if
it's available on all windows platform and all HBA supports it.

Thanks a lot for your time.
I appreciate any help on the issue.

Hetal.
Back to top
Rob Turk
Guest





Posted: Tue Nov 16, 2004 8:35 pm    Post subject: Re: How to do SCSI Target Reset? Reply with quote

"hetal" <hetaljoshi77@yahoo.com> wrote in message
news:1100616927.120491.295370@z14g2000cwz.googlegroups.com...
Quote:
Hi Rob,

First of all thanks for your reply. Tried sending you email but it
bounced back.

I am interested in knowing how to do SCSI Target Reset
on all windows platform through Pass Through.

Please let me know if you can Provide me with some kind of
code sample.

Also i wanted to know if this is possible through
ASPI? and there are any drawbacks of using ASPI and if
it's available on all windows platform and all HBA supports it.

Thanks a lot for your time.
I appreciate any help on the issue.

Hetal.

Hi Hetal,

Many automated systems try to send me e-mail too. To prevent that you need
to edit my return address a little ;-)

16-bit ASPI used to have a function to hardware reset the SCSI bus, but this
wasn't implemented on all adapters by all vendors.

32-bit ASPI doesn't have that function at all, but it does define a Bus
Device Reset function. I think the key to success is if the low-level SCSI
miniport driver of the adapter you're using includes that function. I have
not implemented this functionality in my passthrough libraries as there's no
generic way to implement the same functionality on the Unix/Linux systems
out there. I may be able to if you contact me directly.

Rob
Back to top
 
Post new topic   Reply to topic    PC Hardware Forum Index -> SCSI All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Electronics VoIP DSP
New Topics php BB