Date: Fri, 3 Mar 2017 11:49:31 +0000 From: Dexuan Cui <decui@microsoft.com> To: Alex Deiter <alex.deiter@gmail.com>, Chris H <bsd-lists@bsdforge.com> Cc: 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: <MWHPR03MB266958E7CEA4F1B0780932A4BF2B0@MWHPR03MB2669.namprd03.prod.outlook.com> In-Reply-To: <E46FA7A7-9B98-4104-A41B-1BBFB121ECD0@gmail.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>
index | next in thread | previous in thread | raw e-mail
> From: Alex Deiter > Sent: Friday, March 3, 2017 17:22 > > Hello, > The same issue with FreeBSD 12.0-CURRENT-r314563: > elf64_loadimage: could not read symbols - skipped! > > I suspect regression after: > > 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 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=211746 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. Can you please try the patch to dump the memory map? https://github.com/dcui/freebsd/commit/6094aac8ac9bddb24e3ac45493ac020c94029ce8.patch 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. :-) 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 Thanks, -- Dexuanhelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?MWHPR03MB266958E7CEA4F1B0780932A4BF2B0>
