[OE-core] "qemu-arm udevadm hwdb --update" eats swap space after build host update to openSUSE 13.2

Steffen Sledz sledz at dresearch-fe.de
Mon Dec 15 15:15:03 UTC 2014


On 15.12.2014 12:00, Gaurang Shastri wrote:
> From: openembedded-core-bounces at lists.openembedded.org [mailto:openembedded-core-bounces at lists.openembedded.org] On Behalf Of Steffen Sledz
>> After updating our build host from openSUSE 13.1 to 13.2 we're no longer able to build our images with OE (with 13.1 on the same host everything worked well). :(
>>
>> The first thing we observed was that the do_rootfs stage made a very big load (more than 500) on the machine but the cpu's aren't working for 100%. I could track down the problem to the call
>>
>> qemu-arm -r 2.6.32 -L /pm/sledz/hipos-dfe.dizzy/build-closed/tmp-glibc/work/hikirk-angstrom-linux-gnueabi/hydraip-prodimage/1.0-r0+r16+r17.5/rootfs -E LD_LIBRARY_PATH=/pm/sledz/hipos-dfe.dizzy/build-closed/tmp-glibc/work/hikirk-angstrom-linux-gnueabi/hydraip-prodimage/1.0-r0+r16+r17.5/rootfs/usr/lib:/pm/sledz/hipos-dfe.dizzy/build-closed/tmp-glibc/work/hikirk-angstrom-linux-gnueabi/hydraip-prodimage/1.0-r0+r16+r17.5/rootfs/lib /pm/sledz/hipos-dfe.dizzy/build-closed/tmp-glibc/work/hikirk-angstrom-linux-gnueabi/hydraip-prodimage/1.0-r0+r16+r17.5/rootfs/bin/udevadm hwdb --update --root /pm/sledz/hipos-dfe.dizzy/build-closed/tmp-glibc/work/hikirk-angstrom-linux-gnueabi/hydraip-prodimage/1.0-r0+r16+r17.5/rootfs
>>
>> which eats swap space without end till the system crashes (more than 100GB swap space ist available).
>>
>> I've no idea how to inspect this problem further. Any ideas?
>
> I have already raised some similar issue where because of un-appropriate use of "QEMU_OPTIONS" led the post process of udev-hwdb failed.
> 
> Anyhow, Richard has created a patch and you can go through the same here at:
> http://lists.openembedded.org/pipermail/openembedded-core/2014-December/099544.html
> 
> Let's see if that solves your issue.

Unfortunately not.

I've used the latest dizzy-Branch and applied this patch, but the behaviour did not change. :(

commit 219e793907406eabf632e784e3a11ab9acb77cfb
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Thu Dec 4 19:49:19 2014 +0000

    qemu/libc-package: Fix qemu option handling

    The 'overrides' here are PACKAGE_ARCH based and hence not overrides
    as such and the _append wasn't working in many cases. This adjusts the
    code to use PACKAGE_ARCH as the accessor and ensures the variables
    work as expected. This fixes various segfaults and ensures postinsts
    run at build time rather than on the target system.

    The bug was introduced in http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=7efad8a1b56df6ee07c12ad360c0493d7b1d6d23.

    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
    Signed-off-by: Ross Burton <ross.burton at intel.com>

Regards,
Steffen

-- 
DResearch Fahrzeugelektronik GmbH
Otto-Schmirgal-Str. 3, 10319 Berlin, Germany
Tel: +49 30 515932-237 mailto:sledz at dresearch-fe.de
Fax: +49 30 515932-299
Geschäftsführer: Dr. Michael Weber, Werner Mögle;
Amtsgericht Berlin Charlottenburg; HRB 130120 B;
Ust.-IDNr. DE273952058






More information about the Openembedded-core mailing list