Re: [PATCH] 2.5.30 IDE 112

From: Petr Vandrovec (VANDROVE@vc.cvut.cz)
Date: Tue Aug 06 2002 - 07:19:29 EST


On 6 Aug 02 at 12:27, Andries Brouwer wrote:
> On Tue, Aug 06, 2002 at 10:50:42AM +0200, Marcin Dalecki wrote:
> > - Just removaing dead obscure xlate_1024 code.
>
> Command line options must be added to ask for what this
> xlate_1024 code did earlier. So, some fragments of what you remove
> in this patch will have to come back in some form.

FYI I had to use hda=cyls,255,63 to repartition my HDD. BIOS refused
to report proper size (120GB) when partition table was empty, or when
it contained partitions created for xxx/16/63 geometry. It reported
size ~600MB, and actively refused to allow access above this limit...

With removed (either completely, or just disabling as it is now) xlate_1024
code please talk to [cs]fdisk maintainer (and other) to print big fat
warning and to allow specify BIOS heads/sectors, otherwise partitioning
of empty disk in the way compatible with non-Linux OSes (Netware, Windows)
is not an easy task.
                                                        Petr Vandrovec
                                                        
# lilo
Warning: Int 0x13 function 8 and function 0x48 return different
head/sector geometries for BIOS drive 0x81
    fn 08: 788 cylinders, 255 heads, 63 sectors
    fn 48: 13424 cylinders, 15 heads, 63 sectors
Warning: Kernel & BIOS return differing head/sector geometries for device 0x80
    Kernel: 35973 cylinders, 16 heads, 63 sectors
      BIOS: 1023 cylinders, 255 heads, 63 sectors
-
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/



This archive was generated by hypermail 2b29 : Wed Aug 07 2002 - 22:00:31 EST