[Samsung Galaxy Nexus] michaelmotes:
Anyone else have a problem with USB host mode and copying big files?

If so, can we fix this?

I have tried formatting my drive in FAT32,NTFS, and ext2. But the result is always the same, the drive dies if I copy a file bigger than 30 or 40 MB. I have tried stock, Faux123, and francoKernel as well.

The drive doesn't die at a specific MB each time, but it is generally around 30 MB but sometimes makes it to 80 or even 140 MB one time. I am trying to off-load some 700MB movies.

Here is the kernel message error:

<6>[ 1920.842529] max17040 4-0036: online = 1 vcell = 3547500 soc = 22 status = 3 health = 1 temp = 370 charger status = 0

<3>[ 1926.574005] EXT4-fs (sda1): Unrecognized mount option "fmask=0702" or missing value

<3>[ 1926.594299] EXT4-fs (sda1): Unrecognized mount option "fmask=0702" or missing value

<3>[ 1926.649810] EXT4-fs (sda1): Unrecognized mount option "fmask=0702" or missing value

<3>[ 1927.740753] EXT4-fs (sda1): couldn't mount as ext3 due to feature incompatibilities

<6>[ 1927.773895] EXT4-fs (sda1): mounting ext2 file system using the ext4 subsystem

<6>[ 1927.938781] EXT4-fs (sda1): mounted filesystem without journal. Opts: (null)

<3>[ 1968.389251] L3 CUSTOM SRESP error with SOURCE:DMM2 info=0x84

<4>[ 1968.389434] ------------[ cut here ]------------

<4>[ 1968.389739] WARNING: at arch/arm/mach-omap2/omap_l3_noc.c:130 l3_interrupt_handler+0x31c/0x360()

<4>[ 1968.390045] L3 custom sresp error

<4>[ 1968.390197] Modules linked in:

<4>[ 1968.390686] [<c0055de4>] (unwind_backtrace+0x0/0xf8) from [<c00983a8>] (warn_slowpath_common+0x4c/0x64)

<4>[ 1968.390991] [<c00983a8>] (warn_slowpath_common+0x4c/0x64) from [<c0098454>] (warn_slowpath_fmt+0x30/0x40)

<4>[ 1968.391326] [<c0098454>] (warn_slowpath_fmt+0x30/0x40) from [<c0074898>] (l3_interrupt_handler+0x31c/0x360)

<4>[ 1968.391632] [<c0074898>] (l3_interrupt_handler+0x31c/0x360) from [<c00d45fc>] (handle_irq_event_percpu+0x50/0x178)

<4>[ 1968.391967] [<c00d45fc>] (handle_irq_event_percpu+0x50/0x178) from [<c00d4760>] (handle_irq_event+0x3c/0x5c)

<4>[ 1968.392150] [<c00d4760>] (handle_irq_event+0x3c/0x5c) from [<c00d6aec>] (handle_fasteoi_irq+0xbc/0x164)

<4>[ 1968.392456] [<c00d6aec>] (handle_fasteoi_irq+0xbc/0x164) from [<c00d3f50>] (generic_handle_irq+0x2c/0x40)

<4>[ 1968.392791] [<c00d3f50>] (generic_handle_irq+0x2c/0x40) from [<c004904c>] (asm_do_IRQ+0x4c/0xac)

<4>[ 1968.393096] [<c004904c>] (asm_do_IRQ+0x4c/0xac) from [<c004eb08>] (__irq_svc+0x48/0xe4)

<4>[ 1968.393402] Exception stack(0xc0799f28 to 0xc0799f70)

<4>[ 1968.393554] 9f20: c0799f70 3b9aca00 4c534d85 000001ca 4c4bda2c 000001ca

<4>[ 1968.393859] 9f40: 000003ff c1192210 8000406a 412fc09a 00000000 00000000 00000000 c0799f70

<4>[ 1968.394042] 9f60: c007c690 c0068380 00000013 ffffffff

<4>[ 1968.394348] [<c004eb08>] (__irq_svc+0x48/0xe4) from [<c0068380>] (omap4_enter_idle_wfi+0x48/0xd4)

<4>[ 1968.394683] [<c0068380>] (omap4_enter_idle_wfi+0x48/0xd4) from [<c03af838>] (cpuidle_idle_call+0x94/0x118)

<4>[ 1968.394989] [<c03af838>] (cpuidle_idle_call+0x94/0x118) from [<c0050538>] (cpu_idle+0xbc/0xfc)

<4>[ 1968.395172] [<c0050538>] (cpu_idle+0xbc/0xfc) from [<c00088ac>] (start_kernel+0x298/0x2e8)

<4>[ 1968.395477] [<c00088ac>] (start_kernel+0x298/0x2e8) from [<80008040>] (0x80008040)

<4>[ 1968.395782] Board Information: Tuna HW revision: 09 (Maguro 8th Sample), cpu OMAP4460 ES1.1

<4>[ 1968.396087] ---[ end trace 33de6ebe35ad56b6 ]---

<6>[ 1970.874023] max17040 4-0036: online = 1 vcell = 3532500 soc = 22 status = 3 health = 1 temp = 380 charger status = 0

<6>[ 1993.138793] usb 1-1: reset high speed USB device number 2 using musb-hdrc

<6>[ 2000.347503] fsa9480 4-0025: cable detect change, from 'usb-host' to 'unknown/none'

<6>[ 2000.347717] usb 1-1: USB disconnect, device number 2

<4>[ 2000.350708] fsa9480 4-0025: irq fired, but nothing happened

<6>[ 2000.351989] fsa9480 4-0025: nothing attached, keeping ownership of port

<6>[ 2001.361236] max17040 4-0036: online = 1 vcell = 3585000 soc = 21 status = 2 health = 1 temp = 380 charger status = 0

<6>[ 2003.287322] sd 0:0:0:0: Device offlined - not ready after error recovery

<6>[ 2003.287597] sd 0:0:0:0: [sda] Unhandled error code

<6>[ 2003.287628] sd 0:0:0:0: [sda] Unhandled error code

<6>[ 2003.287658] sd 0:0:0:0: [sda] Result: hostbyte=0x01 driverbyte=0x00

<6>[ 2003.287689] sd 0:0:0:0: [sda] CDB: cdb[0]=0x2a: 2a 00 00 00 00 3f 00 00 08 00

<3>[ 2003.287719] end_request: I/O error, dev sda, sector 63

<3>[ 2003.287750] Buffer I/O error on device sda1, logical block 0

<4>[ 2003.287780] lost page write due to I/O error on sda1

<6>[ 2003.289154] sd 0:0:0:0: [sda] Result: hostbyte=0x01 driverbyte=0x00

<6>[ 2003.289459] sd 0:0:0:0: [sda] CDB: cdb[0]=0x2a: 2a 00 00 00 21 e7 00 00 08 00

<3>[ 2003.291625] end_request: I/O error, dev sda, sector 8679

<3>[ 2003.291778] Buffer I/O error on device sda1, logical block 1077

<4>[ 2003.292114] EXT4-fs warning (device sda1): ext4_end_bio:258: I/O error writing to inode 13 (offset 217088 size 4096 starting block 1085)

<3>[ 2003.297576] EXT4-fs (sda1): previous I/O error to superblock detected

<2>[ 2003.297851] EXT4-fs error (device sda1): __ext4_get_inode_loc:4823: inode #13: block 5: comm libestool.so: unable to read itable block

<2>[ 2003.299560] EXT4-fs error (device sda1) in ext4_reserve_inode_write:5663: IO failure

<3>[ 2003.299743] EXT4-fs (sda1): previous I/O error to superblock detected

<2>[ 2003.300415] EXT4-fs error (device sda1): ext4_read_block_bitmap:353: comm libestool.so: Cannot read block bitmap - block_group = 0, block_bitmap = 3

<3>[ 2003.300720] EXT4-fs (sda1): previous I/O error to superblock detected

<2>[ 2003.301116] EXT4-fs error (device sda1): ext4_discard_preallocations:3828: comm libestool.so: Error reading block bitmap for 0

<3>[ 2003.301391] EXT4-fs (sda1): previous I/O error to superblock detected

<2>[ 2003.301727] EXT4-fs error (device sda1): ext4_read_block_bitmap:353: comm libestool.so: Cannot read block bitmap - block_group = 0, block_bitmap = 3

<3>[ 2003.302032] EXT4-fs (sda1): previous I/O error to superblock detected

<2>[ 2003.302398] EXT4-fs error (device sda1): ext4_discard_preallocations:3828: comm libestool.so: Error reading block bitmap for 0

<3>[ 2003.302703] EXT4-fs (sda1): previous I/O error to superblock detected

<3>[ 2003.303802] EXT4-fs (sda1): previous I/O error to superblock detected

<2>[ 2003.304168] EXT4-fs error (device sda1): ext4_free_branches:4377: inode #13: block 536: comm libestool.so: Read failure

<3>[ 2003.305358] EXT4-fs (sda1): previous I/O error to superblock detected

<2>[ 2003.305755] EXT4-fs error (device sda1): __ext4_get_inode_loc:4823: inode #13: block 5: comm libestool.so: unable to read itable block

<2>[ 2003.306365] EXT4-fs error (device sda1) in ext4_reserve_inode_write:5663: IO failure

<3>[ 2003.306518] EXT4-fs (sda1): previous I/O error to superblock detected

<3>[ 2003.336242] EXT4-fs (sda1): previous I/O error to superblock detected

<2>[ 2003.336364] EXT4-fs error (device sda1): ext4_find_entry:934: inode #2: comm libestool.so: reading directory lblock 0

<3>[ 2003.411834] EXT4-fs (sda1): previous I/O error to superblock detected

<2>[ 2003.412017] EXT4-fs error (device sda1): __ext4_get_inode_loc:4823: inode #2: block 5: comm ngs.android.pop: unable to read itable block

<2>[ 2003.412414] EXT4-fs error (device sda1) in ext4_reserve_inode_write:5663: IO failure

<3>[ 2003.412567] EXT4-fs (sda1): previous I/O error to superblock detected

<3>[ 2008.311859] EXT4-fs (sda1): previous I/O error to superblock detected

<2>[ 2008.312194] EXT4-fs error (device sda1): __ext4_get_inode_loc:4823: inode #13: block 5: comm bdi-default: unable to read itable block

<3>[ 2008.313110] EXT4-fs (sda1): previous I/O error to superblock detected

<2>[ 2008.313415] EXT4-fs error (device sda1): __ext4_get_inode_loc:4823: inode #2: block 5: comm bdi-default: unable to read itable block

<6>[ 2025.582702] fsa9480 4-0025: cable detect change, from 'unknown/none' to 'usb-host'

<6>[ 2026.233337] usb 1-1: new high speed USB device number 3 using musb-hdrc

<3>[ 2026.388244] usb 1-1: device v090c p6200 is not supported

<6>[ 2026.388427] usb 1-1: New USB device found, idVendor=090c, idProduct=6200

<6>[ 2026.388763] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3

<6>[ 2026.389068] usb 1-1: Product: Generic USB2.0 card

<6>[ 2026.389221] usb 1-1: Manufacturer: Silicon Motion, Inc.

<6>[ 2026.389373] usb 1-1: SerialNumber: 12345678901234567890

<6>[ 2026.392089] scsi1 : usb-storage 1-1:1.0

<6>[ 2030.177124] fsa9480 4-0025: cable detect change, from 'usb-host' to 'unknown/none'

