Fix for KDB panic

Steven Dake sdake at mvista.com
Wed Sep 3 17:33:48 PDT 2003


Keith and others,

Attached is a fix for 4.1/4.2/4.3 versions of KDB which removes a panic
if USB keyboard option is configured and user presses CTRL-A from
serial/VT console.  The problem was that urb is null, and the usb
keyread function expects urb to contain a valid urb.  The fix drops out
if urb is null in the poll function.

I have tested this patch by typing help (h) on usb keyboard, (e) on
serial keyboard, (l) on usb keyboard, (p) on serial keyboard (enter) on
usb keyboard, to see the help displayed to my serial console.

Thanks
-steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1-2BYPE.patch
Type: text/x-patch
Size: 477 bytes
Desc: not available
Url : http://oss.sgi.com/pipermail/kdb/attachments/20030903/cdd4bbad/attachment.bin 


More information about the kdb mailing list