Re: [yocto] [meta-security][PATCH 0/3] Samhain package

2014-08-18 Thread Alexandru Vaduva
Thanks Armin, This package will be a nice addition to meta-cgl layer. Alex On Monday, August 18, 2014 5:43 AM, Armin Kuster akuster...@gmail.com wrote: I have been sitting on this far to long. Wanted to get it out before I completely space on it. Armin Kuster (3):   samhain: New ISD

[yocto] setting ASSUME_PROVIDED just for target package

2014-08-18 Thread Marek Andrus
Hi, I'd like to tell bitbake not to build python for target, but I still want python-native. If I add ASSUME_PROVIDED += python it stops building both python and python-native. If it add ASSUME_PROVIDED += python-native it stops building just python-native. What to do to prevent

[yocto] toybox in OpenEmbedded

2014-08-18 Thread Paul Barker
Hi all, I've been wanting to try out toybox within OpenEmbedded for quite a while and have finally found time to put a recipe together. Toybox is a BSD-licensed alternative to Busybox which may be of interest to a few people. It's still a work in progress but it already covers a large number of

Re: [yocto] toybox in OpenEmbedded

2014-08-18 Thread Christopher Larson
On Mon, Aug 18, 2014 at 6:44 AM, Paul Barker p...@paulbarker.me.uk wrote: I've been wanting to try out toybox within OpenEmbedded for quite a while and have finally found time to put a recipe together. Toybox is a BSD-licensed alternative to Busybox which may be of interest to a few people.

Re: [yocto] toybox in OpenEmbedded

2014-08-18 Thread Paul Barker
On Mon, Aug 18, 2014 at 07:29:33AM -0700, Christopher Larson wrote: On Mon, Aug 18, 2014 at 6:44 AM, Paul Barker p...@paulbarker.me.uk wrote: I've been wanting to try out toybox within OpenEmbedded for quite a while and have finally found time to put a recipe together. Toybox is a

Re: [yocto] Fix for meta-oe/recipes-graphics/fbida/fbida_git.bb

2014-08-18 Thread Paul Eggleton
Hi Jens, On Sunday 17 August 2014 20:06:10 Jens Rehsack wrote: Am 17.08.2014 um 19:39 schrieb Martin Jansa martin.ja...@gmail.com: On Sun, Aug 17, 2014 at 05:02:39PM +0200, Jens Rehsack wrote: we played a bit with some tools before using a modified psplash to show some guidance on hdmi-fb

Re: [yocto] [OE-core] Announcing meta-musl OE/Yocto layer supporting musl C library

2014-08-18 Thread Paul Barker
On Sat, Aug 16, 2014 at 05:50:38PM -0700, Khem Raj wrote: Hello All musl http://www.musl-libc.org/ is a newer implementation licensed under MIT licence A layer to support musl to supply your system C library as an alternative to uclibc and eglibc/glibc is now available at

Re: [yocto] [OE-core] Announcing meta-musl OE/Yocto layer supporting musl C library

2014-08-18 Thread Khem Raj
On Mon, Aug 18, 2014 at 11:14 AM, Paul Barker p...@paulbarker.me.uk wrote: On Sat, Aug 16, 2014 at 05:50:38PM -0700, Khem Raj wrote: Hello All musl http://www.musl-libc.org/ is a newer implementation licensed under MIT licence A layer to support musl to supply your system C library as an

Re: [yocto] [OE-core] Announcing meta-musl OE/Yocto layer supporting musl C library

2014-08-18 Thread Paul Barker
On Mon, Aug 18, 2014 at 11:26:26AM -0700, Khem Raj wrote: On Mon, Aug 18, 2014 at 11:14 AM, Paul Barker p...@paulbarker.me.uk wrote: On Sat, Aug 16, 2014 at 05:50:38PM -0700, Khem Raj wrote: Hello All musl http://www.musl-libc.org/ is a newer implementation licensed under MIT licence

Re: [yocto] [OE-core] Announcing meta-musl OE/Yocto layer supporting musl C library

2014-08-18 Thread Khem Raj
On Mon, Aug 18, 2014 at 11:50 AM, Paul Barker p...@paulbarker.me.uk wrote: On Mon, Aug 18, 2014 at 11:26:26AM -0700, Khem Raj wrote: On Mon, Aug 18, 2014 at 11:14 AM, Paul Barker p...@paulbarker.me.uk wrote: On Sat, Aug 16, 2014 at 05:50:38PM -0700, Khem Raj wrote: Hello All musl

Re: [yocto] [OE-core] Announcing meta-musl OE/Yocto layer supporting musl C library

2014-08-18 Thread Paul Barker
On Mon, Aug 18, 2014 at 12:04:54PM -0700, Khem Raj wrote: On Mon, Aug 18, 2014 at 11:50 AM, Paul Barker p...@paulbarker.me.uk wrote: On Mon, Aug 18, 2014 at 11:26:26AM -0700, Khem Raj wrote: Thanks cool. Can you open a ticket on github with this information ? Will do. Do you want just

Re: [yocto] [OE-core] Announcing meta-musl OE/Yocto layer supporting musl C library

2014-08-18 Thread Khem Raj
On Mon, Aug 18, 2014 at 12:08 PM, Paul Barker p...@paulbarker.me.uk wrote: That would be handy too. But I wanted was to keep this info in project for folks to try it out. I'll just post one ticket for now. Thats fine too. I think I've got a fix for e2fsprogs as well. Great. when we write

Re: [yocto] Fix for meta-oe/recipes-graphics/fbida/fbida_git.bb

2014-08-18 Thread Jens Rehsack
Hi Paul, Am 18.08.2014 um 16:48 schrieb Paul Eggleton paul.eggle...@linux.intel.com: Hi Jens, On Sunday 17 August 2014 20:06:10 Jens Rehsack wrote: Am 17.08.2014 um 19:39 schrieb Martin Jansa martin.ja...@gmail.com: On Sun, Aug 17, 2014 at 05:02:39PM +0200, Jens Rehsack wrote: we played a

[yocto] Python3: Unable to get the locale encoding (Yocto/daisy)

2014-08-18 Thread Mikhail Zakharov
Hi all, We are using yocto daisy 1.6.1 and added 'python3' to our local.conf when building 'core-image-minimal' , however we get the following error when invoking the interpreter in on target: Fatal Python error: Py_Initialize: Unable to get the locale encoding ImportError: No module named

[yocto] [ANNOUNCEMENT] Yocto Project 1.7 Milestone 2 now available

2014-08-18 Thread Flanagan, Elizabeth
The second milestone for our upcoming 1.7 release is now available at: http://downloads.yoctoproject.org/releases/yocto/milestones/yocto-1.7_M2/ bitbake 4aaf56bfbad4aa626be8a2f7a5f70834c3311dd3 eclipse-poky-juno 26bfc407781aa185f244a47ba63120343cee4a37 eclipse-poky-kepler

[yocto] [vmdk] vmdk image not booting

2014-08-18 Thread Bruno Dal Bó Silva
Hello, I attempted the following configuration, with no luck: -daisy branch -core-image-minimal -machine=genericx86 -IMAGE_FSTYPES += vmdk Then I tried booting the vmdk in vmware and virtualbox players. But the boot process stops just before hitting sysvinit, although the live image works just

[yocto] [vmdk] vmdk image not booting

2014-08-18 Thread Bruno Dal Bó Silva
Hello, I attempted the following configuration, with no luck: -daisy branch -core-image-minimal -machine=genericx86 -IMAGE_FSTYPES += vmdk Then I tried booting the vmdk in vmware and virtualbox players. But the boot process stops just before hitting sysvinit, although the live image works just

[yocto] [meta-security][PATCH] pinentry: Fix QA error

2014-08-18 Thread Armin Kuster
This fixes: WARNING: QA Issue: pinentry rdepends on libcap, but it isn't a build dependency? [build-deps] Also add pkgconfig support. Signed-off-by: Armin Kuster akuster...@gmail.com --- recipes-security/pinentry/pinentry_0.8.3.bb | 13 + 1 file changed, 9 insertions(+), 4

[yocto] how to use the new features of the toaster

2014-08-18 Thread leimao...@cn.fujitsu.com
Hi, Because I noticed that in poky(master), the toaster has the ability to trigger a build command, and have the build executed. -- commit 6e71c276b582135228419d95174b7e7784d496b2 Author: Alexandru DAMIAN alexandru.dam...@intel.com Date:

[yocto] Creating an system installer/updater image

2014-08-18 Thread J.T. Conklin
I've created an image recipe that builds an image that runs under qemu or from a live CD on a generic x86-64 server. I'd like to create an installer/updater CD/USB stick that partitions, formats, and installs the kernel and the set of packages from the above image onto the server's hard disk.

