查看问题详情

编号项目分类查看权限最后更新
0000621Anolis OS 8kernelpublic2022-01-12 10:43
报告员yinyongchen 分派给 
优先级normal严重性minor出现频率always
状态 closed处理状况duplicate 
平台x86_64操作系统AnolisOS操作系统版本8.4
标题0000621: [Anolis 8.2-5.10-x86][兆芯] 环境升级 5.10.84-10_rc1 版本内核后,crash无法正常解析vmcore
描述[缺陷描述]:
兆芯环境从原 4.19.91-23.4 版本的kernel升级到 5.10.84-10_rc1 后 , crash无法正常解析vmcore

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

[实际结果]:
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 [80MB]: 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: 16
        DATE: Wed Dec 29 15:40:58 CST 2021
      UPTIME: 00:22:44
LOAD AVERAGE: 0.51, 0.66, 0.41
       TASKS: 643
    NODENAME: localhost.localdomain
     RELEASE: 5.10.84-10_rc1.an8.x86_64
     VERSION: #1 SMP Tue Dec 21 13:16:24 CST 2021
     MACHINE: x86_64 (2694 Mhz)
      MEMORY: 128 GB
       PANIC:
crash: cannot determine length of symbol: log_end

[重现概率]
必现

[重现环境]
兆芯机器, x86_64

OS:Anolis OS release 8.4
KERNEL:
   升级前4.19.91-23.4.an8.x86_64
   升级后 4.19.91-25.rc1.an8.x86_64

# rpm -qa | grep kernel
kernel-tools-4.19.91-23.4.an8.x86_64
kernel-debuginfo-common-x86_64-5.10.84-10_rc1.an8.x86_64
kernel-4.19.91-23.4.an8.x86_64
kernel-5.10.84-10_rc1.an8.x86_64
kernel-modules-5.10.84-10_rc1.an8.x86_64
kernel-headers-5.10.84-10_rc1.an8.x86_64
kernel-devel-5.10.84-10_rc1.an8.x86_64
kernel-modules-4.19.91-23.4.an8.x86_64
kernel-tools-libs-4.19.91-23.4.an8.x86_64
kernel-debuginfo-5.10.84-10_rc1.an8.x86_64
kernel-core-4.19.91-23.4.an8.x86_64
kernel-core-5.10.84-10_rc1.an8.x86_64

# rpm -qa | grep -E "crash|kexec-tools"
crash-ptdump-command-1.0.7-1.an8.x86_64
crash-7.2.9-2.an8.x86_64
kexec-tools-2.0.21-1.2.an8.x86_64
crash-gcore-command-1.6.0-1.an8.x86_64
crash-trace-command-2.0-18.an8.x86_64

# cat /proc/cmdline
BOOT_IMAGE=(hd3,gpt2)/vmlinuz-5.10.84-10_rc1.an8.x86_64 root=/dev/mapper/ao-root ro resume=/dev/mapper/ao-swap rd.lvm.lv=ao/root rd.lvm.lv=ao/swap rhgb quiet crashkernel=0M-2G:0M,2G-256G:256M,256G-1024G:320M,1024G-:384M

# lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 16
On-line CPU(s) list: 0-15
Thread(s) per core: 1
Core(s) per socket: 8
Socket(s): 2
NUMA node(s): 2
Vendor ID: CentaurHauls
CPU family: 7
Model: 59
Model name: ZHAOXIN KaiSheng KH-37800D@2.7GHz
Stepping: 14
CPU MHz: 2700.000
CPU max MHz: 2700.0000
CPU min MHz: 1200.0000
BogoMIPS: 5389.11
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 4096K
NUMA node0 CPU(s): 0-7
NUMA node1 CPU(s): 8-15
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl xtopology nonstop_tsc cpuid pni pclmulqdq monitor vmx smx est tm2 ssse3 cx16 xtpr pcid sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand rng rng_en sm3 sm4 sm3_en sm4_en ace ace_en ace2 phe phe_en pmm pmm_en parallax rng2 rng2_en phe2 phe2_en rsa rsa_en lahf_lm abm 3dnowprefetch invpcid_single ibrs ibpb tpr_shadow vnmi ept vpid fsgsbase tsc_adjust bmi1 smep bmi2 invpcid rdseed adx sha_ni xsaveopt dtherm ida umip arch_capabilities
问题重现步骤1、手动触发crash
echo c > /proc/sysrq-trigger
2、使用crash解析产生的vmcore文件
crash /usr/lib/debug/usr/lib/modules/5.10.84-10_rc1.an8.x86_64/vmlinux /var/crash/127...../vmcore <<< bt
标签没加标签.

关联

与此重复 0000615 已分配Shiloong [Anolis 8.4-5.10-x86] 升级 5.10.84-10_rc1 版本内核后,crash无法正常解析vmcore 

活动

yinyongchen

2021-12-29 16:57

报告者  

image.png (74,459 字节)   
image.png (74,459 字节)   

yinyongchen

2022-01-12 10:43

报告者   ~0000879

https://bugs.openanolis.cn/view.php?id=615 问题重复,此单关闭由 615 单继续跟踪该问题

yinyongchen

2022-01-12 10:43

报告者   ~0000880

https://bugs.openanolis.cn/view.php?id=615 问题重复,此单关闭由 615 单继续跟踪该问题

问题历史

日期 用户名 字段 更改
2021-12-29 16:57 yinyongchen 新建问题
2021-12-29 16:57 yinyongchen 添加了以下文件:: image.png
2022-01-12 10:42 yinyongchen 关联已添加 与此重复 0000615
2022-01-12 10:43 yinyongchen 注释已添加: 0000879
2022-01-12 10:43 yinyongchen 状态 新建 => 已关闭
2022-01-12 10:43 yinyongchen 处理状况 未处理 => 重复问题
2022-01-12 10:43 yinyongchen 注释已添加: 0000880