Debian

Available patches from Ubuntu

To see Ubuntu differences wrt. to Debian, write down a grep-dctrl query identifying the packages you're interested in:
grep-dctrl -n -sPackage Sources.Debian
(e.g. -FPackage linux-ntfs or linux-ntfs)

Modified packages are listed below:

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: makedumpfile

makedumpfile (1:1.6.7-4ubuntu1) groovy; urgency=low * Merge from Debian unstable. Remaining changes: - debian/control/tests: sleep while waiting for systemd service. - Bump amd64 crashkernel from 384M-:128M to 512M-:192M. - Add a systemd-resolved service dependency in order kdump-tools is able to resolve DNS when in kdump boot. - d/p/0003-align_PMD_SECTION_MASK_with_PHYS_MASK.patch -- Gianfranco Costamagna <locutusofborg@debian.org> Wed, 12 Aug 2020 10:53:22 +0200

Modifications :
  1. Download patch debian/patches/0003-align_PMD_SECTION_MASK_with_PHYS_MASK.patch

    --- 1:1.6.7-4/debian/patches/0003-align_PMD_SECTION_MASK_with_PHYS_MASK.patch 1970-01-01 00:00:00.000000000 +0000 +++ 1:1.6.7-4ubuntu1/debian/patches/0003-align_PMD_SECTION_MASK_with_PHYS_MASK.patch 2020-06-04 13:36:01.000000000 +0000 @@ -0,0 +1,34 @@ +From: Michal Suchanek <msuchanek@suse.de> +Origin: Upstream, https://github.com/makedumpfile/makedumpfile/commit/7242ae4cb5288df626f464ced0a8b60fd669100b +Bug-Ubuntu: https://bugs.launchpad.net/bugs/1869465 +Date: Mon, 16 Mar 2020 19:39:58 +0100 +Subject: [PATCH] Align PMD_SECTION_MASK with PHYS_MASK + +Reportedly on some arm64 systems makedumpfile loops forever exhausting +all memory when filtering kernel core. It turns out the reason is it +cannot resolve some addresses because the PMD mask is wrong. When +physical address mask allows up to 48bits pmd mask should allow the +same. +I suppose you would need a system that needs physical addresses over 1TB +to be able to reproduce this. This may be either because you have a lot +of memory or because the firmware mapped some memory above 1TB for some +reason. + +Signed-off-by: Michal Suchanek <msuchanek@suse.de> +--- + arch/arm64.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +Index: makedumpfile-1.6.7/arch/arm64.c +=================================================================== +--- makedumpfile-1.6.7.orig/arch/arm64.c ++++ makedumpfile-1.6.7/arch/arm64.c +@@ -81,7 +81,7 @@ static unsigned long kimage_voffset; + * Remove the highest order bits that are not a part of the + * physical address in a section + */ +-#define PMD_SECTION_MASK ((1UL << 40) - 1) ++#define PMD_SECTION_MASK ((1UL << PHYS_MASK_SHIFT) - 1) + + #define PMD_TYPE_MASK 3 + #define PMD_TYPE_SECT 1
  2. Download patch debian/kdump-tools-dump.service

    --- 1:1.6.7-4/debian/kdump-tools-dump.service 2020-08-04 20:21:46.000000000 +0000 +++ 1:1.6.7-4ubuntu1/debian/kdump-tools-dump.service 2020-08-12 03:13:08.000000000 +0000 @@ -1,7 +1,7 @@ [Unit] Description=Kernel crash dump capture service -Wants=network-online.target -After=network-online.target +Wants=network-online.target dbus.socket systemd-resolved.service +After=network-online.target dbus.socket systemd-resolved.service [Service] Type=oneshot
  3. Download patch debian/patches/series

    --- 1:1.6.7-4/debian/patches/series 2020-08-04 20:21:46.000000000 +0000 +++ 1:1.6.7-4ubuntu1/debian/patches/series 2020-08-12 03:13:08.000000000 +0000 @@ -1,2 +1,3 @@ 0002-adapt-makefile-to-debian.patch 0002-PATCH-Remove-duplicated-variable-definitions.patch +0003-align_PMD_SECTION_MASK_with_PHYS_MASK.patch
  4. Download patch debian/tests/crash

    --- 1:1.6.7-4/debian/tests/crash 2020-08-04 20:21:46.000000000 +0000 +++ 1:1.6.7-4ubuntu1/debian/tests/crash 2020-08-12 03:13:08.000000000 +0000 @@ -25,6 +25,7 @@ function wait_for_systemd_service() ! systemctl is-failed kdump-tools && [ $TIMEOUT -gt 0 ] ; do TIMEOUT=$((TIMEOUT - 1)) + sleep 1 done } @@ -57,8 +58,13 @@ case "$AUTOPKGTEST_REBOOT_MARK" in report "waiting for kdump-tools systemd service" wait_for_systemd_service if systemctl is-failed kdump-tools; then + systemctl status kdump-tools error "kdump-tools systemd service failed" fi + if ! systemctl is-active kdump-tools; then + systemctl status kdump-tools + error "kdump-tools systemd service is not active" + fi report "checking kdump-config status" if ! kdump-config status | grep ": ready to kdump" > /dev/null; then error "kdump is not ready"
  5. Download patch debian/kdump-tools.grub.default

    --- 1:1.6.7-4/debian/kdump-tools.grub.default 2020-08-04 20:21:46.000000000 +0000 +++ 1:1.6.7-4ubuntu1/debian/kdump-tools.grub.default 2020-08-12 03:13:08.000000000 +0000 @@ -1 +1 @@ -GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT crashkernel=384M-:128M" +GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT crashkernel=512M-:192M"
  1. makedumpfile