makedumpfile: Upgrade to 1.6.9
PATCH 1/1 makedumpfile: Upgrade to 1.6.9
From: Mingli Yu <[email protected]>
* Linux 5.10 introduces a new lockless ringbuffer. The new ringbuffer is structured completely different to the previous iterations. Add support for retrieving the ringbuffer from debug information and/or using vmcoreinfo. The new ringbuffer is detected based on the availability of the "prb" symbol.
* Support newer kernels as follows:
- 5.10, 5.11, 5.12 (x86_64 SPARSEMEM)
---
...1-makedumpfile-replace-hardcode-CFLAGS.patch | 17 +++++++++--------
...edumpfile_1.6.8.bb => makedumpfile_1.6.9.bb} | 2 +-
2 files changed, 10 insertions(+), 9 deletions(-)
rename meta-oe/recipes-kernel/makedumpfile/{makedumpfile_1.6.8.bb => makedumpfile_1.6.9.bb} (97%)meta-oe/recipes-kernel/makedumpfile/makedumpfile/0001-makedumpfile-replace-hardcode-CFLAGS.patch +9 -8
@@ -1,4 +1,4 @@ -From af97e2ad643334b4c7c3d66f971ce9ebb2b596af Mon Sep 17 00:00:00 2001 +From 1053cf25be28b266ba264705e11179cf4f04aa91 Mon Sep 17 00:00:00 2001 From: Mingli Yu <[email protected]> Date: Thu, 21 Jul 2016 18:06:21 +0800 Subject: [PATCH] makedumpfile: replace hardcode CFLAGS
@@ -13,14 +13,15 @@ Subject: [PATCH] makedumpfile: replace hardcode CFLAGS Upstream-Status: Inappropriate[oe specific] Signed-off-by: Mingli Yu <[email protected]> + --- Makefile | 45 +++++++++++++++++++++++---------------------- 1 file changed, 23 insertions(+), 22 deletions(-) -Index: git/Makefile -=================================================================== ---- git.orig/Makefile -+++ git/Makefile +diff --git a/Makefile b/Makefile +index 6fa00bc..7aa7ae2 100644 +--- a/Makefile ++++ b/Makefile @@ -8,12 +8,6 @@ ifeq ($(strip $CC),) CC = gcc endif
@@ -79,7 +80,7 @@ Index: git/Makefile + -DRELEASE_DATE='"$(DATE)"' + SRC_BASE = makedumpfile.c makedumpfile.h diskdump_mod.h sadump_mod.h sadump_info.h - SRC_PART = print_info.c dwarf_info.c elf_info.c erase_info.c sadump_info.c cache.c tools.c + SRC_PART = print_info.c dwarf_info.c elf_info.c erase_info.c sadump_info.c cache.c tools.c printk.c OBJ_PART=$(patsubst %.c,%.o,$(SRC_PART)) @@ -52,12 +53,12 @@ OBJ_ARCH=$(patsubst %.c,%.o,$(SRC_ARCH))
@@ -104,7 +105,7 @@ Index: git/Makefile +CFLAGS_COMMON += -DUSESNAPPY endif - LIBS := -lpthread $(LIBS) + LIBS := $(LIBS) -lpthread @@ -90,14 +91,14 @@ LIBS := $(LIBS) $(call try-run,\ all: makedumpfile
@@ -122,7 +123,7 @@ Index: git/Makefile echo .TH MAKEDUMPFILE 8 \"$(DATE)\" \"makedumpfile v$(VERSION)\" \"Linux System Administrator\'s Manual\" > temp.8 grep -v "^.TH MAKEDUMPFILE 8" $(VPATH)makedumpfile.8 >> temp.8 mv temp.8 makedumpfile.8 -@@ -108,7 +109,7 @@ makedumpfile: $(SRC_BASE) $(OBJ_PART) $( +@@ -108,7 +109,7 @@ makedumpfile: $(SRC_BASE) $(OBJ_PART) $(OBJ_ARCH) gzip -c ./makedumpfile.conf.5 > ./makedumpfile.conf.5.gz eppic_makedumpfile.so: extension_eppic.c
meta-oe/recipes-kernel/makedumpfile/makedumpfile_1.6.9.bb renamed from meta-oe/recipes-kernel/makedumpfile/makedumpfile_1.6.8.bb +1 -1
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" LICENSE = "GPLv2.0" SRCBRANCH ?= "master" -SRCREV = "18e0cdba48feeccea2429b3b0b2691f4314d1062" +SRCREV = "a9ad811c15e769c8e6d8d915a05cebc32f2ea2f5" DEPENDS = "bzip2 zlib elfutils xz" RDEPENDS_${PN}-tools = "perl ${PN}"
Signature · 1 line
2.25.1
Quoted 11 lines · On 4/24/22 01:45, [email protected] wrote:
From: Mingli Yu <[email protected]>
* Linux 5.10 introduces a new lockless ringbuffer. The new ringbuffer is structured completely different to the previous iterations. Add support for retrieving the ringbuffer from debug information and/or using vmcoreinfo. The new ringbuffer is detected based on the availability of the "prb" symbol.
* Support newer kernels as follows:
- 5.10, 5.11, 5.12 (
x86_64SPARSEMEM)
Isn't 5.10 supported in Hardknott? Did any 5.10 kernel updates introduce a regression?
-armin
Quoted 81 lines
Signed-off-by Mingli Yu <[email protected]>--- ...1-makedumpfile-replace-hardcode-CFLAGS.patch | 17 +++++++++-------- ...edumpfile_1.6.8.bb => makedumpfile_1.6.9.bb} | 2 +- 2 files changed, 10 insertions(+), 9 deletions(-)rename meta-oe/recipes-kernel/makedumpfile/{makedumpfile_1.6.8.bb => makedumpfile_1.6.9.bb} (97%)
meta-oe/recipes-kernel/makedumpfile/makedumpfile/0001-makedumpfile-replace-hardcode-CFLAGS.patch +9
-8@@ -1,4 +1,4 @@ -From af97e2ad643334b4c7c3d66f971ce9ebb2b596af Mon Sep 17 00:00:00 2001 +From 1053cf25be28b266ba264705e11179cf4f04aa91 Mon Sep 17 00:00:00 2001 From: Mingli Yu <[email protected]> Date: Thu, 21 Jul 2016 18:06:21 +0800 Subject: [PATCH] makedumpfile: replace hardcode CFLAGS@@ -13,14 +13,15 @@ Subject: [PATCH] makedumpfile: replace hardcode CFLAGS Upstream-Status: Inappropriate[oe specific] Signed-off-by: Mingli Yu <[email protected]> + --- Makefile | 45 +++++++++++++++++++++++---------------------- 1 file changed, 23 insertions(+), 22 deletions(-) -Index: git/Makefile -=================================================================== ---- git.orig/Makefile -+++ git/Makefile +diff --git a/Makefile b/Makefile +index 6fa00bc..7aa7ae2 100644 +--- a/Makefile ++++ b/Makefile @@ -8,12 +8,6 @@ ifeq ($(strip $CC),) CC = gcc endif@@ -79,7 +80,7 @@ Index: git/Makefile + -DRELEASE_DATE='"$(DATE)"' + SRC_BASE = makedumpfile.c makedumpfile.h diskdump_mod.h sadump_mod.h sadump_info.h - SRC_PART = print_info.c dwarf_info.c elf_info.c erase_info.c sadump_info.c cache.c tools.c + SRC_PART = print_info.c dwarf_info.c elf_info.c erase_info.c sadump_info.c cache.c tools.c printk.c OBJ_PART=$(patsubst %.c,%.o,$(SRC_PART)) @@ -52,12 +53,12 @@ OBJ_ARCH=$(patsubst %.c,%.o,$(SRC_ARCH))@@ -104,7 +105,7 @@ Index: git/Makefile +CFLAGS_COMMON += -DUSESNAPPY endif - LIBS := -lpthread $(LIBS) + LIBS := $(LIBS) -lpthread @@ -90,14 +91,14 @@ LIBS := $(LIBS) $(call try-run,\ all: makedumpfile@@ -122,7 +123,7 @@ Index: git/Makefile echo .TH MAKEDUMPFILE 8 \"$(DATE)\" \"makedumpfile v$(VERSION)\" \"Linux System Administrator\'s Manual\" > temp.8 grep -v "^.TH MAKEDUMPFILE 8" $(VPATH)makedumpfile.8 >> temp.8 mv temp.8 makedumpfile.8 -@@ -108,7 +109,7 @@ makedumpfile: $(SRC_BASE) $(OBJ_PART) $( +@@ -108,7 +109,7 @@ makedumpfile: $(SRC_BASE) $(OBJ_PART) $(OBJ_ARCH) gzip -c ./makedumpfile.conf.5 > ./makedumpfile.conf.5.gz eppic_makedumpfile.so: extension_eppic.cmeta-oe/recipes-kernel/makedumpfile/makedumpfile_1.6.9.bb renamed from meta-oe/recipes-kernel/makedumpfile/makedumpfile_1.6.8.bb +1
-1@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" LICENSE = "GPLv2.0" SRCBRANCH ?= "master" -SRCREV = "18e0cdba48feeccea2429b3b0b2691f4314d1062" +SRCREV = "a9ad811c15e769c8e6d8d915a05cebc32f2ea2f5" DEPENDS = "bzip2 zlib elfutils xz" RDEPENDS_${PN}-tools = "perl ${PN}"
Hi Armin,
Quoted 11 lines · On 4/25/22 5:49 AM, akuster808 wrote:
[Please note: This e-mail is from an EXTERNAL e-mail address]
Quoted 8 lines · On 4/24/22 01:45, [email protected] wrote:
From: Mingli Yu <[email protected]>
* Linux 5.10 introduces a new lockless ringbuffer. The new ringbuffer is structured completely different to the previous iterations. Add support for retrieving the ringbuffer from debug information and/or using vmcoreinfo. The new ringbuffer is detected based on the availability of the "prb" symbol.
Quoted 6 lines
Quoted 3 lines
* Support newer kernels as follows:
- 5.10, 5.11, 5.12 (
x86_64SPARSEMEM)Isn't 5.10 supported in Hardknott? Did any 5.10 kernel updates introduce a regression?
FYI.
Thanks,
Quoted 93 lines
-armin
Quoted 90 lines
Signed-off-by Mingli Yu <[email protected]>---
...1-makedumpfile-replace-hardcode-CFLAGS.patch | 17 +++++++++-------- ...edumpfile_1.6.8.bb => makedumpfile_1.6.9.bb} | 2 +-2 files changed, 10 insertions(+), 9 deletions(-)rename meta-oe/recipes-kernel/makedumpfile/{makedumpfile_1.6.8.bb => makedumpfile_1.6.9.bb} (97%)
meta-oe/recipes-kernel/makedumpfile/makedumpfile/0001-makedumpfile-replace-hardcode-CFLAGS.patch +0
-0index
270cc3562..94eac931e100644
---a/meta-oe/recipes-kernel/makedumpfile/makedumpfile/0001-makedumpfile-replace-hardcode-CFLAGS.patch+++
b/meta-oe/recipes-kernel/makedumpfile/makedumpfile/0001-makedumpfile-replace-hardcode-CFLAGS.patchmeta-oe/recipes-kernel/makedumpfile/makedumpfile/0001-makedumpfile-replace-hardcode-CFLAGS.patch +1
-1@@ -1,4 +1,4 @@ -From af97e2ad643334b4c7c3d66f971ce9ebb2b596af Mon Sep 17 00:00:00 2001 +From 1053cf25be28b266ba264705e11179cf4f04aa91 Mon Sep 17 00:00:00 2001From: Mingli Yu <[email protected]>
Date: Thu, 21 Jul 2016 18:06:21 +0800
Subject: [PATCH] makedumpfile: replace hardcode CFLAGSmeta-oe/recipes-kernel/makedumpfile/makedumpfile/0001-makedumpfile-replace-hardcode-CFLAGS.patch +0
-0@@ -13,14 +13,15 @@ Subject: [PATCH] makedumpfile: replace hardcodeCFLAGS
Upstream-Status: Inappropriate[oe specific]Signed-off-by Mingli Yu <[email protected]>+
---
Makefile| 45 +++++++++++++++++++++++----------------------1 file changed, 23 insertions(+), 22 deletions(-)meta-oe/recipes-kernel/makedumpfile/makedumpfile/0001-makedumpfile-replace-hardcode-CFLAGS.patch +4
-4-Index: git/Makefile -=================================================================== ---- git.orig/Makefile -+++ git/Makefile +diff --git a/Makefile b/Makefile +index 6fa00bc..7aa7ae2 100644 +--- a/Makefile ++++ b/Makefile@@ -8,12 +8,6 @@ ifeq ($(strip $CC),)
CC = gcc
endifmeta-oe/recipes-kernel/makedumpfile/makedumpfile/0001-makedumpfile-replace-hardcode-CFLAGS.patch +0
-0@@ -79,7 +80,7 @@ Index: git/Makefile+ -DRELEASE_DATE='"$(DATE)"'
+
SRC_BASE=makedumpfile.cmakedumpfile.hdiskdump_mod.hsadump_mod.hsadump_info.h
-SRC_PART=print_info.cdwarf_info.celf_info.cerase_info.csadump_info.ccache.ctools.c
+SRC_PART=print_info.cdwarf_info.celf_info.cerase_info.csadump_info.ccache.ctools.cprintk.c
OBJ_PART=$(patsubst %.c,%.o,$(SRC_PART))
@@ -52,12 +53,12 @@ OBJ_ARCH=$(patsubst %.c,%.o,$(SRC_ARCH))meta-oe/recipes-kernel/makedumpfile/makedumpfile/0001-makedumpfile-replace-hardcode-CFLAGS.patch +0
-0@@ -104,7 +105,7 @@ Index: git/Makefile+CFLAGS_COMMON += -DUSESNAPPY
endif- LIBS := -lpthread $(LIBS)
+ LIBS := $(LIBS) -lpthread
@@ -90,14 +91,14 @@ LIBS := $(LIBS) $(call try-run,\
all: makedumpfilemeta-oe/recipes-kernel/makedumpfile/makedumpfile/0001-makedumpfile-replace-hardcode-CFLAGS.patch +0
-0@@ -122,7 +123,7 @@ Index: git/Makefileecho .TH MAKEDUMPFILE 8 \"$(DATE)\" \"makedumpfile v$(VERSION)\" \"Linux System Administrator\'s Manual\" > temp.8 grep -v "^.TH MAKEDUMPFILE 8" $(VPATH)makedumpfile.8 >> temp.8
mv temp.8 makedumpfile.8
-@@ -108,7 +109,7 @@ makedumpfile: $(SRC_BASE) $(OBJ_PART) $(
+@@ -108,7 +109,7 @@ makedumpfile: $(SRC_BASE) $(OBJ_PART) $(OBJ_ARCH)
gzip -c ./makedumpfile.conf.5 > ./makedumpfile.conf.5.gzeppic_makedumpfile.so:
extension_eppic.cmeta-oe/recipes-kernel/makedumpfile/makedumpfile_1.6.9.bb renamed from meta-oe/recipes-kernel/makedumpfile/makedumpfile_1.6.8.bb +0
-0@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM ="file://COPYING;md5=751419260aa954499f7abaabaa882bbe" LICENSE = "GPLv2.0"
SRCBRANCH ?= "master"
meta-oe/recipes-kernel/makedumpfile/makedumpfile_1.6.9.bb renamed from meta-oe/recipes-kernel/makedumpfile/makedumpfile_1.6.8.bb +1
-1-SRCREV = "18e0cdba48feeccea2429b3b0b2691f4314d1062" +SRCREV = "a9ad811c15e769c8e6d8d915a05cebc32f2ea2f5"DEPENDS = "bzip2 zlib elfutils xz"
RDEPENDS_${PN}-tools = "perl ${PN}"