kdb
[Top] [All Lists]

Fix for KDB panic

To: kdb@xxxxxxxxxxx
Subject: Fix for KDB panic
From: Steven Dake <sdake@xxxxxxxxxx>
Date: Wed, 03 Sep 2003 17:33:48 -0700
Organization: MontaVista Software, Inc.
Reply-to: sdake@xxxxxxxxxx
Sender: kdb-bounce@xxxxxxxxxxx
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

Attachment: 1-2BYPE.patch
Description: Text Data

<Prev in Thread] Current Thread [Next in Thread>
  • Fix for KDB panic, Steven Dake <=