Commit Graph

14 Commits

Author SHA1 Message Date
Tao Liu
7f38d84f97 Migrate gating tests to TF / osci.tier0
Related: RHEL-190563

Signed-off-by: Tao Liu <ltao@redhat.com>
2026-07-22 17:45:00 +12:00
Lichen Liu
9cd1b854e6 Release makedumpfile-1.7.8-1
Resolves: RHEL-113404
Upstream: https://github.com/makedumpfile/makedumpfile
Conflict: None

Signed-off-by: Lichen Liu <lichliu@redhat.com>
2025-11-03 11:20:10 +08:00
Tao Liu
11eeec0233 Release makedumpfile-1.7.7-2
Resolves: RHEL-88006
Resolves: RHEL-93694

Signed-off-by: Tao Liu <ltao@redhat.com>
2025-07-21 15:15:48 +12:00
Tao Liu
7f4f48165c Fix a data race in multi-threading mode (--num-threads=N)
Upstream: https://github.com/makedumpfile/makedumpfile.git
Conflict: none
Resolves: RHEL-88006
Resolves: RHEL-93694

commit 65bf4c9ef0fd0cbf2fb99b60e15b00d984b391b8
Author: Tao Liu <ltao@redhat.com>
Date:   Wed Jun 25 14:23:44 2025 +1200

    [PATCH v2] Fix a data race in multi-threading mode (--num-threads=N)

    A vmcore corrupt issue has been noticed in powerpc arch [1]. It can be
    reproduced with upstream makedumpfile.

    When analyzing the corrupt vmcore using crash, the following error
    message will output:

        crash: compressed kdump: uncompress failed: 0
        crash: read error: kernel virtual address: c0001e2d2fe48000  type:
        "hardirq thread_union"
        crash: cannot read hardirq_ctx[930] at c0001e2d2fe48000
        crash: compressed kdump: uncompress failed: 0

    If the vmcore is generated without num-threads option, then no such
    errors are noticed.

    With --num-threads=N enabled, there will be N sub-threads created. All
    sub-threads are producers which responsible for mm page processing, e.g.
    compression. The main thread is the consumer which responsible for
    writing the compressed data into file. page_flag_buf->ready is used to
    sync main and sub-threads. When a sub-thread finishes page processing,
    it will set ready flag to be FLAG_READY. In the meantime, main thread
    looply check all threads of the ready flags, and break the loop when
    find FLAG_READY.

    page_flag_buf->ready is read/write by main/sub-threads simultaneously,
    but it is unprotected and unsafe. I have tested both mutex and atomic_rw
    can fix this issue. This patch takes atomic_rw for its simplicity.

    [1]: https://github.com/makedumpfile/makedumpfile/issues/15

    Resolves: https://github.com/makedumpfile/makedumpfile/issues/15
    Tested-by: Sourabh Jain <sourabhjain@linux.ibm.com>
    Signed-off-by: Tao Liu <ltao@redhat.com>

Signed-off-by: Tao Liu <ltao@redhat.com>
2025-07-17 10:31:37 +12:00
Lichen Liu
ba74372d05
Release makedumpfile-1.7.7-1
Resolves: RHEL-88007
Upstream: https://github.com/makedumpfile/makedumpfile
Conflict: None

Signed-off-by: Lichen Liu <lichliu@redhat.com>
2025-04-24 15:36:26 +08:00
Lichen Liu
3704898f1a
fix detection of typed (compound) pages (Linux 6.12)
Upstream: https://github.com/makedumpfile/makedumpfile
Conflict: None
Resolves: RHEL-73979

Signed-off-by: Lichen Liu <lichliu@redhat.com>
2025-01-15 11:17:45 +08:00
Lichen Liu
9d41a807c0
makedumpfile: support kernel 6.12
Upstream: RHEL-ONLY
Resolves: https://issues.redhat.com/browse/RHEL-69102

Signed-off-by: Lichen Liu <lichliu@redhat.com>
2025-01-09 20:21:31 +08:00
Troy Dawson
ce34e9dfd2 Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018
2024-10-29 08:47:43 -07:00
Lichen Liu
234e6f1d18
update to upstream v1.7.6
Upstream: https://github.com/makedumpfile/makedumpfile
Conflict: None
Resolves: RHEL-59864
Resolves: RHEL-56959
Resolves: RHEL-56584

Signed-off-by: Lichen Liu <lichliu@redhat.com>
2024-10-23 14:13:49 +08:00
Lichen Liu
4b4fbe29b9
Release makedumpfile-1.7.5-12
Resolves: RHEL-41117

Signed-off-by: Lichen Liu <lichliu@redhat.com>
2024-07-28 13:02:50 +08:00
Lichen Liu
f812cb511f
Workaround for segfault by "makedumpfile --mem-usage" on PPC64
Resolves: RHEL-41117
Upstream: Fedora
Conflict: None

Signed-off-by: Lichen Liu <lichliu@redhat.com>
2024-07-26 09:44:33 +08:00
Lichen Liu
67a3085fff
Enable gating test
init gating test for new package.

Signed-off-by: Lichen Liu <lichliu@redhat.com>
2024-07-12 10:30:11 +08:00
Lichen Liu
a48b76f9d3
Initial import for CentOS Stream 10
Resolves: RHEL-45254

Signed-off-by: Lichen Liu <lichliu@redhat.com>
2024-07-10 09:36:57 +08:00
Release Configuration Management
bc80a4952d New branch setup 2024-07-09 03:23:35 -04:00