Re: 2.6.13-rc3 -> sluggish PS2 keyboard (was Re: [patch] Real-Time Preemption, -RT-2.6.13-rc4-V0.7.52-01)

Vojtech Pavlik
2005-08-02T15:59:32Z

On Tue, Aug 02, 2005 at 11:37:41AM -0400, Lee Revell wrote:
> On Tue, 2005-08-02 at 10:20 -0400, Steven Rostedt wrote:
> > On Tue, 2005-08-02 at 10:05 -0400, Lee Revell wrote:
> > > On Tue, 2005-08-02 at 09:56 -0400, Steven Rostedt wrote:
> > > > On Mon, 2005-08-01 at 00:45 -0400, Lee Revell wrote:
> > > > > On Sun, 2005-07-31 at 08:38 +0200, Ingo Molnar wrote:
> > > > > > ok - i've uploaded the -52-04 patch, does that fix it for you?
> > > > >
> > > > > Has anyone found their PS2 keyboard rather sluggish with this kernel?
> > > > > I'm not sure whether it's an -RT problem, I'll have to try rc4.
> > > >
> > > > I've just noticed this now. While I have lots of ssh sessions running,
> > > > my keyboard does get really sluggish. This hasn't happened before. I'm
> > > > currently running 2.6.13-rc3 with no RT. So this may definitely be a
> > > > mainline issue.
> > >
> > > I'm on a slower machine, and I seem to get this behavior regardless of
> > > load. Probably just running X+Gnome on this box is enough.
> > >
> > Also, I don't know if this is a kernel issue or a debian issue since I
> > updated my kernel at the same time I did a debian upgrade, and I'm using
> > debian unstable. Since debian unstable is going through some major
> > changes, this could be caused by that. I may be able to try some other
> > machines to see if they are affected, but that might take some time
> > before I can get to it.
> >
>
> Same here (s/debian/ubuntu/) but I have the exact same problem at the
> console, I don't think it could be an X issue unless X was able to wedge
> the keyboard controller.
>
> It feels like typing over a slow modem link, I can get about one word
> ahead of the cursor (X or console, regardless of load) but the delay
> seems to be constant.

Is your keyboard interrupt (irq #1) working correctly? If not, then the
keyboard controller is polled at 20Hz to compensate for lost interrupts,
which would make it work, but if no interrupts work, it would seem like
typing over a slow link.

--
Vojtech Pavlik
SuSE Labs, SuSE CR