Your message dated Fri, 02 Nov 2018 22:02:08 +0000
with message-id <[email protected]>
and subject line Bug#908852: fixed in grub2 2.02~beta3-5+deb9u1
has caused the Debian Bug report #908852,
regarding Debian Stretch can't be installed or booted on Apollo Lake systems.
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
908852: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=908852
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: grub-efi-amd64
Version: 2.02~beta3-5
Severity: important
Tags: d-i patch
There is a bug in the version of Grub2 shipped in Debian stable that renders
grub unable to boot in Apollo Lake systems (this are usually recent netbooks
or ultrabooks with Celeron/Atom CPUs).
The issue is that the EFI binary generated by Grub2 from Stretch hangs this
systems completely.
See: https://medium.com/@pawitp/grub-2-issue-on-intel-n4200-97c12d4db8af
The fix is simply to backport this patch
https://git.savannah.gnu.org/cgit/grub.git/commit/?id=446794de8da4329ea532cbee4ca877bcafd0e534
(which applies cleanly over the grub version in Stretch).
I think it will be a good idea to release a new version of Grub2 for stable
with this patch and generate a new image of the debian installer.
Otherwise it is impossible (well, not impossible, but very difficult) to
install Debian Stretch on this systems.
Note that Debian testing is not affected, as this patch is already included
there. The fix is only necessary for Stretch.
I attach a debdiff of a backport I did myself. I have verified that Debian
Stretch boots fine on my Yepo 737A laptop (Apollo Lake) with this new version
of Grub2.
diff -Nru grub2-2.02~beta3/debian/changelog grub2-2.02~beta3/debian/changelog
--- grub2-2.02~beta3/debian/changelog 2017-02-11 16:09:19.000000000 +0100
+++ grub2-2.02~beta3/debian/changelog 2018-09-15 01:51:02.000000000 +0200
@@ -1,3 +1,10 @@
+grub2 (2.02~beta3-6) stable; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix boot on Apollo Lake EFI systems.
+
+ -- Carlos Alberto Lopez Perez <[email protected]> Sat, 15 Sep 2018 01:51:02 +0200
+
grub2 (2.02~beta3-5) unstable; urgency=medium
[ Steve McIntyre ]
diff -Nru grub2-2.02~beta3/debian/patches/fix_boot_apollo_lake.patch grub2-2.02~beta3/debian/patches/fix_boot_apollo_lake.patch
--- grub2-2.02~beta3/debian/patches/fix_boot_apollo_lake.patch 1970-01-01 01:00:00.000000000 +0100
+++ grub2-2.02~beta3/debian/patches/fix_boot_apollo_lake.patch 2018-09-15 01:49:57.000000000 +0200
@@ -0,0 +1,31 @@
+From 446794de8da4329ea532cbee4ca877bcafd0e534 Mon Sep 17 00:00:00 2001
+From: "David E. Box" <[email protected]>
+Date: Fri, 15 Sep 2017 15:37:05 -0700
+Subject: tsc: Change default tsc calibration method to pmtimer on EFI systems
+
+On efi systems, make pmtimer based tsc calibration the default over the
+pit. This prevents Grub from hanging on Intel SoC systems that power gate
+the pit.
+
+Signed-off-by: David E. Box <[email protected]>
+Reviewed-by: Daniel Kiper <[email protected]>
+---
+ grub-core/kern/i386/tsc.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/grub-core/kern/i386/tsc.c b/grub-core/kern/i386/tsc.c
+index 2e85289..f266eb1 100644
+--- a/grub-core/kern/i386/tsc.c
++++ b/grub-core/kern/i386/tsc.c
+@@ -68,7 +68,7 @@ grub_tsc_init (void)
+ #ifdef GRUB_MACHINE_XEN
+ (void) (grub_tsc_calibrate_from_xen () || calibrate_tsc_hardcode());
+ #elif defined (GRUB_MACHINE_EFI)
+- (void) (grub_tsc_calibrate_from_pit () || grub_tsc_calibrate_from_pmtimer () || grub_tsc_calibrate_from_efi() || calibrate_tsc_hardcode());
++ (void) (grub_tsc_calibrate_from_pmtimer () || grub_tsc_calibrate_from_pit () || grub_tsc_calibrate_from_efi() || calibrate_tsc_hardcode());
+ #elif defined (GRUB_MACHINE_COREBOOT)
+ (void) (grub_tsc_calibrate_from_pmtimer () || grub_tsc_calibrate_from_pit () || calibrate_tsc_hardcode());
+ #else
+--
+cgit v1.0-41-gc330
+
diff -Nru grub2-2.02~beta3/debian/patches/series grub2-2.02~beta3/debian/patches/series
--- grub2-2.02~beta3/debian/patches/series 2017-02-11 16:03:45.000000000 +0100
+++ grub2-2.02~beta3/debian/patches/series 2018-09-15 01:50:47.000000000 +0200
@@ -57,3 +57,4 @@
efinet_set_network_from_uefi_devpath.patch
efinet_set_dns_from_uefi_proto.patch
grub-install-efibootmgr-check.patch
+fix_boot_apollo_lake.patch
signature.asc
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---
Source: grub2
Source-Version: 2.02~beta3-5+deb9u1
We believe that the bug you reported is fixed in the latest version of
grub2, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Colin Watson <[email protected]> (supplier of updated grub2 package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sun, 28 Oct 2018 19:18:13 +0000
Source: grub2
Binary: grub2 grub-linuxbios grub-efi grub-common grub2-common grub-emu
grub-emu-dbg grub-pc-bin grub-pc-dbg grub-pc grub-rescue-pc grub-coreboot-bin
grub-coreboot-dbg grub-coreboot grub-efi-ia32-bin grub-efi-ia32-dbg
grub-efi-ia32 grub-efi-amd64-bin grub-efi-amd64-dbg grub-efi-amd64
grub-efi-ia64-bin grub-efi-ia64-dbg grub-efi-ia64 grub-efi-arm-bin
grub-efi-arm-dbg grub-efi-arm grub-efi-arm64-bin grub-efi-arm64-dbg
grub-efi-arm64 grub-ieee1275-bin grub-ieee1275-dbg grub-ieee1275
grub-firmware-qemu grub-uboot-bin grub-uboot-dbg grub-uboot grub-xen-bin
grub-xen-dbg grub-xen grub-xen-host grub-yeeloong-bin grub-yeeloong-dbg
grub-yeeloong grub-theme-starfield grub-mount-udeb
Architecture: source
Version: 2.02~beta3-5+deb9u1
Distribution: stable
Urgency: medium
Maintainer: GRUB Maintainers <[email protected]>
Changed-By: Colin Watson <[email protected]>
Description:
grub-common - GRand Unified Bootloader (common files)
grub-coreboot - GRand Unified Bootloader, version 2 (Coreboot version)
grub-coreboot-bin - GRand Unified Bootloader, version 2 (Coreboot binaries)
grub-coreboot-dbg - GRand Unified Bootloader, version 2 (Coreboot debug files)
grub-efi - GRand Unified Bootloader, version 2 (dummy package)
grub-efi-amd64 - GRand Unified Bootloader, version 2 (EFI-AMD64 version)
grub-efi-amd64-bin - GRand Unified Bootloader, version 2 (EFI-AMD64 binaries)
grub-efi-amd64-dbg - GRand Unified Bootloader, version 2 (EFI-AMD64 debug
files)
grub-efi-arm - GRand Unified Bootloader, version 2 (ARM UEFI version)
grub-efi-arm-bin - GRand Unified Bootloader, version 2 (ARM UEFI binaries)
grub-efi-arm-dbg - GRand Unified Bootloader, version 2 (ARM UEFI debug files)
grub-efi-arm64 - GRand Unified Bootloader, version 2 (ARM64 UEFI version)
grub-efi-arm64-bin - GRand Unified Bootloader, version 2 (ARM64 UEFI binaries)
grub-efi-arm64-dbg - GRand Unified Bootloader, version 2 (ARM64 UEFI debug
files)
grub-efi-ia32 - GRand Unified Bootloader, version 2 (EFI-IA32 version)
grub-efi-ia32-bin - GRand Unified Bootloader, version 2 (EFI-IA32 binaries)
grub-efi-ia32-dbg - GRand Unified Bootloader, version 2 (EFI-IA32 debug files)
grub-efi-ia64 - GRand Unified Bootloader, version 2 (IA64 version)
grub-efi-ia64-bin - GRand Unified Bootloader, version 2 (IA64 binaries)
grub-efi-ia64-dbg - GRand Unified Bootloader, version 2 (IA64 debug files)
grub-emu - GRand Unified Bootloader, version 2 (emulated version)
grub-emu-dbg - GRand Unified Bootloader, version 2 (emulated debug files)
grub-firmware-qemu - GRUB firmware image for QEMU
grub-ieee1275 - GRand Unified Bootloader, version 2 (Open Firmware version)
grub-ieee1275-bin - GRand Unified Bootloader, version 2 (Open Firmware
binaries)
grub-ieee1275-dbg - GRand Unified Bootloader, version 2 (Open Firmware debug
files)
grub-linuxbios - GRand Unified Bootloader, version 2 (dummy package)
grub-mount-udeb - export GRUB filesystems using FUSE (udeb)
grub-pc - GRand Unified Bootloader, version 2 (PC/BIOS version)
grub-pc-bin - GRand Unified Bootloader, version 2 (PC/BIOS binaries)
grub-pc-dbg - GRand Unified Bootloader, version 2 (PC/BIOS debug files)
grub-rescue-pc - GRUB bootable rescue images, version 2 (PC/BIOS version)
grub-theme-starfield - GRand Unified Bootloader, version 2 (starfield theme)
grub-uboot - GRand Unified Bootloader, version 2 (ARM U-Boot version)
grub-uboot-bin - GRand Unified Bootloader, version 2 (ARM U-Boot binaries)
grub-uboot-dbg - GRand Unified Bootloader, version 2 (ARM U-Boot debug files)
grub-xen - GRand Unified Bootloader, version 2 (Xen version)
grub-xen-bin - GRand Unified Bootloader, version 2 (Xen binaries)
grub-xen-dbg - GRand Unified Bootloader, version 2 (Xen debug files)
grub-xen-host - GRand Unified Bootloader, version 2 (Xen host version)
grub-yeeloong - GRand Unified Bootloader, version 2 (Yeeloong version)
grub-yeeloong-bin - GRand Unified Bootloader, version 2 (Yeeloong binaries)
grub-yeeloong-dbg - GRand Unified Bootloader, version 2 (Yeeloong debug files)
grub2 - GRand Unified Bootloader, version 2 (dummy package)
grub2-common - GRand Unified Bootloader (common files for version 2)
Closes: 871772 908852
Changes:
grub2 (2.02~beta3-5+deb9u1) stable; urgency=medium
.
* grub-mknetdir: Add support for ARM64 EFI (closes: #871772).
* Cherry-pick upstream patch to change the default TSC calibration method
to pmtimer on EFI systems (closes: #908852).
Checksums-Sha1:
17f511ad4b3e29cd07a2c74d03b5ed1f42fc42e4 6270 grub2_2.02~beta3-5+deb9u1.dsc
3ba2e2c9bc926a3a20673bba42032331a8c1c9df 1024740
grub2_2.02~beta3-5+deb9u1.debian.tar.xz
99e0518b22f6106cff56fcb8108bfea75e3f0f4f 14676
grub2_2.02~beta3-5+deb9u1_source.buildinfo
Checksums-Sha256:
121df726c9f7cc35bfebdb3d5784ad2d75c4882f2aff0adc46f72b63b7da6fd2 6270
grub2_2.02~beta3-5+deb9u1.dsc
4eb88e99808b3de9ee177ce097cbb17f13ca99ec2d62ecd326163395b95e1067 1024740
grub2_2.02~beta3-5+deb9u1.debian.tar.xz
ce47a9ae6a33328f6ec5f1a387f5e2da740440073c81cc14297278db2d2c111b 14676
grub2_2.02~beta3-5+deb9u1_source.buildinfo
Files:
99fd3799fa9fe304e9dbba7e329bf00b 6270 admin extra grub2_2.02~beta3-5+deb9u1.dsc
7939d9b341f83d2b688e8d8d230b6f9d 1024740 admin extra
grub2_2.02~beta3-5+deb9u1.debian.tar.xz
1aedfbd22661be545bd364923e5c854e 14676 admin extra
grub2_2.02~beta3-5+deb9u1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEErApP8SYRtvzPAcEROTWH2X2GUAsFAlvcN7gACgkQOTWH2X2G
UAuxFw/+PHN4yXl2GlCUayOHj/x7yIfrmnLx19+rTdY5TY5vFLzR1v+4Ixv7eTpv
/5ABw/MrTXEmLrLmiY00PBrLj26mM73BEq2O2P7FYti/9XbdxEtiSC+n0HTYMe3V
pzYQvmm/qtbBKcqRTfhfOzXBjG7QqA0OKGZ4CDM+Bf+ukFbTHbz3qD252dIKSnc5
rSc09lrY2Xor+yqbnMRDeHf/PwE3Be8JwMsEq7wXyxCEGxFKFvO9KLkdvmSpL4A5
SnpbSRhllskaFiiIueJlgxIgqcALCreVYSAni2wRsex5cTAsJt7ARUUG0q2E5xz5
BsIADKh+/h/kzRTEntCKTfLyMxgrdvp/mwcN4wKit7z6OwVllmu8DjPTxBpph18a
ofDjJyUbETHRLTSD4t9TQvx+zlelBxC0vDHlN43mYyKBs/xHfuglvbCFp1chIl8G
Gib7aEhGSAPBZYSr6XTYLl+fQZntO0IVbc6CJVAS6z27ZY4yA66WovZ3cR6//7KH
t0ueg/JP4XW7c5GXCmErwCvXM+hYDm6ponXFxyViwHVKTUbyL93xp/BDK4KHcVNY
ZYFF5pwWTCzCVJNmvZGn3LluMgFrcLWgNF5r7GVJ4qqTNfG+VXFcZxrEzUW1wBig
P+uFkVv2yB5GZI0/O6mB2HU4xaV+fu+ECAI5JYhdgmGSndolwNk=
=n5o/
-----END PGP SIGNATURE-----
--- End Message ---