All, Received the following error after performing "sudo parted -l" in a Linux Mint 10 Live DVD environment:
Assertion ((C * heads + H) * sectors + S == A) at ../../../libparted/labels/dos.c:682 in function probe_partition_for_geom() failed. Aborted The only commands I'd done previously were "man parted" and "sudo fdisk -l". The output of "sudo fdisk -l" follows: mint@mint ~ $ sudo fdisk -l Disk /dev/sda: 128.0 GB, 128035676160 bytes 255 heads, 63 sectors/track, 15566 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000c3f53 Device Boot Start End Blocks Id System /dev/sda1 1 2 8192 df BootIt /dev/sda2 2 7784 62513152 7 HPFS/NTFS /dev/sda3 * 7784 13478 45734912 83 Linux /dev/sda4 13478 15567 16777216 82 Linux swap / Solaris Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes 255 heads, 63 sectors/track, 243201 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x4e96980c Device Boot Start End Blocks Id System Disk /dev/sdc: 2000.4 GB, 2000398934016 bytes 255 heads, 63 sectors/track, 243201 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x4e969802 Device Boot Start End Blocks Id System Disk /dev/sdd: 2000.4 GB, 2000398934016 bytes 255 heads, 63 sectors/track, 243201 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x4e969800 Device Boot Start End Blocks Id System /dev/sdd1 1 1148 9214976 da Non-FS data When I called "sudo parted -l" I received: mint@mint ~ $ sudo parted -l Backtrace has 15 calls on stack: 15: /lib/libparted.so.0(ped_assert+0x31) [0x7f002f6265c1] 14: /lib/libparted.so.0(+0x3927a) [0x7f002f65127a] 13: /lib/libparted.so.0(+0x39a73) [0x7f002f651a73] 12: /lib/libparted.so.0(+0x3a72d) [0x7f002f65272d] 11: /lib/libparted.so.0(ped_disk_add_partition+0x1cb) [0x7f002f62cd3b] 10: /lib/libparted.so.0(+0x3bc74) [0x7f002f653c74] 9: /lib/libparted.so.0(+0x3be65) [0x7f002f653e65] 8: /lib/libparted.so.0(ped_disk_new+0x75) [0x7f002f62d815] 7: parted() [0x40698e] 6: parted() [0x40778d] 5: parted() [0x4097d4] 4: parted() [0x40a9cf] 3: parted(main+0x2c) [0x40aadc] 2: /lib/libc.so.6(__libc_start_main+0xfe) [0x7f002ee2ed8e] 1: parted() [0x404fa9] You found a bug in GNU Parted! Here's what you have to do: Don't panic! The bug has most likely not affected any of your data. Help us to fix this bug by doing the following: Check whether the bug has already been fixed by checking the last version of GNU Parted that you can find at: http://ftp.gnu.org/gnu/parted/ Please check this version prior to bug reporting. If this has not been fixed yet or if you don't know how to check, please visit the GNU Parted website: http://www.gnu.org/software/parted for further information. Your report should contain the version of this release (2.3) along with the error message below, the output of parted DEVICE unit co print unit s print and the following history of commands you entered. Also include any additional information about your setup you consider important. Assertion ((C * heads + H) * sectors + S == A) at ../../../libparted/labels/dos.c:682 in function probe_partition_for_geom() failed. Aborted I checked and the latest version is 2.3. I tried literally entering "parted DEVICE unit co print unit s print" and got an error. Realizing then that DEVICE was supposed to /dev/{fdisk} I ran it again against /dev/sda and got a similar errror: mint@mint ~ $ sudo parted /dev/sda unit co print unit s print Backtrace has 13 calls on stack: 13: /lib/libparted.so.0(ped_assert+0x31) [0x7f8e2a06f5c1] 12: /lib/libparted.so.0(+0x3927a) [0x7f8e2a09a27a] 11: /lib/libparted.so.0(+0x39a73) [0x7f8e2a09aa73] 10: /lib/libparted.so.0(+0x3a72d) [0x7f8e2a09b72d] 9: /lib/libparted.so.0(ped_disk_add_partition+0x1cb) [0x7f8e2a075d3b] 8: /lib/libparted.so.0(+0x3bc74) [0x7f8e2a09cc74] 7: /lib/libparted.so.0(+0x3be65) [0x7f8e2a09ce65] 6: /lib/libparted.so.0(ped_disk_new+0x75) [0x7f8e2a076815] 5: parted() [0x40698e] 4: parted(non_interactive_mode+0x8c) [0x40c7cc] 3: parted(main+0x63) [0x40ab13] 2: /lib/libc.so.6(__libc_start_main+0xfe) [0x7f8e29877d8e] 1: parted() [0x404fa9] You found a bug in GNU Parted! Here's what you have to do: Don't panic! The bug has most likely not affected any of your data. Help us to fix this bug by doing the following: Check whether the bug has already been fixed by checking the last version of GNU Parted that you can find at: http://ftp.gnu.org/gnu/parted/ Please check this version prior to bug reporting. If this has not been fixed yet or if you don't know how to check, please visit the GNU Parted website: http://www.gnu.org/software/parted for further information. Your report should contain the version of this release (2.3) along with the error message below, the output of parted DEVICE unit co print unit s print and the following history of commands you entered. Also include any additional information about your setup you consider important. Assertion ((C * heads + H) * sectors + S == A) at ../../../libparted/labels/dos.c:682 in function probe_partition_for_geom() failed. Aborted It appears the problem may be with Solid State Drives as I don't get that error on the next 3 Hitachi Deskstar 2 TB fdisks: mint@mint ~ $ sudo parted /dev/sdb unit co print unit s print Model: ATA Hitachi HDS72202 (scsi) Disk /dev/sdb: 2000GB Sector size (logical/physical): 512B/512B Partition Table: msdos Number Start End Size Type File system Flags Model: ATA Hitachi HDS72202 (scsi) Disk /dev/sdb: 3907029168s Sector size (logical/physical): 512B/512B Partition Table: msdos Number Start End Size Type File system Flags mint@mint ~ $ sudo parted /dev/sdc unit co print unit s print Model: ATA Hitachi HDS72202 (scsi) Disk /dev/sdc: 2000GB Sector size (logical/physical): 512B/512B Partition Table: msdos Number Start End Size Type File system Flags Model: ATA Hitachi HDS72202 (scsi) Disk /dev/sdc: 3907029168s Sector size (logical/physical): 512B/512B Partition Table: msdos Number Start End Size Type File system Flags mint@mint ~ $ sudo parted /dev/sdd unit co print unit s print Model: ATA Hitachi HDS72202 (scsi) Disk /dev/sdd: 2000GB Sector size (logical/physical): 512B/512B Partition Table: msdos Number Start End Size Type File system Flags 1 1049kB 9437MB 9436MB primary Model: ATA Hitachi HDS72202 (scsi) Disk /dev/sdd: 3907029168s Sector size (logical/physical): 512B/512B Partition Table: msdos Number Start End Size Type File system Flags 1 2048s 18431999s 18429952s primary Hope that helps! Cheers, Michael
_______________________________________________ bug-parted mailing list bug-parted@gnu.org http://lists.gnu.org/mailman/listinfo/bug-parted