[Bug 292897] sysutils/edk2 cannot boot old windows server 2008r2

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 03 Feb 2026 08:33:42 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292897

            Bug ID: 292897
           Summary: sysutils/edk2 cannot boot old windows server 2008r2
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: uboot@FreeBSD.org
          Reporter: bsd@itglob.ru
          Assignee: uboot@FreeBSD.org
             Flags: maintainer-feedback?(uboot@FreeBSD.org)

cannot boot Windows Server 2008R2 with new edk2-bhyve-g202508

Test boot install dvd
SW_DVD5_Windows_Svr_DC_EE_SE_Web_2008_R2_64Bit_English_w_SP1_MLF_X17-22580.ISO

host uname -a:
FreeBSD ws-fbsd 14.4-PRERELEASE FreeBSD 14.4-PRERELEASE stable/14-ea2d34436286
KERNEL_R9000P amd64

start opt:
[bhyve options: -c 4 -m 8G -AHPw -l
bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd,uefi-vars.fd -U
74fe6c00-0045-11f1-a73c-38052530c9fb]
[bhyve devices: -s 0,hostbridge -s 31,lpc -s
4:0,ahci,cd:SW_DVD5_Windows_Svr_DC_EE_SE_Web_2008_R2_64Bit_English_w_SP1_MLF_X17-22580.ISO
-s 0:5:0,e1000,tap0,mac=08:00:11:11:11:11 -s
0:6:0,fbuf,tcp=0.0.0.0:5924,w=800,h=600,wait]

error:
BdsDxe: loading Boot0001 "UEFI BHYVE SATA DVD ROM BHYVE-CB23-5DB3-431B" from
PciRoot(0x0)/Pci(0x4,0x0)/Sata(0x0,0xFFFF,0x0)
BdsDxe: starting Boot0001 "UEFI BHYVE SATA DVD ROM BHYVE-CB23-5DB3-431B" from
PciRoot(0x0)/Pci(0x4,0x0)/Sata(0x0,0xFFFF,0x0)
BlInitializeLibrary failed 0xc0000225
BdsDxe: failed to start Boot0001 "UEFI BHYVE SATA DVD ROM BHYVE-CB23-5DB3-431B"
from PciRoot(0x0)/Pci(0x4,0x0)/Sata(0x0,0xFFFF,0x0): Not Found
BlInitializeLibrary failed 0xc0000225
BdsDxe: No bootable option or device was found.
BdsDxe: Press any key to enter the Boot Manager Menu.


bhyvectl --vm=test --get-all

