support kdump to compress /proc/vmcore using makedumpfile?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

support kdump to compress /proc/vmcore using makedumpfile?

跳至解决方案
1,307 次查看
adorable
Contributor III

I am using imx6q - linux4.9.88.Now can enter to crash kernel,but using makedumpfile tools(which is compiled by myself),the errors as follow:

root@Hzncc:~# makedumpfile -c -d 31 /proc/vmcore /run/media/mmcblk1/crash.dump
The kernel version is not supported.
The makedumpfile operation may be incomplete.
check_release: Can't get the kernel version.
get_mm_flatmem: Can't get the address of mem_map.

makedumpfile Failed.

Because the vmcore is too large,just cp /proc/vmcore is so slowly.

My question is:

1、makedumpfile support ARM?

2、if makedumpfile could not sopport, how else could I to compress vmcore?

0 项奖励
1 解答
1,288 次查看
adorable
Contributor III

Finallly,I use ramoops to replace the kdump,due to the precious DDR.

在原帖中查看解决方案

0 项奖励
3 回复数
1,289 次查看
adorable
Contributor III

Finallly,I use ramoops to replace the kdump,due to the precious DDR.

0 项奖励
1,294 次查看
adorable
Contributor III

The lastest version:1.6.7  And thre README tell us this makedumpfile will support x86 and ppc.

I want to get a makedumpfile to compress the /proc/vmcore in 4.9.88 of my arm board.

0 项奖励
1,297 次查看
b36401
NXP Employee
NXP Employee

Which version of makedumpfile are you using?
Possibly this version does actually not support Linux 4.9 kernel.

0 项奖励