Bug 638694

Summary: Assertion head_size <= 63 at dos.c:678 in function probe_partition_for_geom()
Product: [Fedora] Fedora Reporter: Brian Lane <bcl>
Component: partedAssignee: Brian Lane <bcl>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: bcl, hdegoede
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-09-30 15:26:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Brian Lane 2010-09-29 16:58:29 UTC
Description of problem:
Running parted on a USB Flash drive failed with this:


[bcl@lister ~]$ sudo parted /dev/sdd unit co print unit s print
Backtrace has 13 calls on stack:
  13: /lib64/libparted-2.1.so.0(ped_assert+0x31) [0x33f3e11fb1]
  12: /lib64/libparted-2.1.so.0() [0x33f3e3b6f6]
  11: /lib64/libparted-2.1.so.0() [0x33f3e3be6e]
  10: /lib64/libparted-2.1.so.0() [0x33f3e3cb0d]
  9: /lib64/libparted-2.1.so.0(ped_disk_add_partition+0x1cb) [0x33f3e1864b]
  8: /lib64/libparted-2.1.so.0() [0x33f3e3df85]
  7: /lib64/libparted-2.1.so.0() [0x33f3e3e155]
  6: /lib64/libparted-2.1.so.0(ped_disk_new+0x75) [0x33f3e19115]
  5: parted() [0x40692c]
  4: parted(non_interactive_mode+0x8c) [0x40c73c]
  3: parted(main+0x63) [0x40aaa3]
  2: /lib64/libc.so.6(__libc_start_main+0xfd) [0x33f2e1ec5d]
  1: parted() [0x404f49]
                                                                          
fdisk shows this about the device:

[bcl@lister ~]$ sudo fdisk /dev/sdd

WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
         switch off the mode (command 'c') and change display units to
         sectors (command 'u').

Command (m for help): p

Disk /dev/sdd: 4005 MB, 4005560320 bytes
21 heads, 21 sectors/track, 17740 cylinders
Units = cylinders of 441 * 512 = 225792 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xeb7cdde8

   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1   *          19       17741     3907648    c  W95 FAT32 (LBA)


Version-Release number of selected component (if applicable):
parted-2.1-8.fc13.x86_64

How reproducible:
Unable to reproduce. Once I removed the partition parted read it w/o crashing.

Comment 1 Fedora Admin XMLRPC Client 2010-09-30 13:37:48 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 2 Brian Lane 2010-09-30 15:26:43 UTC

*** This bug has been marked as a duplicate of bug 585468 ***