On Tue, 14 May 2013, victor yeo wrote: > Thanks. I will add more printk statements gradually. Now i discover if > i write to a large text file (> 48k) on USB gadget, linux will crash. > The full log of UDC and gadget driver when linux crashes, and > corresponding usbmon trace are attached. If these logs are not > helpful, i shall add more printk. Unfortunately, I can't get anything useful out of the UDC driver crash log. It looks like the crash occurred somewhere inside the do_write() routine. Perhaps within the call to start_transfer(), or perhaps within the vfs_write() call. Alan Stern -- 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