linaro-android-media-creates, no space on device on 8 gig SD

Bug #924540 reported by Tom Gall
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Android
New
Undecided
Unassigned
Linaro Image Tools
New
Undecided
Unassigned

Bug Description

Building the 12.01 release sources for the panda board
IE MANIFEST_BRANCH=linaro-android-12.01-release

things built fine.

However linaro android media create with 8 gig SD media. (Which I've used before successfully)

linaro-android-media-create --mmc /dev/sdc --dev panda --system ./system.tar.bz2 --boot ./boot.tar.bz2 --userdata ./userdata.tar.bz2

I see...
Device Mount point Size
/dev/sda none 152627MB
/dev/sda1 / 146899MB
/dev/sda2 none 5726MB
/dev/sda5 none 5726MB
/dev/sdb none 0MB
/dev/sdc none 7659MB
/dev/sdc1 none 7658MB
/dev/sdd none 0MB
/dev/sde none 0MB
/dev/sr0 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 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).)

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 30 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 21 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 28 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
mkfs.vfat 3.0.9 (31 Jan 2010)
Image Name: boot script
Created: Tue Jan 31 15:53:28 2012
Image Type: ARM Linux Script (uncompressed)
Data Size: 398 Bytes = 0.39 kB = 0.00 MB
Load Address: 00000000
Entry Point: 00000000
Contents:
   Image 0: 390 Bytes = 0.38 kB = 0.00 MB
mv: writing `/tmp/tmpTvt6KD/system-disc/usr/srec/config/en.us/models/generic8_m.swimdl': No space left on device
mv: writing `/tmp/tmpTvt6KD/system-disc/usr/srec/config/en.us/models/generic11_m.swimdl': No space left on device
mv: writing `/tmp/tmpTvt6KD/system-disc/usr/srec/config/en.us/models/generic11.lda': No space left on device
mv: writing `/tmp/tmpTvt6KD/system-disc/usr/srec/config/en.us/models/generic8.lda': No space left on device
mv: writing `/tmp/tmpTvt6KD/system-disc/usr/srec/config/en.us/models/generic8_f.swimdl': No space left on device
mv: writing `/tmp/tmpTvt6KD/system-disc/usr/srec/config/en.us/baseline8k.par': No space left on device
mv: cannot create directory `/tmp/tmpTvt6KD/system-disc/usr/srec/config/en.us/grammars': No space left on device
mv: writing `/tmp/tmpTvt6KD/system-disc/usr/srec/config/en.us/baseline11k.par': No space left on device
mv: cannot create directory `/tmp/tmpTvt6KD/system-disc/usr/srec/config/en.us/dictionary': No space left on device
mv: writing `/tmp/tmpTvt6KD/system-disc/usr/srec/config/en.us/baseline.par': No space left on device
mv: cannot create directory `/tmp/tmpTvt6KD/system-disc/vendor': No space left on device
mv: cannot create directory `/tmp/tmpTvt6KD/system-disc/xbin': No space left on device
Traceback (most recent call last):
  File "/usr/bin/linaro-android-media-create", line 145, in <module>
    populate_partition(SYSTEM_DIR + "/system", SYSTEM_DISK, system_partition)
  File "/usr/lib/pymodules/python2.7/linaro_image_tools/media_create/rootfs.py", line 32, in populate_partition
    move_contents(content_dir, root_disk)
  File "/usr/lib/pymodules/python2.7/linaro_image_tools/media_create/rootfs.py", line 151, in move_contents
    cmd_runner.run(mv_cmd, as_root=True).wait()
  File "/usr/lib/pymodules/python2.7/linaro_image_tools/cmd_runner.py", line 100, in wait
    raise SubcommandNonZeroReturnValue(self._my_args, returncode)
linaro_image_tools.cmd_runner.SubcommandNonZeroReturnValue: Sub process "['mv', '/tmp/tmpTvt6KD/system/system/app', '/tmp/tmpTvt6KD/system/system/bin', '/tmp/tmpTvt6KD/system/system/build.prop', '/tmp/tmpTvt6KD/system/system/etc', '/tmp/tmpTvt6KD/system/system/fonts', '/tmp/tmpTvt6KD/system/system/framework', '/tmp/tmpTvt6KD/system/system/include', '/tmp/tmpTvt6KD/system/system/lib', '/tmp/tmpTvt6KD/system/system/media', '/tmp/tmpTvt6KD/system/system/modules', '/tmp/tmpTvt6KD/system/system/share', '/tmp/tmpTvt6KD/system/system/tts', '/tmp/tmpTvt6KD/system/system/usr', '/tmp/tmpTvt6KD/system/system/vendor', '/tmp/tmpTvt6KD/system/system/xbin', '/tmp/tmpTvt6KD/system-disc']" returned a non-zero value: 1
root@neptune:/home/tgall/Downloads/android# linaro-android-media-create --mmc /dev/sdc --dev panda --system ./system.tar.bz2 --boot ./boot.tar.bz2 --userdata ./userdata.tar.bz2

Revision history for this message
Tom Gall (tom-gall) wrote :

root@neptune:/home/tgall/Downloads# linaro-android-media-create --version
linaro-android-media-create 2011.10 : qemu-arm version 0.15.50 (Debian
0.15.50-2011.08-0ubuntu4), Copyright (c) 2003-2008 Fabrice Bellard

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

This was fixed in the 2011.12 release. You can get that from https://launchpad.net/~linaro-maintainers/+archive/tools

Revision history for this message
Tom Gall (tom-gall) wrote :

This is on oneiric, x64_64 in case that matters.

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.