Date: Fri, 3 Mar 2017 19:15:56 +0300 From: Alex Deiter <alex.deiter@gmail.com> To: Dexuan Cui <decui@microsoft.com> Cc: Chris H <bsd-lists@bsdforge.com>, freebsd-current <freebsd-current@freebsd.org>, "dexuan@freebsd.org" <dexuan@freebsd.org>, "marcel@freebsd.org" <marcel@freebsd.org>, "kib@freebsd.org" <kib@freebsd.org>, Sepherosa Ziehau <sephe@freebsd.org> Subject: Re: Boot failure - svn up from this morning Message-ID: <B519B9A0-BBF9-45A8-8D2F-0F63FE3B4C59@gmail.com> In-Reply-To: <MWHPR03MB266958E7CEA4F1B0780932A4BF2B0@MWHPR03MB2669.namprd03.prod.outlook.com> References: <alpine.BSF.2.20.1703022145590.27580@mail.neu.net> <ad4fcc3e2df6b2fc422004621c2de329@ultimatedns.net> <4D3C46D7-3EBF-47AE-BFFE-37ECEA4721FD@gmail.com> <a49d5cc64aeb8fd414d3e04073d05474@ultimatedns.net> <E46FA7A7-9B98-4104-A41B-1BBFB121ECD0@gmail.com> <MWHPR03MB266958E7CEA4F1B0780932A4BF2B0@MWHPR03MB2669.namprd03.prod.outlook.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello Dexuan, Thank you for the patch! I=E2=80=99ll test it and let you know the result. Thank you! Alex Deiter alex.deiter@gmail.com > On 3 Mar 2017, at 14:49, Dexuan Cui <decui@microsoft.com> wrote: >=20 >> From: Alex Deiter >> Sent: Friday, March 3, 2017 17:22 >>=20 >> Hello, >> The same issue with FreeBSD 12.0-CURRENT-r314563: >> elf64_loadimage: could not read symbols - skipped! >>=20 >> I suspect regression after: >>=20 >> Revision 314547 - Directory Listing >> Modified Thu Mar 2 07:25:50 2017 UTC (25 hours, 54 minutes ago) by = dexuan >> loader.efi: reduce the size of the staging area if necessary >=20 > Yes, I believe the issue is caused by the patch, which is supposed to = PR 211746: > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211746 >=20 > Sorry for causing the issue to you, but I suspect the patch reveals a = bug in your > host's firmware: the memory map reported by the host's firmware may be > incorrect. >=20 > Can you please try the patch to dump the memory map? > = https://github.com/dcui/freebsd/commit/6094aac8ac9bddb24e3ac45493ac020c940= 29ce8.patch >=20 > And the patch will allow your host to boot. > Note: there is a 10-second pause every time 5 lines are printed. This = is to make > sure we have enough time to take a screenshot or photo. :-) >=20 > About how to apply the patch and build/install it: > 'wget' the above patch, and 'cd' into your = FREEBSD_SOURCE_ROOT/sys/boot/ and run > "patch -p3 < the_patch_name". If you have run 'make buildworld", just = run 'make' in the > sys/boot/ directory and copy the new loader.efi into the boot folder, = e.g. in my side, I > use > cp -iv /usr/obj/root/bsd.git/sys/boot/efi/loader/loader.efi = /boot/loader.efi >=20 > Thanks, > -- Dexuan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B519B9A0-BBF9-45A8-8D2F-0F63FE3B4C59>