3 个解决方案
#1
这肯定是sd host端出问题了,你debug下再把详细的信息贴出来
#2
如下:我复制一个450K的图片文件,复制到一半SD卡掉线了,查看SD卡内的文件没有450k,图片没复制成功。
[root@FriendlyARM /yuv]# ls -lht
-rw-r--r-- 1 root root 13.8K Jan 27 12:04 akiyo0_640x480.h264
-rw-r--r-- 1 root root 38 Jan 27 12:04 akiyo1_640x480.h264
-rw------- 1 root root 450.0K Nov 15 11:39 akiyo_640x480.yuv
[root@FriendlyARM /yuv]# cp akiyo_640x480.yuv /sdcard/yuv/
[ 370.660000] mmc1: Card removed during transfer!
[ 370.660000] mmc1: Resetting controller.
[ 370.660000] mmcblk1: unknown error -123 sending read/write command, card status 0xe00
[ 370.660000] end_request: I/O error, dev mmcblk1, sector 319118
[ 370.660000] Buffer I/O error on device mmcblk1p1, logical block 9870
[ 370.660000] lost page write due to I/O error on mmcblk1p1
cp: write error: Input/output error
[root@FriendlyARM /yuv]#
[root@FriendlyARM /yuv]# ls -lht
-rw-r--r-- 1 root root 13.8K Jan 27 12:04 akiyo0_640x480.h264
-rw-r--r-- 1 root root 38 Jan 27 12:04 akiyo1_640x480.h264
-rw------- 1 root root 450.0K Nov 15 11:39 akiyo_640x480.yuv
[root@FriendlyARM /yuv]# cp akiyo_640x480.yuv /sdcard/yuv/
[ 370.660000] mmc1: Card removed during transfer!
[ 370.660000] mmc1: Resetting controller.
[ 370.660000] mmcblk1: unknown error -123 sending read/write command, card status 0xe00
[ 370.660000] end_request: I/O error, dev mmcblk1, sector 319118
[ 370.660000] Buffer I/O error on device mmcblk1p1, logical block 9870
[ 370.660000] lost page write due to I/O error on mmcblk1p1
cp: write error: Input/output error
[root@FriendlyARM /yuv]#
#3
mmc1: Card removed during transfer!
不是 接触不良就是供电不足 。
不是 接触不良就是供电不足 。
#1
这肯定是sd host端出问题了,你debug下再把详细的信息贴出来
#2
如下:我复制一个450K的图片文件,复制到一半SD卡掉线了,查看SD卡内的文件没有450k,图片没复制成功。
[root@FriendlyARM /yuv]# ls -lht
-rw-r--r-- 1 root root 13.8K Jan 27 12:04 akiyo0_640x480.h264
-rw-r--r-- 1 root root 38 Jan 27 12:04 akiyo1_640x480.h264
-rw------- 1 root root 450.0K Nov 15 11:39 akiyo_640x480.yuv
[root@FriendlyARM /yuv]# cp akiyo_640x480.yuv /sdcard/yuv/
[ 370.660000] mmc1: Card removed during transfer!
[ 370.660000] mmc1: Resetting controller.
[ 370.660000] mmcblk1: unknown error -123 sending read/write command, card status 0xe00
[ 370.660000] end_request: I/O error, dev mmcblk1, sector 319118
[ 370.660000] Buffer I/O error on device mmcblk1p1, logical block 9870
[ 370.660000] lost page write due to I/O error on mmcblk1p1
cp: write error: Input/output error
[root@FriendlyARM /yuv]#
[root@FriendlyARM /yuv]# ls -lht
-rw-r--r-- 1 root root 13.8K Jan 27 12:04 akiyo0_640x480.h264
-rw-r--r-- 1 root root 38 Jan 27 12:04 akiyo1_640x480.h264
-rw------- 1 root root 450.0K Nov 15 11:39 akiyo_640x480.yuv
[root@FriendlyARM /yuv]# cp akiyo_640x480.yuv /sdcard/yuv/
[ 370.660000] mmc1: Card removed during transfer!
[ 370.660000] mmc1: Resetting controller.
[ 370.660000] mmcblk1: unknown error -123 sending read/write command, card status 0xe00
[ 370.660000] end_request: I/O error, dev mmcblk1, sector 319118
[ 370.660000] Buffer I/O error on device mmcblk1p1, logical block 9870
[ 370.660000] lost page write due to I/O error on mmcblk1p1
cp: write error: Input/output error
[root@FriendlyARM /yuv]#
#3
mmc1: Card removed during transfer!
不是 接触不良就是供电不足 。
不是 接触不良就是供电不足 。