Re: 10.2 Gig HDD

Andre M. Hedrick (hedrick@Astro.Dyer.Vanderbilt.Edu)
Thu, 21 Jan 1999 09:57:56 -0600 (CST)


On Thu, 21 Jan 1999, Guest section DW wrote:

> Which geometry is used? We can (and do) specify that ourselves with the
> INITIALIZE DRIVE PARAMETERS command to the disk.
>
> (Look at ide.c in the 2.0.36 source. We request setting a geometry by
> drive->special.b.set_geometry = 1;
> The routine do_special() will then output drive->cyl, drive->head,
> drive->sect using the WIN_SPECIFY=0x91=INITIALIZE DRIVE PARAMETERS command.)
>
> So, for modern hardware the disk never sees what we invented.
> For old hardware, we tell it.

The ideal solution is to perform a READ_MAX_ADDRESS for sizing, but that
does not exist yet. Then possibly followed by SET_MAX_ADDRESS for sizing,
but again that does not exist yet.

Cheers,
Andre Hedrick
The (NEW) Linux IDE guy
The APC UPS Specialist for Linux

http://www.dyer.vanderbilt.edu/server/udma/
http://www.dyer.vanderbilt.edu/server/apcupsd/apcupsd-3.5.2.bin.tar.gz

You just need a bigger hammer, or learn how to swing the one you have better.
(C) me.....

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