The last linaro-android-media-create that worked was 383

Bug #816010 reported by Zach Pfeffer
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Image Tools
Fix Released
Critical
Guilherme Salgado

Bug Description

The last linaro-android-media-create that worked was 383. Everything after that gives me a:

$./linaro-image-tools/linaro-android-media-create --mmc /dev/sdc --dev panda --system system.tar.bz2 --userdata userdata.tar.bz2 --boot boot.tar.bz2bash: ./linaro-image-tools/linaro-android-media-create: No such file or directory
$cd ..
$./linaro-image-tools/linaro-android-media-create --mmc /dev/sdc --dev panda --system system.tar.bz2 --userdata userdata.tar.bz2 --boot boot.tar.bz2
====================================================================
            linaro-android-media-create is EXPERIMENTAL

 The command line parameters as well as the distribution format will
 be changed and we will not keep backward compatibility for the
 current version here.
====================================================================

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 1886MB
/dev/sdc1 none 131MB
/dev/sdc2 none 256MB
/dev/sdc3 none 256MB
/dev/sdc4 none 1242MB
/dev/sdc5 none 511MB
/dev/sdc6 none 729MB
/dev/sdd none 0MB
/dev/sde none 0MB
Are you 100% sure, on selecting [/dev/sdc] (y/n)? y
[sudo] password for zpfeffer:
Checking that no-one is using this disk right now ...
OK
Warning: bad partition start (earliest 1318913)
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).)

Formating boot partition

mkfs.vfat 3.0.9 (31 Jan 2010)
mke2fs 1.41.14 (22-Dec-2010)
Filesystem label=userdata
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
Stride=0 blocks, Stripe width=0 blocks
131072 inodes, 524272 blocks
26213 blocks (5.00%) reserved for the super user
First data block=1
Maximum filesystem blocks=67633152
64 block groups
8192 blocks per group, 8192 fragments per group
2048 inodes per group
Superblock backups stored on blocks:
 8193, 24577, 40961, 57345, 73729, 204801, 221185, 401409

Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 31 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
mke2fs 1.41.14 (22-Dec-2010)
Filesystem label=cache
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
Stride=0 blocks, Stripe width=0 blocks
65536 inodes, 262144 blocks
13107 blocks (5.00%) reserved for the super user
First data block=1
Maximum filesystem blocks=67371008
32 block groups
8192 blocks per group, 8192 fragments per group
2048 inodes per group
Superblock backups stored on blocks:
 8193, 24577, 40961, 57345, 73729, 204801, 221185

Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 33 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
mke2fs 1.41.14 (22-Dec-2010)
Filesystem label=system
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
Stride=0 blocks, Stripe width=0 blocks
65536 inodes, 262144 blocks
13107 blocks (5.00%) reserved for the super user
First data block=1
Maximum filesystem blocks=67371008
32 block groups
8192 blocks per group, 8192 fragments per group
2048 inodes per group
Superblock backups stored on blocks:
 8193, 24577, 40961, 57345, 73729, 204801, 221185

Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 39 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
mkfs.vfat 3.0.9 (31 Jan 2010)
mount: special device /dev/sdc1 does not exist
Traceback (most recent call last):
  File "./linaro-image-tools/linaro-android-media-create", line 143, in <module>
    populate_partition(BOOT_DIR + "/boot", BOOT_DISK, boot_partition)
  File "/workspace/tryandroid/linaro-image-tools/linaro_image_tools/media_create/rootfs.py", line 37, in populate_partition
    cmd_runner.run(['mount', partition, root_disk], as_root=True).wait()
  File "/workspace/tryandroid/linaro-image-tools/linaro_image_tools/cmd_runner.py", line 100, in wait
    raise SubcommandNonZeroReturnValue(self._my_args, returncode)
linaro_image_tools.cmd_runner.SubcommandNonZeroReturnValue: Sub process "['sudo', '-E', 'mount', '/dev/sdc1', '/tmp/tmpoXCdzN/boot-disc']" returned a non-zero value: 32

Revision history for this message
Zach Pfeffer (pfefferz) wrote :

Issue is on 384, 385, 386

Changed in linaro-image-tools:
status: New → Confirmed
importance: Undecided → Critical
Revision history for this message
Guilherme Salgado (salgado) wrote : Re: [Bug 816010] [NEW] The last linaro-android-media-create that worked was 383

On Mon, 2011-07-25 at 16:59 +0000, Zach Pfeffer wrote:
> mkfs.vfat 3.0.9 (31 Jan 2010)
> mount: special device /dev/sdc1 does not exist

This suggests to me it's not a l-a-m-c issue.

Revision history for this message
James Westby (james-w) wrote :
Changed in linaro-image-tools:
assignee: nobody → Bernhard Rosenkraenzer (berolinux)
milestone: none → 2011.07
Revision history for this message
Guilherme Salgado (salgado) wrote :

Ok, ignore my previous comment. I now understand what is going on. My fix for bug 815885 should fix this as well

Changed in linaro-image-tools:
assignee: Bernhard Rosenkraenzer (berolinux) → Guilherme Salgado (salgado)
status: Confirmed → Fix Committed
James Westby (james-w)
Changed in linaro-image-tools:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.