Messages in this thread |  | | Date | Mon, 20 Nov 2000 07:13:25 +0900 | From | Taisuke Yamada <> | Subject | Re: [PATCH] Large "clipped" IDE disk support for 2.4 when using oldBIOS |
| |
> > Earlier this month, I had sent in a patch to 2.2.18pre17 (with > > IDE-patch from http://www.linux-ide.org/ applied) to add support > > for IDE disk larger than 32GB, even if the disk required "clipping" > > to reduce apparent disk size due to BIOS limitation. > > This patch is not good. It compiles, but when I boot the kernel, it > decides to ignore the hdc=5606,255,63 parameter that I pass to the kernel, > and limits the number of sectors to fill 8.4GB.
Please retest with hdc=... parameter removed. If hd[a-z]=... parameter is specified, my patch will be disabled, trusting whatever user has specified.
Here's a example output of what you should expect if the patched part is being executed:
hda: host protected area => 1 hda: checking for max native LBA... hda: max native LBA is 90045647 hda: (un)clipping max LBA... hda: max LBA (un)clipped to 90045647 hda: lba = 1, cap = 90045647 hda: 90045647 sectors (46103 MB) w/2048KiB Cache, CHS=89330/16/63, UDMA(33) hdc: host protected area => 1 hdc: checking for max native LBA... hdc: max native LBA is 90045647 hdc: (un)clipping max LBA... hdc: max LBA (un)clipped to 90045647 hdc: lba = 1, cap = 90045647 hdc: 90045647 sectors (46103 MB) w/2048KiB Cache, CHS=89330/16/63, UDMA(33)
> /* > * Compute drive->capacity, the full capacity of the drive > * Called with drive->id != NULL. > + * > + * To compute capacity, this uses either of > + * > + * 1. CHS value set by user (whatever user sets will be trusted) > + * 2. LBA value from target drive (require new ATA feature) > + * 3. LBA value from system BIOS (new one is OK, old one may break) > + * 4. CHS value from system BIOS (traditional style) > + * > + * in above order (i.e., if value of higher priority is available, > + * rest of the values are ignored). > */
-- Taisuke Yamada <tai@imasy.or.jp> PGP fingerprint = 6B 57 1B ED 65 4C 7D AE 57 1B 49 A7 F7 C8 23 46 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |