Re: ftdi_sio occasionally hangs in close()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jan 31, 2012 at 6:14 PM, Johan Hovold <jhovold@xxxxxxxxx> wrote:
> On Tue, Jan 31, 2012 at 5:40 PM, Ross Ryles <rossryles@xxxxxxxxxxxxxx> wrote:
>> On Tue, Jan 31, 2012 at 3:58 PM, Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote:
>>>> The one thing I can think is common between everything that hangs is
>>>> they are using a "tty" of some sort.
>>>
>>> Yeah, that's probably the reason.
>>
>> Could it be that "the big tty mutex" is getting held forever by something?
>
> Yes, I think you cracked it.
>
> The big tty mutex is taken in tty_release and it effectively prevents
> any logins while close is running. In your particular case it may
> faulty hardware which is causing close to never return...

You should still be able to use a previously opened tty (ssh, screen, X) to
grab the USB debug info for your host controller during the lock-up, though.

Johan
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux