Messages in this thread | | | Date | Tue, 4 May 1999 10:13:32 -0500 (CDT) | From | "Andre M. Hedrick" <> | Subject | Re: pre-patch-2.2.8-series candidate, TESTERS NEEDED... |
| |
Andries B. discovered that there is a jumper that allows one to select between 15/16 hardwired head reporting. They are shipped with the jumper selected to 15 and you loose about 5% capacity.
Since the geometry rules for disk translations larger than 8.4GB do not allow for 15 heads, he and I are discussing various options to account for the error that IBM did.
The request is reasonable to add 15/16 combination, but the rule breaking leaves us wondering some. Since this is a geometry issue and Andries is primarily responsible for that part of the kernel, I will defer to his judgement.
If you have a list of drive models and names they could be useful for determining the action needed to address the problem.
On Tue, 4 May 1999, Alexander Viro wrote:
> > > On Tue, 4 May 1999, Andre M. Hedrick wrote: > > > > > Patch will not be uploaded to the list......get it at :: > > http://www.dyer.vanderbilt.edu/ > > server/udma/2.2.7.uniform-ide-6.19.delta.patch.gz > > Andre, while we are at it, could you apply the following patch to > ide-disk.c? Bright IBM boys produced a large disk that reports > 0x3fff*15*63 instead of 0x3fff*16*63. The patch below fixed the problem. > TIA, > Al > > --- ide-disk.c.old Tue May 4 04:21:48 1999 > +++ ide-disk.c Tue May 4 04:27:06 1999 > @@ -101,6 +101,15 @@ > id->cyls = lba_sects / (16 * 63); /* correct cyls */ > return 1; /* lba_capacity is our only option */ > } > + /* > + * ... and at least one TLA VBC has POS instead of brain and can't > + * tell 16 from 15. > + */ > + if ((id->lba_capacity >= 15481935) && (id->cyls == 0x3fff) && > + (id->heads == 15) && (id->sectors == 63)) { > + id->cyls = lba_sects / (15 * 63); /* correct cyls */ > + return 1; /* lba_capacity is our only option */ > + } > /* perform a rough sanity check on lba_sects: within 10% is "okay" */ > if ((lba_sects - chs_sects) < _10_percent) { > return 1; /* lba_capacity is good */ >
Andre Hedrick The Linux IDE guy
Candidate for pre-patch-2.2.8-1 http://www.dyer.vanderbilt.edu/server/udma/2.2.7.uniform-ide-6.19.delta.patch.gz
http://www.dyer.vanderbilt.edu/server/udma/2.2.7.uniform-ide-6.19.patch.gz http://www.dyer.vanderbilt.edu/server/udma/ide.2.0.37pre11+pat7.gz http://www.dyer.vanderbilt.edu/server/udma/hdparm-3.5i.patch.gz
APC UPS Daemon Support Center. http://www.brisse.dk/site/apcupsd/ GPLed source on April 7, 1999
- 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/
| |