linaro-android-media-create crashes when trying to partition a sd card
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro Image Tools |
New
|
Undecided
|
Unassigned |
Bug Description
following these steps
https:/
fails:
jd@jd-pandadev:
I see...
Device Mount point Size
/dev/sda none 81920MB
/dev/sda1 / 80895MB
/dev/sda2 none 1022MB
/dev/sda5 none 1022MB
/dev/sdb none 7580MB
/dev/sdc none 0MB
/dev/sdd none 0MB
/dev/sde none 0MB
/dev/sr0 none 0MB
Are you 100% sure, on selecting [/dev/sdb] (y/n)? y
Checking that no-one is using this disk right now ...
OK
Warning: bad partition start (earliest 1843201)
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).)
Traceback (most recent call last):
File "./linaro-
args.
File "/home/
get_
File "/home/
media.path, 1 + board_config.
File "/home/
device_path = _get_udisks_
File "/home/
return udisks.
File "/usr/lib/
return self._proxy_
File "/usr/lib/
**keywords)
File "/usr/lib/
message, timeout)
dbus.exceptions
jd@jd-pandadev:
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 linaro- android- media-create" , line 138, in <module> should_ create_ partitions, args.should_ align_boot_ part) jd/pandaboard/ staging- panda-11. 12-release/ 717129/ linaro_ image_tools/ media_create/ partitions. py", line 68, in setup_android_ partitions android_ partitions_ for_media (media, board_config) jd/pandaboard/ staging- panda-11. 12-release/ 717129/ linaro_ image_tools/ media_create/ partitions. py", line 375, in get_android_ partitions_ for_media mmc_part_ offset) 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(dev_ file) jd/pandaboard/ staging- panda-11. 12-release/ 717129/ linaro_ image_tools/ media_create/ partitions. py", line 459, in _get_udisks_ device_ path get_dbus_ method( 'FindDeviceByDe viceFile' )(device) python2. 7/dist- packages/ dbus/proxies. py", line 68, in __call__ method( *args, **keywords) python2. 7/dist- packages/ dbus/proxies. py", line 143, in __call__ python2. 7/dist- packages/ dbus/connection .py", line 630, in call_blocking .DBusException: org.freedesktop .UDisks. Error.Failed: No such device ~/pandaboard/ staging- panda-11. 12-release$
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/
args.
File "/home/
get_
File "/home/
media.path, 1 + board_config.
File "/home/
device_path = _get_udisks_
File "/home/
return udisks.
File "/usr/lib/
return self._proxy_
File "/usr/lib/
**keywords)
File "/usr/lib/
message, timeout)
dbus.exceptions
jd@jd-pandadev: