Max, Otavio, Thank you for the continued work you’re doing on this.
On 1/19/15, 6:41 AM, "Otavio Salvador" <ota...@ossystems.com.br> wrote: >Hello Max, > >On Mon, Jan 19, 2015 at 9:56 AM, Max Krummenacher <max.oss...@gmail.com> >wrote: >> I made some progress. >> We seem to be discussing two issues ... >> 2) >> qemu runs indefinitely. >> While hunting the above mentioned bug I found that when using qemu >> with the sysroot, i.e. using the -L <path-to-sysroot> parameter qemu >> executes and never returns. >> On my machine free shows increasingly used RAM but I was to impatient >> to ever see an OOM kill of qemu but maybe this is also what Colin >> experiences and probably also why Alex does have issues with the "-L" >> change. > >Awesome analysis; I've been looking for some free time to debug this >for a while do a HUGE thanks for all your work on this :-) > >> An strace qemu .... run shows that qemu runs in circles of recursive >> symlink in /usr/lib/udev/ptest/.... files. >> Using the fsl-arm setup with poky enables ptest. When udev has been >> compiled in this setup those testfiles have been staged and qemu >> chokes on them.. >> >>http://lists.openembedded.org/pipermail/openembedded-core/2014-September/ >>097098.html >> >> a) One way to go would be to fix udev in oe-core, e.g. >> index 0f8e9b6..a93b58d 100644 >> --- a/meta/recipes-core/udev/udev/add-install-ptest.patch >> +++ b/meta/recipes-core/udev/udev/add-install-ptest.patch >> @@ -21,7 +21,7 @@ Upstream-Status: Pending >> + sed -i -e 's|^Makefile:|_Makefile:|' $(DESTDIR)/Makefile >> + $(MKDIR_P) $(DESTDIR)/test >> + (cd $(top_srcdir) && install $(TESTS) $(DESTDIR)/test) >> -+ tar -C $(DESTDIR)/test/ -xJf $(top_srcdir)/test/sys.tar.xz >> ++ cp $(top_srcdir)/test/sys.tar.xz $(DESTDIR)/test/ >> --- a/test/udev-test.pl 2012-03-18 16:43:36.000000000 +0100 >> +++ b/test/udev-test.pl 2013-02-18 10:31:29.706357321 +0100 >> @@ -1459,11 +1459,13 @@ >> diff --git a/meta/recipes-core/udev/udev/run-ptest >> b/meta/recipes-core/udev/udev/run-ptest >> index c6961ce..0e39806 100644 >> --- a/meta/recipes-core/udev/udev/run-ptest >> +++ b/meta/recipes-core/udev/udev/run-ptest >> @@ -1,3 +1,5 @@ >> #!/bin/sh >> >> +tar -C test/ -xJf test/sys.tar.xz >> make -k check-TESTS >> +make test-sys-distclean >> -- >> 1.8.4.5 > >It'd be great if you could prepare a patch to address this in OE-Core; >once it proves stable we can ask for it to be backported for Dizzy. If this is what is causing the meta-java qemu problems, wouldn’t this have to be ported back to daisy as well? Daisy is the latest branch meta-java says it supports (it’s the one I’ve been using, anyway). Colin -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel