[Bug 211746] [Hyper-V] UEFI VM can't boot from the iso installation disk

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Feb 16 12:08:54 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211746

--- Comment #14 from Dexuan Cui <decui at microsoft.com> ---
BTW, anyone knows how to change the kernel base address (physical address)?

Currently it should be 2MB, and I tried to change it to 128MB like this:

--- a/sys/conf/ldscript.amd64
+++ b/sys/conf/ldscript.amd64
 SECTIONS
 {
   /* Read-only sections, merged into text segment: */
-  kernphys = CONSTANT (MAXPAGESIZE);
+  kernphys = 0x8000000;
   . = kernbase + kernphys + SIZEOF_HEADERS;
   .interp         : { *(.interp) }
   .hash           : { *(.hash) }

But it looks this doesn't work:
in efi_copy_finish(), the 'dst' showed 0 rather than 128MB.
I did "make cleanworld; make buildkernel build world".

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-virtualization mailing list