Commit Graph

40 Commits

Author SHA1 Message Date
Pingfan Liu
3001f893d7 Release 2.0.26-5
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2164929

Signed-off-by: Pingfan Liu <piliu@redhat.com>
2023-06-13 15:38:35 +08:00
Lichen Liu
68d02c2a53 Revert "Append both nofail and x-systemd.before to kdump mount target"
Resolves: bz2164929
Upstream: Fedora
Conflict: Missing upstream commit
94a7b4("Always drop nofail or nobootwait options")

commit 0843c70672
Author: Kairui Song <kasong@redhat.com>
Date:   Wed Jan 13 17:12:18 2021 +0800

    Revert "Append both nofail and x-systemd.before to kdump mount target"

    That commit is trying to workaround a kernel VFS bug. Now,
    the VFS issue should have been fixed in all recent releases, so
    remove this workaround.

    This reverts commit 539bff4083.

    Signed-off-by: Kairui Song <kasong@redhat.com>
    Acked-by: Pingfan Liu <piliu@redhat.com>

Signed-off-by: Lichen Liu <lichliu@redhat.com>
2023-06-09 10:36:07 +08:00
Pingfan Liu
cfe6f17f1e Release 2.0.26-4 2023-05-31 01:22:46 +00:00
Coiby Xu
c4a0ad47dd Only rename the virtual Azure Hyper-V network interface
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1964822
Upstream: RHEL-only

Currently, vmcore dumping to remote fs gives a warning "eth0: Failed to
rename network interface 3 from 'eth0' to 'kdump-eth0': File exists" on
Azure Hyper-V VM with accelerated networking because it uses a physical
NIC for accelerated networking [1] and the backing physical NIC has the
same MAC address as the virtual NIC. In the kdump initrd, an udev rule
will try renaming NICs with the given MAC address and fails as expected
since there are two NICs having the same MAC address. This udev rule is
created automatically when specifying the dracut cmdline
"ifname=<interface>:<MAC>". For the case of Azure Hyper-V VM with
accelerated networking, only the virtual network interface need to be
renamed. So create an udev rule manually.

[1] https://learn.microsoft.com/en-us/azure/virtual-network/accelerated-networking-overview

Signed-off-by: Coiby Xu <coxu@redhat.com>
2023-05-25 17:08:27 +08:00
Pingfan Liu
933ba930f7 Release 2.0.26-3
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1964822

Signed-off-by: Pingfan Liu <piliu@redhat.com>
2023-05-16 19:33:32 +08:00
Coiby Xu
c95039410e Don't rename Azure Hyper-V network interface
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1964822
Upstream: RHEL-only

Currently, vmcore dumping to remote fs gives a warning "eth0: Failed to
rename network interface 3 from 'eth0' to 'kdump-eth0': File exists" on
Azure Hyper-V VM with accelerated networking because it uses a physical
NIC for accelerated networking [1] and the backing physical NIC has the
same MAC as the virtual NIC. There is no need to rename a Hypver-V
interface in this case which also leads the aforementioned warning.

[1] https://learn.microsoft.com/en-us/azure/virtual-network/accelerated-networking-overview

Signed-off-by: Coiby Xu <coxu@redhat.com>
2023-05-16 14:59:13 +08:00
Pingfan Liu
1e4c637df0 Release 2.0.26-2
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2184284
Resolves: rhbz#2184284

Signed-off-by: Pingfan Liu <piliu@redhat.com>
2023-04-20 09:33:03 +08:00
Pingfan Liu
57382b3d12 sadump: fix failure of reading memory when 5-level paging is enabled
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2184284
Resolves: rhbz#2184284
Upstream: makedumpfile

