Bug 153081
Summary: | CRASH kernel 4.7.3/stable + Xen on UEFI boot OOPS. patch ID'd & tested | ||
---|---|---|---|
Product: | Platform Specific/Hardware | Reporter: | lssl (lists) |
Component: | x86-64 | Assignee: | EFI Virtual User (efi) |
Status: | NEW --- | ||
Severity: | high | CC: | dvrabel, ijc, jbeulich, jeffm, konrad.wilk, lists, matt, tiwai, virtualization_xen |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 4.7.3-1.g7ad9c1d | Subsystem: | |
Regression: | Yes | Bisected commit-id: |
Description
lssl
2016-08-14 15:14:08 UTC
Noting http://news.softpedia.com/news/linux-kernel-4-7-gets-its-first-point-release-brings-ext4-and-x86-improvements-507359.shtml "I'm announcing the release of the 4.7.1 kernel. All users of the 4.7 kernel series must upgrade," says Greg Kroah-Hartman upgrading from Loading Xen 4.7.0_10-455 with Linux 4.7.0-8.gb560f9f-default (no patch) to Loading Xen 4.7.0_10-455 with Linux 4.7.1-1.g61bf3f1-default (no patch) the crash persists. otoh, boot without Xen to Linux 4.7.1-1.g61bf3f1-default (no patch) is OK. verifying that a locally-patched kernel Loading Xen 4.7.0_10-455 with Linux 4.7.1-2.g61bf3f1-default (patched) works xl list Name ID Mem VCPUs State Time(s) Domain-0 0 2048 1 r----- 306.1 test 1 2049 1 -b---- 22.8 Confirming that kernel 4.7.1-5.4.g61bf3f1 patched with a yet again slightly modified patch [PATCH 1/6] efi: Make for_each_efi_memory_desc_in_map() cope with running on Xen https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1213847.html diff --git a/include/linux/efi.h b/include/linux/efi.h index 7f5a58225385..23cd3ced8c1a 100644 --- a/include/linux/efi.h +++ b/include/linux/efi.h @@ -946,7 +946,7 @@ extern int efi_memattr_apply_permissions(struct mm_struct *mm, /* Iterate through an efi_memory_map */ #define for_each_efi_memory_desc_in_map(m, md) \ for ((md) = (m)->map; \ - ((void *)(md) + (m)->desc_size) <= (m)->map_end; \ + (md) && ((void *)(md) + (m)->desc_size) <= (m)->map_end; \ (md) = (void *)(md) + (m)->desc_size) /** also works it'd be helpful to get this backported into 4.7.x/stable sources upgrade to kernel 4.7.2-4.g34ba8d6 still requires the patch to boot xen patch applies, with offset, & works same for 4.7.3. Is this going to be backported to 4.7 branch by upstream? It's not being addressed by the distro. Should we just write off using "stable" kernel 4.7 branch as WONTFIX, and wait for 4.8? |