support kdump to compress /proc/vmcore using makedumpfile?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

support kdump to compress /proc/vmcore using makedumpfile?

Jump to solution
1,312 Views
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 Kudos
1 Solution
1,293 Views
adorable
Contributor III

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

View solution in original post

0 Kudos
3 Replies
1,294 Views
adorable
Contributor III

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

0 Kudos
1,299 Views
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 Kudos
1,302 Views
b36401
NXP Employee
NXP Employee

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

0 Kudos