Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Steffen Sledz <sledz@dresearch-fe.de>
To: Gaurang Shastri <gshastri@juniper.net>,
	 openembedded-core <openembedded-core@lists.openembedded.org>
Subject: Re: "qemu-arm udevadm hwdb --update" eats swap space after build host update to openSUSE 13.2
Date: Tue, 16 Dec 2014 07:30:41 +0100	[thread overview]
Message-ID: <548FD191.5010907@dresearch-fe.de> (raw)
In-Reply-To: <BLUPR05MB691C5C534377936999FE84AD56F0@BLUPR05MB691.namprd05.prod.outlook.com>

On 15.12.2014 12:00, Gaurang Shastri wrote:
> From: openembedded-core-bounces@lists.openembedded.org [mailto:openembedded-core-bounces@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@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@linuxfoundation.org>
    Signed-off-by: Ross Burton <ross.burton@intel.com>

Regards,
Steffen

-- 
DResearch Fahrzeugelektronik GmbH
Otto-Schmirgal-Str. 3, 10319 Berlin, Germany
Tel: +49 30 515932-237 mailto:sledz@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


  reply	other threads:[~2014-12-16  6:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-15 10:54 "qemu-arm udevadm hwdb --update" eats swap space after build host update to openSUSE 13.2 Steffen Sledz
2014-12-15 11:00 ` Gaurang Shastri
2014-12-16  6:30   ` Steffen Sledz [this message]
2014-12-15 16:19 ` Enrico Scholz
2014-12-16  8:36   ` Steffen Sledz
2014-12-18 10:09     ` Richard Purdie
2014-12-18 11:19       ` Enrico Scholz
2015-01-01  2:45         ` Khem Raj
     [not found] <548EF838.7000705@zone42.org>
2014-12-15 15:15 ` Steffen Sledz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=548FD191.5010907@dresearch-fe.de \
    --to=sledz@dresearch-fe.de \
    --cc=gshastri@juniper.net \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox