Welcome to PCForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Questions regarding IDE/ATA (building a system)

 
   Hardware Problem Solving Community! (Home) -> PC Storage RSS
Next:  IBM ServeRaid 3L, 3H, 4H and WindowsXP  
Author Message
Panic

External


Since: Nov 05, 2003
Posts: 1



(Msg. 1) Posted: Thu Nov 06, 2003 2:49 am
Post subject: Questions regarding IDE/ATA (building a system)
Archived from groups: comp>sys>ibm>pc>hardware>storage (more info?)

I am currently working on a device that shall sit on an IDE bus,
between the host and drives, where it shall do some specific tasks,
and:

- There will be a delay through the circuit, maybe as much as 10
blocks of 16 bits from the databus (when transmitting data).
- The device shall be transparent when looking from the host and
device.

I plan on letting abort and reset signals and such go right throuh
without any delay. And for protocol data, there will only be a short
delay. But for data that is going to be stored, thee will be, as I
previously stated, a delay of aproximately 10 blocks of 16 bit
"words".

And now to my questions:

1. What problems could arise from the fact that I introduce a delay?
2. How important would it (really) be to deal with those problems?
3. Is it possible to "stall" commands that is problematic when delay
is introduced, so that an "answer" can be fetched from the
host/device, even though the protocol states stuff like "wait for
400ms for an answer, and then do this and that"?

I have a system up and running that just doesn't care to address any
problems introduced by the delay, and it works just fine. The question
is, will it keep on doing that, if put through extensive "stress
testing", where all sorts of crazy command sequences is sent to the
drive?

-"Panic"

P.S. No need to reply with RTFM. I'm on it, but the bugger is huge...
Wink

 >> Stay informed about: Questions regarding IDE/ATA (building a system) 
Back to top
Login to vote
Arno Wagner

External


Since: Nov 07, 2003
Posts: 1692



(Msg. 2) Posted: Fri Nov 07, 2003 11:56 pm
Post subject: Re: Questions regarding IDE/ATA (building a system) [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Previously Panic <panic74.RemoveThis@hotmail.com> wrote:
 > I am currently working on a device that shall sit on an IDE bus,
 > between the host and drives, where it shall do some specific tasks,
 > and:

 > - There will be a delay through the circuit, maybe as much as 10
 > blocks of 16 bits from the databus (when transmitting data).
 > - The device shall be transparent when looking from the host and
 > device.

 > I plan on letting abort and reset signals and such go right throuh
 > without any delay. And for protocol data, there will only be a short
 > delay. But for data that is going to be stored, thee will be, as I
 > previously stated, a delay of aproximately 10 blocks of 16 bit
 > "words".

 > And now to my questions:

 > 1. What problems could arise from the fact that I introduce a delay?

Violation of the IDE specification and of the accepted IDE
implementation practices in the real world (not documented
anywhere).

 > 2. How important would it (really) be to deal with those problems?

Critical. The whole bus-arbitration may break down.

 > 3. Is it possible to "stall" commands that is problematic when delay
 > is introduced, so that an "answer" can be fetched from the
 > host/device, even though the protocol states stuff like "wait for
 > 400ms for an answer, and then do this and that"?

No idea. Have a look into the specification. It should tell
you what is acceptable and what not. As far as I remember all
the relevant timing and electrical details are in there.

 > I have a system up and running that just doesn't care to address any
 > problems introduced by the delay, and it works just fine. The question
 > is, will it keep on doing that, if put through extensive "stress
 > testing", where all sorts of crazy command sequences is sent to the
 > drive?

Well, given that some drives have problems with this, it is very hard
to tell. If this is not a general purpose device, observable
correct behaviour is probably good enough. If it is for a general-
purpose device, you will have to read the manual and in addition
will have to do extensive field tests. Not pretty, but the
only thing that works.

 > -"Panic"

 > P.S. No need to reply with RTFM. I'm on it, but the bugger is huge...
 > Wink

Yes, I know. It is.

Maybe you could tamper with the capabilities the drive reports
and just do not allow complex things like queued commands?
That could make the setting a lot easier. It could give some
performance cost though.

Anyway, I have to say it is quite impressive that you have a
working prototype for this!

Arno

--
For email address: lastname AT tik DOT ee DOT ethz DOT ch
GnuPG: ID:1E25338F FP:0C30 5782 9D93 F785 E79C 0296 797F 6B50 1E25 338F
"The more corrupt the state, the more numerous the laws" - Tacitus<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Questions regarding IDE/ATA (building a system) 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
IBM ServeRaid 3L, 3H, 4H and WindowsXP - Hi here is some information on how to make a ServeRaid 3L, 3H or 4H work on Windows XP http://w3.ift.ulaval.ca/~etche1/HowSXP.htm thanks Etienne Chenard

Will a dead hard drive cripple a system? and other questio.. - I have a 120 Gig Western Digital IDE drive that, whenever I put it into my system, causes it to hang indefinitly. I'd like to wipe it clean with Killdisk, but even that fails to initialize from a bootable CD (Windows XP CD is the same when trying to do a...

Questions about Ghost 2003 - I just bought an ext 120gb WD HD (USB2.0} and Ghost 2003. My main reasons for buying these is in case of a hd failure i can buy a new hd and use ghost to copy the image i made on the ext drive to the new (and only internal drive on system). Now the..

IDE Cable Questions - I have a few questions but I'm not sure if this is the right place to ask. If it's not, please point me in the right direction. First, is it okay to run a drive's power cable parallel to its IDE ribbon? I know that sometimes in electronics that's not....

USB/SATA HDD questions - I have a Windows 2000 server, SP4. It is a Dell "edge" system which means no possable way to install another internal HDD. Here is the problem: I have data stored on an external 250GB USB2 hard drive. I then must daily backup that data to...
   Hardware Problem Solving Community! (Home) -> PC Storage All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can 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



[ Contact us | Terms of Service/Privacy Policy ]