Re: Cylinder limits jumper for drives over 32GB

From: Andre Hedrick (andre@linux-ide.org)
Date: Sun Mar 26 2000 - 18:00:40 EST


fdisk(original) /dev/hdc

Command (m for help): p

Disk /dev/hdc: 16 heads, 63 sectors, 769 cylinders
Units = cylinders of 1008 * 512 bytes

   Device Boot Start End Blocks Id System
/dev/hdc1 * 1 33 16600+ 83 Linux
/dev/hdc2 34 4195 2097648 83 Linux
Partition 2 has different physical/logical endings:
     phys=(1023, 15, 63) logical=(4194, 15, 63)
/dev/hdc3 4196 66305 31303440 5 Extended
Partition 3 has different physical/logical beginnings (non-Linux?):
     phys=(1023, 15, 63) logical=(4195, 0, 1)
Partition 3 has different physical/logical endings:
     phys=(1023, 15, 63) logical=(66304, 15, 63)
/dev/hdc5 4196 8357 2097616+ 83 Linux
/dev/hdc6 8358 12519 2097616+ 83 Linux
/dev/hdc7 12520 16681 2097616+ 83 Linux
/dev/hdc8 16682 20843 2097616+ 83 Linux
/dev/hdc9 20844 25005 2097616+ 83 Linux
/dev/hdc10 25006 66305 20815168+ 83 Linux

OR.........

fdisk(new&improved) /dev/hdc

The number of cylinders for this disk is set to 66305.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/hdc: 16 heads, 63 sectors, 66305 cylinders
Units = cylinders of 1008 * 512 bytes

   Device Boot Start End Blocks Id System
/dev/hdc1 * 1 33 16600+ 83 Linux
/dev/hdc2 34 4195 2097648 83 Linux
/dev/hdc3 4196 66305 31303440 5 Extended
/dev/hdc5 4196 8357 2097616+ 83 Linux
/dev/hdc6 8358 12519 2097616+ 83 Linux
/dev/hdc7 12520 16681 2097616+ 83 Linux
/dev/hdc8 16682 20843 2097616+ 83 Linux
/dev/hdc9 20844 25005 2097616+ 83 Linux
/dev/hdc10 25006 66305 20815168+ 83 Linux

Yes I know that "cfdisk" == "calculated fdisk" will return the same.

Second:

hdparm -i /dev/hdb
/dev/hdb:
 Model=QUANTUM FIREBALL ST3.2A, FwRev=A0F.0800, SerialNo=153725642425
 Kernel Drive Geometry LogicalCHS=782/128/63 PhysicalCHS=6256/16/63
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
hdparm -i /dev/hdg
/dev/hdg:
 Model=Maxtor 54098U8, FwRev=DA620CQ0, SerialNo=K802S4EC
 Kernel Drive Geometry LogicalCHS=79406/16/63 PhysicalCHS=79406/16/63
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This is what I find useful........

OOPs......this is is interesting on the table......from "cfdisk"
what happened?

Partition Table for /dev/hdg

         ---Starting--- ----Ending---- Start Number of
 # Flags Head Sect Cyl ID Head Sect Cyl Sector Sectors
-- ----- ---- ---- ---- ---- ---- ---- ---- -------- ---------
 1 0x00 1 1 0 0x83 15 63 1023 63 80041185
 2 0x00 0 0 0 0x00 0 0 0 0 0
 3 0x00 0 0 0 0x00 0 0 0 0 0
 4 0x00 0 0 0 0x00 0 0 0 0 0

Andre Hedrick
The Linux ATA/IDE guy

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Mar 31 2000 - 21:00:18 EST