lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171012064439.GN26196@yexl-desktop>
Date:   Thu, 12 Oct 2017 14:44:39 +0800
From:   kernel test robot <xiaolong.ye@...el.com>
To:     Prarit Bhargava <prarit@...hat.com>
Cc:     linux-kernel@...r.kernel.org, Andi Kleen <ak@...ux.intel.com>,
        Thomas Gleixner <tglx@...utronix.de>,
        Ingo Molnar <mingo@...hat.com>,
        "H. Peter Anvin" <hpa@...or.com>, x86@...nel.org,
        Peter Zijlstra <peterz@...radead.org>,
        Dave Hansen <dave.hansen@...el.com>,
        Piotr Luc <piotr.luc@...el.com>,
        Kan Liang <kan.liang@...el.com>, Borislav Petkov <bp@...e.de>,
        Stephane Eranian <eranian@...gle.com>,
        Prarit Bhargava <prarit@...hat.com>,
        Arvind Yadav <arvind.yadav.cs@...il.com>,
        Andy Lutomirski <luto@...nel.org>,
        Christian Borntraeger <borntraeger@...ibm.com>,
        "Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>,
        Tom Lendacky <thomas.lendacky@....com>,
        He Chen <he.chen@...ux.intel.com>,
        Mathias Krause <minipli@...glemail.com>,
        Tim Chen <tim.c.chen@...ux.intel.com>,
        Vitaly Kuznetsov <vkuznets@...hat.com>, lkp@...org,
        ltp@...ts.linux.it
Subject: [lkp-robot] [x86/topology]  379a4bb988:
 dmesg.WARNING:at_arch/x86/events/intel/uncore.c:#uncore_change_type_ctx


FYI, we noticed the following commit (built with gcc-6):

commit: 379a4bb9880608931642e1b4208380468d347b84 ("x86/topology: Avoid wasting 128k for package id array")
url: https://github.com/0day-ci/linux/commits/Prarit-Bhargava/x86-smpboot-Cleanup-logical-package-ID/20170929-202113


in testcase: ltp
with following parameters:

	test: cpuhotplug

test-description: The LTP testsuite contains a collection of tools for testing the Linux kernel and related features.
test-url: http://linux-test-project.github.io/


on test machine: 88 threads Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz with 64G memory

caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):


kern  :warn  : [  119.686133] ------------[ cut here ]------------
kern  :warn  : [  119.692171] WARNING: CPU: 0 PID: 13 at arch/x86/events/intel/uncore.c:1058 uncore_change_type_ctx+0xf0/0x100
kern  :warn  : [  119.706707] Modules linked in: loop rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver intel_rapl sb_edac x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm irqbypass crct10dif_pclmul crc32_pclmul crc32c_intel mgag200 ghash_clmulni_intel ttm pcbc drm_kms_helper ahci syscopyarea snd_pcm sysfillrect libahci sysimgblt snd_timer fb_sys_fops aesni_intel snd crypto_simd drm soundcore glue_helper mxm_wmi cryptd pcspkr libata shpchp ipmi_si ipmi_devintf wmi acpi_power_meter acpi_pad ipmi_msghandler ip_tables
kern  :warn  : [  119.760794] CPU: 0 PID: 13 Comm: cpuhp/0 Not tainted 4.14.0-rc2-00278-g379a4bb #4
kern  :warn  : [  119.770093] Hardware name: Intel Corporation S2600KPR/S2600KPR, BIOS SE5C610.86B.01.01.0019.101220160604 10/12/2016
kern  :warn  : [  119.782751] task: ffff88085ac34d00 task.stack: ffffc900066a8000
kern  :warn  : [  119.790391] RIP: 0010:uncore_change_type_ctx+0xf0/0x100
kern  :warn  : [  119.798042] RSP: 0018:ffffc900066abd68 EFLAGS: 00010213
kern  :warn  : [  119.804941] RAX: ffff88085a4062c0 RBX: ffff8810300c7e00 RCX: 0000000000000008
kern  :warn  : [  119.814013] RDX: ffff88085f200000 RSI: ffff881006313000 RDI: ffffffff81e1e68c
kern  :warn  : [  119.823100] RBP: ffffc900066abda0 R08: ffffffff81e1e68c R09: 0000000000000000
kern  :warn  : [  119.832216] R10: 0000000000000040 R11: ffff88085e800dd8 R12: ffff881006313000
kern  :warn  : [  119.841349] R13: 0000000000000000 R14: ffffffffffffffff R15: 0000000000000000
kern  :warn  : [  119.850494] FS:  0000000000000000(0000) GS:ffff88085f200000(0000) knlGS:0000000000000000
kern  :warn  : [  119.860730] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
kern  :warn  : [  119.868371] CR2: 00007fe0803ef5f8 CR3: 000000107ee09001 CR4: 00000000003606f0
kern  :warn  : [  119.877593] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
kern  :warn  : [  119.886832] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
kern  :warn  : [  119.896077] Call Trace:
kern  :warn  : [  119.900102]  uncore_event_cpu_online+0x3be/0x410
kern  :warn  : [  119.906572]  ? uncore_pci_remove+0x120/0x120
kern  :warn  : [  119.912664]  ? smpboot_thread_fn+0x34/0x1f0
kern  :warn  : [  119.918678]  cpuhp_invoke_callback+0xac/0x5a0
kern  :warn  : [  119.924899]  ? schedule+0x3d/0x90
kern  :warn  : [  119.929956]  ? smpboot_thread_fn+0x34/0x1f0
kern  :warn  : [  119.935999]  ? smpboot_thread_fn+0x12d/0x1f0
kern  :warn  : [  119.942145]  cpuhp_thread_fun+0xc3/0x150
kern  :warn  : [  119.947913]  smpboot_thread_fn+0x128/0x1f0
kern  :warn  : [  119.953887]  kthread+0x114/0x150
kern  :warn  : [  119.958896]  ? sort_range+0x30/0x30
kern  :warn  : [  119.964208]  ? kthread_create_on_node+0x40/0x40
kern  :warn  : [  119.970701]  ret_from_fork+0x25/0x30
kern  :warn  : [  119.976135] Code: 2a 44 89 7b 14 41 83 c5 01 49 81 c4 40 01 00 00 45 3b 28 7c d0 48 83 c4 10 5b 41 5c 41 5d 41 5e 41 5f 5d c3 0f ff e9 70 ff ff ff <0f> ff eb d2 66 90 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 
kern  :warn  : [  120.000322] ---[ end trace 4726a088b85ceb1c ]---


To reproduce:

        git clone https://github.com/intel/lkp-tests.git
        cd lkp-tests
        bin/lkp install job.yaml  # job file is attached in this email
        bin/lkp run     job.yaml



Thanks,
Xiaolong

View attachment "config-4.14.0-rc2-00278-g379a4bb" of type "text/plain" (163402 bytes)

View attachment "job-script" of type "text/plain" (4380 bytes)

Download attachment "kmsg.xz" of type "application/x-xz" (43388 bytes)

View attachment "ltp" of type "text/plain" (144330 bytes)

View attachment "job.yaml" of type "text/plain" (3663 bytes)

View attachment "reproduce" of type "text/plain" (85 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