Re: 2.6.5: keyboard lockup on a Toshiba laptop

From: Grzegorz Kulewski
Date: Wed Apr 07 2004 - 06:35:20 EST


Ok, that should be easy to debug... I hope :-)

Try to apply this patch to check what kernel part call connect function
too many times. (Maybe it is some power management stuff?)

WARNING
It is my first "public" patch and I even not compiled it so maybe some
headers should be declared. But if it will compile and run, it should
display nice callstack in log for you for each call to this function.


happy testing

Grzegorz



--- linux-2.6.5/drivers/input/keyboard/atkbd.c.orig 2004-04-04
05:37:43.000000000 +0200
+++ linux-2.6.5/drivers/input/keyboard/atkbd.c 2004-04-07
14:23:26.719121672 +0200
@@ -679,6 +679,8 @@
{
struct atkbd *atkbd;
int i;
+
+ dump_stack();

if (!(atkbd = kmalloc(sizeof(struct atkbd), GFP_KERNEL)))
return;


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/