Re: [OE-core] [PATCH] kernel-devsrc: copy mmiowb.h and modpost from ${B} of kernel

2019-09-11 Thread Hongzhi, Song
On 9/6/19 11:10 AM, Hongzhi, Song wrote: On 9/4/19 8:34 PM, Bruce Ashfield wrote: On Wed, Sep 4, 2019 at 6:07 AM Hongzhi, Song wrote: On 9/4/19 11:55 AM, Bruce Ashfield wrote: On Tue, Sep 3, 2019 at 9:43 PM Hongzhi.Song wrote: There are two errors when compile an out of tree kernel

Re: [OE-core] [PATCH] kernel-devsrc: copy mmiowb.h and modpost from ${B} of kernel

2019-09-05 Thread Hongzhi, Song
On 9/4/19 8:34 PM, Bruce Ashfield wrote: On Wed, Sep 4, 2019 at 6:07 AM Hongzhi, Song wrote: On 9/4/19 11:55 AM, Bruce Ashfield wrote: On Tue, Sep 3, 2019 at 9:43 PM Hongzhi.Song wrote: There are two errors when compile an out of tree kernel module using sdk: This is not universally

Re: [OE-core] [PATCH] kernel-devsrc: copy mmiowb.h and modpost from ${B} of kernel

2019-09-04 Thread Hongzhi, Song
On 9/4/19 11:55 AM, Bruce Ashfield wrote: On Tue, Sep 3, 2019 at 9:43 PM Hongzhi.Song wrote: There are two errors when compile an out of tree kernel module using sdk: This is not universally true. Can you expand on what kernel version and architectures you are building ? I'm able to build

[OE-core] Bug report: util-linux: circular dependencies occurs when enable systemd in PACKAGECONFIG

2019-08-16 Thread Hongzhi, Song
Hi, Some DISTRO_FEATURES related to systemd have been enabled in local.conf     DISTRO_FEATURES_append = " systemd"     DISTRO_FEATURES_BACKFILL_CONSIDERED += "sysvinit"     VIRTUAL-RUNTIME_init_manager = "systemd"     VIRTUAL-RUNTIME_initscripts = "systemd-compat-units"    

Re: [OE-core] [PATCH] kernel-devsrc: cp Documentation/ to sdk kernel

2019-08-14 Thread Hongzhi, Song
On 8/14/19 11:33 PM, Bruce Ashfield wrote: On Wed, Aug 14, 2019 at 5:48 AM Hongzhi, Song wrote: On 8/14/19 11:48 AM, Bruce Ashfield wrote: On Tue, Aug 13, 2019 at 11:39 PM Bruce Ashfield wrote: On Tue, Aug 13, 2019 at 11:04 PM Bruce Ashfield wrote: On Tue, Aug 13, 2019 at 11:01 PM

Re: [OE-core] [PATCH] kernel-devsrc: cp Documentation/ to sdk kernel

2019-08-13 Thread Hongzhi, Song
On 8/14/19 10:53 AM, Bruce Ashfield wrote: On Tue, Aug 13, 2019 at 9:59 PM Hongzhi, Song mailto:hongzhi.s...@windriver.com>> wrote: On 8/13/19 8:27 PM, Bruce Ashfield wrote: > > > On Tue, Aug 13, 2019 at 1:35 AM Hongzhi.Song > mailto:hongzhi.

Re: [OE-core] [PATCH] kernel-devsrc: cp Documentation/ to sdk kernel

2019-08-13 Thread Hongzhi, Song
On 8/13/19 8:27 PM, Bruce Ashfield wrote: On Tue, Aug 13, 2019 at 1:35 AM Hongzhi.Song mailto:hongzhi.s...@windriver.com>> wrote: A new patch let kernel source Documentation/Kconfig in top Kconfig So kernel-devsrc should include Documentation/ too. Otherwise "make scripts" will

Re: [OE-core] [PATCH] lttng-tools: enable manpages option for configure

2019-08-09 Thread Hongzhi, Song
Hi Alex, Sorry, I will send v2 using 'api-documentation' . --Hongzhi On 8/9/19 4:32 PM, Alexander Kanavin wrote: On Fri, 9 Aug 2019 at 08:49, Hongzhi.Song > wrote: If disable this option, production will prompt "No manual entry for lttng-help"

