Re: PROBLEM: wrong IDE disk size

From: Andries Brouwer
Date: Mon Aug 23 2004 - 04:34:56 EST


On Mon, Aug 23, 2004 at 12:45:35AM -0300, Alexandre wrote:

> I installed two new SAMSUNG SP1203N (120GB) drives on the same IDE.
> But, from the boot log:
>
> hdc: attached ide-disk driver.
> hdc: host protected area => 1
> hdc: 234493056 sectors (120060 MB) w/2048KiB Cache, CHS=14596/255/63,
> UDMA(100)
> hdd: attached ide-disk driver.
> hdd: host protected area => 1
> hdd: setmax_ext LBA 234493056, native 66055248
> hdd: 66055248 sectors (33820 MB) w/2048KiB Cache, CHS=4111/255/63, UDMA(100)
>
> So the second one get its capacity limited to ~33GB.
>
> I'm running kernel 2.4.25. CONFIG_IDEDISK_STROKE is off.

You may have set the jumpers on this second disk to limit capacity.

Correct jumper settings and/or try enabling CONFIG_IDEDISK_STROKE.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/