lkml.org 
[lkml]   [2004]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 2.6.5: keyboard lockup on a Toshiba laptop
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:02    [W:0.041 / U:0.804 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site