It seems that the USB driver is trying to flush the data to the USB device 
(HDD??) from the USB controller fifo and is not able to flush the same.

regards
swami
________________________________
From: davinci-linux-open-source-boun...@linux.davincidsp.com 
[davinci-linux-open-source-boun...@linux.davincidsp.com] On Behalf Of J.C. Wren 
[jcw...@jcwren.com]
Sent: Wednesday, August 26, 2009 6:52 AM
To: davinci-linux-open-source@linux.davincidsp.com
Subject: Problem with USB host mode + audio on DM6446

I just got my audio working this evening with a TLV320DAC32 DAC on a near-copy 
of the DM6446 EVM board (we use the TLV320DAC32 instead of the TLV320AIC33 and 
drop the I2C port expanders).  I've had USB host mode working for a while, but 
now when I try to use audio after mounting a flash disk, or mount a flashdisk 
after using audio, I'm getting various errors as shown below.

I thought I read a post here somewhere about a problem along these lines, but I 
can't seem to find it in the archives.  Is this anything new?  This is 
2.6.31-rc7.  CPPI DMA is enabled.

# aplay julie.wav
Playing WAVE 'julie.wav' : Signed 16 bit Little Endian, Rate 8000 Hz, Mono
# mount /dev/usb/flashdisk /mnt/usb
------------[ cut here ]------------
WARNING: at drivers/usb/musb/musb_host.c:123 musb_h_tx_flush_fifo+0x8c/0xc4()
Could not flush host TX2 fifo: csr: 3403
Modules linked in:
[<c00245a4>] (unwind_backtrace+0x0/0xdc) from [<c0032d50>] 
(warn_slowpath_common+0x4c/0x68)
[<c0032d50>] (warn_slowpath_common+0x4c/0x68) from [<c0032da8>] 
(warn_slowpath_fmt+0x28/0x38)
[<c0032da8>] (warn_slowpath_fmt+0x28/0x38) from [<c017c11c>] 
(musb_h_tx_flush_fifo+0x8c/0xc4)
[<c017c11c>] (musb_h_tx_flush_fifo+0x8c/0xc4) from [<c017cdf4>] 
(musb_cleanup_urb+0xc8/0x128)
[<c017cdf4>] (musb_cleanup_urb+0xc8/0x128) from [<c017e884>] 
(musb_urb_dequeue+0x154/0x1a8)
[<c017e884>] (musb_urb_dequeue+0x154/0x1a8) from [<c0169e14>] 
(unlink1+0xf8/0x104)
[<c0169e14>] (unlink1+0xf8/0x104) from [<c016aa3c>] 
(usb_hcd_unlink_urb+0x80/0xdc)
[<c016aa3c>] (usb_hcd_unlink_urb+0x80/0xdc) from [<c0177d34>] 
(usb_stor_stop_transport+0x34/0x64)
[<c0177d34>] (usb_stor_stop_transport+0x34/0x64) from [<c01770b4>] 
(command_abort+0xb4/0xf8)
[<c01770b4>] (command_abort+0xb4/0xf8) from [<c0139ce0>] 
(__scsi_try_to_abort_cmd+0x28/0x34)
[<c0139ce0>] (__scsi_try_to_abort_cmd+0x28/0x34) from [<c013b6b8>] 
(scsi_error_handler+0x13c/0x380)
[<c013b6b8>] (scsi_error_handler+0x13c/0x380) from [<c00474c0>] 
(kthread+0x78/0x80)
[<c00474c0>] (kthread+0x78/0x80) from [<c001fdac>] (kernel_thread_exit+0x0/0x8)
---[ end trace 7f7bc59e1dccb59c ]---
usb 1-1: reset high speed USB device using musb_hdrc and address 2
usb 1-1: device descriptor read/64, error -110
usb 1-1: device descriptor read/64, error -110
usb 1-1: reset high speed USB device using musb_hdrc and address 2
usb 1-1: device descriptor read/64, error -110
usb 1-1: device descriptor read/64, error -110
usb 1-1: reset high speed USB device using musb_hdrc and address 2
usb 1-1: device not accepting address 2, error -110
usb 1-1: reset high speed USB device using musb_hdrc and address 2
usb 1-1: device not accepting address 2, error -110
usb 1-1: USB disconnect, address 2
sd 0:0:0:0: Device offlined - not ready after error recovery
mount: mounting /dev/usb/flashdisk on /mnt/usb failed: No medium found
# usb 1-1: new high speed USB device using musb_hdrc and address 3

_______________________________________________
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to