On 2017-04-17 08:31 PM, Saul Wold wrote:
> busybox ping was hanging after 1 loop with 4.10.x/4.11.x kernel.
> ping was hanging waiting for alarm to expire.
> 4.10.x kernel intrdoduced new kernel config CONFIG_POSIX_TIMERS
> which needs to be enabled to enable calls timer_create, settimer,
> alarm etc.

This shouldn't be needed:

init/Kconfig:config POSIX_TIMERS
init/Kconfig:   bool "Posix Clocks & timers" if EXPERT
init/Kconfig:   default y

...so unless we've got a config frag explicitly setting it to
off, it should be selected/on.  Since you say it is a new option,
then we shouldn't have any frag setting it to off.

Paul.
--

> Signed-off-by: Kushwaha, Priyalee <priyalee.kushw...@intel.com>
> Signed-off-by: Saul Wold <s...@linux.intel.com>
> ---
> Targeted for 4.10 and beyond
> 
>  ktypes/base/base.cfg | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/ktypes/base/base.cfg b/ktypes/base/base.cfg
> index 91a140b..062f6e3 100644
> --- a/ktypes/base/base.cfg
> +++ b/ktypes/base/base.cfg
> @@ -23,6 +23,7 @@ CONFIG_LOCALVERSION=""
>  CONFIG_SWAP=y
>  CONFIG_SYSVIPC=y
>  CONFIG_POSIX_MQUEUE=y
> +CONFIG_POSIX_TIMERS=y
>  CONFIG_BSD_PROCESS_ACCT=y
>  CONFIG_BSD_PROCESS_ACCT_V3=y
>  # CONFIG_AUDIT is not set
> 
-- 
_______________________________________________
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto

Reply via email to