Re: [OE-core] [PATCH] ltp: getrlimit03: adjust-a-bit-of-code-to-compatiable-with mips32

2019-07-19 Thread Hongzhi, Song
On 7/19/19 2:41 PM, Petr Vorel wrote: Hi Hongzhi, ... --- /dev/null +++ b/meta/recipes-extended/ltp/ltp/0001-getrlimit03-adjust-a-bit-of-code-to-compatiable-with.patch @@ -0,0 +1,62 @@ +From e79652a3839869b1983d65999e5d5dcb50bc9cd7 Mon Sep 17 00:00:00 2001 +From: "Hongzhi.Song" +Date:

Re: [OE-core] [PATCH] ltp: getrlimit03: adjust-a-bit-of-code-to-compatiable-with mips32

2019-07-18 Thread Hongzhi, Song
On 7/19/19 5:51 AM, Petr Vorel wrote: Hi Hongzhi, ... --- /dev/null +++ b/meta/recipes-extended/ltp/ltp/0001-getrlimit03-adjust-a-bit-of-code-to-compatiable-with.patch @@ -0,0 +1,62 @@ +From e79652a3839869b1983d65999e5d5dcb50bc9cd7 Mon Sep 17 00:00:00 2001 +From: "Hongzhi.Song" +Date: Mon,

Re: [OE-core] Is it necessary to fix the Bugzilla – Bug 11807 and 5876 ?

2018-12-05 Thread Hongzhi, Song
On 12/06/2018 11:04 AM, Hongzhi, Song wrote: On 12/05/2018 06:57 PM, Bruce Ashfield wrote: On 12/5/18 5:17 AM, Hongzhi, Song wrote: Hi all, I don't know if it is necessary to do this enhancement. 1. Bug 11807: https://bugzilla.yoctoproject.org/show_bug.cgi?id=11807

Re: [OE-core] Is it necessary to fix the Bugzilla – Bug 11807 and 5876 ?

2018-12-05 Thread Hongzhi, Song
On 12/05/2018 06:57 PM, Bruce Ashfield wrote: On 12/5/18 5:17 AM, Hongzhi, Song wrote: Hi all, I don't know if it is necessary to do this enhancement. 1. Bug 11807: https://bugzilla.yoctoproject.org/show_bug.cgi?id=11807 'CONFIG_EXTRA_FIRMWARE' is used to be set to the names of firmware

[OE-core] Is it necessary to fix the Bugzilla – Bug 11807 and 5876 ?

2018-12-05 Thread Hongzhi, Song
Hi all, I don't know if it is necessary to do this enhancement. 1. Bug 11807: https://bugzilla.yoctoproject.org/show_bug.cgi?id=11807 'CONFIG_EXTRA_FIRMWARE' is used to be set to the names of firmware files which should be provided by driver vendors. 'CONFIG_EXTRA_FIRMWARE_DIR' is set to

Re: [OE-core] [PATCH] ltp: kernel/syscall/setrlimit05.c: use a legal bad address for mips

2018-11-12 Thread Hongzhi, Song
ping --Hongzhi On 11/08/2018 03:31 PM, Hongzhi.Song wrote: This testcase fails on mips32. The process is killed by SIGBUS which is not as expect. This is because: ((void *)-1) is not a legal bad address which causes the process killed by SIGBUG on mips. 'tst_get_bad_addr()' returns an

Re: [OE-core] [PATCH 1/1] systemd: add back alternatives for init utitilies

2018-10-22 Thread Hongzhi, Song
On 10/22/2018 03:01 PM, ChenQi wrote: On 10/21/2018 05:37 AM, Richard Purdie wrote: On Fri, 2018-10-19 at 13:19 +0800, Chen Qi wrote: Add back alternatives for init utilities to avoid regression. These alternatives were removed when upgradeing systemd to 239. They were removed out of the

Re: [OE-core] [oe-core][PATCH] linux-yocto-rt: Add paravirt_kvm support for qemux86-64

2018-09-20 Thread Hongzhi, Song
Hi Bruce, I just want to confirm that you doesn't forget this patch. This is not an emergency. Thanks, Hongzhi On 09/11/2018 11:15 AM, Bruce Ashfield wrote: On 2018-09-09 6:44 AM, Hongzhi.Song wrote: This feature includes paravirtualized KVM guest support, including KVMCLOCK for

Re: [OE-core] [PATCH 0/3 v5] udev-extraconf/mount.sh: add systemd-mount command for systemd

2018-09-19 Thread Hongzhi, Song
Sorry for ping. The patch has been merged. --Hongzhi On 09/19/2018 05:37 PM, Hongzhi, Song wrote: ping.. --Hongzhi On 09/16/2018 01:45 PM, Hongzhi.Song wrote: v5: perfect a few codes based on v4 v4: fix the recursively dependency for the systemd-mount v3: perfect syntax

Re: [OE-core] [PATCH 0/3 v5] udev-extraconf/mount.sh: add systemd-mount command for systemd

2018-09-19 Thread Hongzhi, Song
ping.. --Hongzhi On 09/16/2018 01:45 PM, Hongzhi.Song wrote: v5: perfect a few codes based on v4 v4: fix the recursively dependency for the systemd-mount v3: perfect syntax Hongzhi.Song (3): udev-extraconf/mount.sh: add support to systemd udev-extraconf/mount.sh: Fix the

Re: [OE-core] [oe-core][PATCH v4 1/3] udev-extraconf/mount.sh: add support to systemd

2018-09-10 Thread Hongzhi, Song
On 2018年08月24日 10:00, Randy MacLeod wrote: First, I have a few changes to make the log more clear. On 08/01/2018 10:50 PM, Hongzhi.Song wrote: Udev-extraconf works correctly with sysvinit in the aspect of automounting block devices. But it has a serious problem in case of systemd. Block

Re: [OE-core] [oe-core][PATCH v4 0/3] udev-extraconf/mount.sh: add support to systemd

2018-08-21 Thread Hongzhi, Song
ping --Hongzhi On 2018年08月02日 10:50, Hongzhi.Song wrote: v4: Fix the recursively dependency for the systemd-mount v3: perfect syntax Hongzhi.Song (3): udev-extraconf/mount.sh: add support to systemd udev-extraconf/mount.sh: Fix the recursively dependency for the

Re: [OE-core] [oe-core][PATCH v4 0/2] runtime selftest: limit kernel hw bp arches

2018-08-16 Thread Hongzhi, Song
Please ignore this. --Hongzhi On 2018年08月16日 15:36, Hongzhi.Song wrote: v4: modify commit, test cases with kvm, test qemuarm64 v3: specify arch for the case of hw breakpoint v2: test_trace_events_sample of ksample.py Hongzhi.Song (2): runtime selftest:

Re: [OE-core] [oe-core][PATCH v4 0/2] runtime selftest: limit kernel hw bp arches

2018-08-16 Thread Hongzhi, Song
Please ignore it. --Hongzhi On 2018年08月16日 10:49, Hongzhi.Song wrote: v4: modify commit, test cases with kvm, test qemuarm64 v3: specify arch for the case of hw breakpoint v2: test_trace_events_sample of ksample.py Hongzhi.Song (2): runtime selftest:

Re: [OE-core] [oe-core][PATCH v4 1/3] udev-extraconf/mount.sh: add support to systemd

2018-08-03 Thread Hongzhi, Song
On 2018年08月03日 00:15, Martin Hundebøll wrote: Hi Hongzhi, I think duplicating all of 'automount' when the only difference is the call to 'mount' is unnecessary. Hi, The patch is compatible with both systemd and sysvinit. And generally speaking, there will be no systemd-mount command when

Re: [OE-core] [meta][PATCH v2] fix the failure test_trace_events of ksample.py

2018-07-29 Thread Hongzhi, Song
ping --Hongzhi On 2018年07月20日 17:24, Hongzhi.Song wrote: v2: assert failure when timeout Hongzhi.Song (1): runtime selftest: test_trace_events_sample of ksample.py meta/lib/oeqa/runtime/cases/ksample.py | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) --

Re: [OE-core] [PATCH v3] udev-extraconf: Add systemd-mount to udev-extraconf/mount.sh

2018-07-24 Thread Hongzhi, Song
ping.. // Hongzhi On 2018年07月13日 17:15, Hongzhi, Song wrote: ping. Please. -- Hongzhi On 2018年07月03日 11:40, Hongzhi, Song wrote: ping. The patch fixes the real problem. Please review it. //Hongzhi On 2018年04月24日 04:20, Randy MacLeod wrote: On 2018-04-22 11:37 PM, Hongzhi, Song wrote

