Hi,
I am trying to run panda android leb using the instructions given on wiki. Seeing a crash while formatting the SDcard using lmc. Below are the crash logs, seems like a known issue. Any pointers on what needs to be fixed?
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) 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-image-tools-0.4.8/linaro-android-media-create", line 141, in <module> args.should_align_boot_part) File "/play/linaro-android-leb/linaro-image-tools-0.4.8/linaro_image_tools/media_create/partitions.py", line 54, in setup_android_partitions get_android_partitions_for_media (media, board_config) File "/play/linaro-android-leb/linaro-image-tools-0.4.8/linaro_image_tools/media_create/partitions.py", line 267, in get_android_partitions_for_media media.path, 1 + board_config.mmc_part_offset) File "/play/linaro-android-leb/linaro-image-tools-0.4.8/linaro_image_tools/media_create/partitions.py", line 312, in _get_device_file_for_partition_number device_path = _get_udisks_device_path(dev_file) File "/play/linaro-android-leb/linaro-image-tools-0.4.8/linaro_image_tools/media_create/partitions.py", line 327, in _get_udisks_device_path return udisks.get_dbus_method('FindDeviceByDeviceFile')(device) File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 68, in __call__ return self._proxy_method(*args, **keywords) File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 140, in __call__ **keywords) File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 620, in call_blocking message, timeout) dbus.exceptions.DBusException: org.freedesktop.UDisks.Error.Failed: No such device
On 06/16/2011 09:09 AM, Somebody in the thread at some point said:
Hi,
I am trying to run panda android leb using the instructions given on wiki. Seeing a crash while formatting the SDcard using lmc. Below are the crash logs, seems like a known issue. Any pointers on what needs to be fixed?
File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 620, in call_blocking message, timeout) dbus.exceptions.DBusException: org.freedesktop.UDisks.Error.Failed: No such device
I get the same with linaro-media-create... when I asked about it I was told it's something to do with a race with my USB <-> uSD adapter.
A workaround is to use the option on lmc to create the image to a local file, and then dd it on to your actual card by hand.
-Andy
On Thu, 2011-06-16 at 10:06 +0100, Andy Green wrote:
On 06/16/2011 09:09 AM, Somebody in the thread at some point said:
Hi,
I am trying to run panda android leb using the instructions given on wiki. Seeing a crash while formatting the SDcard using lmc. Below are the crash logs, seems like a known issue. Any pointers on what needs to be fixed?
File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 620, in call_blocking message, timeout) dbus.exceptions.DBusException: org.freedesktop.UDisks.Error.Failed: No such device
I get the same with linaro-media-create... when I asked about it I was told it's something to do with a race with my USB <-> uSD adapter.
A workaround is to use the option on lmc to create the image to a local file, and then dd it on to your actual card by hand.
Aah, it will be nice to have a wiki page that just describes what this lmc does, like formatting card and flashing binaries. So, that people can try their luck :).
Anyways, playing around the other issue seen with lmc is:
sudo linaro-media-create --rootfs ext3 --mmc /dev/sdb --binary linaro-n-ubuntu-desktop-tar-20110527-1.tar.gz --hwpack hwpack_linaro-panda-x11-base_20110526-0_armel_supported.tar.gz --dev panda
I see... sudo sfdisk -l: Disk /dev/sda: 60801 cylinders, 255 heads, 63 sectors/track Disk /dev/sdb: 1023 cylinders, 122 heads, 62 sectors/track
mount: /dev/sda5 on / type ext3 (rw,errors=remount-ro,commit=0) /dev/sda2 on /win7 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions) /dev/sda6 on /home type ext3 (rw,commit=0) /dev/sda7 on /opt type ext3 (rw,commit=0) /dev/sda8 on /play type ext3 (rw,commit=0)
Are you 100% sure, on selecting [/dev/sdb] (y/n)? y
qemu: fatal: cp15 insn ee1d6f70
R00=4009f960 R01=4208f8b0 R02=0d696914 R03=000150d8 R04=0001d790 R05=00000000 R06=0001f9e1 R07=4208f8d0 R08=000a705c R09=00000000 R10=4009f000 R11=00000000 R12=000153d8 R13=4007f798 R14=4008f450 R15=4008aea0 PSR=20000030 --C- T usr32
I am using ubuntu-10.10.
On 06/16/2011 10:19 AM, Somebody in the thread at some point said:
I get the same with linaro-media-create... when I asked about it I was told it's something to do with a race with my USB<-> uSD adapter.
A workaround is to use the option on lmc to create the image to a local file, and then dd it on to your actual card by hand.
Aah, it will be nice to have a wiki page that just describes what this lmc does, like formatting card and flashing binaries. So, that people can try their luck :).
It probably exists, I'm just trying to apply a band-aid with what I know offhand.
qemu: fatal: cp15 insn ee1d6f70
I am using ubuntu-10.10.
l-m-c insists on having a modern QEMU I was told.
-Andy
On Thu, 2011-06-16 at 10:22 +0100, Andy Green wrote:
On 06/16/2011 10:19 AM, Somebody in the thread at some point said:
I get the same with linaro-media-create... when I asked about it I was told it's something to do with a race with my USB<-> uSD adapter.
A workaround is to use the option on lmc to create the image to a local file, and then dd it on to your actual card by hand.
Aah, it will be nice to have a wiki page that just describes what this lmc does, like formatting card and flashing binaries. So, that people can try their luck :).
It probably exists, I'm just trying to apply a band-aid with what I know offhand.
qemu: fatal: cp15 insn ee1d6f70
I am using ubuntu-10.10.
l-m-c insists on having a modern QEMU I was told.
Seems like this is the latest in ubuntu repos.
qemu-arm-static -v qemu-arm version 0.12.5 (qemu-kvm-0.12.5), Copyright (c) 2003-2008 Fabrice Bellard usage: qemu-arm [options] program [arguments...] Linux CPU emulator (compiled for arm emulation)
On 16 June 2011 10:38, Amit Mahajan amit.mahajan@b-labs.com wrote:
On Thu, 2011-06-16 at 10:22 +0100, Andy Green wrote:
l-m-c insists on having a modern QEMU I was told.
Seems like this is the latest in ubuntu repos.
qemu-arm-static -v qemu-arm version 0.12.5 (qemu-kvm-0.12.5), Copyright (c) 2003-2008 Fabrice Bellard usage: qemu-arm [options] program [arguments...] Linux CPU emulator (compiled for arm emulation)
That's pretty ancient (upstream QEMU is two releases ahead of that at 0.14.1; also you're using the qemu-kvm version still). The simplest thing is probably just to add the linaro tools PPA: https://launchpad.net/~linaro-maintainers/+archive/tools/
-- PMM