Wind River Support Network

HomeDefectsLIN8-3660
Fixed

LIN8-3660 : warning at workqueue.c during bootup

Created: May 23, 2016    Updated: Dec 3, 2018
Resolved Date: May 23, 2016
Found In Version: 8.0.0.4
Fix Version: 8.0.0.6
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: Kernel

Description

Found in qemuarm and qemux86 during bootup.

qemuarm:
========
...
ftrace: allocating 22575 entries in 67 pages
Setting up static identity map for 0x8400 - 0x8458
------------[ cut here ]------------
WARNING: CPU: 0 PID: 1 at /wrl8-qemuarm/bitbake_build/tmp/work-shared/qemuarm/kernel-source/kernel/workqueue.c:3504 apply_wqattrs_commit+0xe0/0x104()
Modules linked in:
CPU: 0 PID: 1 Comm: swapper Not tainted 4.1.21-WR8.0.0.0_standard #10
Hardware name: ARM-Versatile PB
[<c0017d58>] (unwind_backtrace) from [<c0013c60>] (show_stack+0x20/0x24)
[<c0013c60>] (show_stack) from [<c06c4648>] (dump_stack+0x20/0x28)
[<c06c4648>] (dump_stack) from [<c0023190>] (warn_slowpath_common+0x98/0xc0)
[<c0023190>] (warn_slowpath_common) from [<c0023274>] (warn_slowpath_null+0x2c/0x34)
[<c0023274>] (warn_slowpath_null) from [<c003d080>] (apply_wqattrs_commit+0xe0/0x104)
[<c003d080>] (apply_wqattrs_commit) from [<c003e6ac>] (apply_workqueue_attrs+0x88/0xb0)
[<c003e6ac>] (apply_workqueue_attrs) from [<c003fe90>] (__alloc_workqueue_key+0x20c/0x468)
[<c003fe90>] (__alloc_workqueue_key) from [<c0946a70>] (init_workqueues+0x1e4/0x31c)
[<c0946a70>] (init_workqueues) from [<c0009ebc>] (do_one_initcall+0x114/0x1d4)
[<c0009ebc>] (do_one_initcall) from [<c093ee84>] (kernel_init_freeable+0x14c/0x2e4)
[<c093ee84>] (kernel_init_freeable) from [<c06bf378>] (kernel_init+0x18/0xf4)
[<c06bf378>] (kernel_init) from [<c000fb44>] (ret_from_fork+0x14/0x30)
---[ end trace cb88537fdc8fa200 ]---


qemux86:
========
...
Failed to access perfctr msr (MSR c2 is 0)
------------[ cut here ]------------
WARNING: CPU: 0 PID: 1 at /wrl8-qemux86/bitbake_build/tmp/work-shared/qemux86/kernel-source/kernel/workqueue.c:3504 numa_pwq_tbl_install+0x87/0x90()
Modules linked in:
CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.1.21-WR8.0.0.0_standard #2
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.8.2-0-g33fbe13 by qemu-project.org 04/01/2014
 00000286 00000286 c789fdcc c1885b28 00000000 c1a76ad8 c789fdfc c1052677
 c1a75c50 00000000 00000001 c1a76ad8 00000db0 c10692f7 c10692f7 c782e900
 c78ea600 00000000 c789fe0c c1052752 00000009 00000000 c789fe20 c10692f7
Call Trace:
 [<c1885b28>] dump_stack+0x5f/0x86
 [<c1052677>] warn_slowpath_common+0x87/0xc0
 [<c10692f7>] ? numa_pwq_tbl_install+0x87/0x90
 [<c10692f7>] ? numa_pwq_tbl_install+0x87/0x90
 [<c1052752>] warn_slowpath_null+0x22/0x30
 [<c10692f7>] numa_pwq_tbl_install+0x87/0x90
 [<c106974f>] apply_wqattrs_commit+0x3f/0x70
 [<c106e624>] apply_workqueue_attrs+0x54/0xc0
 [<c106fc9f>] __alloc_workqueue_key+0x13f/0x470
 [<c188bfcd>] ? mutex_unlock+0xd/0x10
 [<c106fe94>] ? __alloc_workqueue_key+0x334/0x470
 [<c1c2cd73>] init_workqueues+0x25b/0x30c
 [<c1c2cb18>] ? wq_sysfs_init+0x24/0x24
 [<c100042e>] do_one_initcall+0x7e/0x1b0
 [<c1c2cb18>] ? wq_sysfs_init+0x24/0x24
 [<c10b3ba1>] ? vprintk_default+0x41/0x60
 [<c188418b>] ? printk+0x17/0x19
 [<c10135b9>] ? print_cpu_info+0x89/0x100
 [<c1c258f7>] ? native_smp_prepare_cpus+0x303/0x30d
 [<c1c17b8d>] kernel_init_freeable+0xe3/0x220
 [<c188decd>] ? _raw_spin_unlock_irq+0x2d/0x50
 [<c188ded2>] ? _raw_spin_unlock_irq+0x32/0x50
 [<c1079bec>] ? finish_task_switch+0x8c/0x100
 [<c1079baa>] ? finish_task_switch+0x4a/0x100
 [<c1881830>] kernel_init+0x10/0xe0
 [<c188e841>] ret_from_kernel_thread+0x21/0x30
 [<c1881820>] ? rest_init+0x120/0x120
---[ end trace 35b6fa3342ab72bf ]---
x86: Booted up 1 node, 1 CPUs
smpboot: Total of 1 processors activated (6199.97 BogoMIPS)
------------[ cut here ]------------

Other Downloads


Live chat
Online