On Tue, Sep 04, 2007 at 04:26:52PM -0700, Randy Dunlap wrote: > On Mon, 3 Sep 2007 16:57:08 +0900 tachibana at mxm.nes.nec.co.jp wrote: > > > Makefile installs ld command etc. and they influence kernel build. > > We installed elfutils-0.125 not by 'make install' but by procedure > > written at README of makedumpfile-1.1.6 in RHEL5.0 environment. > > Please uninstall elfutils-0.125 and elfutils-0.128 and try the above > > procedure. > > > Hi tachibana-san, > > I have makedumpfile filtering working now. Much thanks. > > Examples of filtering on a 1 GB x86_64 system, booted with > "crashkernel=64M at 16M" and then crashed (sysrq-c). > > > Various makedumpfile -d values and their results: > > makedumpfile -d 1 -E -i vmcore.info vmcore.002 dump002.omit.zero > makedumpfile -d 17 -E -i vmcore.info vmcore.002 dump002.omit.zero.free > makedumpfile -d 23 -E -i vmcore.info vmcore.002 dump002.omit.zero.free.all.cache > makedumpfile -d 31 -E -i vmcore.info vmcore.002 dump002.omit.all > > -r-------- 1 rddunlap users 970M Sep 4 12:36 vmcore.002 // dumpfile > -rw------- 1 rddunlap rddunlap 966M Sep 4 15:10 dump002.omit.zero > -rw------- 1 rddunlap rddunlap 661M Sep 4 15:29 dump002.omit.zero.free > -rw------- 1 rddunlap rddunlap 443M Sep 4 15:43 dump002.omit.zero.free.all.cache > -rw------- 1 rddunlap rddunlap 429M Sep 4 15:55 dump002.omit.all > Interesting. Even after filtering all, dump file size is 429 MB. Given this system has got 1GB of memory, so file size reduction is about only 55%. Wondering what kind of kernel data is in there. Can something else also be filtered out. Thanks Vivek