Comment 1 for bug 902227

Revision history for this message
Guilherme Salgado (salgado) wrote :

I thought this could be a dupe of bug 717129 so I suggested the reporter give the branch there a try but it didn't seem to help:

Are you 100% sure, on selecting [/dev/sdb] (y/n)? y
Sleeping for 1 second(s) to wait for the partition to settle
Checking that no-one is using this disk right now ...
OK
Warning: bad partition start (earliest 1318913)
partition ends on cylinder 1023, beyond the end of the disk
partition ends on cylinder 1023, beyond the end of the disk
Warning: partition 1 does not end at a cylinder boundary
If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)
to zero the first 512 bytes: dd if=/dev/zero of=/dev/foo7 bs=512 count=1
(See fdisk(8).)
Sleeping for 1 second(s) to wait for the partition to settle
Traceback (most recent call last):
  File "./717129/linaro-android-media-create", line 138, in <module>
    args.should_create_partitions, args.should_align_boot_part)
  File "/home/jd/pandaboard/staging-panda-11.12-release/717129/linaro_image_tools/media_create/partitions.py", line 68, in setup_android_partitions
    get_android_partitions_for_media (media, board_config)
  File "/home/jd/pandaboard/staging-panda-11.12-release/717129/linaro_image_tools/media_create/partitions.py", line 375, in get_android_partitions_for_media
    media.path, 1 + board_config.mmc_part_offset)
  File "/home/jd/pandaboard/staging-panda-11.12-release/717129/linaro_image_tools/media_create/partitions.py", line 444, in _get_device_file_for_partition_number
    device_path = _get_udisks_device_path(dev_file)
  File "/home/jd/pandaboard/staging-panda-11.12-release/717129/linaro_image_tools/media_create/partitions.py", line 459, in _get_udisks_device_path
    return udisks.get_dbus_method('FindDeviceByDeviceFile')(device)
  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 68, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 143, in __call__
    **keywords)
  File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 630, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.UDisks.Error.Failed: No such device
jd@jd-pandadev:~/pandaboard/staging-panda-11.12-release$