Re: over 5Gb missing from a 13.5Gb disk

Guest section DW (dwguest@win.tue.nl)
Thu, 9 Dec 1999 03:05:24 +0100


On Wed, Dec 08, 1999 at 05:49:54PM -0500, Prasanna Subash wrote:
> My dmesg information.
>
> dmesg | grep hd
>
> hda: IBM-DJNA-351520, ATA DISK drive
> hde: LTN483, ATAPI CDROM drive
> hdg: CREATIVECD-RW RW6424E, ATAPI CDROM drive
> hda: IBM-DJNA-351520, 14664MB w/430kB Cache, CHS=29795/16/63, UDMA(66)
> hde: ATAPI 48X CD-ROM drive, 120kB Cache, UDMA
> hdg: ATAPI 24X CD-ROM CD-R/RW drive, 2048kB Cache, DMA
> hda: [PTBL] [1027/255/63] hda1 hda2 hda3 < hda5 >
>

Ah, excellent. Now I am completely happy.

So, you have been bitten by the buggy code in ide_xlate_1024().
Giving boot parameters, as I said a moment ago, should help.

The culprit is the fragment of code
if (drive->id) {
drive->cyl = drive->id->cyls;
drive->head = drive->id->heads;
drive->sect = drive->id->sectors;
}

Let me check the kernel situation.
2.3.* is OK - I removed this fragment in patch 2.3.21.
2.2.* and 2.0.* are not OK.
I'll send Alan a patch to delete this also in 2.2.

Andries

-
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/