ID  Length      Name
0   9216MB      sysmem
1   16384KB     bootrom
2   16384KB     framebuffer
Address     Length      Segment     Offset      Prot  Flags
0           3072MB      sysmem      0           RWX   
C0000000    16384KB     framebuffer 0           RW-   
FF000000    4096B       bootrom     0           R--   
FFC84000    3568KB      bootrom     C84000      R-X   
100000000   5120MB      sysmem      100000000   RWX   
efer[0]         0x0000000000001d00
cr0[0]          0x0000000080010033
cr2[0]          0x0000000000000000
cr3[0]          0x00000000bfc01000
cr4[0]          0x0000000000000668
dr0[0]          0x0000000000000000
dr1[0]          0x0000000000000000
dr2[0]          0x0000000000000000
dr3[0]          0x0000000000000000
dr6[0]          0x00000000ffff0ff0
dr7[0]          0x0000000000000400
rsp[0]          0x00000000bff40300
rip[0]          0x00000000bfaa8430
rax[0]          0x00000000bfaaa160
rbx[0]          0x0000000000000047
rcx[0]          0x0000000000000000
rdx[0]          0x00000000fed00000
rsi[0]          0x0000000000000000
rdi[0]          0x00000000fed000f0
rbp[0]          0x00000000bff3fe20
r8[0]           0x00000000939133aa
r9[0]           0x0000000000000000
r10[0]          0x00000000000006a0
r11[0]          0x00000000bff40751
r12[0]          0x00000000bff57e50
r13[0]          0x00000000bf10fd60
r14[0]          0x00000000ffffffff
r15[0]          0x00000000bff5fa80
rflags[0]       0x0000000000000002
ds desc[0]      0x0000000000000000/0xffffffff/0x0000c093
es desc[0]      0x0000000000000000/0xffffffff/0x0000c093
fs desc[0]      0x0000000000000000/0xffffffff/0x0000c093
gs desc[0]      0x0000000000000000/0xffffffff/0x0000c093
ss desc[0]      0x0000000000000000/0xffffffff/0x0000c093
cs desc[0]      0x0000000000000000/0xffffffff/0x0000209b
tr desc[0]      0x0000000000000000/0x00000000/0x0000008b
ldtr desc[0]    0x0000000000000000/0x0000ffff/0x00000082
gdtr[0]         0x00000000bfbde000/0x00000047
idtr[0]         0x00000000bf56d018/0x00000fff
cs[0]           0x0038
ds[0]           0x0030
es[0]           0x0030
fs[0]           0x0030
gs[0]           0x0030
ss[0]           0x0030
tr[0]           0x0000
ldtr[0]         0x0000
cr_intercept[0] 0xfee2fee2
dr_intercept[0] 0x00000000
exc_intercept[0]        0x00040000
inst1_intercept[0]      0xddc4000f
inst2_intercept[0]      0x00000d7d
TLB ctrl[0]     0x0000000000000000
exitinfo1[0]    0x0000000000000000
exitinfo2[0]    0x0000000000000000
exitintinfo[0]  0x0000000000000000
v_irq/tpr[0]    0x0000000001100000
AVIC apic_bar[0]        0x0000000000000000
AVIC backing page[0]    0x0000000000000000
AVIC logical table[0]   0x0000000000000000
AVIC physical table[0]  0x0000000000000000
x2apic_state[0] 0
rvi/npt[0]              0x000000073b81f000
exception_bitmap[0]     0x40000
io_bitmap[0]    0x6986d5000
tsc_offset[0]   0x0000000000000000
msr_bitmap[0]           0xc69c02000
MSR_TSC             [0]         R-
MSR_EFER            [0]         R-
MSR_STAR            [0]         RW
MSR_LSTAR           [0]         RW
MSR_CSTAR           [0]         RW
MSR_SF_MASK         [0]         RW
MSR_FSBASE          [0]         RW
MSR_GSBASE          [0]         RW
MSR_KGSBASE         [0]         RW
MSR_SYSENTER_CS_MSR [0]         RW
MSR_SYSENTER_ESP_MSR[0]         RW
MSR_SYSENTER_EIP_MSR[0]         RW
MSR_PAT             [0]         RW
asid[0]         0x72f0
guest_pat[0]            0x0007040600070406
guest_sysenter_cs[0]    0
guest_sysenter_sp[0]    0
guest_sysenter_ip[0]    0
exit_reason[0]  0x60
rtc nvram[000]: 0x46
rtc time 0x6981d68a: Tue Feb 03 11:05:46 2026
Capability "hlt_exit" is set on vcpu 0
Capability "mtrap_exit" is not available
Capability "pause_exit" is set on vcpu 0
Capability "unrestricted_guest" is set on vcpu 0
Capability "enable_invpcid" is not available
Capability "bpt_exit" is not set on vcpu 0
Capability "rdpid" is not available
Capability "rdtscp" is not available
Capability "ipi_exit" is set on vcpu 0
Capability "mask_hwintr" is not set on vcpu 0
Capability "rflags_tf" is not set on vcpu 0
active cpus:     0, 1, 2, 3
debug cpus:      1, 2, 3
suspended cpus:  (none)
pending:        n/a
current:        n/a
vcpu0 stats:
vcpu total runtime                              7358790980
number of ticks vcpu was idle                   145390
number of NMIs delivered to vcpu                0
number of ExtINTs delivered to vcpu             0
Resident memory                                 43425792
Wired memory                                    0
vcpu migration across host cpus                 1021
total number of vm exits                        546238
vm exits due to external interrupt              203924
number of times hlt was intercepted             14678
number of times %cr access was intercepted      0
number of times rdmsr was intercepted           17029
number of times wrmsr was intercepted           55
number of monitor trap exits                    0
number of times pause was intercepted           9803
vm exits due to interrupt window opening        0
vm exits due to nmi window opening              0
number of times in/out was intercepted          106172
number of times cpuid was intercepted           15710
vm exits due to nested page fault               9550
vm exits for instruction emulation              169300
number of vm exits for unknown reason           0
number of times astpending at exit              5
number of times idle requested at exit          209208
number of vm exits handled in userspace         376429
number of times rendezvous pending at exit      0
number of vm exits due to exceptions            0
EOI without any in-service interrupt            0
error interrupts generated by vlapic            0
timer interrupts generated by vlapic            0
corrected machine check interrupts generated by vlapic  0
lvts triggered[0]                               0
lvts triggered[1]                               0
lvts triggered[2]                               0
lvts triggered[3]                               0
lvts triggered[4]                               0
lvts triggered[5]                               0
lvts triggered[6]                               0
ipis sent from vcpu                             0
ipis received by vcpu                           0
VM exits during event delivery                  0
Events pending at VM entry                      0
VM exits due to interrupt window                17
cpu_topology:   sockets=4, cores=1, threads=1, maxcpus=24

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