Re: mutex_lock_slowpath warning using mxser tty driver (input/outputerror)

From: Jiri Slaby
Date: Thu Apr 02 2009 - 16:24:24 EST


On 04/02/2009 08:44 PM, Alan Cox wrote:
>> It appears to want to lock a mutex in interrupt context, something
>> that's a definite no-no.
>>
>> CCed the folks who might know a thing or two about the driver.
>
> Moxa is not a USB driver so the USB trace at the end makes no sense at
> all.

Yes, unreliable stack entries, but echo_set_canon_col is called from irq
context and locks mutex.
--
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/