[linux-yocto] [PATCH 0/28] Refresh NUMA kernel code

2014-08-18 Thread Yang Shi
Refresh kernel NUMA up to 3.16. Primarily merged: numa,sched,mm: pseudo-interleaving for automatic NUMA balancing https://lkml.org/lkml/2014/1/27/459 patch 1 - 9 fix numa vs kvm scalability issue https://lkml.org/lkml/2014/2/18/677 patch 12/13 sched,numa: reduce page migrations with

[linux-yocto] [PATCH 09/28] sched/numa: Turn some magic numbers into #defines

2014-08-18 Thread Yang Shi
From: Rik van Riel r...@redhat.com commit be1e4e760d940c14d119bffef5eb007dfdf29046 upstream Cleanup suggested by Mel Gorman. Now the code contains some more hints on what statistics go where. Suggested-by: Mel Gorman mgor...@suse.de Signed-off-by: Rik van Riel r...@redhat.com Acked-by: Mel

[linux-yocto] [PATCH 05/28] sched/numa, mm: Use active_nodes nodemask to limit numa migrations

2014-08-18 Thread Yang Shi
From: Rik van Riel r...@redhat.com commit 10f39042711ba21773763f267b4943a2c66c8bef upstream Use the active_nodes nodemask to make smarter decisions on NUMA migrations. In order to maximize performance of workloads that do not fit in one NUMA node, we want to satisfy the following criteria:

[linux-yocto] [PATCH 07/28] sched/numa: Do statistics calculation using local variables only

2014-08-18 Thread Yang Shi
From: Rik van Riel r...@redhat.com commit 35664fd41e1c8cc4f0b89f6a51db5af39ba50640 upstream The current code in task_numa_placement calculates the difference between the old and the new value, but also temporarily stores half of the old value in the per-process variables. The NUMA balancing

[linux-yocto] [PATCH 06/28] sched/numa: Normalize faults_cpu stats and weigh by CPU use

2014-08-18 Thread Yang Shi
From: Rik van Riel r...@redhat.com commit 7e2703e6099609adc93679c4d45cd6247f565971 upstream Tracing the code that decides the active nodes has made it abundantly clear that the naive implementation of the faults_from code has issues. Specifically, the garbage collector in some workloads will

[linux-yocto] [PATCH 14/28] mm: numa: recheck for transhuge pages under lock during protection changes

