Hello All,
    I'm using Davinci EVM for developing multimedia product. I'm trying to use
2.6.23 kernel cut from git tree.  In the default configuration of the kernel,
the usb driver mode is "USB peripheral", I changed it to "USB Host".
re-build the kernel and boot. I noticed the usb driver is unstable. I did the
following test:

#mount /dev/sda1 /mnt

(1) read from U-disk
#while [ 1 ]; do cp /mnt/test.gz /tmp/test.gz; sync; rm -f /tmp/test.gz; done;

It's ok.

(2) write to U-disk, some errors occured:
#while [ 1 ]; do cp /tmp/test.gz /mnt/test.gz; sync; rm -f /mnt/test.gz; done;

ERROR Message:

usb 1-1: reset high speed USB device using musb_hdrc and address 2 
usb 1-1: reset high speed USB device using musb_hdrc and address 2 
sd 0:0:0:0: [sda] Result: hostbyte=0x07 driverbyte=0x00 
end_request: I/O error, dev sda, sector 130650 
usb 1-1: reset high speed USB device using musb_hdrc and address 2 
usb 1-1: reset high speed USB device using musb_hdrc and address 2 
sd 0:0:0:0: [sda] Result: hostbyte=0x07 driverbyte=0x00 
end_request: I/O error, dev sda, sector 194 
FAT: FAT read failed (blocknr 162) 
cp: usb 1-1: reset high speed USB device using musb_hdrc and address 2 
writing `/mnt/kav7_1.rar': Input/output error 
usb 1-1: reset high speed USB device using musb_hdrc and address 2
..........
usb 1-1: reset high speed USB device using musb_hdrc and address 2 
sd 0:0:0:0: [sda] Result: hostbyte=0x07 driverbyte=0x00 
end_request: I/O error, dev sda, sector 187 
Buffer I/O error on device sda1, logical block 155 
lost page write due to I/O error on sda1 
Buffer I/O error on device sda1, logical block 156 
lost page write due to I/O error on sda1 
Buffer I/O error on device sda1, logical block 157 
lost page write due to I/O error on sda1 
Buffer I/O error on device sda1, logical block 158 
lost page write due to I/O error on sda1 
Buffer I/O error on device sda1, logical block 159 
lost page write due to I/O error on sda1 
Buffer I/O error on device sda1, logical block 160 
lost page write due to I/O error on sda1 
usb 1-1: reset high speed USB device using musb_hdrc and address 2


Can anybody help me out for solving this issue? What should i do the next step?
Thanks.


Frank Xue
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to