Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Aug 2009 12:47:16 -0700
From:      Navdeep Parhar <nparhar@gmail.com>
To:        Hans Petter Selasky <hselasky@c2i.net>, Bruce Evans <brde@optusnet.com.au>, "M. Warner Losh" <imp@bsdimp.com>, rwatson@freebsd.org, alfred@freebsd.org, nparhar@gmail.com,  src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r195960 - in head/sys/dev/usb: . controller input
Message-ID:  <d04e16b70908061247i7ceccefx37566df937b74eaa@mail.gmail.com>
In-Reply-To: <20090804031407.GA8974@hub.freebsd.org>
References:  <20090802192902.GS47463@elvis.mu.org> <20090803.012206.1492586399.imp@bsdimp.com> <20090804032402.J21599@delplex.bde.org> <200908032033.08169.hselasky@c2i.net> <20090804031407.GA8974@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
>>
>> See attached patch. Please test and report back.
>
> This patch fixes my problem. =A0The machine is remote and I'm unable
> to test whether the USB keyboard and keystroke repetition works, but
> core dumps to a SATA disk are now as fast as they were before
> r195960. =A0Thanks.

I finally got a chance to try a USB keyboard with ddb, and things did
not go too well overall.  While inside ddb, keystrokes were recognized
properly and repetition worked too.  But after exiting ddb, the
keyboard wouldn't work - there wasn't any visible response to
keystrokes.  Also, I kept seeing the login prompt continually scroll
up, as if someone was pressing <return> repeatedly.  It certainly
wasn't me :-)

Are you assuming that a user will not resume normal operation after
entering the debugger?  A panic/reboot isn't the only exit route from
ddb.....

Simple sequence of steps to reproduce problem:
ctrl-alt-esc on the USB keyboard
db> c<return>

Regards,
Navdeep



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