My SD card was good and udisks --inhibit didn't help.  This should
happen consistently if you don't run l-a-m-c as root
  https://bugs.launchpad.net/linaro-image-tools/+bug/789093

On Fri, 2011-05-27 at 07:58 +0200, Alexander Sack wrote:
> On Fri, May 27, 2011 at 3:35 AM, Guilherme Salgado
> <guilherme.salg...@linaro.org> wrote:
> > On Thu, 2011-05-26 at 16:36 -0500, Zach Pfeffer wrote:
> >> For people who don't want to look around for stuff and want to run are
> >> super fantastic Android build do:
> >>
> >> wget 
> >> http://releases.linaro.org/platform/linaro-n/android/latest/leb-panda/boot.tar.bz2
> >> wget 
> >> http://releases.linaro.org/platform/linaro-n/android/latest/leb-panda/system.tar.bz2
> >> wget 
> >> http://releases.linaro.org/platform/linaro-n/android/latest/leb-panda/userdata.tar.bz2
> >> bzr branch lp:~james-w/linaro-image-tools/fix-panda
> >> <insert sd card and type dmesg>
> >> ./fix-panda/linaro-android-media-create --mmc /dev/sdc --dev panda
> >> --system system.tar.bz2 --userdata userdata.tar.bz2 --boot
> >> boot.tar.bz2
> >
> > I tried to use the command above to burn an SD card for my beaglexm
> > (with the tarballs from .../latest/beaglexm/ and --dev beagle) but it
> > crashed halfway through:
> >
> > mkfs.vfat 3.0.9 (31 Jan 2010)
> > Image Name:   boot script
> > Created:      Thu May 26 22:21:56 2011
> > Image Type:   ARM Linux Script (uncompressed)
> > Data Size:    325 Bytes = 0.32 kB = 0.00 MB
> > Load Address: 00000000
> > Entry Point:  00000000
> > Contents:
> >   Image 0: 317 Bytes = 0.31 kB = 0.00 MB
> > mv: missing destination file operand after `/tmp/tmpBKxAwJ/userdata-disc'
> > Try `mv --help' for more information.
> > Traceback (most recent call last):
> >  File 
> > "/home/salgado/devel/linaro-image-tools/trunk/linaro-android-media-create", 
> > line 146, in <module>
> >    populate_partition(DATA_DIR + "/data", DATA_DISK, data_partition)
> >  File 
> > "/home/salgado/devel/linaro-image-tools/trunk/linaro_image_tools/media_create/rootfs.py",
> >  line 29, in populate_partition
> >    move_contents(content_dir, root_disk)
> >  File 
> > "/home/salgado/devel/linaro-image-tools/trunk/linaro_image_tools/media_create/rootfs.py",
> >  line 120, in move_contents
> >    cmd_runner.run(mv_cmd, as_root=True).wait()
> >  File 
> > "/home/salgado/devel/linaro-image-tools/trunk/linaro_image_tools/cmd_runner.py",
> >  line 87, in wait
> >    raise SubcommandNonZeroReturnValue(self._my_args, returncode)
> > linaro_image_tools.cmd_runner.SubcommandNonZeroReturnValue: Sub process 
> > "['sudo', '-E', 'mv', '/tmp/tmpBKxAwJ/userdata-disc']" returned a non-zero 
> > value: 1
> 
> I saw this with a broken SD card also try udisks --inhibit to see if
> that's caused by automount for you.
> 

-- 
Guilherme Salgado <https://launchpad.net/~salgado>

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev

Reply via email to