<4>[ 2030.180053] fsa9480 4-0025: irq fired, but nothing happened

<6>[ 2030.181335] fsa9480 4-0025: nothing attached, keeping ownership of port

<6>[ 2031.197509] max17040 4-0036: online = 1 vcell = 3600000 soc = 21 status = 2 health = 1 temp = 370 charger status = 0

<6>[ 2034.948303] fsa9480 4-0025: cable detect change, from 'unknown/none' to 'usb-host'

<6>[ 2035.182495] usb 1-1: USB disconnect, device number 3

<6>[ 2045.606109] fsa9480 4-0025: cable detect change, from 'usb-host' to 'unknown/none'

<4>[ 2045.609100] fsa9480 4-0025: irq fired, but nothing happened

<6>[ 2045.610321] fsa9480 4-0025: nothing attached, keeping ownership of port

<6>[ 2046.627288] max17040 4-0036: online = 1 vcell = 3602500 soc = 21 status = 2 health = 1 temp = 370 charger status = 0

<4>[ 2048.832824] ------------[ cut here ]------------

<4>[ 2048.832916] WARNING: at drivers/usb/musb/musb_host.c:125 musb_h_tx_flush_fifo+0x78/0x84()

<4>[ 2048.833068] Could not flush host TX2 fifo: csr: 2003

<4>[ 2048.833160] Modules linked in:

<4>[ 2048.833404] [<c0055de4>] (unwind_backtrace+0x0/0xf8) from [<c00983a8>] (warn_slowpath_common+0x4c/0x64)

<4>[ 2048.833526] [<c00983a8>] (warn_slowpath_common+0x4c/0x64) from [<c0098454>] (warn_slowpath_fmt+0x30/0x40)

<4>[ 2048.833679] [<c0098454>] (warn_slowpath_fmt+0x30/0x40) from [<c0366d70>] (musb_h_tx_flush_fifo+0x78/0x84)

<4>[ 2048.833862] [<c0366d70>] (musb_h_tx_flush_fifo+0x78/0x84) from [<c0367724>] (musb_cleanup_urb+0xb0/0xd4)

<4>[ 2048.834014] [<c0367724>] (musb_cleanup_urb+0xb0/0xd4) from [<c0367990>] (musb_urb_dequeue+0xfc/0x13c)

<4>[ 2048.834167] [<c0367990>] (musb_urb_dequeue+0xfc/0x13c) from [<c03441b0>] (usb_hcd_unlink_urb+0x60/0xac)

<4>[ 2048.834350] [<c03441b0>] (usb_hcd_unlink_urb+0x60/0xac) from [<c035d938>] (usb_stor_stop_transport+0x48/0x60)

<4>[ 2048.834442] [<c035d938>] (usb_stor_stop_transport+0x48/0x60) from [<c035c36c>] (command_abort+0x80/0x84)

<4>[ 2048.834564] [<c035c36c>] (command_abort+0x80/0x84) from [<c02d50ec>] (scsi_error_handler+0x3a4/0x49c)

<4>[ 2048.834716] [<c02d50ec>] (scsi_error_handler+0x3a4/0x49c) from [<c00b227c>] (kthread+0x80/0x88)

<4>[ 2048.834899] [<c00b227c>] (kthread+0x80/0x88) from [<c0050148>] (kernel_thread_exit+0x0/0x8)

<4>[ 2048.835052] Board Information: Tuna HW revision: 09 (Maguro 8th Sample), cpu OMAP4460 ES1.1

<4>[ 2048.835144] ---[ end trace 33de6ebe35ad56b7 ]---

<6>[ 2048.837768] scsi 1:0:0:0: Device offlined - not ready after error recovery

I found a thread on TI site for the OMAP4460 that discusses an error like mine but the signature is not the same, seems there they were having a problem with the the TCP/IP stack becoming corrupted because the processor was allocating memory too fast. Something like that is happening here. All I really know is it has to do with the handling of the L3 cache.