makedumpfile-1.1.4-rc: ia64 DISCONTIGMEM support
Subsystems (3)
RFC 1/1 makedumpfile-1.1.4-rc: ia64 DISCONTIGMEM support
Hi,
The attached patch is for the development, and it isn't stable yet. This patch can be applied to makedumpfile version 1.1.3. If you find some problems in this patch, please let me know. If there aren't any problems, I will release a new makedumpfile by next weekend.
Changelog:
1. Add __FUNCTION__ to ERRMSG.
The function name is added to ERRMSG.
2. Add ia64_vtop().
The translation function from a virtual address to a physical address is added for ia64.
The patch was provided by Bernhard Walle.
3. Add ia64 DISCONTIGMEM support.
A new makedumpfile supports ia64 DISCONTIGMEM.
4. Cleanup README.
The destination of BUG REPORT is changed to kexec-ml. The item REQUIREMENTS is added.
5. Fix DISCONTIGMEM bitmap.
This patch fixes the problem that it cannot output the part of bitmap on DISCONTIGMEM kernel.
6. Fix ELF output with overlapping sections.
The patch was provided by Bernhard Walle.
Thanks
Ken'ichi Ohmichi
------------------------------------------------------------------------
---
Makefile renamed from v1.1.3/Makefile +2 -2
@@ -1,7 +1,7 @@ # makedumpfile -VERSION=1.1.3 -DATE=13 April 2007 +VERSION=1.1.4-rc +DATE=01 June 2007 CC = gcc CFLAGS = -g -O2 -Wall -D_FILE_OFFSET_BITS=64 \
README renamed from v1.1.3/README +10 -5
@@ -3,6 +3,10 @@ makdumpfile's README ====================== +* REQUIREMENTS + Please download the following library file and install it: + - elfutils-0.125.tar.gz + * BUILD & INSTALL 1.Get the latest makedumpfile from the following site: https://sourceforge.net/projects/makedumpfile/
@@ -14,7 +18,7 @@ # make; make install * SUPPORTED KERNELS - makedumpfile (version 1.1.3) supports the following kernels. + makedumpfile (version 1.1.4-rc) supports the following kernels. | FLATMEM | DISCONTIGMEM | SPARSEMEM |-------------------+-------------------+-------------------
@@ -22,9 +26,9 @@ Version| x86| _64|ia64| 64| x86| _64|ia64| 64| x86| _64|ia64| 64 -------+----+----+----+----+----+----+----+----+----+----+----+---- 2.6.15 | OK | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- - 2.6.16 | OK | OK | -- | | -- | OK | -- | -- | -- | | -- | + 2.6.16 | OK | OK | -- | | -- | OK | OK | -- | -- | | -- | 2.6.17 | OK | OK | -- | | -- | OK | -- | -- | -- | OK | -- | - 2.6.18 | OK | OK | -- | OK | -- | OK |TODO| -- | -- | OK | OK | OK + 2.6.18 | OK | OK | -- | OK | -- | OK | OK | -- | -- | OK | OK | OK 2.6.19 | OK | OK | -- | OK | OK | OK |TODO| -- | OK | OK | OK | OK 2.6.20 | OK | OK | -- | KP | OK | OK |TODO| -- | OK | OK | OK | KP 21-rc5 | OK | OK | -- | OK | OK | OK |TODO| -- | OK | OK | OK | OK
@@ -41,11 +45,12 @@ * REFERENCES https://sourceforge.net/projects/makedumpfile/ - http://lists.osdl.org/pipermail/fastboot/ + http://lists.infradead.org/pipermail/kexec/ + https://lists.linux-foundation.org/pipermail/fastboot/ * BUG REPORT If finding some bugs, please send the information to the following: Ken'ichi Ohmichi <[email protected]> Masaki Tachibana <[email protected]> - Fastboot-ml <[email protected]> + kexec-ml <[email protected]>
ia64.c renamed from v1.1.3/ia64.c +235 -0
249 lines not on this page · raw message
makedumpfile.c renamed from v1.1.3/makedumpfile.c +324 -30
600 lines not on this page · raw message
makedumpfile.h renamed from v1.1.3/makedumpfile.h +93 -3
186 lines not on this page · raw message
_
_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec
Hello Ken'ichi,
Quoted 16 lines · Ken'ichi Ohmichi
The attached patch is for the development, and it isn't stable yet. This patch can be applied to makedumpfile version 1.1.3. If you find some problems in this patch, please let me know. If there aren't any problems, I will release a new makedumpfile by next weekend.
Changelog:
1. Add__FUNCTION__to ERRMSG.
The function name is added to ERRMSG.
2. Addia64_vtop().
The translation function from a virtual address to a physical address is added for ia64.
The patch was provided by Bernhard Walle.
3. Add ia64 DISCONTIGMEM support.
A new makedumpfile supports ia64 DISCONTIGMEM.
Quoted 8 lines
4. Cleanup README.
The destination of BUG REPORT is changed to kexec-ml. The item REQUIREMENTS is added.
5. Fix DISCONTIGMEM bitmap.
This patch fixes the problem that it cannot output the part of bitmap on DISCONTIGMEM kernel.
6. Fix ELF output with overlapping sections.
The patch was provided by Bernhard Walle.
thanks for your effort. I tested it here and it works well.
Thanks,
Bernhard
_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec
Quoted 12 lines · On Fri, 1 Jun 2007 18:11:14 +0900 Ken'ichi Ohmichi wrote:
Hi,
The attached patch is for the development, and it isn't stable yet. This patch can be applied to makedumpfile version 1.1.3. If you find some problems in this patch, please let me know. If there aren't any problems, I will release a new makedumpfile by next weekend.
diff -puN backup/v1.1.3/README makedumpfile/README
README line 9
Quoted 7 lines
README renamed from v1.1.3/README +4
-0@@ -3,6 +3,10 @@ makdumpfile's README ====================== +* REQUIREMENTS + Please download the following library file and install it: + - elfutils-0.125.tar.gz +
Is elfutils-0.125 (precisely that version number) required, or could this be elfutils-0.125.tar.gz or later?
I.e., is there something special/specific about elfutils-0.125 ?
It's a bit difficult to find 0.125 on the internet...
README line 12
Quoted 3 lines
README renamed from v1.1.3/README +0
-0* BUILD & INSTALL 1.Get the latest makedumpfile from the following site: https://sourceforge.net/projects/makedumpfile/
Thanks,
---
~Randy
_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec
Quoted 26 lines · On Thu, 30 Aug 2007 12:49:51 -0700 Randy Dunlap wrote:
Quoted 12 lines · On Fri, 1 Jun 2007 18:11:14 +0900 Ken'ichi Ohmichi wrote:
Hi,
The attached patch is for the development, and it isn't stable yet. This patch can be applied to makedumpfile version 1.1.3. If you find some problems in this patch, please let me know. If there aren't any problems, I will release a new makedumpfile by next weekend.
diff -puN backup/v1.1.3/README makedumpfile/README
README line 9
Quoted 7 lines
README renamed from v1.1.3/README +4
-0@@ -3,6 +3,10 @@ makdumpfile's README ====================== +* REQUIREMENTS + Please download the following library file and install it: + - elfutils-0.125.tar.gz +Is elfutils-0.125 (precisely that version number) required, or could this be elfutils-0.125.tar.gz or later?
I.e., is there something special/specific about elfutils-0.125 ?
Quoted 1 line
It's a bit difficult to find 0.125 on the internet...
The reason that I ask the question(s) is that after I build elfutils-0.128 and then do 'make install', I can no longer build a kernel, i.e., kernel 'make' has errors, like:
CC init/main.o CC init/do_mounts.o CC init/do_mounts_rd.o AS usr/initramfs_data.o LD usr/built-in.o
ld: cannot load ld backend library 'libld_elf_x86_64.so': libld_elf_x86_64.so: cannot open shared object file: No such file or directory make[1]: *** [usr/built-in.o] Error 1
make: *** [usr] Error 2
make: *** Waiting for unfinished jobs....
CC init/do_mounts_initrd.o CC init/initramfs.o CC init/calibrate.o CC init/version.o LD init/mounts.o
ld: cannot load ld backend library 'libld_elf_x86_64.so': libld_elf_x86_64.so: cannot open shared object file: No such file or directory make[1]: *** [init/mounts.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [init] Error 2
on x86_64.
Quoted 3 lines
README line 12
Quoted 3 lines
README renamed from v1.1.3/README +0
-0* BUILD & INSTALL 1.Get the latest makedumpfile from the following site: https://sourceforge.net/projects/makedumpfile/
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec
Hi Randy,
Quoted 19 lines · Randy Dunlap
Quoted 17 lines · On Thu, 30 Aug 2007 12:49:51 -0700 Randy Dunlap wrote:
Quoted 15 lines · On Fri, 1 Jun 2007 18:11:14 +0900 Ken'ichi Ohmichi wrote:
Hi,
The attached patch is for the development, and it isn't stable yet. This patch can be applied to makedumpfile version 1.1.3. If you find some problems in this patch, please let me know. If there aren't any problems, I will release a new makedumpfile by next weekend.
diff -puN backup/v1.1.3/README makedumpfile/README
README renamed from v1.1.3/README +0
-0@@ -3,6 +3,10 @@ makdumpfile's README ======================
Quoted 6 lines
Quoted 6 lines
README line 9
Quoted 4 lines
README renamed from v1.1.3/README +4
-0+* REQUIREMENTS + Please download the following library file and install it: + - elfutils-0.125.tar.gz +Is elfutils-0.125 (precisely that version number) required, or
Yes. Please use the specified version.
Thanks
tachibana
Quoted 9 lines
Quoted 4 lines
could this be elfutils-0.125.tar.gz or later?
I.e., is there something special/specific about elfutils-0.125 ?It's a bit difficult to find 0.125 on the internet...
The reason that I ask the question(s) is that after I build elfutils-0.128 and then do 'make install', I can no longer build a kernel, i.e., kernel 'make' has errors, like:
Quoted 6 lines
CC init/main.o CC init/do_mounts.o CC init/do_mounts_rd.o AS usr/initramfs_data.o LD usr/built-in.old: cannot load ld backend library 'libld_elf_x86_64.so': libld_elf_x86_64.so: cannot open shared object file: No such
file or directory
Quoted 9 lines
make[1]: *** [
usr/built-in.o] Error 1
make: *** [usr] Error 2
make: *** Waiting for unfinished jobs....CC init/do_mounts_initrd.o CC init/initramfs.o CC init/calibrate.o CC init/version.o LD init/mounts.old: cannot load ld backend library 'libld_elf_x86_64.so': libld_elf_x86_64.so: cannot open shared object file: No such
file or directory
Quoted 13 lines
make[1]: *** [
init/mounts.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [init] Error 2on
x86_64.Quoted 3 lines
README line 12
Quoted 3 lines
README renamed from v1.1.3/README +0
-0* BUILD & INSTALL 1.Get the latest makedumpfile from the following site: https://sourceforge.net/projects/makedumpfile/
Quoted 8 lines
---
~Randy
*** Remember to useDocumentation/SubmitChecklistwhen testing your code ***_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec
_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec
Quoted 22 lines · On Fri, 31 Aug 2007 22:07:28 +0900 [email protected] wrote:
Hi Randy,
Quoted 19 lines · Randy Dunlap
Quoted 17 lines · On Thu, 30 Aug 2007 12:49:51 -0700 Randy Dunlap wrote:
Quoted 15 lines · On Fri, 1 Jun 2007 18:11:14 +0900 Ken'ichi Ohmichi wrote:
Hi,
The attached patch is for the development, and it isn't stable yet. This patch can be applied to makedumpfile version 1.1.3. If you find some problems in this patch, please let me know. If there aren't any problems, I will release a new makedumpfile by next weekend.
diff -puN backup/v1.1.3/README makedumpfile/README
README renamed from v1.1.3/README +0
-0@@ -3,6 +3,10 @@ makdumpfile's README ======================
Quoted 8 lines
Quoted 6 lines
Quoted 6 lines
README line 9
Quoted 4 lines
README renamed from v1.1.3/README +4
-0+* REQUIREMENTS + Please download the following library file and install it: + - elfutils-0.125.tar.gz +Is elfutils-0.125 (precisely that version number) required, or
Yes. Please use the specified version.
Hi,
I did that, but I still cannot build a kernel, although the problem is different now. The build fails with:
Inconsistent kallsyms data
Try setting CONFIG_KALLSYMS_EXTRA_PASS
make: *** [vmlinux] Error 1
even after I set/enable CONFIG_KALLSYMS_EXTRA_PASS.
Have you tested this on x86_64?
Thanks.
Quoted 25 lines
Quoted 9 lines
Quoted 4 lines
could this be elfutils-0.125.tar.gz or later?
I.e., is there something special/specific about elfutils-0.125 ?It's a bit difficult to find 0.125 on the internet...
The reason that I ask the question(s) is that after I build elfutils-0.128 and then do 'make install', I can no longer build a kernel, i.e., kernel 'make' has errors, like:
Quoted 6 lines
CC init/main.o CC init/do_mounts.o CC init/do_mounts_rd.o AS usr/initramfs_data.o LD usr/built-in.old: cannot load ld backend library 'libld_elf_x86_64.so': libld_elf_x86_64.so: cannot open shared object file: No such
file or directory
Quoted 9 lines
make[1]: *** [
usr/built-in.o] Error 1
make: *** [usr] Error 2
make: *** Waiting for unfinished jobs....CC init/do_mounts_initrd.o CC init/initramfs.o CC init/calibrate.o CC init/version.o LD init/mounts.old: cannot load ld backend library 'libld_elf_x86_64.so': libld_elf_x86_64.so: cannot open shared object file: No such
Quoted 12 lines
file or directory
Quoted 11 lines
make[1]: *** [
init/mounts.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [init] Error 2on
x86_64.Quoted 3 lines
Quoted 3 lines
README renamed from v1.1.3/README +0
-0* BUILD & INSTALL 1.Get the latest makedumpfile from the following site: https://sourceforge.net/projects/makedumpfile/
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec
Quoted 43 lines · On Fri, 31 Aug 2007 09:49:28 -0700 Randy Dunlap wrote:
Quoted 22 lines · On Fri, 31 Aug 2007 22:07:28 +0900 [email protected] wrote:
Hi Randy,
Quoted 19 lines · Randy Dunlap
Quoted 17 lines · On Thu, 30 Aug 2007 12:49:51 -0700 Randy Dunlap wrote:
Quoted 15 lines · On Fri, 1 Jun 2007 18:11:14 +0900 Ken'ichi Ohmichi wrote:
Hi,
The attached patch is for the development, and it isn't stable yet. This patch can be applied to makedumpfile version 1.1.3. If you find some problems in this patch, please let me know. If there aren't any problems, I will release a new makedumpfile by next weekend.
diff -puN backup/v1.1.3/README makedumpfile/README
README renamed from v1.1.3/README +0
-0@@ -3,6 +3,10 @@ makdumpfile's README ======================Quoted 8 lines
Quoted 6 lines
Quoted 6 lines
README line 9
Quoted 4 lines
README renamed from v1.1.3/README +4
-0+* REQUIREMENTS + Please download the following library file and install it: + - elfutils-0.125.tar.gz +Is elfutils-0.125 (precisely that version number) required, or
Yes. Please use the specified version.
Hi,
I did that, but I still cannot build a kernel, although the problem is different now. The build fails with:
Inconsistent kallsyms data
Try settingCONFIG_KALLSYMS_EXTRA_PASS
make: *** [vmlinux] Error 1
Quoted 4 lines
even after I set/enable
CONFIG_KALLSYMS_EXTRA_PASS.Have you tested this on
x86_64?
Sorry about this. Above was with the distro-installed 'ld' instead of the one built from elfutils-0.125. When I correct this, build fails like this:
CHK include/linux/version.h CHK include/linux/utsrelease.h CALL scripts/checksyscalls.sh CHK include/linux/compile.h
SYSCALL arch/x86_64/vdso/vdso.so/usr/local/bin/ld: unrecognized option --hash-style=gnu' Try ld --help' or `ld --usage' for more information.
collect2: ld returned 64 exit status
make[1]: *** [arch/x86_64/vdso/vdso.so] Error 1
make: *** [arch/x86_64/vdso] Error 2
make: *** Waiting for unfinished jobs....
SYSCALL arch/x86_64/ia32/vsyscall-sysenter.so/usr/local/bin/ld: unrecognized option --hash-style=gnu' Try ld --help' or `ld --usage' for more information.
collect2: ld returned 64 exit status
make[1]: *** [arch/x86_64/ia32/vsyscall-sysenter.so] Error 1
make: *** [arch/x86_64/ia32] Error 2
Quoted 41 lines
Thanks.
Quoted 25 lines
Quoted 9 lines
Quoted 4 lines
could this be elfutils-0.125.tar.gz or later?
I.e., is there something special/specific about elfutils-0.125 ?It's a bit difficult to find 0.125 on the internet...
The reason that I ask the question(s) is that after I build elfutils-0.128 and then do 'make install', I can no longer build a kernel, i.e., kernel 'make' has errors, like:
Quoted 6 lines
CC init/main.o CC init/do_mounts.o CC init/do_mounts_rd.o AS usr/initramfs_data.o LD usr/built-in.old: cannot load ld backend library 'libld_elf_x86_64.so': libld_elf_x86_64.so: cannot open shared object file: No such
file or directory
Quoted 9 lines
make[1]: *** [
usr/built-in.o] Error 1
make: *** [usr] Error 2
make: *** Waiting for unfinished jobs....CC init/do_mounts_initrd.o CC init/initramfs.o CC init/calibrate.o CC init/version.o LD init/mounts.old: cannot load ld backend library 'libld_elf_x86_64.so': libld_elf_x86_64.so: cannot open shared object file: No such
Quoted 12 lines
file or directory
Quoted 11 lines
make[1]: *** [
init/mounts.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [init] Error 2on
x86_64.Quoted 3 lines
Quoted 3 lines
README renamed from v1.1.3/README +0
-0* BUILD & INSTALL 1.Get the latest makedumpfile from the following site: https://sourceforge.net/projects/makedumpfile/
Quoted 9 lines
---
~Randy
*** Remember to useDocumentation/SubmitChecklistwhen testing your code ***_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec
Hi Randy,
Quoted 45 lines · Randy Dunlap
Quoted 43 lines · On Fri, 31 Aug 2007 09:49:28 -0700 Randy Dunlap wrote:
Quoted 22 lines · On Fri, 31 Aug 2007 22:07:28 +0900 [email protected] wrote:
Hi Randy,
Quoted 19 lines · Randy Dunlap
Quoted 17 lines · On Thu, 30 Aug 2007 12:49:51 -0700 Randy Dunlap wrote:
Quoted 15 lines · On Fri, 1 Jun 2007 18:11:14 +0900 Ken'ichi Ohmichi wrote:
Hi,
The attached patch is for the development, and it isn't stable yet. This patch can be applied to makedumpfile version 1.1.3. If you find some problems in this patch, please let me know. If there aren't any problems, I will release a new makedumpfile by next weekend.
diff -puN backup/v1.1.3/README makedumpfile/README
README renamed from v1.1.3/README +0
-0@@ -3,6 +3,10 @@ makdumpfile's README ======================Quoted 8 lines
Quoted 6 lines
Quoted 6 lines
README line 9
Quoted 4 lines
README renamed from v1.1.3/README +4
-0+* REQUIREMENTS + Please download the following library file and install it: + - elfutils-0.125.tar.gz +Is elfutils-0.125 (precisely that version number) required, or
Yes. Please use the specified version.
Hi,
I did that, but I still cannot build a kernel, although the problem is different now. The build fails with:
Inconsistent kallsyms data
Try settingCONFIG_KALLSYMS_EXTRA_PASS
make: *** [vmlinux] Error 1
Quoted 4 lines
Quoted 4 lines
even after I set/enable
CONFIG_KALLSYMS_EXTRA_PASS.Have you tested this on
x86_64?
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.
The procedure is as follos:
# tar -zxvf elfutils-0.125.tar.gz
# cd elfutils-0.125
# ./configure
# make
#
# mkdir /usr/local/include/elfutils/
# cp ./libdw/libdw.h /usr/local/include/elfutils/libdw.h
# cp ./libdw/dwarf.h /usr/local/include/dwarf.h
# cp ./libelf/libelf.h /usr/local/include/libelf.h
# cp ./libelf/gelf.h /usr/local/include/gelf.h
#
# cp ./libelf/libelf.a /usr/local/lib/libelf.a
# cp ./libdw/libdw.a /usr/local/lib/libdw.a
# cp ./libasm/libasm.a /usr/local/lib/libasm.a
# cp ./libebl/libebl.a /usr/local/lib/libebl.aThanks
tachibana
Quoted 9 lines
Sorry about this. Above was with the distro-installed 'ld' instead of the one built from elfutils-0.125. When I correct this, build fails like this:
CHK include/linux/version.h CHK include/linux/utsrelease.h CALL scripts/checksyscalls.sh CHK include/linux/compile.h
Quoted 32 lines
SYSCALL
arch/x86_64/vdso/vdso.so/usr/local/bin/ld: unrecognized option--hash-style=gnu' Tryld --help' or `ld --usage' for more information.
collect2: ld returned 64 exit status
make[1]: *** [arch/x86_64/vdso/vdso.so] Error 1
make: *** [arch/x86_64/vdso] Error 2
make: *** Waiting for unfinished jobs....
SYSCALLarch/x86_64/ia32/vsyscall-sysenter.so/usr/local/bin/ld: unrecognized option--hash-style=gnu' Tryld --help' or `ld --usage' for more information.
collect2: ld returned 64 exit status
make[1]: *** [arch/x86_64/ia32/vsyscall-sysenter.so] Error 1
make: *** [arch/x86_64/ia32] Error 2Quoted 17 lines
Thanks.
Quoted 15 lines
Quoted 15 lines
Quoted 4 lines
could this be elfutils-0.125.tar.gz or later?
I.e., is there something special/specific about elfutils-0.125 ?It's a bit difficult to find 0.125 on the internet...
The reason that I ask the question(s) is that after I build elfutils-0.128 and then do 'make install', I can no longer build a kernel, i.e., kernel 'make' has errors, like:
CC init/main.o CC init/do_mounts.o CC init/do_mounts_rd.o AS usr/initramfs_data.o LD usr/built-in.old: cannot load ld backend library 'libld_elf_x86_64.so': libld_elf_x86_64.so: cannot open shared object file: N
o such
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
file or directory
Quoted 9 lines
make[1]: *** [
usr/built-in.o] Error 1
make: *** [usr] Error 2
make: *** Waiting for unfinished jobs....CC init/do_mounts_initrd.o CC init/initramfs.o CC init/calibrate.o CC init/version.o LD init/mounts.old: cannot load ld backend library 'libld_elf_x86_64.so': libld_elf_x86_64.so: cannot open shared object file: N
o such
Quoted 25 lines
Quoted 14 lines
Quoted 12 lines
file or directory
Quoted 11 lines
make[1]: *** [
init/mounts.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [init] Error 2on
x86_64.Quoted 3 lines
Quoted 3 lines
README renamed from v1.1.3/README +0
-0* BUILD & INSTALL 1.Get the latest makedumpfile from the following site: https://sourceforge.net/projects/makedumpfile/Quoted 9 lines
---
~Randy
*** Remember to useDocumentation/SubmitChecklistwhen testing your code ***_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec
Quoted 3 lines
---
~Randy
*** Remember to useDocumentation/SubmitChecklistwhen testing your code ***
_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec
PATCH 1/1 makedumpfile: update/clarify README
Quoted 5 lines · On Mon, 3 Sep 2007 16:57:08 +0900 [email protected] wrote:
Makefileinstalls 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,
Thanks for that info. I completely missed that in the README file. Please update the README file with this patch.
---
From: Randy Dunlap <[email protected]>
Warn not to use "make install" for elfutils.
Fix a few typos.
--- README | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-)
README +7 -6
@@ -4,11 +4,13 @@ ====================== * REQUIREMENTS - Please download the following library file and install it: + Please download the following library file and install it exactly as below; + do NOT use "make install". - elfutils-0.125.tar.gz The "make install" of elfutils installs some commands (ld, readelf, etc.), - and the compiling problem sometimes happens due to using the installed - commands. To install only the library files, do the following method. + and compiling problems sometimes happen due to using the installed + commands. To install only the library & header files, use the following + method: # tar -zxvf elfutils-0.125.tar.gz # cd elfutils-0.125 # ./configure
@@ -85,8 +87,8 @@ make: *** [makedumpfile] Error 1 # - The compiler cannot find out elf_getshstrndx() because it tries - searching it only from /usr/lib/libelf.a though elf_getshstrndx() + The compiler cannot find elf_getshstrndx() because it tries + searching for it only from /usr/lib/libelf.a though elf_getshstrndx() is archived in /usr/local/lib/libelf.a. To solve the problem, add the option (-L/usr/local/lib/) to CFLAGS of Makefile like the following:
@@ -104,4 +106,3 @@ Ken'ichi Ohmichi <[email protected]> Masaki Tachibana <[email protected]> kexec-ml <[email protected]> -
_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec
Re: [patch] makedumpfile: update/clarify README
Hi Randy,
Quoted 8 lines · Randy Dunlap
Quoted 5 lines · On Mon, 3 Sep 2007 16:57:08 +0900 [email protected] wrote:
Makefileinstalls 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.
Quoted 4 lines
Hi tachibana-san,
Thanks for that info. I completely missed that in the README file. Please update the README file with this patch.
Thank you for the patch.
That sounds good, I will merge the patch into the next release.
Thanks
Ken'ichi Ohmichi
_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec
Quoted 5 lines · On Mon, 3 Sep 2007 16:57:08 +0900 [email protected] wrote:
Makefileinstalls 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@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
Regards,
---
~Randy
_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec
Quoted 25 lines · Randy Dunlap
Quoted 5 lines · On Mon, 3 Sep 2007 16:57:08 +0900 [email protected] wrote:
Makefileinstalls 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_64system, booted with "crashkernel=64M@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
Review
Quoted 5 lines
(quoted diff) +0
-5-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
_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec