Re: DDB causing lost keystrokes on Dell iDRAC console (not inside ddb)

2017-05-17 Thread Alan McKay
On Wed, May 17, 2017 at 9:05 AM, Stefan Sperling  wrote:
> This was fixed in -current just a few days ago:
> http://marc.info/?l=openbsd-cvs=149458062211463=2

Nifty!  Thanks for that.


-- 
"You should sit in nature for 20 minutes a day.
 Unless you are busy, then you should sit for an hour"
 - Zen Proverb



Re: DDB causing lost keystrokes on Dell iDRAC console (not inside ddb)

2017-05-17 Thread Hrvoje Popovski
On 17.5.2017. 14:59, Alan McKay wrote:
> Looks like this never got a response and we are seeing the same issue.
> 
> OpenBSD 6.0, Dell 330, iDRAC 8, trying to get a console with the
> iDRAC.  Works great with Linux or ESXi on the box, but OpenBSD does
> not work.  There is major keystroke loss which makes it impossible to
> use.
> 
> Is there a way to disable DDB without recompiling?
> 


If you can install latest snapshot. mpi@ make it work




CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2017/05/12 03:16:55

Modified files:
sys/dev/hid: hidkbd.c
sys/dev/wscons : wskbd.c wskbdvar.h
sys/dev/usb: ukbd.c

Log message:
Introduce a new keyboard console hook to enter ddb(4) and make ukbd(4)
use it.

Instead of defering every input of a USB console keyboard to a timeout
via a queue of one element, only differ entering ddb(4) once a matching
control sequenece has been typed.

This prevent loosing inputs when a USB console keyboard is "too fast".

Fix a problem reported by matthieu@, Adam McDougall and Hrvoje Popovski.

ok stsp@, dlg@




Re: DDB causing lost keystrokes on Dell iDRAC console (not inside ddb)

2017-05-17 Thread Stefan Sperling
On Wed, May 17, 2017 at 08:59:39AM -0400, Alan McKay wrote:
> Looks like this never got a response and we are seeing the same issue.
> 
> OpenBSD 6.0, Dell 330, iDRAC 8, trying to get a console with the
> iDRAC.  Works great with Linux or ESXi on the box, but OpenBSD does
> not work.  There is major keystroke loss which makes it impossible to
> use.

This was fixed in -current just a few days ago:
http://marc.info/?l=openbsd-cvs=149458062211463=2



Re: DDB causing lost keystrokes on Dell iDRAC console (not inside ddb)

2017-05-17 Thread Alan McKay
Looks like this never got a response and we are seeing the same issue.

OpenBSD 6.0, Dell 330, iDRAC 8, trying to get a console with the
iDRAC.  Works great with Linux or ESXi on the box, but OpenBSD does
not work.  There is major keystroke loss which makes it impossible to
use.

Is there a way to disable DDB without recompiling?


On Sat, Jan 23, 2016 at 5:29 PM, Adam McDougall  wrote:
> Hello,
>
> I have a few Dell servers which I've installed OpenBSD for testing
> but ran into a problem with keystroke loss on the console when used
> through the Dell iDRAC remote graphical console.  Surprisingly it
> operates perfectly fine in the installer (thankfully) but when booted
> from a formal install, I lose 25-50% of my keystrokes.  The speed that
> I type does not matter, the keys I type do not matter, they are randomly
> lost.  This is any typing, for example at the login prompt (where it
> becomes very difficult to login).
>
> Example:
> login: Tisis metypingat he onole
>
> should have shown: This is me typing at the console
>
> I was able to determine having "option DDB" in the kernel is a single
> factor leading to keystroke loss.  If I recompile the GENERIC amd64
> 5.8 kernel without DDB, I have no keystroke loss.  Also, if I enter
> DDB while the kernel is running, I have no keystroke loss.
>
> I have noticed this issue on 5.8 release, a recent 5.9 snapshot,
> and at least the Dell models R420 and R430.  The iDRAC supplies a
> virtual usb keyboard to the OS.  I have not had this issue with other
> OSes.  I should generally be able to perform further tests as requested
> especially this weekend.
>
> Does anyone have suggestions?  Can I disable DDB without recompiling?
> Thanks.
>



-- 
"You should sit in nature for 20 minutes a day.
 Unless you are busy, then you should sit for an hour"
 - Zen Proverb



Re: DDB causing lost keystrokes on Dell iDRAC console (not inside ddb)

2016-01-24 Thread Hrvoje Popovski
On 23.1.2016. 23:29, Adam McDougall wrote:
> Hello,
> 
> I have a few Dell servers which I've installed OpenBSD for testing
> but ran into a problem with keystroke loss on the console when used
> through the Dell iDRAC remote graphical console.  Surprisingly it
> operates perfectly fine in the installer (thankfully) but when booted
> from a formal install, I lose 25-50% of my keystrokes.  The speed that
> I type does not matter, the keys I type do not matter, they are randomly
> lost.  This is any typing, for example at the login prompt (where it
> becomes very difficult to login).
> 
> Example:
> login: Tisis metypingat he onole
> 
> should have shown: This is me typing at the console
> 
> I was able to determine having "option DDB" in the kernel is a single
> factor leading to keystroke loss.  If I recompile the GENERIC amd64
> 5.8 kernel without DDB, I have no keystroke loss.  Also, if I enter
> DDB while the kernel is running, I have no keystroke loss.
> 
> I have noticed this issue on 5.8 release, a recent 5.9 snapshot,
> and at least the Dell models R420 and R430.  The iDRAC supplies a
> virtual usb keyboard to the OS.  I have not had this issue with other
> OSes.  I should generally be able to perform further tests as requested
> especially this weekend.
> 
> Does anyone have suggestions?  Can I disable DDB without recompiling?
> Thanks.
> 

Hi,

please see...
http://marc.info/?l=openbsd-tech=143700306821021=2


month ago i tried to install snapshot on r630 and fc630 and i manage to
do that but i was hard and painful :)

it seems it works when you keep the key pressed down for one second or
so - then character on the console will be shown. this works for me for
idrac7 and 8 :)



DDB causing lost keystrokes on Dell iDRAC console (not inside ddb)

2016-01-23 Thread Adam McDougall
Hello,

I have a few Dell servers which I've installed OpenBSD for testing
but ran into a problem with keystroke loss on the console when used
through the Dell iDRAC remote graphical console.  Surprisingly it
operates perfectly fine in the installer (thankfully) but when booted
from a formal install, I lose 25-50% of my keystrokes.  The speed that
I type does not matter, the keys I type do not matter, they are randomly
lost.  This is any typing, for example at the login prompt (where it
becomes very difficult to login).

Example:
login: Tisis metypingat he onole

should have shown: This is me typing at the console

I was able to determine having "option DDB" in the kernel is a single
factor leading to keystroke loss.  If I recompile the GENERIC amd64
5.8 kernel without DDB, I have no keystroke loss.  Also, if I enter
DDB while the kernel is running, I have no keystroke loss.

I have noticed this issue on 5.8 release, a recent 5.9 snapshot,
and at least the Dell models R420 and R430.  The iDRAC supplies a
virtual usb keyboard to the OS.  I have not had this issue with other
OSes.  I should generally be able to perform further tests as requested
especially this weekend.

Does anyone have suggestions?  Can I disable DDB without recompiling?
Thanks.