From owner-freebsd-emulation@freebsd.org Wed Nov 25 06:37:52 2015 Return-Path: Delivered-To: freebsd-emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7D637A36897 for ; Wed, 25 Nov 2015 06:37:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 622301EC2 for ; Wed, 25 Nov 2015 06:37:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 61C3EA36896; Wed, 25 Nov 2015 06:37:52 +0000 (UTC) Delivered-To: emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6163EA36895 for ; Wed, 25 Nov 2015 06:37:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4D2AF1EC1 for ; Wed, 25 Nov 2015 06:37:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id tAP6bqh3084877 for ; Wed, 25 Nov 2015 06:37:52 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: emulation@FreeBSD.org Subject: [Bug 195819] TSC calibration can hang FreeBSD in Hyper-V Generation 2 VM Date: Wed, 25 Nov 2015 06:37:51 +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: 10.1-STABLE X-Bugzilla-Keywords: uefi X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: decui@microsoft.com X-Bugzilla-Status: Open X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: emulation@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Nov 2015 06:37:52 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195819 --- Comment #18 from Dexuan Cui --- (In reply to Ed Maste from comment #17) > When machdep.disable_tsc_calibration=1 is set the TSC frequency should be > determined from the CPU identification instead. OK, got it. > Are you able to try a verbose boot with machdep.disable_tsc_calibration=1 set, and > attach the boot log Chris Lee has attached the log/screen in Comment 14 when the kernel hangs. I got the same log. It looks the kernel is in some busy loop forever. NB: I guess Chris uses SMP VM. If I use only 1 vCPU, FreeBSD 10.2 VM's kernel can boot fine and it finally stops at the Welcome screen for the installation (I'll attach the screen) -- the (virtual) keyboard doesn't work, so we can't go further... This is because Generation-2 Hyper-V VM doesn't have the legacy 8042 keyboard, so a driver for the Hyper-V synthetic keyboard device is required inside the FreeBSD VM (BTW, Linux already has the driver) -- a new TODO. :-) -- You are receiving this mail because: You are the assignee for the bug.