2014-08-18 Thread Yang Shi
From: Mel Gorman mgor...@suse.de commit 1ad9f620c3a22fa800489455ce517c29e576934e upstream Sasha reported the following bug using trinity kernel BUG at mm/mprotect.c:149! invalid opcode: [#1] PREEMPT SMP DEBUG_PAGEALLOC Dumping ftrace buffer: (ftrace buffer empty) Modules

[linux-yocto] [PATCH 10/28] numa: fix NULL pointer access and memory leak in unregister_one_node()

2014-08-18 Thread Yang Shi
From: Xishi Qiu qiuxi...@huawei.com commit 92d585ef067da7a966d6ce78c601bd1562b62619 upstream When doing socket hot remove, node_devices[nid] is set to NULL; acpi_processor_remove() try_offline_node() unregister_one_node() Then hot add a socket, but do not echo 1

[linux-yocto] [PATCH 03/28] sched/numa: Track from which nodes NUMA faults are triggered

2014-08-18 Thread Yang Shi
From: Rik van Riel r...@redhat.com commit 50ec8a401fed6d246ab65e6011d61ac91c34af70 upstream Track which nodes NUMA faults are triggered from, in other words the CPUs on which the NUMA faults happened. This uses a similar mechanism to what is used to track the memory involved in numa faults. The

[linux-yocto] [PATCH 13/28] mm: move mmu notifier call from change_protection to change_pmd_range

2014-08-18 Thread Yang Shi
From: Rik van Riel r...@redhat.com commit a5338093bfb462256f70f3450c08f73e59543e26 upstream The NUMA scanning code can end up iterating over many gigabytes of unpopulated memory, especially in the case of a freshly started KVM guest with lots of memory. This results in the mmu notifier code

[linux-yocto] [PATCH 23/28] sched/numa: Update migrate_improves/degrades_locality()

2014-08-18 Thread Yang Shi
From: Rik van Riel r...@redhat.com commit b1ad065e65f56103db8b97edbd218a271ff5b1bb upstream Update the migrate_improves/degrades_locality() functions with knowledge of pseudo-interleaving. Do not consider moving tasks around within the set of group's active nodes as improving or degrading

[linux-yocto] [PATCH 11/28] sched/numa: Move task_numa_free() to __put_task_struct()

2014-08-18 Thread Yang Shi
From: Mike Galbraith bitbuc...@online.de commit 156654f491dd8d52687a5fbe1637f472a52ce75b upstream Bad idea on -rt: [ 908.026136] [8150ad6a] rt_spin_lock_slowlock+0xaa/0x2c0 [ 908.026145] [8108f701] task_numa_free+0x31/0x130 [ 908.026151] [8108121e]

[linux-yocto] [PATCH 16/28] sched/numa: Fix task_numa_free() lockdep splat

2014-08-18 Thread Yang Shi
From: Mike Galbraith bitbuc...@online.de commit 60e69eed85bb7b5198ef70643b5895c26ad76ef7 upstream Sasha reported that lockdep claims that the following commit: made numa_group.lock interrupt unsafe: 156654f491dd (sched/numa: Move task_numa_free() to __put_task_struct()) While I don't see how

[linux-yocto] [PATCH 19/28] sched/numa: Count pages on active node as local

2014-08-18 Thread Yang Shi
From: Rik van Riel r...@redhat.com commit 792568ec6a31ca560ca4d528782cbc6cd2cea8b0 upstream The NUMA code is smart enough to distribute the memory of workloads that span multiple NUMA nodes across those NUMA nodes. However, it still has a pretty high scan rate for such workloads, because any

[linux-yocto] [PATCH 24/28] sched/numa: Decay -wakee_flips instead of zeroing

2014-08-18 Thread Yang Shi
From: Rik van Riel r...@redhat.com commit 096aa33863a5e48de52d2ff30e0801b7487944f4 upstream Affine wakeups have the potential to interfere with NUMA placement. If a task wakes up too many other tasks, affine wakeups will get disabled. However, regardless of how many other tasks it wakes up, it

[linux-yocto] [PATCH 18/28] sched/numa: Initialize newidle balance stats in sd_numa_init()

2014-08-18 Thread Yang Shi
From: Jason Low jason.l...@hp.com commit 2b4cfe64dee0d84506b951d81bf55d9891744d25 upstream Also initialize the per-sd variables for newidle load balancing in sd_numa_init(). Signed-off-by: Jason Low jason.l...@hp.com Acked-by: morten.rasmus...@arm.com Cc: daniel.lezc...@linaro.org Cc:

[linux-yocto] [PATCH 25/28] mm: numa: add migrated transhuge pages to LRU the same way as base pages

2014-08-18 Thread Yang Shi
From: Mel Gorman mgor...@suse.de commit 11de9927f9dd3cb0a0f18064fa4b6976fc37e79c upstream Migration of misplaced transhuge pages uses page_add_new_anon_rmap() when putting the page back as it avoided an atomic operations and added the new page to the correct LRU. A side-effect is that the page

[linux-yocto] [PATCH 27/28] sched/numa: Fix use of spin_{un}lock_irq() when interrupts are disabled

2014-08-18 Thread Yang Shi
From: Steven Rostedt rost...@goodmis.org commit e9dd685ce81815811fb4da72e6ab10a694ac8468 upstream As Peter Zijlstra told me, we have the following path: do_exit() exit_itimers() itimer_delete() spin_lock_irqsave(timer-it_lock, flags); timer_delete_hook(timer);

[linux-yocto] [PATCH 1/2] SUNRPC: track whether a request is coming from a loop-back interface.

2014-08-18 Thread Yang Shi
From: NeilBrown ne...@suse.de commit ef11ce24875a8a540adc185e7bce3d7d49c8296f upstream If an incoming NFS request is coming from the local host, then nfsd will need to perform some special handling. So detect that possibility and make the source visible in rq_local. Signed-off-by: NeilBrown

[linux-yocto] [PATCH 0/2] Integrate loopback nfs mount kernel code from 3.16

2014-08-18 Thread Yang Shi
Integrate Neil Brown's nfs loopback mount patches from 3.16. 46dbf93 nfsd: Only set PF_LESS_THROTTLE when really needed. 309c169 SUNRPC: track whether a request is coming from a loop-back interface. -- ___ linux-yocto mailing list