| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
===================================================================
Gbp-Pq: Name 0002-adapt-makefile-to-debian.patch
|
|
|
|
|
|
| |
Update makedumpfile to version 1.6.7.
Signed-off-by: Kazuhito Hagio <k-hagio-ab@nec.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since the following commit, -lebl has been removed from elfutils.
(elfutils-0.178 or later contains the commit.)
commit b833c731359af12af9f16bcb621b3cdc170eafbc
Author: Mark Wielaard <mark@klomp.org>
Date: Thu Aug 29 23:34:11 2019 +0200
libebl: Don't install libebl.a, libebl.h and remove backends from spec.
All archive members from libebl.a are now in libdw.a. We don't generate
separate backend shared libraries anymore. So remove them from the
elfutils.spec file.
Signed-off-by: Mark Wielaard <mark@klomp.org>
Without the patch, building process fails with the following error.
/usr/bin/ld: cannot find -lebl
collect2: error: ld returned 1 exit status
make: *** [makedumpfile] Error 1
So remove it from LIBS for makedumpfile when elfutils does not have
libebl.a.
Signed-off-by: Pingfan Liu <piliu@redhat.com>
Signed-off-by: Kazuhito Hagio <k-hagio@ab.jp.nec.com>
|
|
|
|
|
|
| |
Update makedumpfile to version 1.6.6.
Signed-off-by: Kazuhito Hagio <k-hagio@ab.jp.nec.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This makes it possible to pass in extra cflags, for example, hardening
flags could be passed in with environment variable when building a
hardened package.
Also introduce a CFLAGS_BASE to hold common CFLAGS, which simplify the
CFLAGS definition.
Suggested-by: Kazuhito Hagio <k-hagio@ab.jp.nec.com>
Signed-off-by: Kairui Song <kasong@redhat.com>
|
|
|
|
|
|
| |
This patch updates makedumpfile to version 1.6.5.
Signed-off-by: Kazuhito Hagio <k-hagio@ab.jp.nec.com>
|
|
|
|
|
|
|
| |
For glibc versions before 2.17, clock_gettime() was contained in a
separate library and required linking with -lrt.
Signed-off-by: Petr Tesarik <ptesarik@suse.com>
|
|
|
|
|
|
|
| |
This patch updates makedumpfile to version 1.6.4.
Signed-off-by: Masaki Tachibana <mas-tachibana@vf.jp.nec.com>
Signed-off-by: Kazuhito Hagio <k-hagio@ab.jp.nec.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch borrows the 'tools.c' helper file from the crash utility
project and adds it to the makedumpfile source code, to allow
some basic useful APIs to be present which can be invoked from
other source code files.
'tools.c' provides some useful APIs like 'htol' (convert
a string to a hexadecimal long value), etc. which can be
invoked by other functions (a functionality that is exposed
by follow-up patches).
Signed-off-by: Bhupesh Sharma <bhsharma@redhat.com>
|
|
|
|
|
|
| |
This patch updates makedumpfile to version 1.6.3.
Signed-off-by: Atsushi Kumagai <ats-kumagai@wm.jp.nec.com>
|
|
|
|
|
|
| |
This patch updates makedumpfile to version 1.6.2.
Signed-off-by: Atsushi Kumagai <ats-kumagai@wm.jp.nec.com>
|
|
|
|
|
|
|
| |
This commit adds support for sparc64. The changes were tested on a
sparc64 T7-2 processor with 2 TB of RAM
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
|
|
|
|
|
|
| |
This patch updates makedumpfile to version 1.6.1.
Signed-off-by: Atsushi Kumagai <ats-kumagai@wm.jp.nec.com>
|
|
|
|
|
|
| |
This patch updates makedumpfile to version 1.6.0.
Signed-off-by: Atsushi Kumagai <ats-kumagai@wm.jp.nec.com>
|
|
|
|
|
|
| |
This patch updates makedumpfile to version 1.5.9.
Signed-off-by: Atsushi Kumagai <ats-kumagai@wm.jp.nec.com>
|
|
|
|
|
|
|
|
| |
read_pfn_parallel is used to enable reading pages from vmcore parallely.
Current supported format is kdump-compressed and elf, mmap elf format
is also supported.
Signed-off-by: Qiao Nuohan <qiaonuohan@cn.fujitsu.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Patch adds support for ARM64 in makedumpfile. It takes care of vmalloc,
vmemmap, module and directly map kernel memory region's translation.
Currently we only support 2 leverl 64K pages and VA_BITS as 42. Support
to find these machine specific parameters dynamically and then to act
accordingly can be added latter.
Signed-off-by: Pratyush Anand <panand@redhat.com>
|
|
|
|
|
|
| |
This patch updates makedumpfile to version 1.5.8.
Signed-off-by: Atsushi Kumagai <ats-kumagai@wm.jp.nec.com>
|
|
|
|
|
|
| |
This patch updates makedumpfile to version 1.5.7.
Signed-off-by: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When libeppic isn't installed on a standard location, building
eppic_makedumpfile.so with -leppic directly doesn't work.
Add LDFLAGS to build arguments, so that one can pass LDFLAGS="-Ldir
-Idir" to tell where to search for libeppic library and its header
files.
For example, if eppic source is installed on the same directory level
with makedumpfile as the following:
makedumpfile
|--- arch
+--- eeppic_scripts
eppic
|--- applications
+--- libeppic
After compiling libeppic, one can use the following command to build
eppic_makedumpfile.so:
make LDFLAGS="-I../eppic/libeppic -L../eppic/libeppic" eppic_makedumpfile.so
Signed-off-by: WANG Chao <chaowang@redhat.com>
|
|
|
|
|
|
| |
This patch updates makedumpfile to version 1.5.6.
Signed-off-by: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When cross building makedumpfile, for example, build x86_64 exec for
dealing with arm vmcore, makefile passes a "-D__arm__" to gcc, but gcc
predefined macros still take effect, defines "__x86_64__". Which makes
definitions for x86_64 and arm mixed together in makedumpfile.h, causes
many problems.
This patch changes Makefile: if host arch and target arch are different,
passes "-U__$(HOST_ARCH)__" to gcc.
I have tested by running following command on x86_64 machine:
make TARGET=arm
P.S.
This patch doesn't work if there is an endian mismatch between host arch
and target arch since makedumpfile doesn't take care of it.
Signed-off-by: Wang Nan <wangnan0@huawei.com>
Cc: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
Cc: kexec@lists.infradead.org
Cc: Geng Hui <hui.geng@huawei.com>
|
|
|
|
|
|
|
|
|
|
| |
This aligns naming with SRC_PART and SRC_ARCH.
In our case, we also use SRC as an environment variable in an outer
Makefile (which calls the makedumpfile one), which messes things up
here.
Signed-off-by: Simon Kagstrom <simon.kagstrom@netinsight.net>
|
|
|
|
|
|
|
|
|
|
|
| |
Makes it possible to build out-of-tree, with something like
cd makedumpfile
mkdir out-of-tree-build
cd out-of-tree-build
make -f ../Makefile
Signed-off-by: Simon Kagstrom <simon.kagstrom@netinsight.net>
|
|
|
|
|
|
|
| |
Removes duplicate information, so there is one less line to edit
when renaming or adding files.
Signed-off-by: Simon Kagstrom <simon.kagstrom@netinsight.net>
|
|
|
|
|
|
| |
Install sample eppic scripts in the documentation directory
Signed-off-by: Aruna Balakrishnaiah <aruna@linux.vnet.ibm.com>
|
|
|
|
|
|
| |
This patch updates makedumpfile to version 1.5.5.
Signed-off-by: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The make install of makedumpfile-1.5.4 uses cp instead of the usual
"install" command, which has some side effects of not pre-creating
directories. This results in installs to an alternate DESTDIR fail
because the parent directories do not exist.
I have attached a patch which modifies make install to use the install
utility.
Signed-off-by: Nick Bartos <nick@pistoncloud.com>
Change installation directory to /usr/sbin.
Signed-off-by: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
|
|
|
|
|
|
| |
This patch updates makedumpfile to version 1.5.4.
Signed-off-by: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
|
|
|
|
|
|
| |
This patch updates makedumpfile to version 1.5.3.
Signed-off-by: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
|
|
|
|
| |
This patch updates makedumpfile to version 1.5.2.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a simple cache for pages read from the dumpfile.
This is a big win if we read consecutive data from one page, e.g.
page descriptors, or even page table entries.
Note that makedumpfile now always reads a complete page. This was already
the case with kdump-compressed and sadump formats, but makedumpfile was
throwing most of the data away. For the kdump-compressed case, we may
actually save a lot of decompression, too.
I tried to keep the cache small to minimize memory footprint, but it should
be big enough to hold all pages to do 4-level paging plus some data. This
is needed e.g. for vmalloc areas or Xen page frame table data, which are not
contiguous in physical memory.
Signed-off-by: Petr Tesarik <ptesarik@suse.cz>
|
|
|
|
|
|
|
|
|
| |
This patch contains routines which initialize eppic and register call
back function which will be called whenever a new eppic macro is loaded
using eppic_load() API. The registered call back function executes the
eppic macro as soon as it is loaded.
Signed-off-by: Aravinda Prasad <aravinda@linux.vnet.ibm.com>
|
|
|
|
|
|
| |
This patch updates makedumpfile to version 1.5.1.
Signed-off-by: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
|
|
|
|
| |
Signed-off-by: HATAYAMA Daisuke <d.hatayama@jp.fujitsu.com>
|
|
|
|
|
|
| |
This patch updates makedumpfile to version 1.5.0.
Signed-off-by: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
|
|
|
|
|
|
| |
This patch updates makedumpfile to version 1.4.4.
Signed-off-by: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
To enable lzo compression support, build makedumpfile as:
$ make USELZO=on
To disable, as:
$ make
In default, lzo compression support is disabled.
Signed-off-by: HATAYAMA Daisuke <d.hatayama@jp.fujitsu.com>
Signed-off-by: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
|
|
|
|
|
|
| |
This patch updates makedumpfile to version 1.4.3.
Signed-off-by: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
|
|
|
|
|
|
|
| |
Mostly a copy of ppc64 with renaming to _ppc variants.
Signed-off-by: Suzuki K. Poulose <suzuki@in.ibm.com>
Signed-off-by: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
|
|
|
|
|
|
|
|
|
|
| |
Makedumpfile uses __powerpc__ as the value of ARCH to control the PPC64
specfic definitions. Rename this to __powerpc64__ for a better readability
of the code as the support for ppc32 will be introduced in the later series.
We could use __powerpc32__ for PPC32.
Signed-off-by: Suzuki Poulose <suzuki@in.ibm.com>
Signed-off-by: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
|
|
|
|
|
|
|
|
|
|
|
| |
Support cross building of makedumpfile. This would be useful for building
the makedumpfile for embedded PPC boards. Support for PPC32 would be added
in the later patches.
Use TARGET variable to set the arch to build for. Also honour the value of
CC if set.
Signed-off-by: Suzuki K. Poulose <suzuki@in.ibm.com>
|
|
|
|
|
|
| |
This patch updates makedumpfile to version 1.4.2.
Signed-off-by: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add "LINKTYPE" parameter to use dynamic libraries.
If you want to build makedumpfile using dynamic libraries,
you need "LINKTYPE=dynamic".
$ make LINKTYPE=dynamic
...
$ ldd makedumpfile
libdw.so.1 => /usr/lib64/libdw.so.1 (0x0000003ca2800000)
libbz2.so.1 => /usr/lib64/libbz2.so.1 (0x000000394b200000)
libdl.so.2 => /lib64/libdl.so.2 (0x00000031a5a00000)
libelf.so.1 => /usr/lib64/libelf.so.1 (0x0000003ca2400000)
libz.so.1 => /usr/lib64/libz.so.1 (0x00000031a6200000)
libc.so.6 => /lib64/libc.so.6 (0x00000031a5200000)
/lib64/ld-linux-x86-64.so.2 (0x00000031a4e00000)
Signed-off-by: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
|
|
|
|
|
|
| |
This patch updates makedumpfile to version 1.4.1.
Signed-off-by: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
|
|
|
|
|
|
|
|
|
| |
Introduce new long option --diskset=VMCORE, which is used for
specifying multiple VMCORE(s) generated on sadump diskset
configuration. --diskset and --split options can be specified at the
same time.
Signed-off-by: HATAYAMA Daisuke <d.hatayama@jp.fujitsu.com>
|
|
|
|
|
|
|
|
| |
This header contains definitions of sadump-related dump format
headers. These datatype is handled in sadump module, introduced later
as sadump_info.c, only.
Signed-off-by: HATAYAMA Daisuke <d.hatayama@jp.fujitsu.com>
|
|
|
|
|
|
| |
This patch updates makedumpfile to version 1.4.0.
Signed-off-by: Ken'ichi Ohmichi <oomichi@mxs.nes.nec.co.jp>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
section.
Manpages of other configuration files are defined in section 5, and
the manpage of makedumpfile.conf also should be defined in the same
section.
In addtion, `man makedumpfile.conf` output the following warning
because the manpage included some invalid charactors(<81>).
WARNING: old character encoding and/or character set
This patch fixes them.
Signed-off-by: Ken'ichi Ohmichi <oomichi@mxs.nes.nec.co.jp>
|
|
|
|
|
|
|
| |
makedumpfile.c becomes big and the readability is not good.
To reduce the code of makedumpfile.c, this patch adds erase_info.c.
Signed-off-by: Ken'ichi Ohmichi <oomichi@mxs.nes.nec.co.jp>
|