Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Nov 2015 06:37:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        emulation@FreeBSD.org
Subject:   [Bug 195819] TSC calibration can hang FreeBSD in Hyper-V Generation 2 VM
Message-ID:  <bug-195819-4077-Az9XJbN8Lp@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-195819-4077@https.bugs.freebsd.org/bugzilla/>
References:  <bug-195819-4077@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195819

--- Comment #18 from Dexuan Cui <decui@microsoft.com> ---
(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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-195819-4077-Az9XJbN8Lp>