[MBT] new ticket for pkg util-linux "Fdisk prints wrong partition table on non distribution kernels"

bugs at pld.org.pl bugs at pld.org.pl
Tue Dec 11 22:00:09 CET 2001


Date: 2001-12-11 22:00:08+01	Author: Marcin Kierus(mkierus) <mkierus at topnet.pl> 		
Title:         Fdisk prints wrong partition table on non distribution kernels	
Ticket ID:     #39
Package:       util-linux-2.11m-1
Distribution:  PLD-1.0.devel.main
Category:      doesn't work as it should
Current state: opened
Text:

Fdisk prints wrong partition table on non distribution kernels. It's happened on SCSI and IDE.

#fdisk -l /dev/sda

Disk /dev/sda: 1 heads, 71687340 sectors, 1 cylinders
Units = cylinders of 71687340 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sda1             1         1  10241406   83  Linux
Partition 1 has different physical/logical beginnings (non-Linux?):
     phys=(0, 1, 1) logical=(0, 0, 64)
Partition 1 has different physical/logical endings:
     phys=(1023, 254, 63) logical=(0, 0, 20482875)
Partition 1 does not end on cylinder boundary:
     phys=(1023, 254, 63) should be (1023, 0, 71687340)
/dev/sda2             1         1    530145   83  Linux
Partition 2 has different physical/logical beginnings (non-Linux?):
     phys=(1023, 254, 63) logical=(0, 0, 20482876)
Partition 2 has different physical/logical endings:
     phys=(1023, 254, 63) logical=(0, 0, 21543165)
Partition 2 does not end on cylinder boundary:
     phys=(1023, 254, 63) should be (1023, 0, 71687340)
/dev/sda3             1         1  10241437+  83  Linux
Partition 3 has different physical/logical beginnings (non-Linux?):
     phys=(1023, 254, 63) logical=(0, 0, 21543166)
Partition 3 has different physical/logical endings:
     phys=(1023, 254, 63) logical=(0, 0, 42026040)
Partition 3 does not end on cylinder boundary:
     phys=(1023, 254, 63) should be (1023, 0, 71687340)
/dev/sda4             1         1  14827995   83  Linux
Partition 4 has different physical/logical beginnings (non-Linux?):
     phys=(1023, 254, 63) logical=(0, 0, 42026041)
Partition 4 has different physical/logical endings:
     phys=(1023, 254, 63) logical=(0, 0, 71682030)
Partition 4 does not end on cylinder boundary:
     phys=(1023, 254, 63) should be (1023, 0, 71687340)

Fdisk without patches works OK.

# fdisk -l /dev/sda

Disk /dev/sda: 255 heads, 63 sectors, 4462 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sda1             1      1275  10241406   83  Linux
/dev/sda2          1276      1341    530145   83  Linux
/dev/sda3          1342      2616  10241437+  83  Linux
/dev/sda4          2617      4462  14827995   83  Linux





More information about the pld-bugs mailing list