查看问题详情

编号项目分类查看权限最后更新
0000615Anolis OS 8kernelpublic2022-01-28 17:28
报告员kangwen429 分派给Shiloong  
优先级normal严重性minor出现频率always
状态 assigned处理状况open 
平台x86_64操作系统Anolis OS操作系统版本8
标题0000615: [Anolis 8.4-5.10-x86] 升级 5.10.84-10_rc1 版本内核后,crash无法正常解析vmcore
描述[缺陷描述]:
 升级 5.10.84-10_rc1 版本内核后,crash无法正常解析vmcore:

# crash /usr/lib/debug/usr/lib/modules/5.10.84-10_rc1.an8.x86_64/vmlinux vmcore

crash 7.2.9-2.an8
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 [832MB]: patching 120057 gdb minimal_symbol values

      KERNEL: /usr/lib/debug/usr/lib/modules/5.10.84-10_rc1.an8.x86_64/vmlinux
    DUMPFILE: vmcore [PARTIAL DUMP]
        CPUS: 64
        DATE: Tue Dec 21 18:14:51 CST 2021
      UPTIME: 00:08:34
LOAD AVERAGE: 0.06, 0.04, 0.02
       TASKS: 736
    NODENAME: iZbp16sv3ni8lf7j58sx8pZ
     RELEASE: 5.10.84-10_rc1.an8.x86_64
     VERSION: #1 SMP Tue Dec 21 13:16:24 CST 2021
     MACHINE: x86_64 (2699 Mhz)
      MEMORY: 252 GB
       PANIC:
crash: cannot determine length of symbol: log_end

[重现概率]:
必现

[重现环境]:
环境信息:云上ECS
规格:

OS:
# cat /etc/os-release
NAME="Anolis OS"
VERSION="8.4"
ID="anolis"
ID_LIKE="rhel fedora centos"
VERSION_ID="8.4"
PLATFORM_ID="platform:an8"
PRETTY_NAME="Anolis OS 8.4"
ANSI_COLOR="0;31"
HOME_URL="https://openanolis.cn/"

KERNEL:
# uname -r
5.10.84-10_rc1.an8.x86_64

#rpm -qa | grep kernel | grep 84
kernel-core-5.10.84-10_rc1.an8.x86_64
kernel-5.10.84-10_rc1.an8.x86_64
kernel-modules-5.10.84-10_rc1.an8.x86_64
kernel-debuginfo-5.10.84-10_rc1.an8.x86_64
kernel-headers-5.10.84-10_rc1.an8.x86_64
kernel-debuginfo-common-x86_64-5.10.84-10_rc1.an8.x86_64
kernel-devel-5.10.84-10_rc1.an8.x86_64

MEMORY:
# free -mh
              total used free shared buff/cache available
Mem: 247Gi 1.0Gi 241Gi 2.0Mi 5.1Gi 244Gi
Swap: 0B 0B 0B

CPU:
## lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 64
On-line CPU(s) list: 0-63
Thread(s) per core: 2
Core(s) per socket: 32
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
BIOS Vendor ID: Alibaba Cloud
CPU family: 6
Model: 106
Model name: Intel(R) Xeon(R) Platinum 8369B CPU @ 2.70GHz
BIOS Model name: pc-i440fx-2.1
Stepping: 6
CPU MHz: 2699.998
BogoMIPS: 5399.99
Hypervisor vendor: KVM
Virtualization type: full
L1d cache: 48K
L1i cache: 32K
L2 cache: 1280K
L3 cache: 49152K
NUMA node0 CPU(s): 0-63
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid tsc_known_freq pni pclmulqdq monitor ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single ibrs_enhanced fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves wbnoinvd arat avx512vbmi avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid fsrm arch_capabilities

RPM:
## rpm -q crash
crash-7.2.9-2.an8.x86_64
# rpm -q kexec-tools
kexec-tools-2.0.21-1.2.an8.x86_64


CRASHKERNEL:
# cat /proc/cmdline
BOOT_IMAGE=(hd0,msdos1)/boot/vmlinuz-5.10.84-10_rc1.an8.x86_64 root=UUID=9b210f57-a0f1-4236-a87f-f47824d3be7f ro rhgb nvme_core.io_timeout=4294967295 quiet net.ifnames=0 console=tty0 console=ttyS0,115200n8 crashkernel=512M

[期望结果]:
crash可以正常解析vmcore

[实际结果]:
crash无法解析vmcore。


问题重现步骤主动触发crash:
echo c > /proc/sysrq-trigger

crash解析vmcore:
crash /usr/lib/debug/usr/lib/modules/5.10.84-10_rc1.an8.x86_64/vmlinux vmcore
标签没加标签.

关联

有重复 0000621 已关闭 [Anolis 8.2-5.10-x86][兆芯] 环境升级 5.10.84-10_rc1 版本内核后,crash无法正常解析vmcore 

活动

yinyongchen

2022-01-05 10:57

报告者   ~0000874

最后编辑: 2022-01-28 17:28

arm环境也有crash无法解析的问题 https://bugs.openanolis.cn/view.php?id=613

wb-wpp899309

2022-01-05 18:02

报告者   ~0000876

5.10.84-10_rc2.an8.x86_64依旧有此问题

问题历史

日期 用户名 字段 更改
2021-12-21 18:43 kangwen429 新建问题
2021-12-22 10:21 kangwen429 描述已修改
2022-01-05 10:57 yinyongchen 注释已添加: 0000874
2022-01-05 11:30 yinyongchen 注释已编辑: 0000874
2022-01-05 11:31 yinyongchen 注释已编辑: 0000874
2022-01-05 18:02 wb-wpp899309 注释已添加: 0000876
2022-01-12 10:42 yinyongchen 关联已添加 有重复 0000621
2022-01-12 18:46 geliwei-ali 分派给 => geliwei-ali
2022-01-12 18:46 geliwei-ali 状态 新建 => 已分配
2022-01-12 18:47 geliwei-ali 分派给 geliwei-ali => Shiloong
2022-01-28 17:28 yinyongchen 注释已编辑: 0000874