Your message dated Thu, 20 Aug 2015 14:06:14 +0000
with message-id <[email protected]>
and subject line Bug#780765: fixed in syslinux 3:6.03+dfsg-5+deb8u1
has caused the Debian Bug report #780765,
regarding syslinux fixes for Chromebooks
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.)
--
780765: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=780765
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: syslinux
Version: 3:6.03+dfsg-5
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu vivid ubuntu-patch
Hi Daniel,
In Ubuntu, my attention was recently called to a problem with syslinux 6.03
not booting correctly on Chromebooks. To fix this problem, I've applied two
patches to the Ubuntu package taken from the upstream mailing list. You may
find it beneficial to apply these patches to the Debian package as well.
The changelog for the upload to Ubuntu is:
* debian/patches/relocatable-kernel-loads.patch: load_linux: relocate
protected-mode code as intended. Thanks to Scot Doyle
<[email protected]>. Closes LP: #1429323.
* debian/patches/load_linux-correct-type.patch: load_linux: correct a
type. Thanks to Scot Doyle <[email protected]>.
Thanks for considering the patch.
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer http://www.debian.org/
[email protected] [email protected]
diff -Nru syslinux-6.03+dfsg/debian/changelog syslinux-6.03+dfsg/debian/changelog
diff -Nru syslinux-6.03+dfsg/debian/patches/load_linux-correct-type.patch syslinux-6.03+dfsg/debian/patches/load_linux-correct-type.patch
--- syslinux-6.03+dfsg/debian/patches/load_linux-correct-type.patch 1969-12-31 16:00:00.000000000 -0800
+++ syslinux-6.03+dfsg/debian/patches/load_linux-correct-type.patch 2015-03-18 16:11:07.000000000 -0700
@@ -0,0 +1,29 @@
+Author: Scot Doyle <[email protected]>
+Description: load_linux: correct a type
+ Correct base's type to match its initialization from prot_mode_base and
+ passage to syslinux_memmap_find(). Tested with extlinux.
+Signed-off-by: Scot Doyle <[email protected]>
+Forwarded: http://www.syslinux.org/archives/2015-February/023179.html
+
+---
+ com32/lib/syslinux/load_linux.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/com32/lib/syslinux/load_linux.c b/com32/lib/syslinux/load_linux.c
+index 06ae2a9..ac73729 100644
+--- a/com32/lib/syslinux/load_linux.c
++++ b/com32/lib/syslinux/load_linux.c
+@@ -155,8 +155,8 @@ int bios_boot_linux(void *kernel_buf, size_t kernel_size,
+ char *cmdline)
+ {
+ struct linux_header hdr, *whdr;
+- size_t real_mode_size, prot_mode_size, base;
+- addr_t real_mode_base, prot_mode_base, prot_mode_max;
++ size_t real_mode_size, prot_mode_size;
++ addr_t real_mode_base, prot_mode_base, prot_mode_max, base;
+ addr_t irf_size;
+ size_t cmdline_size, cmdline_offset;
+ struct setup_data *sdp;
+--
+2.3.0-rc2
+
diff -Nru syslinux-6.03+dfsg/debian/patches/relocatable-kernel-loads.patch syslinux-6.03+dfsg/debian/patches/relocatable-kernel-loads.patch
--- syslinux-6.03+dfsg/debian/patches/relocatable-kernel-loads.patch 1969-12-31 16:00:00.000000000 -0800
+++ syslinux-6.03+dfsg/debian/patches/relocatable-kernel-loads.patch 2015-03-18 16:10:47.000000000 -0700
@@ -0,0 +1,38 @@
+Author: Scot Doyle <[email protected]>
+Description: load_linux: relocate protected-mode code as intended
+ If the kernel is relocatable and the protected mode code will not fit
+ in the initially determined location, that code will be moved to the
+ next available location. However, beginning with commit 8f470e7b, the
+ code is moved to the initially determined location instead of the next
+ available location because prot_mode_base is no longer updated to the
+ correct location. Since whdr->code32_start is updated, it is pointing
+ to the wrong execution start location, random code is executed and
+ the machine is rebooted.
+ .
+ Restore the old behavior by assigning prot_mode_base the value of
+ base. Tested on a machine that exposed this behavior.
+Signed-off-by: Scot Doyle <[email protected]>
+Bug-Ubuntu: https://bugs.launchpad.net/bugs/1429323
+Forwarded: http://www.syslinux.org/archives/2015-February/023209.html
+
+---
+This patch may be applied in addition to "load_linux: correct a type"
+
+ com32/lib/syslinux/load_linux.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/com32/lib/syslinux/load_linux.c b/com32/lib/syslinux/load_linux.c
+index 06ae2a9..5cecef4 100644
+--- a/com32/lib/syslinux/load_linux.c
++++ b/com32/lib/syslinux/load_linux.c
+@@ -323,6 +323,7 @@ int bios_boot_linux(void *kernel_buf, size_t kernel_size,
+ }
+
+ whdr->code32_start += base - prot_mode_base;
++ prot_mode_base = base;
+
+ /* Real mode code */
+ if (syslinux_memmap_find(amap, &real_mode_base,
+--
+2.3.0-rc2
+
diff -Nru syslinux-6.03+dfsg/debian/patches/series syslinux-6.03+dfsg/debian/patches/series
--- syslinux-6.03+dfsg/debian/patches/series 2014-12-07 11:51:56.000000000 -0800
+++ syslinux-6.03+dfsg/debian/patches/series 2015-03-18 16:09:21.000000000 -0700
@@ -2,3 +2,5 @@
0002-gfxboot-menu-label.patch
0003-extlinux-manpage.patch
0004-gnu-efi-git.patch
+relocatable-kernel-loads.patch
+load_linux-correct-type.patch
--- End Message ---
--- Begin Message ---
Source: syslinux
Source-Version: 3:6.03+dfsg-5+deb8u1
We believe that the bug you reported is fixed in the latest version of
syslinux, 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.
intrigeri <[email protected]> (supplier of updated syslinux 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: SHA512
Format: 1.8
Date: Wed, 19 Aug 2015 15:41:54 CEST
Source: syslinux
Binary: syslinux syslinux-efi extlinux isolinux pxelinux syslinux-common
syslinux-utils
Architecture: source all
Version: 3:6.03+dfsg-5+deb8u1
Distribution: jessie
Urgency: low
Maintainer: Daniel Baumann <[email protected]>
Changed-By: intrigeri <[email protected]>
Description:
extlinux - collection of bootloaders (Linux ext2/ext3/ext4, btrfs, and xfs b
isolinux - collection of bootloaders (ISO 9960 bootloader)
pxelinux - collection of bootloaders (PXE network bootloader)
syslinux - collection of bootloaders (DOS FAT and NTFS bootloader)
syslinux-common - collection of bootloaders (common)
syslinux-efi - collection of bootloaders (UEFI bootloader)
syslinux-utils - collection of bootloaders (utilities)
Closes: 780765
Changes:
syslinux (3:6.03+dfsg-5+deb8u1) jessie; urgency=low
.
* Cherry-pick upstream patches that fix booting on some Chromebooks
(Closes: #780765):
- 0005-load-linux-correct-type.patch
- 0006-load-linux-protected-mode.patch
Checksums-Sha256:
56d947cf2df77215d5ef1c5bb271c821a20110d2724de5bdfd49f4ff35c0b5d0 2316
syslinux_6.03+dfsg-5+deb8u1.dsc
f23b7b1ef1d3bb3bcee19888cea4e00a8b7193647905c0d034ed25dc50f031c9 30476
syslinux_6.03+dfsg-5+deb8u1.debian.tar.xz
218b9ef95862ee5f5823bf04f627c40fa6f5cde7a2fb205190ad574ac131a1f9 186194
syslinux-efi_6.03+dfsg-5+deb8u1_all.deb
998c9b21f8bd8dbf4936b491f41c29ab803710d8209304b6595d5082729bbc89 92532
isolinux_6.03+dfsg-5+deb8u1_all.deb
db359607c8ec40a5a5cfc3b46857eaf5ea181887a58724d41fd15240ad966f1c 229444
pxelinux_6.03+dfsg-5+deb8u1_all.deb
bf84a3f7a6aa14e0195a3e9ea3dbb898a52f7fec62285d77489b7e10557bca47 1229500
syslinux-common_6.03+dfsg-5+deb8u1_all.deb
Checksums-Sha1:
bf017ed8d8e3368d4cb30d4235a4d99a0ece046c 2316 syslinux_6.03+dfsg-5+deb8u1.dsc
f134fd5546d6f94453ed9505fbba250142b60864 30476
syslinux_6.03+dfsg-5+deb8u1.debian.tar.xz
746dcab8365b8e729739553219395ba12e67c62c 186194
syslinux-efi_6.03+dfsg-5+deb8u1_all.deb
6c1676213578232d9ec84a572b4211f538c09336 92532
isolinux_6.03+dfsg-5+deb8u1_all.deb
29e8647844dbef7b00983b6320d8301cb1302cdc 229444
pxelinux_6.03+dfsg-5+deb8u1_all.deb
167f221505c7063ec5ad6a9f8649196e2e87c26b 1229500
syslinux-common_6.03+dfsg-5+deb8u1_all.deb
Files:
dde738f802cdaa03542a254f4a25c7dd 2316 admin optional
syslinux_6.03+dfsg-5+deb8u1.dsc
6c3b0b2d657206b82f57a5c84bfdc797 30476 admin optional
syslinux_6.03+dfsg-5+deb8u1.debian.tar.xz
2eb80ba55fa90b770225d33191963170 186194 admin optional
syslinux-efi_6.03+dfsg-5+deb8u1_all.deb
2e54074a84530a4f1dbc3f627892158a 92532 admin optional
isolinux_6.03+dfsg-5+deb8u1_all.deb
774d1124d5749530ccb79d119d6ccf96 229444 admin optional
pxelinux_6.03+dfsg-5+deb8u1_all.deb
a2af48399e04bb57aaf79fd790eef859 1229500 admin optional
syslinux-common_6.03+dfsg-5+deb8u1_all.deb
-----BEGIN PGP SIGNATURE-----
iQIcBAEBCgAGBQJV1ZVjAAoJEA3CYk+oqzce8HwP/AqXfJ8nOu2QuzMAIjT1i9ww
zBk6AhcTvuAvdLC2r5k94sWJfddHjEljiDWC78qxhUrRdrKmOxB4CvLNSWv3aSMc
hJtVZ2SrXI7r2UUpcHl78RGh3uy0OPpecprUIKMfynEeJ+pz/BpQxNR0v3zKFznQ
fhGPycBJr0NQ6t0KgeblLmgNilAm1rUx18es/OPlb/5IEpB0OLSLUQ1CUni7zOq4
2CY214FIHi7N5v/qVwwGKAvZxX6/tbXLTQiDrwztB8oNRJrzx/EniGVsYjNF1EmT
85hbB200rIykENSAItNjAaCZKzl4iYAaBVGNbnrT3ePwH2I10duLd8MREygMwavp
Fxw6XRvfhPEARDX7DvZRgYHLRJOMPq4EpT7zTrRTmvvcfu18h9oMxfULlEj5I1zQ
dYCApC08dfz5jyf55XlLHBIRupvkBNB84H3qvuKlxY1kRkZgoOIFWGznomTLec5m
UNKr4GUYmpz1hVJb+8h8iwrTYCHkFWTDIpMmgUpDxn2xVQus6lqzWRCCDJ4QhLqL
jFuZOilCFLPjqRls3zcJK6j4fpF6GMfsW2Bke/L/9P/X3MMNSYqctxyNegRoSX3q
rSU3/uw+eEZ9atNadOL4KGZZ8DS24npkFsnrveam/eRgDxqHn9Qmf3b7F9VIkX/F
I1Ocqw3f33zvHrHyq5Vr
=cZY6
-----END PGP SIGNATURE-----
--- End Message ---