[comp.unix.xenix] ESDI HARD dRIVE

thw9759@ultb.UUCP (T.H. White) (03/25/89)

I am trying to get a 70 megabyte ESDI hard drive to work with an IBM AT
clone (Reliant 286 system to be exact). It has Phoenix Bios 3.10 installed
in it. From what little I found out about the hard drive, it seems to be a
drive of type: 67. The ROM BIOS SETUP goes to type 47. Is there a way around
it? 

I want to put XENIX on it which doesn't use the bios anyway. If I just had
a way of knowing where the registers are and how many cylinders, sectors
per track, landing zone, Ecc, write precomp, and a couple of other
parameters and I think Xenix wouldtake off and do its thing but I don't
know what the parameters are and no one seems to know. Of course IBM
is of no help as usual and the Santa Cruz Operation won't help either.
I have a Western Digital ESDI controller which operates the 1.2meg
floppy just fine...

Any help would be most appreciated.. Thank you.

curci@stat.uucp (Ray Curci (scri)) (03/27/89)

You say that the hard disk seems to be type 67.  How did you come to this
conclusion?  I recommend that you run the phoenix setup program and see
what setup says about your hard disk type.  Assuming that you find out that
your hard disk type is in the 1..47 range, you can then lie to the setup
program and tell it you want to change the hard disk setting.  When prompted
for the hard disk type, enter a '?' instead.  This will display a table of
hard disk types, number of cylinders, heads, landing zones, etc.  Record
this information (shift-PRINTSCREEN) and then enter the correct drive
type.  Through experimentation I have found that different BIOSes assign
different drive types to the same disk drives.  Most BIOSes agree in the
disk type 1..15 range (I guess they are patterned after the original IBM AT 
BIOS) only.

The following MSC program should tell you your hard disk types:
#include <stdio.h>
main()		/* quick&dirty program, excuse the sloppy code */
{
	int cmos12, cmos19, cmos20, drive1, drive2;
	outp(0x70,0x12);	cmos12 = inp(0x71);
	outp(0x70,0x19);	cmos19 = inp(0x71);
	outp(0x70,0x20);	cmos20 = inp(0x71);
	drive1 = (cmos12 >> 4) & 0x0f;
	drive2 =  cmos12       & 0x0f;
	if (drive1 == 0x0f) drive1 = cmos19;
	if (drive2 == 0x0f) drive2 = cmos20;
	printf("Drive C: is type %d, Drive D: is type %d\n", drive1, drive2);
	printf("Note: drive type zero indicates the drive is NOT present\n");
}

ray curci
curci@stat.fsu.edu

debra@alice.UUCP (Paul De Bra) (03/27/89)

In article <502@ultb.UUCP> thw9759@ultb.UUCP (T.H. White) writes:
}I am trying to get a 70 megabyte ESDI hard drive to work with an IBM AT
}clone (Reliant 286 system to be exact). It has Phoenix Bios 3.10 installed
}in it. From what little I found out about the hard drive, it seems to be a
}drive of type: 67. The ROM BIOS SETUP goes to type 47. Is there a way around
}it? 

Hmm, I have a table that ends with type 66...

Maybe if you open up your system and tell us what make and model it is
someone can figure it out...

Paul.
-- 
------------------------------------------------------
|debra@research.att.com   | uunet!research!debra     |
------------------------------------------------------

thw9759@ultb.UUCP (T.H. White) (03/31/89)

Thanks for the help. Still really haven't gotten anywhere yet though.
It seems that the controller that I have is a Western Digital
controller with the following label on the top:

	ESDI ADAPTER 61-000151   WD1005A-ARM


The 70meg drive has on the metal end of it a sticker that has the following:

	P/N 90X8528
	70MB ESDI

On the side sticker it has the following:

	Manufactured by IBM Corp.
	Rochester, NM USA		Type: 0667


(so far there are no typo errors in the data above)

The machine that I have been trying to run it in is a Reliant Clone 286 AT.
Pictured in this months (April) Computer Shopper on page (107).

It has a Phoneix 3.10 Bios chip in it with 1meg of memory at 1 wait state.
It came with an RLL controller and a 65meg hard drive. I removed that
controller and plugged mine in and plugged it to the 1.2 floppy and the
esdi drive. It runs the floppy ok and the heads drop on the hard drive but
when I run Disk Manager it gives initialization errors.

If anyone has an IBM ESDI 70 MEG HARD DRIVE, please write mail stating
some of the specs so that maybe I could get XENIX to run on it. I'm in
no position to make ROM chips or spend lots of money on anything. I'm
poor like everyone else, except worse. If I can't get it to work, I will
give up and sell it probably (if I can) otherwise use as a paper weight.

Thank you for any help.

				CRASH