Created attachment 149 [details] vmcore-dmesg Description of problem: 4.19 x86内核上ltp测试套ftrace_stress_test.sh导致crash:Kernel panic - not syncing: System is deadlocked on memory 本问题是复现https://bugzilla.openanolis.cn/show_bug.cgi?id=430 时产生的,vmcore看起来不太一样,请确认 之前5.10 arm内核上同一用例也产生crash,看起来跟本问题也不一样,请确认 https://bugzilla.openanolis.cn/show_bug.cgi?id=408 # uname -a Linux i22e11409.eu95sqa 4.19.91-224.git.e0d4c9266.an8.x86_64 #1 SMP Mon Feb 7 13:32:17 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux [root@i22e11409 ltp]# cat /etc/os-release NAME="Anolis OS" VERSION="8.2" ID="anolis" ID_LIKE="rhel fedora centos" VERSION_ID="8.2" PLATFORM_ID="platform:an8" PRETTY_NAME="Anolis OS 8.2" ANSI_COLOR="0;31" HOME_URL="https://openanolis.cn/" How reproducible: 1.git clone https://github.com/linux-test-project/ltp.git cd ltp make autotools ./configure make make install 2. ./runltp -f tracing -s ftrace-stress-test Actual results: vmcore-dmesg信息请参照附件vmcore-dmesg.txt vmcore信息如下: # crash /usr/lib/debug/usr/lib/modules/4.19.91-224.git.e0d4c9266.an8.x86_64/vmlinux /var/crash/127.0.0.1-2022-02-08-15:03:05/vmcore crash 7.2.7-3.el8.1 Copyright (C) 2002-2020 Red Hat, Inc. Copyright (C) 2004, 2005, 2006, 2010 IBM Corporation Copyright (C) 1999-2006 Hewlett-Packard Co Copyright (C) 2005, 2006, 2011, 2012 Fujitsu Limited Copyright (C) 2006, 2007 VA Linux Systems Japan K.K. Copyright (C) 2005, 2011 NEC Corporation Copyright (C) 1999, 2002, 2007 Silicon Graphics, Inc. Copyright (C) 1999, 2000, 2001, 2002 Mission Critical Linux, Inc. This program is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Enter "help copying" to see the conditions. This program has absolutely no warranty. Enter "help warranty" for details. GNU gdb (GDB) 7.6 Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-unknown-linux-gnu"... WARNING: kernel relocated [320MB]: patching 99399 gdb minimal_symbol values KERNEL: /usr/lib/debug/usr/lib/modules/4.19.91-224.git.e0d4c9266.an8.x86_64/vmlinux DUMPFILE: vmcore [PARTIAL DUMP] CPUS: 96 DATE: Tue Feb 8 15:02:42 2022 UPTIME: 05:22:19 LOAD AVERAGE: 30.51, 22.27, 17.36 TASKS: 947 NODENAME: i22e11409.eu95sqa RELEASE: 4.19.91-224.git.e0d4c9266.an8.x86_64 VERSION: #1 SMP Mon Feb 7 13:32:17 UTC 2022 MACHINE: x86_64 (2500 Mhz) MEMORY: 767.4 GB PANIC: "Kernel panic - not syncing: System is deadlocked on memory" PID: 453792 COMMAND: "kworker/u192:0" TASK: ffff92e986e2a0c0 [THREAD_INFO: ffff92e986e2a0c0] CPU: 54 STATE: TASK_RUNNING (PANIC) crash> bt PID: 453792 TASK: ffff92e986e2a0c0 CPU: 54 COMMAND: "kworker/u192:0" #0 [ffffb7d75dc7bb28] machine_kexec at ffffffff9506480a #1 [ffffb7d75dc7bb78] __crash_kexec at ffffffff951478ea #2 [ffffb7d75dc7bc38] panic at ffffffff950a1195 #3 [ffffb7d75dc7bcb0] out_of_memory.cold.10 at ffffffff95205684 #4 [ffffb7d75dc7bcf0] __alloc_pages_nodemask at ffffffff9520c737 #5 [ffffb7d75dc7be28] __get_free_pages at ffffffff9520652d #6 [ffffb7d75dc7be30] pgd_alloc at ffffffff95079768 #7 [ffffb7d75dc7be78] mm_init at ffffffff9509cee5 #8 [ffffb7d75dc7bea0] __do_execve_file at ffffffff952ba574 #9 [ffffb7d75dc7bf10] do_execve at ffffffff952bab71 #10 [ffffb7d75dc7bf28] call_usermodehelper_exec_async at ffffffff950b853b #11 [ffffb7d75dc7bf50] ret_from_fork at ffffffff95a00205 Expected results: Additional info: # free -mh total used free shared buff/cache available Mem: 755Gi 3.6Gi 749Gi 18Mi 2.5Gi 747Gi Swap: 2.0Gi 0B 2.0Gi [root@i22e11409 ltp]# lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 96 On-line CPU(s) list: 0-95 Thread(s) per core: 2 Core(s) per socket: 24 Socket(s): 2 NUMA node(s): 1 Vendor ID: GenuineIntel CPU family: 6 Model: 85 Model name: Intel(R) Xeon(R) Platinum 8163 CPU @ 2.50GHz Stepping: 4 CPU MHz: 1000.542 CPU max MHz: 3100.0000 CPU min MHz: 1000.0000 BogoMIPS: 5000.00 Virtualization: VT-x L1d cache: 32K L1i cache: 32K L2 cache: 1024K L3 cache: 33792K NUMA node0 CPU(s): 0-95 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single pti intel_ppin ssbd mba ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke md_clear flush_l1d
ftrace-test这个是一个已知问题,关闭问题