Re: [OE-core] [meta][PATCH] runtime selftest: test_trace_events_sample of ksample.py

2018-07-20 Thread Hongzhi, Song
Please ignore it. --Hongzhi On 2018年07月20日 15:42, Hongzhi.Song wrote: The debug info can not be written to trace buffer immediately by thread. So we should sleep some seconds. Signed-off-by: Hongzhi.Song --- meta/lib/oeqa/runtime/cases/ksample.py | 14 -- 1 file changed, 12

Re: [OE-core] [PATCH v3] udev-extraconf: Add systemd-mount to udev-extraconf/mount.sh

2018-07-13 Thread Hongzhi, Song
ping. Please. -- Hongzhi On 2018年07月03日 11:40, Hongzhi, Song wrote: ping. The patch fixes the real problem. Please review it. //Hongzhi On 2018年04月24日 04:20, Randy MacLeod wrote: On 2018-04-22 11:37 PM, Hongzhi, Song wrote: ping Please be patient. 0e-core-2.5 rc1 is being tested now

Re: [OE-core] [PATCH V2 0/2] kernel-selftest: add it

2018-07-06 Thread Hongzhi, Song
please ignore it. // Hongzhi On 2018年07月06日 17:07, Hongzhi.Song wrote: The following changes since commit 611013a23a0082faa4fda2cd2529668965586a76: mesa: add lost Upstream-Status tag (2018-07-05 00:22:08 +0100) are available in the git repository at:

Re: [OE-core] [PATCH v3] udev-extraconf: Add systemd-mount to udev-extraconf/mount.sh

2018-07-02 Thread Hongzhi, Song
ping. The patch fixes the real problem. Please review it. //Hongzhi On 2018年04月24日 04:20, Randy MacLeod wrote: On 2018-04-22 11:37 PM, Hongzhi, Song wrote: ping Please be patient. 0e-core-2.5 rc1 is being tested now and only critical blocking fixes are being accepted. Once the results

Re: [OE-core] [meta][PATCH 0/2] Add kernel-sample tests for runtime test

2018-06-28 Thread Hongzhi, Song
ping -- Hongzhi On 2018年06月19日 13:54, Hongzhi, Song wrote: ping --Hongzhi On 2018年06月08日 10:03, Hongzhi, Song wrote: ping... A bug has been created, but the patch hasn't been adapted. bug 12774 : https://bugzilla.yoctoproject.org/show_bug.cgi?id=12774 We plan to add more tests about

Re: [OE-core] [meta][PATCH 0/2] Add kernel-sample tests for runtime test

2018-06-18 Thread Hongzhi, Song
ping --Hongzhi On 2018年06月08日 10:03, Hongzhi, Song wrote: ping... A bug has been created, but the patch hasn't been adapted. bug 12774 : https://bugzilla.yoctoproject.org/show_bug.cgi?id=12774 We plan to add more tests about kernel in the next time. If there is no objection, could you

Re: [OE-core] [meta][PATCH 0/2] Add kernel-sample tests for runtime test

2018-06-07 Thread Hongzhi, Song
ping... A bug has been created, but the patch hasn't been adapted. bug 12774 : https://bugzilla.yoctoproject.org/show_bug.cgi?id=12774 We plan to add more tests about kernel in the next time. If there is no objection, could you adapt my patch? -- Hongzhi On 2018年06月05日 10:32,

Re: [OE-core] [meta][lib/oeqa][PATCH v3] Meta runtime cases: add testcases for kernel sample

2018-06-04 Thread Hongzhi, Song
Please ignore this. I will send V4 // Hongzhi On 2018年06月03日 10:13, Hongzhi.Song wrote: We are going to let runtime test support kernel tests. Now we just add kernel self-contained sample tests. And we plan to add overall kernel tests in the future. This patch is just add kernel samples

Re: [OE-core] [PATCH] Meta runtime cases: add testcases for kernel sample

2018-06-01 Thread Hongzhi, Song
Hi Richard, I have made patch-v2 with shared functions. And these kernel-samples are just for testing, so maybe it's unnecessary to enable them by default. On 2018年06月01日 16:12, Richard Purdie wrote: On Fri, 2018-06-01 at 04:02 -0400, Hongzhi.Song wrote: We are going to let runtime test

Re: [OE-core] [PATCH v3] udev-extraconf: Add systemd-mount to udev-extraconf/mount.sh

