From nobody Tue Nov 16 15:43:56 2021 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id BF8B61832289 for ; Tue, 16 Nov 2021 15:43:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Htr2N50sXz3sLN for ; Tue, 16 Nov 2021 15:43:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8BF8A7E4D for ; Tue, 16 Nov 2021 15:43:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 1AGFhui6096466 for ; Tue, 16 Nov 2021 15:43:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1AGFhudR096465 for bugs@FreeBSD.org; Tue, 16 Nov 2021 15:43:56 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 259878] [hyper-v] Kernel hangs at boot after printing Hyper-V features Date: Tue, 16 Nov 2021 15:43:56 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: sneakywumpus@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259878 --- Comment #4 from Thomas Eberhardt --- (In reply to Mark Johnston from comment #3) Ok. I built a full debug stable/13 GENERIC kernel and learned how to add a serial console to a Hyper-V VM to capture the boot log. boot log: GDB: no debug ports present KDB: debugger backends: ddb KDB: current backend: ddb ---<>--- Copyright (c) 1992-2021 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 13.0-STABLE #0 stable/13-n248070-7d95b0f32832-dirty: Tue Nov 16 16:18:10 CET 2021 root@jones.ocp.lan:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 FreeBSD clang version 12.0.1 (git@github.com:llvm/llvm-project.git llvmorg-12.0.1-0-gfed41342a82f) WARNING: WITNESS option enabled, expect reduced performance. subsystem ffffff parse_acpi_tables(0)... SRAT: Ignoring memory at addr 0x188000000 SRAT: Ignoring memory at addr 0x1000000000 SRAT: Ignoring memory at addr 0x10000000000 SRAT: Ignoring memory at addr 0x20000000000 [lots of output deleted] sd_mkdir_show_add(0)... done. sd_mkdir_list_show_add(0)... done. sd_allocdirect_show_add(0)... done. sd_allocindir_show_add(0)... done. ffs_show_add(0)... done. witness_show_add(0)... done. badstacks_show_add(0)... done. vpath_show_add(0)... done. subsystem 2100000 cpu_startup(0)... and there it hangs. The only thing dirty in this built is the GENERIC kernel config with the added debug options. I also tried booting the VM with only 1 CPU instead of 6, but it hangs at the same place. CPU-ID output from a build with my patch: CPU: Intel(R) Core(TM) i7-9700T CPU @ 2.00GHz (1992.01-MHz K8-class CPU) Origin=3D"GenuineIntel" Id=3D0x906ed Family=3D0x6 Model=3D0x9e Steppi= ng=3D13 =20 Features=3D0x1f83fbff =20 Features2=3D0xfeda3203 AMD Features=3D0x2c100800 AMD Features2=3D0x121 Structured Extended Features=3D0x9c2fb9 Structured Extended Features3=3D0xbc000400 XSAVE Features=3D0xf IA32_ARCH_CAPS=3D0xa7 --=20 You are receiving this mail because: You are the assignee for the bug.=