Hi,

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

Just curious. The crash log shows the following UDC driver code which
is responsible to receive endpoint 0 setup data. However, the host PC
is sending SCSI_WRITE_10 command at the time of the crash. These two
does not correlate, right?

                unsigned int rdata, rdata1;
        
                // setup data valid
                val = readl(dev->base_addr + 0+0xfb0/0x199c [kagen2_udc]

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

Reply via email to