2018-04-22 Thread Hongzhi, Song
ping // Hongzhi On 2018年04月17日 15:03, Hongzhi.Song wrote: Udev-extraconf works correctly with sysvinit in the aspect of automounting block devices. But it has a serious problem in case of systemd. Block devices automounted by udev is unaccessible to host space(out of udevd's private

Re: [OE-core] [PATCH v3] udev-extraconf: Add systemd-mount to udev-extraconf/mount.sh

2018-04-20 Thread Hongzhi, Song
ping .. // Hongzhi On 2018年04月17日 15:03, Hongzhi.Song wrote: Udev-extraconf works correctly with sysvinit in the aspect of automounting block devices. But it has a serious problem in case of systemd. Block devices automounted by udev is unaccessible to host space(out of udevd's private

Re: [OE-core] [PATCH] udev-extraconf: Add systemd-mount to mount.sh

2018-04-11 Thread Hongzhi, Song
I am very sorry, this is my fault. My original idea is to modify udev-extraconf/mount.sh. And I will remake a patch. Sorry again. Please ignore this patch. On 2018年04月12日 09:35, Christopher Larson wrote: Why are you adding a new mount.sh at meta/recipes-core/udev/mount.sh rather than

Re: [OE-core] [PATCH] udev-extraconf: Add systemd-mount to mount.sh

2018-04-11 Thread Hongzhi, Song
ping //Hongzhi On 2018年04月09日 15:28, Hongzhi.Song wrote: This patch fixs the problem that block devices unable to be formatted when systemd and udev-extraconf recipes added into rootfs. If we add systemd and udev-extraconf recipes into rootfs: VIRTUAL-RUNTIME_init_manager = "systemd"

Re: [OE-core] Question about one oe-core commit

2018-03-30 Thread Hongzhi, Song
ping. // Hongzhi On 2018年03月28日 17:18, Hongzhi, Song wrote: Hi, Khem oe-core upstream commit e6c1765a05c1321f08f3d1fb521dfe6b07bc8e92 You drop mount propagation patch, it only happens with libseccomp, OE doesn't enable it. I don't understand why 'it only happens with libseccomp'. Could

Re: [OE-core] [PATCH] systemd-udev: Add systemd-mount to mount.sh

2018-03-11 Thread Hongzhi, Song
ping. // hongzhi On 2018年03月06日 18:54, Hongzhi.Song wrote: Issue: mkfs.ext4 fails, prompting that the device is in use by the system. But there is no mounted infomation in /proc/mounts. Reproduce: Be sure that there is storage device connected to you machine. Boot the machine.

Re: [OE-core] Questions about udev rule and systemd-udev,relevant to mounting block device

2018-03-01 Thread Hongzhi, Song
Hi all, Does anyone have suggestion for me? Thanks. Hongzhi.Song On 2018年03月01日 18:35, Hongzhi, Song wrote: Defect:     The exiting method of automount of udev in /oe-core/meta/ /is using /automount.rules/ which call /mount.sh/ that using //bin/mount/ to mount device. But systemd

[OE-core] Questions about udev rule and systemd-udev,relevant to mounting block device

2018-03-01 Thread Hongzhi, Song
Defect:     The exiting method of automount of udev in /oe-core/meta/ /is using /automount.rules/ which call /mount.sh/ that using //bin/mount/ to mount device. But systemd-udevd detaches /mount()/ operations done within the service from the rest of the system with MountFlag=slave, this

Re: [OE-core] [PATCH v3] systemd: re-enable mount propagation for udevd

2018-02-22 Thread Hongzhi, Song
What do you mean "it only happens with libseccomp"? I have tried to enable or disable seccomp via CONFIG_SECCOMP, buf the results were same unless I set MountFlags=shared. Without propagation patch, all block device, such as '/dev/sda*', mounted by systemd-udev, are unaccessible to

Re: [OE-core] [PATCH v3] systemd: re-enable mount propagation for udevd

2018-02-22 Thread Hongzhi, Song
If MountFlags=slave, systemd-udevd mounts all block device,  such as '/dev/sda1' '/dev/mmcblk*' , in itself unit namespace. So other namespace, such as 'root user', has no access to use block device mentioned above. On 2018年02月23日 08:50, Otavio Salvador wrote: On Thu, Feb 22, 2018 at 11:15