Re: ftdi_sio occasionally hangs in close()

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

 



On Fri, Jan 27, 2012 at 08:25:10PM +0000, Ross Ryles wrote:
> > Can you reproduce it on a vanilla kernel?
> 
> I've just reproduced it on vanilla 3.2.1 and with debug enabled.  Log attached.

Excellent. The backtrace at the end points to your host controller (at
least ftdi_sio is not to blame). The generic usb_serial close is killing
the read_urb and then something goes wrong.

What do you say about this, Alan?


Jan 27 20:08:11 localhost kernel: [  305.801102] drivers/usb/serial/ftdi_sio.c: ftdi_close
Jan 27 20:11:06 localhost kernel: [  480.593315] INFO: task openclose.pl:835 blocked for more than 120 seconds.
Jan 27 20:11:06 localhost kernel: [  480.593663] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Jan 27 20:11:06 localhost kernel: [  480.593827] openclose.pl    D 0000000100000608     0   835    830 0x00000000
Jan 27 20:11:06 localhost kernel: [  480.593832]  ffff8800b1d99cc8 0000000000000086 ffffffff00000000 0000000000000002
Jan 27 20:11:06 localhost kernel: [  480.593837]  ffff8800b6334740 ffff8800b1d99fd8 ffff8800b1d99fd8 ffff8800b1d99fd8
Jan 27 20:11:06 localhost kernel: [  480.593841]  ffff8800b62bf200 ffff8800b6334740 ffff8800b1d99c08 ffffffffa01231cd
Jan 27 20:11:06 localhost kernel: [  480.593845] Call Trace:
Jan 27 20:11:06 localhost kernel: [  480.593869]  [<ffffffffa01231cd>] ? start_ed_unlink+0x1d/0x70 [ohci_hcd]
Jan 27 20:11:06 localhost kernel: [  480.593874]  [<ffffffffa0124607>] ? ohci_urb_dequeue+0x77/0xc0 [ohci_hcd]
Jan 27 20:11:06 localhost kernel: [  480.593880]  [<ffffffff81237cf7>] ? kobject_put+0x27/0x60
Jan 27 20:11:06 localhost kernel: [  480.593884]  [<ffffffff81303307>] ? put_device+0x17/0x20
Jan 27 20:11:06 localhost kernel: [  480.593889]  [<ffffffff814258bf>] schedule+0x3f/0x60
Jan 27 20:11:06 localhost kernel: [  480.593899]  [<ffffffffa000d4c5>] usb_kill_urb+0x75/0xb0 [usbcore]
Jan 27 20:11:06 localhost kernel: [  480.593904]  [<ffffffff81088cb0>] ? abort_exclusive_wait+0xb0/0xb0
Jan 27 20:11:06 localhost kernel: [  480.593909]  [<ffffffffa0519f30>] generic_cleanup+0x50/0xe0 [usbserial]
Jan 27 20:11:06 localhost kernel: [  480.593913]  [<ffffffffa051a063>] usb_serial_generic_close+0x23/0x50 [usbserial]
Jan 27 20:11:06 localhost kernel: [  480.593917]  [<ffffffffa05281a9>] ftdi_close+0x39/0x70 [ftdi_sio]
Jan 27 20:11:06 localhost kernel: [  480.593921]  [<ffffffffa0517029>] serial_down+0x29/0x30 [usbserial]
Jan 27 20:11:06 localhost kernel: [  480.593925]  [<ffffffff812dbb02>] tty_port_shutdown+0x62/0x70
Jan 27 20:11:06 localhost kernel: [  480.593928]  [<ffffffff812dc5fc>] tty_port_close+0x2c/0x60
Jan 27 20:11:06 localhost kernel: [  480.593932]  [<ffffffffa0517802>] serial_close+0x42/0x80 [usbserial]
Jan 27 20:11:06 localhost kernel: [  480.593936]  [<ffffffff812d3899>] tty_release+0x169/0x5c0
Jan 27 20:11:06 localhost kernel: [  480.593940]  [<ffffffff8104f373>] ? __wake_up+0x53/0x70
Jan 27 20:11:06 localhost kernel: [  480.593944]  [<ffffffff811a5332>] ? fsnotify+0x1c2/0x2a0
Jan 27 20:11:06 localhost kernel: [  480.593949]  [<ffffffff81168c0a>] fput+0xda/0x210
Jan 27 20:11:06 localhost kernel: [  480.593952]  [<ffffffff81165406>] filp_close+0x66/0x90
Jan 27 20:11:06 localhost kernel: [  480.593955]  [<ffffffff811654e4>] sys_close+0xb4/0x120
Jan 27 20:11:06 localhost kernel: [  480.593959]  [<ffffffff814290c2>] system_call_fastpath+0x16/0x1b


Thanks,
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