USB stops working after copy a large file

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

USB stops working after copy a large file

2,023件の閲覧回数
chenkongjun
Contributor I

Hi,

I plugin a USB memory on i.MX257-based board. It is detected and seems to work.

After mount USB to /mnt/usb,I start to test by loop copy a testfile from /mnt/usb folder

to  /mnt/usb/temp folder.when the testfile size is over than 1M bytes,I/O error occurs

and it stops working(unmounts itself)  after a while.

by the way,the linux kernel version is 2.6.28.

See the attached error log for more information. Appreciate any help to solve this trouble

Best Regards

ラベル(1)
0 件の賞賛
返信
4 返答(返信)

1,860件の閲覧回数
Yuri
NXP Employee
NXP Employee

To be fully on safe side, please double check if oscillator provides correct frequency.

Sometimes it affects large file transfer, since USB is frequency sensitive.

~Yuri.

0 件の賞賛
返信

1,860件の閲覧回数
fabio_estevam
NXP Employee
NXP Employee

Yes, I would also recommend you using a more recent kernel.

You can try the latest stable 3.16.2.

1,860件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi chen

first I would highly suggest to move to more new kernel,

since it has better memory management

L2.6.31_09.12.00_SDK_SOURCE : Linux 2.6.31 Source Code

Second from log seems that this may be caused also by hardware, since

big size data transfer causes big noise on system, so additionally I would suggest to

test memory. Just for testing you may wish to decrease operating frequency (procesor and

memory) and test if issue will persist. Probably you can change memory stick, use

well known vendor.

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

1,860件の閲覧回数
chenkongjun
Contributor I

Hi igorpadykov

thank you for the reply.

In this project ,we have finished a lot of interface test except USB.

so  recompile kernel is not the best way.

in order to find out the reason,i'll try to test by using a more recent  kernel

0 件の賞賛
返信