Re: IDE Driver in Linux Reports different geometry that Netware during Volume and Partition Create,

Guest section DW (dwguest@win.tue.nl)
Tue, 14 Sep 1999 00:37:36 +0200 (MET DST)


> > With a MAXTOR 81750-A4 disk device, Netware reports that this disk
> > has a geometry of 850 cylinders, 64 heads, and 63 sectors per track.
>
> That sounds correct.
>
> > Under Linux, the same device reports a geometry of 780 cylinders,
> > 64 heads, and 63 sectors per track.
>
> I always repeat the same question: what are the boot messages?
> And in case you answer you might as well add the output of hdparm -I.
> My first conjecture in such cases is user error.
> For example, the disk may be entered incorrectly in BIOS/CMOS.

From jmerkey@timpanogas.com Mon Sep 13 23:13:41 1999

Boot messages report the wrong geometry as well. These newer drives use a
EIDE command to get the correct geometry and typically, at least in modern
times, don't rely on the information in CMOS since it can be incorrect.

Jeff

Ah - you are naive. There is no `correct geometry'.
But there is a geometry reported by the disk (two geometries, in fact).
And there is a correct geometry for doing I/O (if LBA is not used).
And there is a correct geometry for booting, for LILO to use.
And there is a correct geometry for interaction with other
operating systems - the one that everybody agrees upon for the
interpretation of the partition table.
These geometries differ in general.

The disk here reports 3400 cylinders, 16 heads and 63 sectors per track.
For the partition table you would have liked 850 cylinders, 64 heads,
and 63 sectors per track.
It sounds as if you told the computer in the CMOS setup not to use
more than 780 cylinders.

If that is the case, then just correct that, and the problem is gone.
Otherwise I would like to see more precise data.

Andries - aeb@cwi.nl

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