I have an AM3354-based board with an SMSC 4-port hub IC. A self-powered desktop 4-port hub is plugged into one of the ports. I have 4 USB mpeg encoders plugged into the desktop hub. I'm streaming from four cameras. This all works fine.
The trouble happens when I try and record the video to an SD Card. If I record using the mmc socket, everything works fine. However, if I try and record using a USB SD card reader (plugged into one of the SMSC's 4 ports), then I get the following problem within a few minutes. Any ideas? I'm using a patched AM33x v3.2-staging kernel from Arago.
[ 377.120715] usb 1-1.2: reset high-speed USB device number 3 using musb-hdrc [ 387.320702] usb 1-1.2: reset high-speed USB device number 3 using musb-hdrc [ 403.531115] usb 1-1.2: reset high-speed USB device number 3 using musb-hdrc [ 403.740716] usb 1-1.2: reset high-speed USB device number 3 using musb-hdrc [ 413.940681] usb 1-1.2: reset high-speed USB device number 3 using musb-hdrc [ 414.063350] sd 0:0:0:0: Device offlined - not ready after error recovery [ 414.070468] sd 0:0:0:0: [sda] Unhandled error code [ 414.075558] sd 0:0:0:0: [sda] Result: hostbyte=0x05 driverbyte=0x00 [ 414.082312] sd 0:0:0:0: [sda] CDB: cdb[0]=0x2a: 2a 00 00 24 bf c0 00 00 c0 00 [ 414.090217] end_request: I/O error, dev sda, sector 2408384 [ 414.096272] sd 0:0:0:0: rejecting I/O to offline device [ 414.101773] sd 0:0:0:0: killing request [ 414.105864] sd 0:0:0:0: rejecting I/O to offline device [ 414.111361] sd 0:0:0:0: [sda] killing request [ 414.115969] sd 0:0:0:0: rejecting I/O to offline device ... [ 414.838917] sd 0:0:0:0: rejecting I/O to offline device [ 414.844827] sd 0:0:0:0: [sda] Unhandled error code [ 414.849893] sd 0:0:0:0: [sda] Result: hostbyte=0x01 driverbyte=0x00 [ 414.856650] sd 0:0:0:0: [sda] CDB: cdb[0]=0x2a: 2a 00 00 24 c0 80 00 00 40 00 [ 414.864418] end_request: I/O error, dev sda, sector 2408576 [ 414.871824] sd 0:0:0:0: rejecting I/O to offline device ... [ 415.425457] sd 0:0:0:0: rejecting I/O to offline device [ 415.437045] FAT-fs (sda1): unable to read inode block for updating (i_pos 131188) [ 415.460655] sd 0:0:0:0: rejecting I/O to offline device ... [ 416.241209] sd 0:0:0:0: rejecting I/O to offline device [ 416.247108] FAT-fs (sda1): unable to read inode block for updating (i_pos 131188) [ 416.273638] sd 0:0:0:0: rejecting I/O to offline device ... [ 416.350794] sd 0:0:0:0: rejecting I/O to offline device [ 416.361045] FAT-fs (sda1): FAT read failed (blocknr 4697) [ 416.367093] sd 0:0:0:0: rejecting I/O to offline device [ 416.372757] FAT-fs (sda1): FAT read failed (blocknr 4692) [ 416.555313] sd 0:0:0:0: rejecting I/O to offline device [ 416.561677] FAT-fs (sda1): FAT read failed (blocknr 4697) [ 416.567787] sd 0:0:0:0: rejecting I/O to offline device [ 416.573705] FAT-fs (sda1): FAT read failed (blocknr 4692) [ 418.020756] sd 0:0:0:0: rejecting I/O to offline device [ 418.026356] FAT-fs (sda1): bread failed in fat_clusters_flush [ 421.381803] sd 0:0:0:0: rejecting I/O to offline device ... [ 422.129512] sd 0:0:0:0: rejecting I/O to offline device [ 422.140967] FAT-fs (sda1): unable to read inode block for updating (i_pos 131192) [ 422.160227] sd 0:0:0:0: rejecting I/O to offline device ...