USB device fails to enumerate after multiple connect and disconnect in host mode

2012-08-27 Thread megha dey
In host mode,while continuously connecting and disconnecting a USB device,sometimes enumeration does not happen(kernel 3.0.31).We see that the hub_thread is blocked in the schedule() function.The following is the function trace: [ 34.859924] taskPC stack pid father [ 34.865

Re: USB device fails to enumerate after multiple connect and disconnect in host mode

2012-08-27 Thread megha dey
I have a setup with the older kernel3.0.31,and was hoping to get some suggestion or direction towards resolving this issue on that particular kernel. On Tue, Aug 28, 2012 at 11:21 AM, Greg KH wrote: > On Tue, Aug 28, 2012 at 11:10:45AM +0530, megha dey wrote: >> In host mode,while con

Re: USB device fails to enumerate after multiple connect and disconnect in host mode

2012-08-28 Thread megha dey
; On Tue, Aug 28, 2012 at 8:06 PM, Alan Stern wrote: > On Tue, 28 Aug 2012, megha dey wrote: > >> In host mode,while continuously connecting and disconnecting a USB >> device,sometimes enumeration does not happen(kernel 3.0.31).We see >> that the hub_thread is blocked in the

Large files/folders copying ends with I/O error in mass storage

2012-10-18 Thread megha dey
While trying to copy some file(>400 MB) from PC to device in mass storage mode,an I/O error is observed. >From the bus trace, it is observed that vfs_sync() is taking a lot of time when handing ALLOW_MEDIUM_REMOVAL.There is a similar problem already discussed earlier,although with no concrete conc

Re: Large files/folders copying ends with I/O error in mass storage

2012-10-22 Thread megha dey
Hi Alan, I will update the patch with necessary comments and repush.However,do you think this patch may cause some other deleterious effects? On Thu, Oct 18, 2012 at 10:52 PM, Alan Stern wrote: > On Thu, 18 Oct 2012, megha dey wrote: > >> While trying to copy some file(>400

Re: Large files/folders copying ends with I/O error in mass storage

2012-10-26 Thread megha dey
Alan Stern wrote: > On Mon, 22 Oct 2012, megha dey wrote: > >> Hi Alan, >> I will update the patch with necessary comments and repush.However,do >> you think this patch may cause some other deleterious effects? > > If I did, I wouldn't have said it was okay.

Re: Large files/folders copying ends with I/O error in mass storage

2012-10-30 Thread megha dey
On Mon, Oct 29, 2012 at 8:39 PM, Alan Stern wrote: > On Mon, 29 Oct 2012, megha dey wrote: > >> Hi, >> This is the patch I have applied. >> >> http://marc.info/?l=linux-usb&m=132024464410783&w=2 >> >> From the trace attached,we see that write_10(