lkml.org 
[lkml]   [2004]   [Sep]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: SiI3112 Serial ATA Maxtor 6Y120M0 incorrect geometry detected
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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:06    [from the cache]
©2003-2011 Jasper Spaans