[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linaro-android
Subject:    linaro-android-media-create is broken on revno: 485, works on revno: 484
From:       zach.pfeffer () linaro ! org (Zach Pfeffer)
Date:       2012-01-20 15:50:19
Message-ID: CAJN=5gDPax65iNjYuXcQL_H4wadQzU+5xqPOj+OguEivBkbWKQ () mail ! gmail ! com
[Download RAW message or body]

On 20 January 2012 09:40, Guilherme Salgado
<guilherme.salgado at linaro.org> wrote:
> IIUC you say that on r484 it works? ?That's very weird because there are no
> real changes between the two -- it's just a version bump:

I'll run it a few times. Maybe its a transient thing.

> salgado at delgadito:~/devel/linaro-image-tools/trunk$ bzr diff -r 484..485
> === modified file 'linaro_image_tools/__version__.py'
> --- linaro_image_tools/__version__.py ? 2012-01-19 13:43:59 +0000
> +++ linaro_image_tools/__version__.py ? 2012-01-19 13:44:02 +0000
> @@ -1,1 +1,1 @@
> -__version__ = "2012.01"
> +__version__ = "2012.01.1"
>
>
>
>
> On 20/01/12 12:34, Zach Pfeffer wrote:
>>
>> looks like this isn't working:
>>
>> revno: 485committer: Mattias Backman
>> <mattias.backman at linaro.org>branch nick: linaro-image-toolstimestamp:
>> Thu 2012-01-19 14:44:02 +0100message: ?Post-release version bump to
>> 2012.01.1
>> $./linaro-image-tools/linaro-android-media-create --mmc /dev/sdc --dev
>> origen --system system.tar.bz2 --userdata userdata.tar.bz2 --boot
>> boot.tar.bz2
>>
>> I see...
>>
>> Device ? ? ? ? ? Mount point ? ? ?Size
>> /dev/sda ? ? ? ? none ? ? ? ? ? ? 114473MB
>> /dev/sda1 ? ? ? ?/ ? ? ? ? ? ? ? ?109778MB
>> /dev/sda2 ? ? ? ?none ? ? ? ? ? ? 4693MB
>> /dev/sda5 ? ? ? ?none ? ? ? ? ? ? 4693MB
>> /dev/sdb ? ? ? ? none ? ? ? ? ? ? 0MB
>> /dev/sdc ? ? ? ? none ? ? ? ? ? ? 7695MB
>> /dev/sdc1 ? ? ? ?none ? ? ? ? ? ? 131MB
>> /dev/sdc2 ? ? ? ?none ? ? ? ? ? ? 512MB
>> /dev/sdc3 ? ? ? ?none ? ? ? ? ? ? 256MB
>> /dev/sdc4 ? ? ? ?none ? ? ? ? ? ? 6795MB
>> /dev/sdc5 ? ? ? ?none ? ? ? ? ? ? 511MB
>> /dev/sdc6 ? ? ? ?none ? ? ? ? ? ? 6282MB
>> /dev/sdd ? ? ? ? none ? ? ? ? ? ? 0MB
>> /dev/sde ? ? ? ? none ? ? ? ? ? ? 0MB
>> Are you 100% sure, on selecting [/dev/sdc] (y/n)? y
>> Checking that no-one is using this disk right now ...
>> OK
>> Warning: bad partition start (earliest 1327105)
>> partition ends on cylinder 1023, beyond the end of the disk
>> partition ends on cylinder 1023, beyond the end of the disk
>> Warning: partition 2 does not start at a cylinder boundary
>> BLKRRPART: Device or resource busy
>> The command to re-read the partition table failed.
>> Run partprobe(8), kpartx(8) or reboot your system now,
>> before using mkfs
>> 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).)
>> Warning: extended partition does not start at a cylinder boundary.
>> DOS and Linux will interpret the contents differently.
>> ? ? ? ? ? ? ? ?end: (c,h,s) expected (0,132,8) found (1,127,32)
>> ? ? ? ? ? ? ? ?start: (c,h,s) expected (0,133,8) found (2,1,30)
>> ? ? ? ? ? ? ? ?end: (c,h,s) expected (18,10,23) found (67,127,31)
>> ? ? ? ? ? ? ? ?start: (c,h,s) expected (18,10,25) found (68,0,1)
>> ? ? ? ? ? ? ? ?end: (c,h,s) expected (85,239,56) found (323,127,32)
>> ? ? ? ? ? ? ? ?start: (c,h,s) expected (85,239,57) found (324,0,1)
>> ? ? ? ? ? ? ? ?end: (c,h,s) expected (1020,203,14) found (1023,127,32)
>> partition ends on cylinder 1023, beyond the end of the disk
>> ? ? ? ? ? ? ? ?start: (c,h,s) expected (85,240,27) found (324,1,1)
>> ? ? ? ? ? ? ? ?end: (c,h,s) expected (119,230,10) found (451,127,32)
>> ? ? ? ? ? ? ? ?start: (c,h,s) expected (119,230,43) found (452,1,1)
>> ? ? ? ? ? ? ? ?end: (c,h,s) expected (187,210,42) found (707,127,32)
>> ? ? ? ? ? ? ? ?start: (c,h,s) expected (187,211,13) found (708,1,1)
>> ? ? ? ? ? ? ? ?end: (c,h,s) expected (1020,203,14) found (1023,127,32)
>> partition ends on cylinder 1023, beyond the end of the disk
>> Traceback (most recent call last):
>> ? File "./linaro-image-tools/linaro-android-media-create", line 140,
>> in<module>
>> ? ? args.should_create_partitions, args.should_align_boot_part)
>> ? File
>> "/workspace/tmp/linaro-image-tools/linaro_image_tools/media_create/partitions.py",
>> line 69, in setup_android_partitions
>> ? ? get_android_partitions_for_media(media, board_config)
>> ? File
>> "/workspace/tmp/linaro-image-tools/linaro_image_tools/media_create/partitions.py",
>> line 392, in get_android_partitions_for_media
>> ? ? "Could not find boot partition for %s" % media.path)
>> AssertionError: Could not find boot partition for /dev/sdc
>>
>> this works:
>>
>> revno: 484
>> tags: 2012.01
>> committer: Mattias Backman<mattias.backman at linaro.org>
>> branch nick: linaro-image-tools
>> timestamp: Thu 2012-01-19 14:43:59 +0100
>> message:
>> ? Release 2012.01
>>
>>
>>
>
>
> --
> Guilherme Salgado <https://launchpad.net/~salgado>



-- 
Zach Pfeffer
Android Platform Team Lead, Linaro Platform Teams
Linaro.org | Open source software for ARM SoCs
Follow Linaro: http://www.facebook.com/pages/Linaro
http://twitter.com/#!/linaroorg - http://www.linaro.org/linaro-blog


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic