[oprofile_arch_init] BUG: using __this_cpu_read() in preemptible [00000000] code: swapper/0/1

Fengguang Wu <[email protected]>
Newsgroups gmane.linux.kernel,gmane.linux.oprofile
Message-ID <[email protected]>
Hello,

FYI this happens in v4.14-rc8 -- it's not necessarily a new bug.

[   14.448846] IDT PCI-E Non-Transparent Bridge Driver 2.0
[   14.449448] Intel(R) PCI-E Non-Transparent Bridge Driver 2.0
[   14.450281] Software Queue-Pair Transport over NTB, version 4
[   14.451233] intel_rapl: driver does not support CPU family 6 model 26
[   14.457087] ASIHPI driver 4.14.03
[   14.460046] BUG: using __this_cpu_read() in preemptible [00000000] code: swapper/0/1
[   14.460792] caller is __this_cpu_preempt_check+0x13/0x20
[   14.461300] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.14.0-rc8 #4
[   14.461889] Call Trace:
[   14.462136]  dump_stack+0x65/0x89
[   14.462456]  check_preemption_disabled+0xdf/0x100
[   14.462907]  ? do_early_param+0x8f/0x8f
[   14.463316]  __this_cpu_preempt_check+0x13/0x20
[   14.463750]  arch_perfmon_init+0x41/0xa0
[   14.464134]  op_nmi_init+0x238/0x283
[   14.464481]  ? alloc_pci_root_info+0xb5/0xb5
[   14.464891]  oprofile_arch_init+0x11/0x13
[   14.465282]  oprofile_init+0x1a/0x75
[   14.465626]  do_one_initcall+0x9a/0x15a
[   14.465999]  ? do_early_param+0x8f/0x8f
[   14.466369]  kernel_init_freeable+0x125/0x1b4
[   14.466788]  ? rest_init+0x100/0x100
[   14.467139]  kernel_init+0x9/0xf0
[   14.467463]  ret_from_fork+0x25/0x30
[   14.467810] BUG: using __this_cpu_read() in preemptible [00000000] code: swapper/0/1
[   14.468551] caller is __this_cpu_preempt_check+0x13/0x20
[   14.469060] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.14.0-rc8 #4
[   14.469650] Call Trace:
[   14.469891]  dump_stack+0x65/0x89
[   14.470013]  check_preemption_disabled+0xdf/0x100
[   14.470013]  ? do_early_param+0x8f/0x8f
[   14.470013]  __this_cpu_preempt_check+0x13/0x20
[   14.470013]  arch_perfmon_init+0x58/0xa0
[   14.470013]  op_nmi_init+0x238/0x283
[   14.470013]  ? alloc_pci_root_info+0xb5/0xb5
[   14.470013]  oprofile_arch_init+0x11/0x13
[   14.470013]  oprofile_init+0x1a/0x75
[   14.470013]  do_one_initcall+0x9a/0x15a
[   14.470013]  ? do_early_param+0x8f/0x8f
[   14.470013]  kernel_init_freeable+0x125/0x1b4
[   14.470013]  ? rest_init+0x100/0x100
[   14.470013]  kernel_init+0x9/0xf0
[   14.470013]  ret_from_fork+0x25/0x30
[   14.475643] oprofile: using NMI interrupt.
[   14.476257] start plist test
[   14.477654] end plist test
[   14.479307] RAS: Correctable Errors collector initialized.
[   14.479903] ... APIC ID:      00000000 (0)

Attached the full dmesg and kconfig.

Thanks,
Fengguang
dmesg-vm-intel12-yocto-x86_64-12:20171106123744:x86_64-randconfig-ws0-11061003:4.14.0-rc8:4 (text/plain, 240.8 KB) - not displayed
.config (text/plain, 103 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.