commit 58553ad03187f0cf208d6c4a0dc026c6338e5edd
Author: Daisuke Hatayama (Fujitsu) <d.hatayama@fujitsu.com>
Date:   Wed Mar 29 12:44:10 2023 +0000

    [PATCH] sadump: fix failure of reading memory when 5-level paging is enabled

    makedumpfile fails as follows for memory dumps collected by sadump
    when 5-level paging is enabled on the corresponding systems:

        # makedumpfile -l -d 31 -x ./vmlinux ./dump.sadump dump.sadump-ld31
        __vtop4_x86_64: Can't get a valid pgd.
        ...snip...
        __vtop4_x86_64: Can't get a valid pgd.
        calc_kaslr_offset: failed to calculate kaslr_offset and phys_base; default to 0
        __vtop4_x86_64: Can't get a valid pgd.
        readmem: Can't convert a virtual address(ffffffff82fce960) to physical address.
        readmem: type_addr: 0, addr:ffffffff82fce960, size:1024
        cpu_online_mask_init: Can't read cpu_online_mask memory.

        makedumpfile Failed.

    This is because 5-level paging support has not been done yet for
    sadump; the work of the 5-level paging support was done by the commit
    30a3214a7193e94c551c0cebda5918a72a35c589 (PATCH 4/4 arch/x86_64: Add
    5-level paging support) but that was focused on the core part only.

    Having said that, most of things has already been finished in the
    commit. What needs to be newly added for sadump is just how to check
    if 5-level paging is enabled for a given memory dump.

    For that purpose, let's refer to CR4.LA57, bit 12 of CR4, representing
    whether 5-level paging is enabled or not. We can do this because
    memory dumps collected by sadump have SMRAM as note information and
    they include CR4 together with the other control registers.

    Signed-off-by: HATAYAMA Daisuke <d.hatayama@fujitsu.com>

Signed-off-by: Pingfan Liu <piliu@redhat.com>
2023-04-12 11:25:10 +08:00
Pingfan Liu
8c85974e38 Release 2.0.26-1
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2173793
Resolves: rhbz#2173793
Upstream: kexec-tools

Rebase kexec-tools to 2.0.26

Signed-off-by: Pingfan Liu <piliu@redhat.com>
2023-04-11 10:22:55 +08:00
Pingfan Liu
ac1ec5c59a Release 2.0.25-7
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2173791
Upstream: makedumpfile
Resolves: rhbz#2173791

Signed-off-by: Pingfan Liu <piliu@redhat.com>
2023-04-04 17:38:12 +08:00
Pingfan Liu
1de6db08f4 Rebase makedumpfile to 1.7.2
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2173791
Upstream: makedumpfile

Signed-off-by: Pingfan Liu <piliu@redhat.com>
2023-04-04 12:35:43 +08:00
Pingfan Liu
595b588d52 Release 2.0.25-6
Resolves: bz2149846

Signed-off-by: Pingfan Liu <piliu@redhat.com>
2023-03-15 18:24:55 +08:00
Philipp Rudo
ec352352fd sysconfig: add zfcp.allow_lun_scan to KDUMP_COMMANDLINE_REMOVE on s390
Resolves: bz2149846
Upstream: Fedora
Conflict: Move to kdump.sysconfig.s390 due to missing
          677da8a ("sysconfig: use a simple generator script to maintain")

Author: Philipp Rudo <prudo@redhat.com>
Date:   Tue Mar 7 14:45:35 2023 +0100

    sysconfig: add zfcp.allow_lun_scan to KDUMP_COMMANDLINE_REMOVE on s390

    Probing unnecessary I/O devices wastes memory and in extreme cases can
    cause the crashkernel to run OOM. That's why the s390-tools maintain
    their own module, 95zdev-kdump [1], that disables auto LUN scanning and
    only configures zfcp devices that can be used as dump target. So remove
    zfcp.allow_lun_scan from the kernel command line to prevent that we
    accidentally overwrite the default set by the module.

    [1] https://github.com/ibm-s390-linux/s390-tools/blob/master/zdev/dracut/95zdev-kdump/module-setup.sh

    Signed-off-by: Philipp Rudo <prudo@redhat.com>
    Reviewed-by: Coiby Xu <coxu@redhat.com>

