[Bug 240734] Broken Hyper-V Generation V2
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Oct 30 09:49:51 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240734
--- Comment #14 from Michael <michael.adm at gmail.com> ---
I found the culprit in the disappearance of the keyboard.
commit e609c3d1a1ef3699fcbdffe70a23ad316fbfe7d7
imp <imp at FreeBSD.org>
Wed, 14 Aug 2019 22:58:28 +0200 (20:58 +0000)
Move hyperv to files.x86
Move the comomon part of hyperv to files.x86.
Reviewed by: jhb (verbal OK on irc)
Differential Revision: https://reviews.freebsd.org/D21248
root at frw03v2:~ # uname -a
FreeBSD frw03v2.hv.lan 13.0-CURRENT FreeBSD 13.0-CURRENT
b6af6d7d598-c261983(HEAD) GENERIC amd64
root at frw03v2:~ #
root at frw03v2:~ # sysctl -a | grep kbd
kbd0 at kbdmux0
hvkbd0: <Hyper-V KBD> on vmbus0
kbd0 at kbdmux0
hvkbd0: <Hyper-V KBD> on vmbus0
kbd0 at kbdmux0
hvkbd0: <Hyper-V KBD> on vmbus0
kbd0 at kbdmux0
hvkbd0: <Hyper-V KBD> on vmbus0
kbd0 at kbdmux0
hvkbd0: <Hyper-V KBD> on vmbus0
kbd0 at kbdmux0
hvkbd0: <Hyper-V KBD> on vmbus0
kbd0 at kbdmux0
hvkbd0: <Hyper-V KBD> on vmbus0
kbd0 at kbdmux0
hvkbd0: <Hyper-V KBD> on vmbus0
kbd0 at kbdmux0
hvkbd0: <Hyper-V KBD> on vmbus0
device atkbdc
device atkbd
device kbdmux
device ukbd
kern.vt.kbd_panic: 0
kern.vt.kbd_debug: 1
kern.vt.kbd_reboot: 1
kern.vt.kbd_poweroff: 1
kern.vt.kbd_halt: 1
kern.evdev.input.1.phys: kbdmux0
"Giant","hv_kbdc mutex"
hw.usb.ukbd.pollrate: 0
hw.usb.ukbd.no_leds: 0
hw.usb.ukbd.debug: 0
hw.syscons.kbd_debug: 1
hw.syscons.kbd_reboot: 1
hw.kbd.keymap_restrict_change: 0
dev.hvkbd.0.debug: 0
dev.hvkbd.0.channel.4.br.tx.state: rindex:32 windex:32 imask:0 ravail:0
wavail:36864
dev.hvkbd.0.channel.4.br.rx.state: rindex:592 windex:592 imask:0 ravail:0
wavail:36864
dev.hvkbd.0.channel.4.mnf: 0
dev.hvkbd.0.channel.4.cpu: 0
dev.hvkbd.0.%parent: vmbus0
dev.hvkbd.0.%pnpinfo: classid=f912ad6d-2b17-48ea-bd65-f927a61c7684
deviceid=d34b2567-b9b6-42b9-8778-0a4ec0b955bf
dev.hvkbd.0.%location:
dev.hvkbd.0.%driver: hvkbd
->dev.hvkbd.0.%desc: Hyper-V KBD
dev.hvkbd.%parent:
root at frw03v2:~ #
root at frw03v2:~ # cd /usr/src
root at frw03v2:/usr/src #
root at frw03v2:/usr/src # git checkout e609c3d1a1ef3699fcbdffe70a23ad316fbfe7d7
Previous HEAD position was b6af6d7d598 The bxe driver, QLogic NetXtreme II
Ethernet 10Gb PCIe adapter driver, is x86 specific, and only builds there.
Likewise the module is built there. Move it to the x86-only files.x86.
HEAD is now at e609c3d1a1e Move hyperv to files.x86
committer imp <imp at FreeBSD.org>
Wed, 14 Aug 2019 22:58:28 +0200 (20:58 +0000)
root at frw03v2:/usr/src #
root at frw03v2:/usr/src # make cleanworld && make cleandir && make -j8
buildkernel KERNCONF=GENERIC
...
--------------------------------------------------------------
>>> Kernel build for GENERIC completed on Wed Oct 30 11:17:31 EET 2019
--------------------------------------------------------------
>>> Kernel(s) GENERIC built in 620 seconds, ncpu: 8, make -j8
--------------------------------------------------------------
root at frw03v2:/usr/src #
root at frw03v2:/usr/src # make installkernel KERNCONF=GENERIC
...
--------------------------------------------------------------
>>> Installing kernel GENERIC completed on Wed Oct 30 11:24:42 EET 2019
--------------------------------------------------------------
root at frw03v2:/usr/src #
root at frw03v2:/usr/src # reboot
. . . . .
root at frw03v2:~ # uname -a
FreeBSD frw03v2.hv.lan 13.0-CURRENT FreeBSD 13.0-CURRENT
e609c3d1a1e-c261984(HEAD) GENERIC amd64
root at frw03v2:~ #
root at frw03v2:~ # sysctl -a | grep kbd
kbd0 at kbdmux0
hvkbd0: <Hyper-V KBD> on vmbus0
kbd0 at kbdmux0
hvkbd0: <Hyper-V KBD> on vmbus0
kbd0 at kbdmux0
hvkbd0: <Hyper-V KBD> on vmbus0
kbd0 at kbdmux0
hvkbd0: <Hyper-V KBD> on vmbus0
kbd0 at kbdmux0
hvkbd0: <Hyper-V KBD> on vmbus0
kbd0 at kbdmux0
hvkbd0: <Hyper-V KBD> on vmbus0
kbd0 at kbdmux0
hvkbd0: <Hyper-V KBD> on vmbus0
kbd0 at kbdmux0
hvkbd0: <Hyper-V KBD> on vmbus0
kbd0 at kbdmux0
device atkbdc
device atkbd
device kbdmux
device ukbd
kern.vt.kbd_panic: 0
kern.vt.kbd_debug: 1
kern.vt.kbd_reboot: 1
kern.vt.kbd_poweroff: 1
kern.vt.kbd_halt: 1
kern.evdev.input.1.phys: kbdmux0
hw.usb.ukbd.pollrate: 0
hw.usb.ukbd.no_leds: 0
hw.usb.ukbd.debug: 0
hw.syscons.kbd_debug: 1
hw.syscons.kbd_reboot: 1
hw.kbd.keymap_restrict_change: 0
root at frw03v2:~ #
After commit e609c3d1a1ef3699fcbdffe70a23ad316fbfe7d7 driver "Hyper-V KBD" is
absent and keyboard does not work in hyper-v management interface of Windows
2019 Hyper-V, Generation V2
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-virtualization
mailing list