如何使用virsh命令生成崩溃实用程序可以正确读取的Kdump?

时间:2019-04-29 10:25:42

标签: crash centos gdb crash-dumps virsh

我正在尝试从服务器获取VM的故障转储,并使用命令

virsh dump domain_name file_name --verbose

但是virsh dump的手册页说,在上述情况下生成的文件无法由崩溃实用程序读取,因此应使用--memory-only选项。但是,即使(virsh dump domain_name file_name --memory-only --verbose)导致转储崩溃也无法正确读取。这是崩溃所说的

WARNING: cannot determine physical base address: defaulting to 0

crash: read error: kernel virtual address: ffff96a9c1812830  type: "possible"
WARNING: cannot read cpu_possible_map crash: read error: kernel virtual address: ffff96a9c1812760  type: "present" 
WARNING: cannot read cpu_present_map crash: read error: kernel virtual address: ffff96a9c1812760  type: "online"  
WARNING: cannot read cpu_online_map crash: read error: kernel virtual address: ffff96a9c1812810  type: "active"  

WARNING: cannot read cpu_active_map crash: vmlinux and vmcore do not match!

我当前正在CentOS 7.6,Linux Kernel 3.10.0-957和GDB 7.6上运行

如何使用virsh命令获取转储,崩溃实用程序可以读取该转储?

0 个答案:

没有答案