[问题描述] 兆芯机器使用Anolis7.9 RC1 x86的iso装机,选择anck server for GUI(附件全选) 装机后的环境,默认配置,手动echo c >/proc/sysrq-trigger无法触发vmcore 修改crashkernel=512M可以正常触发vmcore *rhck x86环境同样方式装机未发生该情况 [机器详情] [root@localhost ~]# uname -a Linux localhost.localdomain 4.19.91-25.an7.x86_64 #1 SMP Thu Nov 25 14:22:42 CST 2021 x86_64 x86_64 x86_64 GNU/Linux [root@localhost ~]# uname -r 4.19.91-25.an7.x86_64 [root@localhost ~]# cat /etc/os-release NAME="Anolis OS" VERSION="7.9" ID="anolis" ID_LIKE="rhel fedora centos" VERSION_ID="7.9" PRETTY_NAME="Anolis OS 7.9" ANSI_COLOR="0;31" HOME_URL="https://openanolis.cn/" BUG_REPORT_URL="https://bugs.openanolis.cn/" CENTOS_MANTISBT_PROJECT="CentOS-7" CENTOS_MANTISBT_PROJECT_VERSION="7" REDHAT_SUPPORT_PRODUCT="centos" REDHAT_SUPPORT_PRODUCT_VERSION="7" [root@localhost ~]# cat /proc/cmdline BOOT_IMAGE=/vmlinuz-4.19.91-25.an7.x86_64 root=/dev/mapper/ao00-root ro crashkernel=auto rd.lvm.lv=ao00/root rd.lvm.lv=ao00/swap rhgb quiet [root@localhost ~]# df -h Filesystem Size Used Avail Use% Mounted on devtmpfs 63G 0 63G 0% /dev tmpfs 63G 0 63G 0% /dev/shm tmpfs 63G 9.6M 63G 1% /run tmpfs 63G 0 63G 0% /sys/fs/cgroup /dev/mapper/ao00-root 50G 6.6G 44G 14% / /dev/sdc2 1014M 176M 839M 18% /boot /dev/sdc1 200M 12M 189M 6% /boot/efi /dev/mapper/ao00-home 3.5T 38M 3.5T 1% /home tmpfs 13G 12K 13G 1% /run/user/42 tmpfs 13G 0 13G 0% /run/user/0 [root@localhost ~]# free -m total used free shared buff/cache available Mem: 128359 621 126168 12 1570 126885 Swap: 4095 0 4095 [定位] anck x86 kdump服务异常,crashkernel不支持auto,手动修改为512M,重新加载grub2-mkconfig kdump服务正常 正常触发vmcore [期望结果] 正常触发vmcore [实际结果] 默认的装机后配置,无法正常生成vmcore [出现频率] 必现
使用AnolisOS-7.9-RC1-aarch64-dvd.iso装机后的anck环境kdump自启动异常,且使用systemctl restart kdump也启动不了 ------------------------------------- [root@localhost ~]# systemctl --failed UNIT LOAD ACTIVE SUB DESCRIPTION ● kdump.service loaded failed failed Crash recovery kernel arming LOAD = Reflects whether the unit definition was properly loaded. ACTIVE = The high-level unit activation state, i.e. generalization of SUB. SUB = The low-level unit activation state, values depend on unit type. 1 loaded units listed. Pass --all to see loaded but inactive units, too. To show all installed unit files use 'systemctl list-unit-files'. [root@localhost ~]# [root@localhost ~]# systemctl restart kdump Job for kdump.service failed because the control process exited with error code. See "systemctl status kdump.service" and "journalctl -xe" for details. [root@localhost ~]# uname -r 4.19.91-25.an7.aarch64 [root@localhost ~]# cat /etc/redhat-release Anolis OS release 7.9
物理机:HP ProDesk680 环境:Anolis7.9 RC1 x86 anck环境 同样存在默认cmdline设置为crashkernel=auto无法触发vmcore 手动修改参数crashkernel=512M可正常生成vmcore.也可以正常解析vmcore ------- 环境 ---------- [root@localhost 127.0.0.1-2021-12-23-18:00:17]# uname -r 4.19.91-25.1.an7.x86_64 [root@localhost 127.0.0.1-2021-12-23-18:00:17]# cat /etc/os-release NAME="Anolis OS" VERSION="7.9" ID="anolis" ID_LIKE="rhel fedora centos" VERSION_ID="7.9" PRETTY_NAME="Anolis OS 7.9" ANSI_COLOR="0;31" HOME_URL="https://openanolis.cn/" BUG_REPORT_URL="https://bugs.openanolis.cn/" CENTOS_MANTISBT_PROJECT="CentOS-7" CENTOS_MANTISBT_PROJECT_VERSION="7" REDHAT_SUPPORT_PRODUCT="centos" REDHAT_SUPPORT_PRODUCT_VERSION="7" [root@localhost 127.0.0.1-2021-12-23-18:00:17]# df -h Filesystem Size Used Avail Use% Mounted on devtmpfs 3.6G 0 3.6G 0% /dev tmpfs 3.6G 0 3.6G 0% /dev/shm tmpfs 3.6G 9.6M 3.6G 1% /run tmpfs 3.6G 0 3.6G 0% /sys/fs/cgroup /dev/mapper/ao-root 50G 9.1G 41G 19% / /dev/sda2 1014M 244M 771M 24% /boot /dev/sda1 200M 12M 189M 6% /boot/efi /dev/mapper/ao-home 180G 157M 180G 1% /home tmpfs 730M 8.0K 730M 1% /run/user/42 tmpfs 730M 0 730M 0% /run/user/0 [root@localhost 127.0.0.1-2021-12-23-18:00:17]# free -h total used free shared buff/cache available Mem: 7.1G 1.0G 5.1G 13M 983M 5.8G Swap: 7.7G 0B 7.7G [root@localhost 127.0.0.1-2021-12-23-18:00:17]# lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 4 On-line CPU(s) list: 0-3 Thread(s) per core: 1 Core(s) per socket: 4 Socket(s): 1 NUMA node(s): 1 Vendor ID: GenuineIntel CPU family: 6 Model: 94 Model name: Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz Stepping: 3 CPU MHz: 900.017 CPU max MHz: 3600.0000 CPU min MHz: 800.0000 BogoMIPS: 6384.00 Virtualization: VT-x L1d cache: 32K L1i cache: 32K L2 cache: 256K L3 cache: 6144K NUMA node0 CPU(s): 0-3 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 tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d [root@localhost 127.0.0.1-2021-12-23-18:00:17]# cat /proc/cmdline #手动修改crashkernel=512M BOOT_IMAGE=/vmlinuz-4.19.91-25.1.an7.x86_64 root=/dev/mapper/ao-root ro crashkernel=512M spectre_v2=retpoline rd.lvm.lv=ao/root rd.lvm.lv=ao/swap rhgb quiet [root@localhost 127.0.0.1-2021-12-23-18:00:17]# crash /usr/lib/debug/lib/modules/4.19.91-25.1.an7.x86_64/vmlinux vmcore crash 7.2.8-3.an7 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 [272MB]: patching 96549 gdb minimal_symbol values KERNEL: /usr/lib/debug/lib/modules/4.19.91-25.1.an7.x86_64/vmlinux DUMPFILE: vmcore [PARTIAL DUMP] CPUS: 4 DATE: Thu Dec 23 18:00:11 2021 UPTIME: 00:01:11 LOAD AVERAGE: 0.22, 0.08, 0.03 TASKS: 388 NODENAME: localhost.localdomain RELEASE: 4.19.91-25.1.an7.x86_64 VERSION: #1 SMP Wed Dec 22 13:04:06 CST 2021 MACHINE: x86_64 (3200 Mhz) MEMORY: 7.9 GB PANIC: "sysrq: SysRq : Trigger a crash" PID: 7856 COMMAND: "bash" TASK: ffff983fe1cfb200 [THREAD_INFO: ffff983fe1cfb200] CPU: 3 STATE: TASK_RUNNING (SYSRQ) crash>
物理机:飞腾 环境:Anolis7.9 RC1 aarch64 anck环境 同样存在默认cmdline设置为crashkernel=auto无法触发vmcore
close bug since dup bug #146 *** This bug has been marked as a duplicate of bug 146 ***