From: Jeff Garzik <jgarzik@pobox.com>
To: Alexandre <almeida@urbi.com.br>
Cc: linux-kernel@vger.kernel.org
Subject: Re: PROBLEM: wrong IDE disk size
Date: Sun, 22 Aug 2004 23:51:21 -0400 [thread overview]
Message-ID: <20040823035121.GA28537@havoc.gtf.org> (raw)
In-Reply-To: <008601c488c3$a607dd30$21c3060a@nheotfd7dz4lxz>
On Mon, Aug 23, 2004 at 12:45:35AM -0300, Alexandre wrote:
> Hi,
>
> 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 know there is a limit
> of 34GB (CHS=4111/255/53) with older BIOSes and kernel, but i believe it
> doesnt apply as the first drive got recognized properly. Also, i have
> another 120 GB SEAGATE as hda working properly. (So the disk with wrong
> capacity is the third IDE drive)
>
> I'm running kernel 2.4.25. CONFIG_IDEDISK_STROKE is off.
>
> Any ideas of what might be happening?
It looks like hdd's host protected area is enabled, and you need
to turn on CONFIG_IDEDISK_STROKE to be able to access 100% of it.
Jeff
next prev parent reply other threads:[~2004-08-23 3:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-23 3:45 Alexandre
2004-08-23 3:51 ` Jeff Garzik [this message]
2004-08-23 9:34 ` Andries Brouwer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040823035121.GA28537@havoc.gtf.org \
--to=jgarzik@pobox.com \
--cc=almeida@urbi.com.br \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®