Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754202AbcJTLko (ORCPT ); Thu, 20 Oct 2016 07:40:44 -0400 Received: from cn.fujitsu.com ([59.151.112.132]:21280 "EHLO heian.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1750831AbcJTLkl (ORCPT ); Thu, 20 Oct 2016 07:40:41 -0400 X-IronPort-AV: E=Sophos;i="5.22,518,1449504000"; d="scan'208";a="12145273" Subject: Re: [lkp] [x86/acpi] dc6db24d24: BUG: unable to handle kernel paging request at 0000116007090008 To: kernel test robot References: <20161020011604.GC17837@yexl-desktop> CC: Thomas Gleixner , Ingo Molnar , LKML , Linus Torvalds , From: Dou Liyang Message-ID: <5c5880ae-02a8-9f27-a47d-77aa5b3841b6@cn.fujitsu.com> Date: Thu, 20 Oct 2016 19:40:30 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: <20161020011604.GC17837@yexl-desktop> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.167.226.106] X-yoursite-MailScanner-ID: E03BD403C9EE.A0758 X-yoursite-MailScanner: Found to be clean X-yoursite-MailScanner-From: douly.fnst@cn.fujitsu.com Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 18063 Lines: 291 Hi xiaolong, Thank you very much for report. I was just investigating the related problem in another patches. At 10/20/2016 09:16 AM, kernel test robot wrote: > > FYI, we noticed the following commit: > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > commit dc6db24d2476cd09c0ecf2b8d80313539f737a89 ("x86/acpi: Set persistent cpuid <-> nodeid mapping when booting") > > in testcase: vm-scalability > with following parameters: > > runtime: 300 > thp_enabled: never > thp_defrag: never > nr_task: 1 > nr_pmem: 1 > test: swap-w-rand > cpufreq_governor: performance > > > The motivation behind this suite is to exercise functions and regions of the mm/ of the Linux kernel which are of interest to us. > > > on test machine: 72 threads Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz with 128G memory > For this bug, I want to reproduce it completely. I hope you can give me the ACPI table about the test machine above. Thanks, Dou. > caused below changes: > > > +------------------------------------------------------------------+------------+------------+ > | | 8ad893faf2 | dc6db24d24 | > +------------------------------------------------------------------+------------+------------+ > | boot_successes | 7 | 0 | > | boot_failures | 9 | 16 | > | invoked_oom-killer:gfp_mask=0x | 6 | 2 | > | Mem-Info | 6 | 2 | > | Out_of_memory:Kill_process | 6 | | > | page_allocation_failure:order:#,mode:#(GFP_KERNEL|__GFP_NORETRY) | 2 | | > | warn_alloc_failed+0x | 2 | | > | BUG:kernel_hang_in_test_stage | 2 | 2 | > | BUG:kernel_reboot-without-warning_in_test_stage | 1 | | > | BUG:unable_to_handle_kernel | 0 | 12 | > | Oops | 0 | 12 | > | RIP:get_partial_node | 0 | 12 | > | calltrace:devtmpfsd | 0 | 12 | > | RIP:_raw_spin_lock_irqsave | 0 | 9 | > | general_protection_fault:#[##]SMP | 0 | 3 | > | RIP:native_queued_spin_lock_slowpath | 0 | 3 | > | Kernel_panic-not_syncing:Hard_LOCKUP | 0 | 3 | > | RIP:load_balance | 0 | 2 | > | Kernel_panic-not_syncing:Fatal_exception_in_interrupt | 0 | 2 | > | WARNING:at_lib/list_debug.c:#__list_add | 0 | 1 | > | calltrace:_do_fork | 0 | 1 | > | RIP:resched_curr | 0 | 1 | > | Kernel_panic-not_syncing:Fatal_exception | 0 | 1 | > | WARNING:at_include/linux/uaccess.h:#__probe_kernel_read | 0 | 5 | > | Kernel_panic-not_syncing:Out_of_memory_and_no_killable_processes | 0 | 2 | > +------------------------------------------------------------------+------------+------------+ > > > > [ 9.531507] pci 0000:80:02.2: bridge window [mem 0x387fffd00000-0x387fffefffff 64bit pref] > [ 9.541378] pci_bus 0000:80: on NUMA node 2 > [ 9.546734] ACPI: Enabled 4 GPEs in block 00 to 3F > [ 9.586911] BUG: unable to handle kernel paging request at 0000116007090008 > [ 9.595109] IP: [] get_partial_node+0x2c/0x1c0 > [ 9.602933] PGD 0 > [ 9.605503] Oops: 0000 [#1] SMP > [ 9.609264] Modules linked in: > [ 9.613005] CPU: 24 PID: 585 Comm: kdevtmpfs Not tainted 4.8.0-rc1-00300-gdc6db24d #1 > [ 9.622193] Hardware name: Intel Corporation S2600WTT/S2600WTT, BIOS SE5C610.86B.01.01.0008.021120151325 02/11/2015 > [ 9.634299] task: ffff880068040000 task.stack: ffff880068024000 > [ 9.641168] RIP: 0010:[] [] get_partial_node+0x2c/0x1c0 > [ 9.651890] RSP: 0000:ffff8800680279f0 EFLAGS: 00010006 > [ 9.658079] RAX: 0000000000000002 RBX: 0000000000000246 RCX: 0000000002098020 > [ 9.666308] RDX: ffff882053b9cfc0 RSI: 0000116007090000 RDI: ffff880076804dc0 > [ 9.674535] RBP: ffff880068027a90 R08: ffff882053b9cfb0 R09: 0000000000000000 > [ 9.682764] R10: ffff880068027c88 R11: 0000000b00000000 R12: ffff880076804dc0 > [ 9.690994] R13: 0000000000000000 R14: ffff880076804dc0 R15: ffff882053b9cfb0 > [ 9.699224] FS: 0000000000000000(0000) GS:ffff882053b80000(0000) knlGS:0000000000000000 > [ 9.708701] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > [ 9.715373] CR2: 0000116007090008 CR3: 0000000001e06000 CR4: 00000000001406e0 > [ 9.723602] Stack: > [ 9.726094] ffff88207ffd4080 0000000200000000 0000000000000000 0000000002281220 > [ 9.735086] 0000000000000000 0000000000000000 ffffffff82343f68 ffff880068040000 > [ 9.744080] ffff880068027a88 ffffffff811d9de5 ffff880068040000 ffffffff82343f70 > [ 9.753072] Call Trace: > [ 9.756056] [] ? alloc_pages_current+0x95/0x140 > [ 9.763223] [] ___slab_alloc+0x28a/0x4b0 > [ 9.769696] [] ? avc_alloc_node+0x27/0x140 > [ 9.776379] [] ? selinux_inode_permission+0xc6/0x180 > [ 9.784032] [] ? new_slab+0x2d2/0x5a0 > [ 9.790208] [] ? avc_alloc_node+0x27/0x140 > [ 9.796881] [] __slab_alloc+0x20/0x40 > [ 9.803067] [] kmem_cache_alloc+0x17f/0x1c0 > [ 9.809837] [] avc_alloc_node+0x27/0x140 > [ 9.816317] [] avc_compute_av+0x8a/0x1e0 > [ 9.822801] [] ? sget_userns+0x4ca/0x4e0 > [ 9.829289] [] avc_has_perm+0x136/0x190 > [ 9.835673] [] ? __might_sleep+0x49/0x80 > [ 9.842161] [] ? inode_doinit_with_dentry+0x530/0x660 > [ 9.849901] [] ? security_transition_sid+0x2d/0x40 > [ 9.857351] [] may_create+0xb9/0xe0 > [ 9.863334] [] selinux_inode_mknod+0x42/0x80 > [ 9.870201] [] security_inode_mknod+0x52/0x80 > [ 9.877165] [] vfs_mknod+0x131/0x1e0 > [ 9.883255] [] handle_create+0x75/0x1e0 > [ 9.889639] [] ? __schedule+0x2e6/0x790 > [ 9.896027] [] devtmpfsd+0x134/0x180 > [ 9.902117] [] ? handle_create+0x1e0/0x1e0 > [ 9.908792] [] kthread+0xd4/0xf0 > [ 9.914503] [] ret_from_fork+0x1f/0x40 > [ 9.920788] [] ? kthread_create_on_node+0x180/0x180 > [ 9.928335] Code: 1f 44 00 00 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 e4 f0 48 83 ec 70 48 85 f6 48 c7 44 24 20 00 00 00 00 0f 84 54 01 00 00 <48> 83 7e 08 00 0f 84 49 01 00 00 48 89 f3 49 89 fd 48 89 f7 89 > [ 9.954843] RIP [] get_partial_node+0x2c/0x1c0 > [ 9.962756] RSP > [ 9.966902] CR2: 0000116007090008 > [ 9.970871] BUG: unable to handle kernel paging request at 0000000100000048 > [ 9.979058] IP: [] _raw_spin_lock_irqsave+0x29/0x50 > [ 9.986582] PGD 0 > [ 9.989147] Oops: 0002 [#2] SMP > [ 9.992891] Modules linked in: > [ 9.996623] CPU: 24 PID: 585 Comm: kdevtmpfs Tainted: G D 4.8.0-rc1-00300-gdc6db24d #1 > [ 10.007173] Hardware name: Intel Corporation S2600WTT/S2600WTT, BIOS SE5C610.86B.01.01.0008.021120151325 02/11/2015 > [ 10.019279] task: ffff880068040000 task.stack: ffff880068024000 > [ 10.026147] RIP: 0010:[] [] _raw_spin_lock_irqsave+0x29/0x50 > [ 10.036577] RSP: 0000:ffff8800680276e0 EFLAGS: 00010046 > [ 10.042763] RAX: 0000000000000000 RBX: 0000000000000097 RCX: ffffffff81e5af08 > [ 10.050991] RDX: 0000000000000001 RSI: ffff880068027738 RDI: 0000000100000048 > [ 10.059221] RBP: ffff8800680276e8 R08: 0000000000000001 R09: 0000000000000001 > [ 10.067450] R10: ffff880068027c88 R11: 000000000000048c R12: 0000000100000048 > [ 10.075677] R13: 0000000000000008 R14: ffff880068027738 R15: 0000000000000046 > [ 10.083906] FS: 0000000000000000(0000) GS:ffff882053b80000(0000) knlGS:0000000000000000 > [ 10.093384] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > [ 10.100059] CR2: 0000000100000048 CR3: 0000000001e06000 CR4: 00000000001406e0 > [ 10.108288] Stack: > [ 10.110780] 0000000100000000 ffff880068027718 ffffffff81575da0 ffffffff82263b00 > [ 10.119773] ffff880068027738 0000000000000008 ffffffff8107e58f ffff880068027728 > [ 10.128764] ffffffff81575e4f ffff880068027798 ffffffff8157726f ffff880068027790 > [ 10.137756] Call Trace: > [ 10.140741] [] _extract_crng+0x40/0xb0 > [ 10.151150] [] ? print_oops_end_marker+0x3f/0x60 > [ 10.158405] [] extract_crng+0x3f/0x50 > [ 10.164591] [] get_random_bytes+0x6f/0x1a0 > [ 10.171268] [] ? console_unlock+0x33a/0x610 > [ 10.178048] [] print_oops_end_marker+0x3f/0x60 > [ 10.185106] [] oops_exit+0x1d/0x30 > [ 10.191009] [] oops_end+0x7e/0xd0 > [ 10.196815] [] no_context+0x112/0x380 > [ 10.203002] [] __bad_area_nosemaphore+0x81/0x1c0 > [ 10.210257] [] bad_area_nosemaphore+0x14/0x20 > [ 10.217219] [] __do_page_fault+0xbc/0x4d0 > [ 10.223796] [] ? list_del+0xd/0x30 > [ 10.229690] [] do_page_fault+0x30/0x80 > [ 10.235972] [] page_fault+0x28/0x30 > [ 10.241965] [] ? get_partial_node+0x2c/0x1c0 > [ 10.249610] [] ? alloc_pages_current+0x95/0x140 > [ 10.256771] [] ___slab_alloc+0x28a/0x4b0 > [ 10.263249] [] ? avc_alloc_node+0x27/0x140 > [ 10.269921] [] ? selinux_inode_permission+0xc6/0x180 > [ 10.277564] [] ? new_slab+0x2d2/0x5a0 > [ 10.283749] [] ? avc_alloc_node+0x27/0x140 > [ 10.290421] [] __slab_alloc+0x20/0x40 > [ 10.296607] [] kmem_cache_alloc+0x17f/0x1c0 > [ 10.303379] [] avc_alloc_node+0x27/0x140 > [ 10.309848] [] avc_compute_av+0x8a/0x1e0 > [ 10.316326] [] ? sget_userns+0x4ca/0x4e0 > [ 10.322806] [] avc_has_perm+0x136/0x190 > [ 10.329184] [] ? __might_sleep+0x49/0x80 > [ 10.335660] [] ? inode_doinit_with_dentry+0x530/0x660 > [ 10.343403] [] ? security_transition_sid+0x2d/0x40 > [ 10.350855] [] may_create+0xb9/0xe0 > [ 10.356849] [] selinux_inode_mknod+0x42/0x80 > [ 10.363716] [] security_inode_mknod+0x52/0x80 > [ 10.370680] [] vfs_mknod+0x131/0x1e0 > [ 10.376770] [] handle_create+0x75/0x1e0 > [ 10.383151] [] ? __schedule+0x2e6/0x790 > [ 10.389533] [] devtmpfsd+0x134/0x180 > [ 10.395622] [] ? handle_create+0x1e0/0x1e0 > [ 10.402299] [] kthread+0xd4/0xf0 > [ 10.408001] [] ret_from_fork+0x1f/0x40 > [ 10.414284] [] ? kthread_create_on_node+0x180/0x180 > [ 10.421829] Code: 00 00 0f 1f 44 00 00 55 48 89 e5 53 9c 58 0f 1f 44 00 00 48 89 c3 fa 66 0f 1f 44 00 00 65 ff 05 9e a8 6d 7e 31 c0 ba 01 00 00 00 0f b1 17 85 c0 75 06 48 89 d8 5b 5d c3 89 c6 e8 22 74 79 ff > [ 10.448339] RIP [] _raw_spin_lock_irqsave+0x29/0x50 > [ 10.455959] RSP > [ 10.460101] CR2: 0000000100000048 > [ 10.464058] BUG: unable to handle kernel paging request at 0000000100000048 > [ 10.472244] IP: [] _raw_spin_lock_irqsave+0x29/0x50 > [ 10.479768] PGD 0 > [ 10.482332] Oops: 0002 [#3] SMP > [ 10.486089] Modules linked in: > [ 10.489822] CPU: 24 PID: 585 Comm: kdevtmpfs Tainted: G D 4.8.0-rc1-00300-gdc6db24d #1 > [ 10.500366] Hardware name: Intel Corporation S2600WTT/S2600WTT, BIOS SE5C610.86B.01.01.0008.021120151325 02/11/2015 > [ 10.512467] task: ffff880068040000 task.stack: ffff880068024000 > [ 10.519334] RIP: 0010:[] [] _raw_spin_lock_irqsave+0x29/0x50 > [ 10.529765] RSP: 0000:ffff8800680273d0 EFLAGS: 00010046 > [ 10.535952] RAX: 0000000000000000 RBX: 0000000000000097 RCX: ffffffff81e5af08 > [ 10.544183] RDX: 0000000000000001 RSI: ffff880068027428 RDI: 0000000100000048 > [ 10.552410] RBP: ffff8800680273d8 R08: 0000000000000001 R09: 0000000000000001 > [ 10.560641] R10: ffff880068027c88 R11: 00000000000004d1 R12: 0000000100000048 > [ 10.568869] R13: 0000000000000008 R14: ffff880068027428 R15: 0000000000000046 > [ 10.577097] FS: 0000000000000000(0000) GS:ffff882053b80000(0000) knlGS:0000000000000000 > [ 10.586578] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > [ 10.593250] CR2: 0000000100000048 CR3: 0000000001e06000 CR4: 00000000001406e0 > [ 10.601479] Stack: > [ 10.603969] 0000000100000000 ffff880068027408 ffffffff81575da0 ffffffff82263b00 > [ 10.612968] ffff880068027428 0000000000000008 ffffffff8107e58f ffff880068027418 > [ 10.621966] ffffffff81575e4f ffff880068027488 ffffffff8157726f ffff880068027480 > [ 10.630963] Call Trace: > [ 10.633942] [] _extract_crng+0x40/0xb0 > [ 10.640228] [] ? print_oops_end_marker+0x3f/0x60 > [ 10.647484] [] extract_crng+0x3f/0x50 > [ 10.653670] [] get_random_bytes+0x6f/0x1a0 > [ 10.660342] [] ? console_unlock+0x33a/0x610 > [ 10.667113] [] print_oops_end_marker+0x3f/0x60 > [ 10.674173] [] oops_exit+0x1d/0x30 > [ 10.680069] [] oops_end+0x7e/0xd0 > [ 10.685868] [] no_context+0x112/0x380 > [ 10.692059] [] ? put_dec+0x18/0xa0 > [ 10.697962] [] __bad_area_nosemaphore+0x81/0x1c0 > [ 10.705218] [] bad_area_nosemaphore+0x14/0x20 > [ 10.712183] [] __do_page_fault+0xbc/0x4d0 > [ 10.718756] [] do_page_fault+0x30/0x80 > [ 10.725040] [] ? atomic_notifier_call_chain+0x21/0x30 > [ 10.732783] [] page_fault+0x28/0x30 > [ 10.738777] [] ? _raw_spin_lock_irqsave+0x29/0x50 > [ 10.746132] [] _extract_crng+0x40/0xb0 > [ 10.752415] [] ? print_oops_end_marker+0x3f/0x60 > [ 10.759671] [] extract_crng+0x3f/0x50 > [ 10.765856] [] get_random_bytes+0x6f/0x1a0 > [ 10.772530] [] ? console_unlock+0x33a/0x610 > [ 10.779301] [] print_oops_end_marker+0x3f/0x60 > [ 10.786364] [] oops_exit+0x1d/0x30 > [ 10.792257] [] oops_end+0x7e/0xd0 > [ 10.798057] [] no_context+0x112/0x380 > [ 10.804244] [] __bad_area_nosemaphore+0x81/0x1c0 > [ 10.811498] [] bad_area_nosemaphore+0x14/0x20 > [ 10.818463] [] __do_page_fault+0xbc/0x4d0 > [ 10.825037] [] ? list_del+0xd/0x30 > [ 10.830933] [] do_page_fault+0x30/0x80 > [ 10.837216] [] page_fault+0x28/0x30 > [ 10.843208] [] ? get_partial_node+0x2c/0x1c0 > [ 10.850855] [] ? alloc_pages_current+0x95/0x140 > [ 10.858015] [] ___slab_alloc+0x28a/0x4b0 > [ 10.864491] [] ? avc_alloc_node+0x27/0x140 > [ 10.871163] [] ? selinux_inode_permission+0xc6/0x180 > [ 10.878809] [] ? new_slab+0x2d2/0x5a0 > [ 10.884995] [] ? avc_alloc_node+0x27/0x140 > [ 10.891667] [] __slab_alloc+0x20/0x40 > [ 10.897853] [] kmem_cache_alloc+0x17f/0x1c0 > [ 10.904623] [] avc_alloc_node+0x27/0x140 > [ 10.911103] [] avc_compute_av+0x8a/0x1e0 > [ 10.917582] [] ? sget_userns+0x4ca/0x4e0 > [ 10.924061] [] avc_has_perm+0x136/0x190 > [ 10.930443] [] ? __might_sleep+0x49/0x80 > [ 10.936924] [] ? inode_doinit_with_dentry+0x530/0x660 > [ 10.944666] [] ? security_transition_sid+0x2d/0x40 > [ 10.952120] [] may_create+0xb9/0xe0 > [ 10.958112] [] selinux_inode_mknod+0x42/0x80 > [ 10.964979] [] security_inode_mknod+0x52/0x80 > [ 10.971944] [] vfs_mknod+0x131/0x1e0 > [ 10.978033] [] handle_create+0x75/0x1e0 > > > To reproduce: > > git clone git://git.kernel.org/pub/scm/linux/kernel/git/wfg/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 > >