Jacky, On Mon, 4 Feb 2013, Jacky Lam wrote: > Thanks. Please stop top posting! > I finally find that if I disable interrupt during ata_qc_issue() in > libata-scsi.c, my sata driver works without any problem. This is wrong. Which driver are you taling about ? > But I find USB EHCI driver is more complicated. Kernel crashes every > where when RT is turned on. It seems whenever the stack spin_lock > ehci->lock and interrupt comes at that moment, kernel will be crashes. > The reason is EHCI interrupt handler will also take the same lock. If > my point of view, USB stack seems no PREEMPT_RT safe. Is it correct? > Am I miss anything? Probably. First of all you don't tell us which driver you are using. And w/o seing the code and the output of the kernel crash, we can't help you at all. Thanks, tglx -- To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html