Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Oct 2019 09:49:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        virtualization@FreeBSD.org
Subject:   [Bug 240734] Broken Hyper-V Generation V2
Message-ID:  <bug-240734-27103-t023O9Sbq0@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-240734-27103@https.bugs.freebsd.org/bugzilla/>
References:  <bug-240734-27103@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=3D240734

--- Comment #14 from Michael <michael.adm@gmail.com> ---
I found the culprit in the disappearance of the keyboard.

commit  e609c3d1a1ef3699fcbdffe70a23ad316fbfe7d7
imp <imp@FreeBSD.org>=20=20=20
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@frw03v2:~ # uname -a
  FreeBSD frw03v2.hv.lan 13.0-CURRENT FreeBSD 13.0-CURRENT
b6af6d7d598-c261983(HEAD) GENERIC  amd64
root@frw03v2:~ #=20
root@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=3Df912ad6d-2b17-48ea-bd65-f927a61c7684
deviceid=3Dd34b2567-b9b6-42b9-8778-0a4ec0b955bf
  dev.hvkbd.0.%location:
  dev.hvkbd.0.%driver: hvkbd
->dev.hvkbd.0.%desc: Hyper-V KBD
  dev.hvkbd.%parent:
root@frw03v2:~ #=20
root@frw03v2:~ # cd /usr/src
root@frw03v2:/usr/src #
root@frw03v2:/usr/src # git checkout e609c3d1a1ef3699fcbdffe70a23ad316fbfe7=
d7
  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@FreeBSD.org>=20=20=20
    Wed, 14 Aug 2019 22:58:28 +0200 (20:58 +0000)
root@frw03v2:/usr/src #
root@frw03v2:/usr/src # make cleanworld && make cleandir && make -j8
buildkernel KERNCONF=3DGENERIC
...
--------------------------------------------------------------
>>> 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@frw03v2:/usr/src #=20
root@frw03v2:/usr/src # make installkernel KERNCONF=3DGENERIC
...
--------------------------------------------------------------
>>> Installing kernel GENERIC completed on Wed Oct 30 11:24:42 EET 2019
--------------------------------------------------------------
root@frw03v2:/usr/src #=20
root@frw03v2:/usr/src # reboot
. . . . .=20
root@frw03v2:~ # uname -a
  FreeBSD frw03v2.hv.lan 13.0-CURRENT FreeBSD 13.0-CURRENT
e609c3d1a1e-c261984(HEAD) GENERIC  amd64
root@frw03v2:~ #=20
root@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@frw03v2:~ #=20

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

--=20
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-240734-27103-t023O9Sbq0>