On Thu, Mar 10, 2011, Shawn Guo wrote:
> === wait_device testing ===
> * On reader #1, consistently fails with 30 seconds timeout
> * On reader #2, very likely succeeds after 2 seconds (5 out of 6
> iterations), (fails with 30 seconds timeout on the 6th iteration)
> * On reader #3, consistently s
On Thu, Mar 10, 2011 at 12:32:29PM +0800, Shawn Guo wrote:
> On Wed, Mar 09, 2011 at 09:01:33PM +0800, Shawn Guo wrote:
[...]
> I have to add something here to correct the conclusion about reader's
> impact.
>
> I just got the third reader to play with, and interestingly it can get
> all of these
On Wed, Mar 09, 2011 at 09:01:33PM +0800, Shawn Guo wrote:
> On Tue, Mar 08, 2011 at 04:59:18PM +0100, Loïc Minier wrote:
> > On Tue, Mar 08, 2011, Shawn Guo wrote:
> > > I'm scanning all 7 cards I have with the script wait_device, each card
> > > with 10 iterations of the test.
> > >
> > > 1) Tra
On Wed, 2011-03-09 at 20:30 +0100, Loïc Minier wrote:
> On Wed, Mar 09, 2011, Guilherme Salgado wrote:
> > My concern is that sfdisk -l returning non-zero may not be a very good
> > indication that we should sleep. It will return non-zero on any error
> > and I expect most errors to not go away af
On Wed, Mar 09, 2011, Guilherme Salgado wrote:
> My concern is that sfdisk -l returning non-zero may not be a very good
> indication that we should sleep. It will return non-zero on any error
> and I expect most errors to not go away after a 30 seconds sleep, in
> which case we'd be delaying l-m-c
On Wed, 2011-03-09 at 20:14 +0100, Loïc Minier wrote:
> On Wed, Mar 09, 2011, Guilherme Salgado wrote:
> > Do we know why this happens in some cases? It'd be better if we could
> > only sleep when we know there's a chance that the partitions may be
> > available after that.
>
> I'm not sure what
On Wed, Mar 09, 2011, Guilherme Salgado wrote:
> Do we know why this happens in some cases? It'd be better if we could
> only sleep when we know there's a chance that the partitions may be
> available after that.
I'm not sure what you're asking; are you asking for a test on whether
we need to s
On Wed, Mar 9, 2011 at 10:42 AM, Loïc Minier wrote:
> On Wed, Mar 09, 2011, Dave Martin wrote:
>> The upstream master branch of U-Boot on git://git.denx.de/u-boot.git
>> has the bug too.
>
> Yes, this is where I was pasting the bogus code from; I just have no
> idea why write() would suddenly be
On Wed, 2011-03-09 at 14:34 +0100, Loïc Minier wrote:
> On Wed, Mar 09, 2011, Shawn Guo wrote:
> > I just tried another SanDisk 4GB SD card (#8) borrowed from colleague.
> > With 20 iterations testing, it reports:
> >
> > Could list partitions after 0 seconds! --> 13 times
> > Could list partition
On Wed, Mar 09, 2011, Shawn Guo wrote:
> I just tried another SanDisk 4GB SD card (#8) borrowed from colleague.
> With 20 iterations testing, it reports:
>
> Could list partitions after 0 seconds! --> 13 times
> Could list partitions after 2 seconds! --> 5 times
> Could list partitions after 4 sec
On Wed, Mar 09, 2011 at 09:01:33PM +0800, Shawn Guo wrote:
> On Tue, Mar 08, 2011 at 04:59:18PM +0100, Loïc Minier wrote:
> > On Tue, Mar 08, 2011, Shawn Guo wrote:
> > > I'm scanning all 7 cards I have with the script wait_device, each card
> > > with 10 iterations of the test.
> > >
> > > 1) Tra
On Tue, Mar 08, 2011 at 04:59:18PM +0100, Loïc Minier wrote:
> On Tue, Mar 08, 2011, Shawn Guo wrote:
> > I'm scanning all 7 cards I have with the script wait_device, each card
> > with 10 iterations of the test.
> >
> > 1) Transend 4GB SD
> > 2) SanDisk 2GB SD
> > 3) KingMax MMC Mobile 2GB
> >
>
On Wed, Mar 09, 2011, Dave Martin wrote:
> The upstream master branch of U-Boot on git://git.denx.de/u-boot.git
> has the bug too.
Yes, this is where I was pasting the bogus code from; I just have no
idea why write() would suddenly become partial ones, but I didn't check
the eglibc or linux cod
On Tue, Mar 8, 2011 at 4:39 PM, Loïc Minier wrote:
> On Wed, Mar 09, 2011, Shawn Guo wrote:
>> I just added this one, and it does not help. The l-m-c still fails at
>> the last step.
>> mkimage: Write error on /tmp/tmpUiR_m1/boot-disc/uImage: Success
>
> This error sounded a bit weird; I checked
On Wed, Mar 09, 2011, Shawn Guo wrote:
> $ apt-cache policy uboot-mkimage
> uboot-mkimage:
> Installed: 0.4build1
> Candidate: 0.4build1
> Version table:
> *** 0.4build1 0
> 500 http://us.archive.ubuntu.com/ubuntu/ maverick/main amd64 Packages
> 100 /var/lib/dpkg/status
Ok;
On Tue, Mar 08, 2011 at 05:39:27PM +0100, Loïc Minier wrote:
> On Wed, Mar 09, 2011, Shawn Guo wrote:
> > I just added this one, and it does not help. The l-m-c still fails at
> > the last step.
> > mkimage: Write error on /tmp/tmpUiR_m1/boot-disc/uImage: Success
>
> This error sounded a bit wei
On Tue, Mar 08, 2011 at 04:59:18PM +0100, Loïc Minier wrote:
> On Tue, Mar 08, 2011, Shawn Guo wrote:
> > I'm scanning all 7 cards I have with the script wait_device, each card
> > with 10 iterations of the test.
> >
> > 1) Transend 4GB SD
> > 2) SanDisk 2GB SD
> > 3) KingMax MMC Mobile 2GB
> >
>
On Tue, Mar 08, 2011 at 11:44:36PM +0800, Shawn Guo wrote:
> On 8 March 2011 18:52, Loïc Minier wrote:
> > On Tue, Mar 08, 2011, Shawn Guo wrote:
> >> Have a look at the /dev/sdb change in device report before and after
> >> the command you suggest ...
> >
> > Interesting :-)
> >
> > But the lin
On Wed, Mar 09, 2011, Shawn Guo wrote:
> I just added this one, and it does not help. The l-m-c still fails at
> the last step.
> mkimage: Write error on /tmp/tmpUiR_m1/boot-disc/uImage: Success
This error sounded a bit weird; I checked the u-boot sources, and this
string is used in a bunch of
On Tue, Mar 08, 2011 at 04:03:12PM +0100, Zygmunt Krynicki wrote:
> W dniu 08.03.2011 15:48, Shawn Guo pisze:
> >On Tue, Mar 08, 2011 at 03:16:32PM +0100, Zygmunt Krynicki wrote:
> >>W dniu 08.03.2011 09:51, Shawn Guo pisze:
> >>
> >>>By looking the workaround on the hacking branch, I changed the s
On Tue, Mar 08, 2011, Shawn Guo wrote:
> I'm scanning all 7 cards I have with the script wait_device, each card
> with 10 iterations of the test.
>
> 1) Transend 4GB SD
> 2) SanDisk 2GB SD
> 3) KingMax MMC Mobile 2GB
>
> All above 3 cards passed the test with giving "Could list partitions
> after
On 8 March 2011 18:52, Loïc Minier wrote:
> On Tue, Mar 08, 2011, Shawn Guo wrote:
>> Have a look at the /dev/sdb change in device report before and after
>> the command you suggest ...
>
> Interesting :-)
>
> But the linaro-media-create "size" output is probably broken for the
> same reason: s
W dniu 08.03.2011 15:48, Shawn Guo pisze:
On Tue, Mar 08, 2011 at 03:16:32PM +0100, Zygmunt Krynicki wrote:
W dniu 08.03.2011 09:51, Shawn Guo pisze:
By looking the workaround on the hacking branch, I changed the sleep(1)
to sleep(5) in /usr/share/pyshared/linaro_media_create/partitions.py,
an
On Tue, Mar 08, 2011 at 03:16:32PM +0100, Zygmunt Krynicki wrote:
> W dniu 08.03.2011 09:51, Shawn Guo pisze:
>
> >By looking the workaround on the hacking branch, I changed the sleep(1)
> >to sleep(5) in /usr/share/pyshared/linaro_media_create/partitions.py,
> >and almost made it, but sadly it st
W dniu 08.03.2011 09:51, Shawn Guo pisze:
By looking the workaround on the hacking branch, I changed the sleep(1)
to sleep(5) in /usr/share/pyshared/linaro_media_create/partitions.py,
and almost made it, but sadly it still fails at the last step.
You most likely missed another sleep (there sho
On Tue, Mar 08, 2011, Shawn Guo wrote:
> Have a look at the /dev/sdb change in device report before and after
> the command you suggest ...
Interesting :-)
But the linaro-media-create "size" output is probably broken for the
same reason: sdb appears to be unavailable for some time after changi
On Tue, Mar 08, 2011 at 10:23:17AM +0100, Loïc Minier wrote:
> On Tue, Mar 08, 2011, Shawn Guo wrote:
> > > parted -s /dev/sdN mklabel msdos && sfdisk -L /dev/sdN
> >
> > $ sudo parted -s /dev/sdb mklabel msdos && sfdisk -L /dev/sdb
> > /dev/sdb: Permission denied
> >
> > sfdisk: cannot open
On Tue, Mar 08, 2011, Dave Martin wrote:
> Looking at the packaging branch lp:ubuntu/linaro-image-tools, I see
> there are now multiple binary packages generated from
> linaro-image-tools.
>
> The udisks dependency needs to be added somewhere -- does anyone know
> which package needs it? I'm gues
Looking at the packaging branch lp:ubuntu/linaro-image-tools, I see
there are now multiple binary packages generated from
linaro-image-tools.
The udisks dependency needs to be added somewhere -- does anyone know
which package needs it? I'm guessing it's either linaro-image-tools
or python-linaro-
On Tue, Mar 08, 2011, Shawn Guo wrote:
> mkimage: Write error on /tmp/tmpXkyS2N/boot-disc/uImage: Success
Could it be that your MMC is flaky?
--
Loïc Minier
___
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listi
On Tue, Mar 08, 2011, Shawn Guo wrote:
> > parted -s /dev/sdN mklabel msdos && sfdisk -L /dev/sdN
>
> $ sudo parted -s /dev/sdb mklabel msdos && sfdisk -L /dev/sdb
> /dev/sdb: Permission denied
>
> sfdisk: cannot open /dev/sdb read-write
you want to sudo the sfdisk call too
--
Loïc Minier
On Tue, Mar 08, 2011 at 03:10:56PM +0800, Shawn Guo wrote:
> Hi Zygmunt,
>
> On Mon, Mar 07, 2011 at 02:19:41PM +0100, Zygmunt Bazyli Krynicki wrote:
> > This will most lokalu not help.
> > Try my hacking branch of linaro-image-tools. I had the same problem as you
> > and I added a workaround.
>
Hi Zygmunt,
On Mon, Mar 07, 2011 at 02:19:41PM +0100, Zygmunt Bazyli Krynicki wrote:
> This will most lokalu not help.
> Try my hacking branch of linaro-image-tools. I had the same problem as you
> and I added a workaround.
>
Thanks. But using your branch make it fail at some other place.
---
On Mon, Mar 07, 2011 at 02:03:15PM +0100, Loïc Minier wrote:
> On Mon, Mar 07, 2011, Shawn Guo wrote:
> > proc umounted
> > /dev/sdb: No medium found
> >
> > sfdisk: cannot open /dev/sdb read-write
>
> Hmm that's really bad; the only thing that I can think of is that your
> device goes away for
On Mon, Mar 07, 2011, Zygmunt Krynicki wrote:
> This will most lokalu not help.
Well, I'm trying to figure out one issue at a time; I would like to
avoid sleep() at all costs.
--
Loïc Minier
___
linaro-dev mailing list
linaro-dev@lists.linaro.org
h
This will most lokalu not help.
Try my hacking branch of linaro-image-tools. I had the same problem as you and
I added a workaround.
Sorry for the brevity, I'm on holiday + phone
Wysłane z iPhone'a
Dnia 07-03-2011 o godz. 14:03 Loïc Minier napisał(a):
> On Mon, Mar 07, 2011, Shawn Guo wrote:
On Mon, Mar 07, 2011, Shawn Guo wrote:
> proc umounted
> /dev/sdb: No medium found
>
> sfdisk: cannot open /dev/sdb read-write
Hmm that's really bad; the only thing that I can think of is that your
device goes away for some time after the empty partition table is
created, and so the sfdisk cal
On 7 March 2011 12:43, Shawn Guo wrote:
> Thanks, Dave. Installing udisks helps. But now, it ends up with
> other problem. Here is the full log. (Sorry for the long paste)
>
> $ linaro-media-create --rootfs ext3 --mmc /dev/sdb --binary
> linaro-n-developer-tar-20110302-0.tar.gz --hwpack
> hw
On Mon, Mar 07, 2011 at 10:34:52AM +, Dave Martin wrote:
> On Sun, Mar 6, 2011 at 1:51 PM, Shawn Guo wrote:
> > Hello Dave,
[...]
> > And I'm running Maverick server edition on a 'AMD Athlon(tm) 64 X2
> > Dual Core Processor 3800+'.
> >
>
> It looks like you have the correct linaro-image-tool
On Sun, Mar 6, 2011 at 1:51 PM, Shawn Guo wrote:
> Hello Dave,
>
> On Fri, Mar 04, 2011 at 12:03:51PM +, Dave Martin wrote:
>> On Fri, Mar 4, 2011 at 8:09 AM, Spring Zhang wrote:
>> >
>> >
>> > On 9 February 2011 04:16, Steve Langasek wrote:
>> >>
>> >> Hi Aneesh,
>> >>
>> >> On Tue, Feb 08,
Hello Dave,
On Fri, Mar 04, 2011 at 12:03:51PM +, Dave Martin wrote:
> On Fri, Mar 4, 2011 at 8:09 AM, Spring Zhang wrote:
> >
> >
> > On 9 February 2011 04:16, Steve Langasek wrote:
> >>
> >> Hi Aneesh,
> >>
> >> On Tue, Feb 08, 2011 at 05:43:39PM +0530, Aneesh V wrote:
> >>
> >> > On Monda
On Fri, Mar 4, 2011 at 2:09 AM, Spring Zhang wrote:
>
> Ok. Which wiki page did you look at? We should be directing maverick
>> users
>> to enable the linaro-maintainers/tools ppa, which includes both the
>> linaro-image-tools and qemu-linaro packages.
>>
> I can find linaro-image-tools, but no
On Fri, Mar 4, 2011 at 8:09 AM, Spring Zhang wrote:
>
>
> On 9 February 2011 04:16, Steve Langasek wrote:
>>
>> Hi Aneesh,
>>
>> On Tue, Feb 08, 2011 at 05:43:39PM +0530, Aneesh V wrote:
>>
>> > On Monday 07 February 2011 11:07 PM, Steve Langasek wrote:
>> > >On Mon, Feb 07, 2011 at 03:59:06PM +0
On 9 February 2011 04:16, Steve Langasek wrote:
> Hi Aneesh,
>
> On Tue, Feb 08, 2011 at 05:43:39PM +0530, Aneesh V wrote:
>
> > On Monday 07 February 2011 11:07 PM, Steve Langasek wrote:
> > >On Mon, Feb 07, 2011 at 03:59:06PM +0100, Alexander Sack wrote:
> > >>Since we only really support devel
Hi Aneesh,
On Tue, Feb 08, 2011 at 05:43:39PM +0530, Aneesh V wrote:
> On Monday 07 February 2011 11:07 PM, Steve Langasek wrote:
> >On Mon, Feb 07, 2011 at 03:59:06PM +0100, Alexander Sack wrote:
> >>Since we only really support developer platform hosts with the tools
> >>ppa enabled, could we i
Hi Steve,
On Monday 07 February 2011 11:07 PM, Steve Langasek wrote:
On Mon, Feb 07, 2011 at 03:59:06PM +0100, Alexander Sack wrote:
Since we only really support developer platform hosts with the tools
ppa enabled, could we improve l-m-c to print a warning if that ppa
isn't enabled?
The othe
Hi All,
Thanks for the quick help. qemu update helped me. Maybe, I should have
read the README more carefully.
Thanks,
Aneesh
On Monday 07 February 2011 08:54 PM, Matt Waddel wrote:
Hi Aneesh
On 02/07/2011 07:25 AM, Aneesh V wrote:
Hi,
I am trying to prepare an MMC card to boot up Panda wi
On Mon, 2011-02-07 at 20:30 +, Peter Maydell wrote:
> On 7 February 2011 19:53, Guilherme Salgado
> wrote:
> > Ok, so ISTM that to keep this solution working we'll need to do
> > something like running qemu-arm-static with no arguments and parse its
> > output for the version string. Unless t
On 7 February 2011 19:53, Guilherme Salgado
wrote:
> Ok, so ISTM that to keep this solution working we'll need to do
> something like running qemu-arm-static with no arguments and parse its
> output for the version string. Unless there's another way to easily
> trigger the bug without running som
On Mon, 2011-02-07 at 16:55 +, David Gilbert wrote:
> On 7 February 2011 16:50, Guilherme Salgado
> wrote:
> > In lmc we already have some code which checks if a given utility is
> > present and if not, install (via apt-get) a package which provides that.
> > We could extend it to check for a
On Mon, Feb 07, 2011, Alexander Sack wrote:
> Since we only really support developer platform hosts with the tools
> ppa enabled, could we improve l-m-c to print a warning if that ppa
> isn't enabled?
This sounds awfully Ubuntu specific; we released a standalone tarball
as to allow people to gra
On Tue, 2011-02-08 at 08:14 +1300, Michael Hope wrote:
> On Tue, Feb 8, 2011 at 5:50 AM, Guilherme Salgado
> wrote:
> > In lmc we already have some code which checks if a given utility is
> > present and if not, install (via apt-get) a package which provides that.
>
> (I don't like that - am I pr
On Mon, Feb 07, 2011, Peter Maydell wrote:
> You need a newer qemu (specifically a /usr/bin/qemu-system-arm
(/usr/bin/qemu-arm-static)
--
Loïc Minier
___
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/lin
On Tue, Feb 08, 2011, Michael Hope wrote:
> (I don't like that - am I prompted first? A script shouldn't be
> allowed to install packages on my machine)
I don't like it either; that's already reported:
https://bugs.launchpad.net/linaro-image-tools/+bug/704029
--
Loïc Minier
_
On Tue, Feb 8, 2011 at 5:50 AM, Guilherme Salgado
wrote:
> In lmc we already have some code which checks if a given utility is
> present and if not, install (via apt-get) a package which provides that.
(I don't like that - am I prompted first? A script shouldn't be
allowed to install packages on
On Mon, Feb 07, 2011 at 03:59:06PM +0100, Alexander Sack wrote:
> Since we only really support developer platform hosts with the tools
> ppa enabled, could we improve l-m-c to print a warning if that ppa
> isn't enabled?
> The other idea I had was to include the working qemu-arm-static in
> the t
In lmc we already have some code which checks if a given utility is
present and if not, install (via apt-get) a package which provides that.
We could extend it to check for a specific version and try to install a
version greater or equal that (can we tell apt-get to install only if it
finds a packa
Hi Aneesh
On 02/07/2011 07:25 AM, Aneesh V wrote:
> Hi,
>
> I am trying to prepare an MMC card to boot up Panda with Linaro daily
> build image.
>
> I downloaded linaro-image-tools from:
> https://launchpad.net/linaro-image-tools
>
> I installed all dependencies mentioned in the README and trie
Since we only really support developer platform hosts with the tools
ppa enabled, could we improve l-m-c to print a warning if that ppa
isn't enabled?
The other idea I had was to include the working qemu-arm-static in
the tarball releases ... in that way things might even work on
non-ubuntu platf
Hi Aneesh,
Do you have the latest qemu-user-static from
https://launchpad.net/~linaro-maintainers/+archive/tools ?
On Mon, 2011-02-07 at 19:55 +0530, Aneesh V wrote:
> Hi,
>
> I am trying to prepare an MMC card to boot up Panda with Linaro daily
> build image.
>
> I downloaded linaro-image-too
On 7 February 2011 14:25, Aneesh V wrote:
> However, it crashes immediately with the following dump:
> http://pastebin.com/SV78dP8L
[qemu: fatal: cp15 insn ee1d6f70]
You need a newer qemu (specifically a /usr/bin/qemu-system-arm
which is upstream 0.13 or better). Natty's qemu-kvm-extras-static
ve
On Mon, Feb 7, 2011 at 8:25 AM, Aneesh V wrote:
> Hi,
>
> I am trying to prepare an MMC card to boot up Panda with Linaro daily
> build image.
>
> I downloaded linaro-image-tools from:
> https://launchpad.net/linaro-image-tools
>
Hi Aneesh, this is a known problem. For the moment, if you are not
Hi,
I am trying to prepare an MMC card to boot up Panda with Linaro daily
build image.
I downloaded linaro-image-tools from:
https://launchpad.net/linaro-image-tools
I installed all dependencies mentioned in the README and tried to run
linaro-media-create like below:
sudo ./linaro-media-create
63 matches
Mail list logo