Re: Problem with larger IDE drive

H.J. Lu (hjl@lucon.org)
Thu, 25 Mar 1999 08:41:03 -0800 (PST)


>
> Ha, HJ - I'll forgive you not reading the Large Disk HOWTO
> (e.g. on http://www.win.tue.nl/~aeb/linux/Large-Disk.html -

I might be reading the wrong version.

> the HOWTO maintainer has not yet managed in the past two months
> to put the previous version om metalab so I dare not tell him
> there is a new version already),
> but mentioning the kernel version seems the minimum you can do
> on the kernel list.
>
> The above looks like you might be using 2.0.36 or so - I think
> 2.2.3 is better (and 2.0.37pre is worse).

I am running 2.0.36.

>
> What happens is described thusly in the HOWTO:
>
> 11.1 BIOS complications
>
> As just mentioned, large disks return the geometry C=16383, H=16, S=63
> independent of the actual size, while the actual size is returned in
> the value of LBAcapacity. Some BIOSes do not recognize this, and
> translate this 16383/16/63 into something with fewer cylinders and more
> heads, for example 1024/255/63 or 1027/255/63. So, the kernel must not only
> recognize the single geometry 16383/16/63, but also all BIOS-mangled
> versions of it. Since 2.2.2 this is done correctly
> (by taking the BIOS idea of H and S, and computing C = capacity/(H*S)).
>

That is exactly what I was looking for. Does anyone have a patch for
2.0.36?

Thanks.

-- 
H.J. Lu (hjl@gnu.org)

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