[lkml]   [2004]   [Sep]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: SiI3112 Serial ATA Maxtor 6Y120M0 incorrect geometry detected

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 :)


On Sat, 25 Sep 2004 16:03:15 -0500, micah milano <> 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
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 14:06    [W:0.042 / U:15.112 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site