Re: [PATCH] module, async: async_synchronize_full() on module init iff async is used

2013-01-16 Thread Alex Riesen
around the known problem case and seems to be the best of bad options. I confirm it fixes the original problem. Tested-by: Alex Riesen raa.l...@gmail.com [ 27.594951] hub 1-1:1.0: state 7 ports 6 chg evt 0004 [ 27.595245] hub 1-1:1.0: port 2, status 0101, change 0001, 12 Mb/s

Re: USB device cannot be reconnected and khubd blocked for more than 120 seconds

2013-01-14 Thread Alex Riesen
On Mon, Jan 14, 2013 at 3:39 AM, Alan Stern st...@rowland.harvard.edu wrote: On Sun, 13 Jan 2013, Oliver Neukum wrote: This is not a USB problem. You need to involve the SCSI people. khubd just stops working because disconnects are processed in its context and the removal deadlocks. The why

Re: USB device cannot be reconnected and khubd blocked for more than 120 seconds

2013-01-13 Thread Alex Riesen
On Sat, Jan 12, 2013 at 11:52 PM, Alan Stern st...@rowland.harvard.edu wrote: On Sat, 12 Jan 2013, Alex Riesen wrote: Now, who would be interested to handle this kind of misconfiguration ... So the whole thing was a false alarm? Yes, almost. What about khubd hanging when machine is shutdown

Re: USB device cannot be reconnected and khubd blocked for more than 120 seconds

2013-01-13 Thread Alex Riesen
On Sun, Jan 13, 2013 at 5:56 PM, Alan Stern st...@rowland.harvard.edu wrote: On Sun, 13 Jan 2013, Alex Riesen wrote: Yes, almost. What about khubd hanging when machine is shutdown? What about it? I have trouble understanding all the descriptions you have provided so far, because you talk

Re: USB device cannot be reconnected and khubd blocked for more than 120 seconds

2013-01-12 Thread Alex Riesen
On Sat, Jan 12, 2013 at 6:37 PM, Alan Stern st...@rowland.harvard.edu wrote: On Sat, 12 Jan 2013, Alex Riesen wrote: One more detail: I usually use the noop elevator. That time it was the deadline. And I just reproduced it easily with deadline. I doubt the elevator has anything to do

Re: USB device cannot be reconnected and khubd blocked for more than 120 seconds

2013-01-12 Thread Alex Riesen
On Sat, Jan 12, 2013 at 6:37 PM, Alan Stern st...@rowland.harvard.edu wrote: On Sat, 12 Jan 2013, Alex Riesen wrote: On Fri, Jan 11, 2013 at 10:04 PM, Alex Riesen raa.l...@gmail.com wrote: the USB stick (an Cruzer Titanium 2GB) was not recognized at any of the USB ports of this system

Re: USB device cannot be reconnected and khubd blocked for more than 120 seconds

2013-01-12 Thread Alex Riesen
On Sat, Jan 12, 2013 at 8:39 PM, Alex Riesen raa.l...@gmail.com wrote: On Sat, Jan 12, 2013 at 6:37 PM, Alan Stern st...@rowland.harvard.edu wrote: On Sat, 12 Jan 2013, Alex Riesen wrote: One more detail: I usually use the noop elevator. That time it was the deadline. And I just reproduced

Re: USB device cannot be reconnected and khubd blocked for more than 120 seconds

2013-01-11 Thread Alex Riesen
On Fri, Jan 11, 2013 at 10:04 PM, Alex Riesen raa.l...@gmail.com wrote: Hi, the USB stick (an Cruzer Titanium 2GB) was not recognized at any of the USB ports of this system (an System76 lemu4 laptop, XHCI device) after it was removed. If I attempt to insert it again in any of the ports (one