kdb
[Top] [All Lists]

KDB Keyboard Freeze Patch

To: kdb@xxxxxxxxxxx
Subject: KDB Keyboard Freeze Patch
From: Ashish Kalra <ashishk@xxxxxxxxxxx>
Date: Tue, 17 Dec 2002 13:53:12 +0500
Cc: ashishk@xxxxxxx
Sender: kdb-bounce@xxxxxxxxxxx
Hello,

Issue #1: KDB patch for keyboard freeze issue. 
----------------------------------------------

In case of using KDB on my Compaq Deskpro PCs, there is a keyboard freeze
after exiting from KDB. I am using "kdb-v1.9-2.4.13" on SCO/Caldera OpenLinux
3.1.1 ( with Linux-2.4.13 ).

After doing some investigation i could see that KDB is using a polled
mechanism
to get keyboard input, and in doing so, it is not disabling the signalling 
of OBF interrupts on the keyboard controller. This leads to spurious keyboard
interrupts after exiting from KDB, and also in my case ( with Compaq
Deskpro's )
it causes some issues with the keyboard controller's state machine, and 
keyboard no longer responds. 

I am including a patch for kdb-v1.9-2.4.13, which disables OBF interrupts on
local processor at kdb entry point, and re-enables OBF interrupts at exit
point,
which seems to solve this keyboard freeze issue. In my opinion this is a 
generic solution which should work on all keyboard controllers with this kind
of behaviour.

Issue #2: 
--------

I have also noticed that using "ssb" command on KDB, causes a complete system
freeze. I will be grateful if you can let us know if this is a known issue and
if any patch is available for it.

Looking fwd. to your early feedback.

Thanks & Best Regards,

Ashish Kalra.
Senior Custom Kernel Engineer,
SCO Group.

Attachment: linux-2.4.13-kdbv1.9-keyb.patch
Description: Text document

<Prev in Thread] Current Thread [Next in Thread>