lkml.org 
[lkml]   [2001]   [Sep]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: USB lockup on Thinkpad i1300
Date
From
> load usb-ohci. Tracing with kdb shows that the system locks up right
> after executing this: (usb-ohci.c:2137)
>
> /* HC Reset requires max 10 ms delay */
> writel (OHCI_HCR, &ohci->regs->cmdstatus);
>
> Anyone have any idea? The processor apparently never gets to the next
> instruction.
As an experiment stick

unsigned long flags;


save_flags(flags);
cli();
printh("Not dead yet\n");
/* HC ...
..

printk("Writel returned\n");
readl(&ohci->regs->cmdstatus);
printk("Write definitely occurred now\n");
restore_flags(flags);
printk("Ok with IRQ on\n");


Into that piece of code.

That will tell you if for example it is an IRQ storm of some kind.
-
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 13:03    [W:0.048 / U:2.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site