From: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
To: micah milano <micaho@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: SiI3112 Serial ATA Maxtor 6Y120M0 incorrect geometry detected
Date: Sun, 26 Sep 2004 00:15:33 +0200 [thread overview]
Message-ID: <58cb370e04092515157e9b72ef@mail.gmail.com> (raw)
In-Reply-To: <70fda3204092514037c6dc039@mail.gmail.com>
Hi,
This was discussed to death on lkml.
To make long story short:
- BIOS CHS is _useless_ for IDE driver
- IDE driver returns different geometry for 2.[2,4,6].x kernels
- Andries removed ide-geometry.c in 2.5 but didn't HDIO_GETGEO ioctl
- BIOS CHS is available through EDD driver now
- this is a parted problem
I'm tired of this issue and this is what I'm going to do:
- remove CHS info from IDE printks and /proc/ide/
- add BLKGETSTART ioctl for getting partition's start sector
(this is the only legitimate use of HDIO_GETGEO currently)
- at least obsolete HDIO_GETGEO in IDE or even remove it (failing is
better than returning unexpected results)
- silence complainers :)
Bartlomiej
On Sat, 25 Sep 2004 16:03:15 -0500, micah milano <micaho@gmail.com> wrote:
> Some interesting additional information... if I boot with 2.4.25, the
> CHS in the dmesg changes to something else, in 2.6.7 it was
> CHS=65535/16/63, in 2.4.25 it becomes CHS=238216/16/63.
next prev parent reply other threads:[~2004-09-25 22:15 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-25 19:14 SiI3112 Serial ATA Maxtor 6Y120M0 incorrect geometry detected micah milano
2004-09-25 21:03 ` micah milano
2004-09-25 22:15 ` Bartlomiej Zolnierkiewicz [this message]
2004-09-25 23:44 ` Alan Cox
2004-09-26 10:29 ` Andries Brouwer
2004-09-26 10:59 ` Bartlomiej Zolnierkiewicz
2004-09-27 15:50 ` micah milano
2004-09-27 19:31 ` 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=58cb370e04092515157e9b72ef@mail.gmail.com \
--to=bzolnier@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=micaho@gmail.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.