[Bug 280735] FreeBSD fails to boot under Win11Pro Hyper-V on Windows Dev Kit 2023; same system (by content) works for native booting

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 05 Nov 2024 01:00:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280735

--- Comment #3 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
Still true.

I made a more modern "small"  (< 256 GiByte) USB3 boot media for the
Windows Dev Kit 2023 to retest the status. I then had the Hyper-V
software convert that to a .vhdx file for use in a Hyper-V virtual
machine.

The Hyper-V boot output stops at the end of (no serial
port to capture, so not literal text):

EFI framebuffer information:
addr, size     . . . 
dimensions     1024 x 768
stride         1024
masks          0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000

Trying boot loader selections for Video vs. Serial vs. both made
no visible difference.

Hyper-V indicates 12% usage before and after that. (8 cores
so this likely is how 1 core being busy would display.)

The original USB3 media boots the Windows Dev Kit 2023 just
fine:

# uname -apKU
FreeBSD aarch64-main-PBsmallUFS 15.0-CURRENT FreeBSD 15.0-CURRENT
main-n273174-8b2e7da70855 GENERIC arm64 aarch64 1500026 1500026

That is an official-distribution PkgBase based installation this
time:

# ~/pkgbase-snapshot-list.sh 
Via pkg-static info -C -x '^FreeBSD-' . . .
 352 FreeBSD-*-15.snap20241023235252
   1 FreeBSD-*-15.snap20241022122410
   1 FreeBSD-*-15.snap20241020224518
   1 FreeBSD-*-15.snap20241020094723
   7 FreeBSD-*-15.snap20241015203742
   1 FreeBSD-*-15.snap20241015145839
   1 FreeBSD-*-15.snap20241015120827
   1 FreeBSD-*-15.snap20241014101436
  34 FreeBSD-*-15.snap20241011184813
 129 FreeBSD-*-15.snap20241009162208
Instead via /var/cache/pkg/*.snap*.pkg . . .
 352 FreeBSD-*-15.snap20241023235252
   1 FreeBSD-*-15.snap20241022122410
   1 FreeBSD-*-15.snap20241020224518
   1 FreeBSD-*-15.snap20241020094723
   7 FreeBSD-*-15.snap20241015203742
   1 FreeBSD-*-15.snap20241015145839
   1 FreeBSD-*-15.snap20241015120827
   1 FreeBSD-*-15.snap20241014101436
  34 FreeBSD-*-15.snap20241011184813
 129 FreeBSD-*-15.snap20241009162208

# less /var/log/messages
. . .
Nov  4 02:18:16 aarch64-main-PBsmallUFS syslogd: kernel boot file is
/boot/kernel/kernel
Nov  4 02:18:16 aarch64-main-PBsmallUFS kernel: ---<<BOOT>>---
Nov  4 02:18:16 aarch64-main-PBsmallUFS kernel: GDB: no debug ports present
Nov  4 02:18:16 aarch64-main-PBsmallUFS kernel: KDB: debugger backends: ddb
Nov  4 02:18:16 aarch64-main-PBsmallUFS kernel: KDB: current backend: ddb
Nov  4 02:18:16 aarch64-main-PBsmallUFS kernel: Copyright (c) 1992-2024 The
FreeBSD Project.
Nov  4 02:18:16 aarch64-main-PBsmallUFS kernel: Copyright (c) 1979, 1980, 1983,
1986, 1988, 1989, 1991, 1992, 1993, 1994
Nov  4 02:18:16 aarch64-main-PBsmallUFS kernel:         The Regents of the
University of California. All rights reserved.
Nov  4 02:18:16 aarch64-main-PBsmallUFS kernel: FreeBSD is a registered
trademark of The FreeBSD Foundation.
Nov  4 02:18:16 aarch64-main-PBsmallUFS kernel: FreeBSD 15.0-CURRENT
main-n273174-8b2e7da70855 GENERIC arm64
Nov  4 02:18:16 aarch64-main-PBsmallUFS kernel: FreeBSD clang version 19.1.2
(https://github.com/llvm/llvm-project.git llvmorg-19.1.2-0-g7ba7d8e2f7b6)
Nov  4 02:18:16 aarch64-main-PBsmallUFS kernel: WARNING: WITNESS option
enabled, expect reduced performance.
. . .
Nov  4 02:18:16 aarch64-main-PBsmallUFS kernel: acpi0: <QCOM QCOMEDK2>
Nov  4 02:18:16 aarch64-main-PBsmallUFS kernel: ACPI Error: AE_NOT_FOUND, While
resolving a named reference package element - \_SB_.UBF0.PRT0
(20230628/dspkginit-605)
Nov  4 02:18:16 aarch64-main-PBsmallUFS kernel: ACPI Error: AE_NOT_FOUND, While
resolving a named reference package element - \_SB_.UBF0.PRT1
(20230628/dspkginit-605)
Nov  4 02:18:16 aarch64-main-PBsmallUFS kernel: acpi0: Power Button (fixed)
Nov  4 02:18:16 aarch64-main-PBsmallUFS kernel: acpi0: Sleep Button (fixed)
Nov  4 02:18:16 aarch64-main-PBsmallUFS kernel: ACPI Warning: \_SB.GPU0._CLS:
Return Package is too small - found 1 elements, expected 3
(20230628/nsprepkg-511)
Nov  4 02:18:16 aarch64-main-PBsmallUFS kernel: can't fetch resources for
\_SB_.ADC1 - AE_AML_INVALID_RESOURCE_TYPE
Nov  4 02:18:16 aarch64-main-PBsmallUFS kernel: acpi0: Could not update all
GPEs: AE_NOT_CONFIGURED
. . .
Nov  4 02:18:17 aarch64-main-PBsmallUFS ntpd[4310]: leapsecond file
('/var/db/ntpd.leap-seconds.list'): loaded, expire=2025-06-28T00:00:00Z
last=2017-01-01T00:00:00Z ofs=37
. . .

I tried GENERIC-NODEBUG as well. The visible results were
the same, ignoring the likes of "WARNING: WITNESS . . .".

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