[oe] [meta-oe][PATCH v2 0/1] Add a recipe on kernel selftest

Hongzhi, Song hongzhi.song at windriver.com
Mon Jul 16 10:04:58 UTC 2018


On 2018年07月13日 22:06, Hongzhi.Song wrote:
> 0001-kernel-selftest-Add-a-recipe-on-kernel-selftest.patch:
>      1. This patch add support for musl libc.
>      2. I don't reproduce the error about Makefile with your auto.conf.
Hi all,

I really can not reproduce the error with either my own local.conf or 
Khem's.
The errors I encountered is different with Khem using Khem's conf.

>      3. Boot failed using your auto.conf with error:
>         ---
>         [  576.229543] mount[2571]: segfault at 0 ip   (null) sp bfb52e0c error
>                        4 in mount.util-linux[8048000+9000]
>         You are in emergency mode. After logging in, type "journalctl -xb" to view
>         system logs, "systemctl reboot" to reboot, "systemctl default" or "exit"
>         to boot into default mode.
>         /sbin/sulogin terminated by signal SEGV.
>         ---
>         runqemu qemux86 nographic slirp qemuparams="-m 2048"
>      4. With this patch set, I have fixed all musl related issues in my build.
>         It builds and works well. But I still have not met the error in yours.
>
>         In my case, I just start build from latest poky without any change
>         other than a few necessary kernel config fragments. I'd like to
>         reproduce your error but I can't. Could you please provide more info
>         about your build config?
>
> 0001-x86-remove-qemu-usermode-from-MACHINE_FEATURES_BACKF.patch:
>      This patch is to fix gobject-introspection do_compile.
>
>      With m32, qemu-usermode will be back filled and gobject-introspection
>      tends to use qemu-i386. Is this the way to fix? If you have no objection
>      I will commit to oe-core next.

Gobject-introspection is disable using default conf when setup a new 
poky project.
So gobject-introspection is enabled by uncertain configuration add by Khem.
And then, this error maybe has no relation with my recipe.

--Hongzhi

>
> Hongzhi.Song (1):
>    kernel-selftest: Add a recipe on kernel selftest
>
>   .../kernel-selftest/kernel-selftest.bb             | 104 ++++++
>   .../kernel-selftest/kernel-selftest/COPYING        | 356 +++++++++++++++++++++
>   .../kernel-selftest/userfaultfd.patch              | 322 +++++++++++++++++++
>   3 files changed, 782 insertions(+)
>   create mode 100644 meta-oe/recipes-kernel/kernel-selftest/kernel-selftest.bb
>   create mode 100644 meta-oe/recipes-kernel/kernel-selftest/kernel-selftest/COPYING
>   create mode 100644 meta-oe/recipes-kernel/kernel-selftest/kernel-selftest/userfaultfd.patch
>




More information about the Openembedded-devel mailing list