From: Thomas Lamprecht <t.lamprecht@proxmox.com>
To: Proxmox VE development discussion <pve-devel@lists.proxmox.com>,
Fiona Ebner <f.ebner@proxmox.com>
Subject: [pve-devel] applied: [PATCH edk2-firmware] add patch to work around older guest kernel bug
Date: Tue, 6 Jun 2023 16:26:16 +0200 [thread overview]
Message-ID: <5ef14027-21ba-53d6-1520-5b11cb5e3434@proxmox.com> (raw)
In-Reply-To: <20230605074350.98641-1-f.ebner@proxmox.com>
nit: a slightly more telling subject could have been something like:
backport limiting the phys-bits to 46 for bug in old guest kernel
Am 05/06/2023 um 09:43 schrieb Fiona Ebner:
> by limiting the phys-bits to 46 instead of 47. On Ubuntu 18.04 with
> kernel 4.15, using 47 leads to a strange issue where initialization of
> VirtIO devices would fail.
>
> Reported in the community forum:
> https://forum.proxmox.com/threads/127410/
>
> Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
> ---
> ...latformInitLib-limit-phys-bits-to-46.patch | 46 +++++++++++++++++++
> debian/patches/series | 1 +
> 2 files changed, 47 insertions(+)
> create mode 100644 debian/patches/0001-OvmfPkg-PlatformInitLib-limit-phys-bits-to-46.patch
>
>
applied, but fixed line endings of patch, edk2 (sadly) uses Windows-Style \r\n,
but the patch only got \n, so failed building a DSC:
cd pve-edk2-firmware-3.20230228; dpkg-buildpackage -S -uc -us -d
# ...
patching file OvmfPkg/Library/PlatformInitLib/MemDetect.c
Hunk #1 FAILED at 657 (different line endings).
1 out of 1 hunk FAILED
dpkg-source: info: the patch has fuzz which is not allowed, or is malformed
dpkg-source: info: if patch '0001-OvmfPkg-PlatformInitLib-limit-phys-bits-to-46.patch' is correctly applied by quilt, use 'quilt refresh' to update it
dpkg-source: info: if the file is present in the unpacked source, make sure it is also present in the orig tarball
dpkg-source: info: restoring quilt backup files for 0001-OvmfPkg-PlatformInitLib-limit-phys-bits-to-46.patch
dpkg-source: error: LC_ALL=C patch -t -F 0 -N -p1 -u -V never -E -b -B .pc/0001-OvmfPkg-PlatformInitLib-limit-phys-bits-to-46.patch/ --reject-file=- < pve-edk2-firmware-3.20230228/debian/patches/0001-OvmfPkg-PlatformInitLib-limit-phys-bits-to-46.patch subprocess returned exit status 1
next prev parent reply other threads:[~2023-06-06 14:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-05 7:43 [pve-devel] " Fiona Ebner
2023-06-06 14:26 ` Thomas Lamprecht [this message]
2023-06-07 9:04 ` [pve-devel] applied: " Fiona Ebner
2023-06-07 10:12 ` Fiona Ebner
2023-06-07 10:25 ` Thomas Lamprecht
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5ef14027-21ba-53d6-1520-5b11cb5e3434@proxmox.com \
--to=t.lamprecht@proxmox.com \
--cc=f.ebner@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox