On 8/15/2016 15:52, Karl Denninger wrote:> FreeBSD 11.0-PRERELEASE #2 r304166: Mon Aug 15 13:17:09 CDT 2016
> karl at NewFS.denninger.net:/usr/obj/usr/src/sys/KSD-SMP
>
> Symptoms:
>
> This machine is on a SuperMicro board with the integrated KVM.
>
> After updating to this from the previous Alpha release this morning
> (built circa July 15th) the emulated keyboard disappeared intermittently
> (!) and would not register keypresses. There appears to have been
> something that has changed quite-materially in the loader and/or the
> kernel in this regard. Screen display was unaffected.
>
> Toggling the mouse mode would restore the keyboard; this causes a detach
> and reattach of the virtual keyboard to the system, and it would then work.
>
> Just a heads-up as this was wildly unexpected and needless to say caused
> me quite a bit of heartburn trying to perform the upgrade and mergemaster!
>
From the PR I filed on this...
Scanning back through recent commits I am wondering if this one is
related; the problem occurs after the kernel is loaded (I can use the
keyboard on the KVM perfectly well in the BIOS, etc) and once the system
is fully up and running it works as well. It is only if/when geli wants
a password *during the boot process* that the keyboard is hosed.
r304124 | hselasky | 2016-08-15 03:58:55 -0500 (Mon, 15 Aug 2016) | 7 lines
MFC r303765:
Keep a reference count on USB keyboard polling to allow recursive
cngrab() during a panic for example, similar to what the AT-keyboard
driver is doing.
Found by: Bruce Evans <brde at optusnet.com.au>
The reason this looks possibly-related is that the KVM attaches as a USB
keyboard.... and a plugged-in USB keyboard also exhibits the problem
during the boot-time process, as shown here from the boot log on one of
the impacted machines....
Enter passphrase for da8p4:
ugen1.2: <Winbond Electronics Corp> at usbus1
ukbd0: <Winbond Electronics Corp Hermon USB hidmouse Device, class 0/0,
rev 1.10/0.01, addr 2> on usbus1
kbd2 at ukbd0
And...
uhid0: <Microsoft Comfort Curve Keyboard 2000, class 0/0, rev 2.00/1.73,
addr 3> on usbus4
Hmmm.....
--
Karl Denninger
karl at denninger.net <mailto:karl at denninger.net>
/The Market Ticker/
/[S/MIME encrypted email preferred]/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2996 bytes
Desc: S/MIME Cryptographic Signature
URL:
<http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20160815/59cd0dca/attachment.bin>