Signed-off-by: Philipp Rudo <prudo@redhat.com>
Acked-by: Pingfan Liu <piliu@redhat.com>
2023-03-15 18:24:55 +08:00
Troy Dawson
c382a97ef5 Bring gating.yaml over from Brew dist-git
Signed-off-by: Troy Dawson <tdawson@redhat.com>
2023-03-10 10:47:36 -08:00
James Antill
d341dff721 Import rpm: c8s 2023-02-27 13:51:05 -05:00
CentOS Sources
e89fde4b8b Auto sync2gitlab import of kexec-tools-2.0.25-5.el8.src.rpm 2023-01-20 10:15:07 +00:00
CentOS Sources
22f1c80c55 Auto sync2gitlab import of kexec-tools-2.0.25-3.el8.src.rpm 2022-12-13 06:13:47 +00:00
CentOS Sources
ce91099be0 Auto sync2gitlab import of kexec-tools-2.0.25-2.el8.src.rpm 2022-10-23 06:11:17 +00:00
CentOS Sources
482dfd07d3 Auto sync2gitlab import of kexec-tools-2.0.24-7.el8.src.rpm 2022-09-24 10:11:03 +00:00
CentOS Sources
7b5a5f9e95 Auto sync2gitlab import of kexec-tools-2.0.24-6.el8.src.rpm 2022-07-21 10:11:54 +00:00
CentOS Sources
4c3dc9d2ed Auto sync2gitlab import of kexec-tools-2.0.24-5.el8.src.rpm 2022-07-08 04:09:30 +00:00
James Antill
2d66abf545 Auto sync2gitlab import of kexec-tools-2.0.24-3.el8.src.rpm 2022-06-29 13:15:29 -04:00
CentOS Sources
1ab01c513c Auto sync2gitlab import of kexec-tools-2.0.24-4.el8.src.rpm 2022-06-28 22:13:08 +00:00
CentOS Sources
0d91f09b65 Auto sync2gitlab import of kexec-tools-2.0.24-3.el8.src.rpm 2022-06-22 07:26:00 +00:00
CentOS Sources
d18122e7a8 Auto sync2gitlab import of kexec-tools-2.0.24-3.el8.src.rpm 2022-06-20 13:03:11 +00:00
CentOS Sources
62a21dd560 Auto sync2gitlab import of kexec-tools-2.0.24-3.el8.src.rpm 2022-06-20 05:13:49 +00:00
CentOS Sources
846014ff7f Auto sync2gitlab import of kexec-tools-2.0.24-3.el8.src.rpm 2022-06-20 01:08:48 +00:00
CentOS Sources
6e8c5181ed Auto sync2gitlab import of kexec-tools-2.0.24-3.el8.src.rpm 2022-06-19 21:06:42 +00:00
CentOS Sources
559e43571d Auto sync2gitlab import of kexec-tools-2.0.24-3.el8.src.rpm 2022-06-19 17:08:41 +00:00
CentOS Sources
700b1607e8 Auto sync2gitlab import of kexec-tools-2.0.24-3.el8.src.rpm 2022-06-19 05:06:56 +00:00
CentOS Sources
6fc5911fae Auto sync2gitlab import of kexec-tools-2.0.24-3.el8.src.rpm 2022-06-18 21:07:06 +00:00
CentOS Sources
d303b7716c Auto sync2gitlab import of kexec-tools-2.0.24-3.el8.src.rpm 2022-06-18 01:02:09 +00:00
CentOS Sources
28b596b828 Auto sync2gitlab import of kexec-tools-2.0.24-3.el8.src.rpm 2022-06-17 13:56:41 +00:00
CentOS Sources
2909d8145a Auto sync2gitlab import of kexec-tools-2.0.24-3.el8.src.rpm 2022-06-17 01:58:08 +00:00
CentOS Sources
9f32d46a0c Auto sync2gitlab import of kexec-tools-2.0.24-3.el8.src.rpm 2022-06-16 12:58:20 +00:00
CentOS Sources
c29f07b662 Auto sync2gitlab import of kexec-tools-2.0.24-3.el8.src.rpm 2022-06-16 04:49:01 +00:00
CentOS Sources
12a2a5b2e3 Auto sync2gitlab import of kexec-tools-2.0.24-2.el8.src.rpm 2022-06-02 14:32:08 +00:00
James Antill
b6940b3cfc Auto sync2gitlab import of kexec-tools-2.0.24-1.el8.src.rpm 2022-05-31 14:44:30 -04:00
James Antill
d28435b620 Auto sync2gitlab import of kexec-tools-2.0.20-68.el8.src.rpm 2022-05-26 10:04:08 -04:00
James Antill
bff85e834f Initial c8s branch. 2022-05-26 10:04:03 -04:00