Bug 24056

Summary: can't create a Apple partition table' partition
Product: udisks Reporter: maximlevitsky
Component: operationsAssignee: David Zeuthen (not reading bugmail) <zeuthen>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description maximlevitsky 2009-09-20 17:13:22 UTC
Tested with 1GB SD card.

Partition tables is created, but the an attempt to create a partition fails with this:

Error creating partition: helper exited with exit code 1: In part_add_partition: device_file=/dev/mmcblk0, start=0, size=1015808000, type=Windows_FAT_32
Entering MS-DOS parser (offset=0, size=1015808000)
No MSDOS_MAGIC found
Exiting MS-DOS parser
Entering Apple parser
Mac MAGIC found, block_size=512
map_count = 2
Leaving Apple parser
Apple partition table detected
containing partition table scheme = 2
got it
got disk
new partition
Error: Can't have overlapping partitions.
ped_disk_add_partition() failed
Comment 1 David Zeuthen (not reading bugmail) 2009-10-16 13:41:53 UTC
Looks like the same problem as in bug 24055.
Comment 2 maximlevitsky 2009-10-22 15:28:44 UTC
Exactly the same problem exists using an usb disk on key.
I guess this isn't hardware problem after all.
Comment 3 maximlevitsky 2010-01-22 03:24:38 UTC
I want to apologize for thiss bug report.
As a kernel developer, I always use custom compiled kernels, and usually keep same .config file.

I completely forgot that to speed up the compilation I turned off all but MSDOS partition support.

Now I can create that partition map, however I see that I am not allowed to add/remove partitions. Maybe this is because I use 2M virtual device...

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.