Date: Wed, 15 Feb 2017 05:18:42 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 211746] [Hyper-V] UEFI VM can't boot from the iso installation disk Message-ID: <bug-211746-27103-nKkY9ZDjNr@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-211746-27103@https.bugs.freebsd.org/bugzilla/> References: <bug-211746-27103@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211746 Dexuan Cui <decui@microsoft.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kib@FreeBSD.org --- Comment #11 from Dexuan Cui <decui@microsoft.com> --- (In reply to Dexuan Cui from comment #9) In efi_copy_finish(), I added the below new line=20 while (src < last) { + printf("trying to write: %lx(%p) to %lx(%p)\n", *src, src, *dst, dst); *dst++ =3D *src++; } and got the below log ... trying to write: 0(0xf653dfb0) to 0(0x2f72fb0) trying to write: 0(0xf653dfb8) to 0(0x2f72fb8) trying to write: 0(0xf653dfc0) to 0(0x2f72fc0) trying to write: 0(0xf653dfc8) to 0(0x2f72fc8) trying to write: 0(0xf653dfd0) to 0(0x2f72fd0) trying to write: 0(0xf653dfd8) to 0(0x2f72fd8) trying to write: 0(0xf653dfe0) to 0(0x2f72fe0) trying to write: 0(0xf653dfe8) to 0(0x2f72fe8) trying to write: 0(0xf653dff0) to 0(0x2f72ff0) trying to write: 0(0xf653dff8) to 0(0x2f72ff8) trying to write: 0(0xf653e000) to 2f74023(0x2f73000) This means the crash happened when dst=3D=3D0x2f73000, i.e. the first 8-byt= es of the BootServicesData. I suspect Hyper-V has a mechanism to mark the range of memory as read-only. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-211746-27103-nKkY9ZDjNr>