[#3960] When generate a file into ext2 fs on one specific SD card on BF548-EZKIT, there will be data transferring error
Submitted By: Vivi Li
Open Date
2008-03-06 04:55:45
Priority:
Very Low Assignee:
Nobody
Status:
Open Fixed In Release:
N/A
Found In Release:
2008R1-RC8 Release:
Category:
N/A Board:
N/A
Processor:
BF548 Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
N/A
Uboot version or rev.:
Toolchain version or rev.:
08r1-8
App binary format:
N/A
Summary: When generate a file into ext2 fs on one specific SD card on BF548-EZKIT, there will be data transferring error
Details:
When generate a file on SD card through SDIOMMC port on BF548-EZKIT, there will be data transferring error 2.
No such error message for MMC card.
Below is the log:
--
root:/> echo 100 > /proc/sys/vm/pagecache_ratio
root:/> mount -t ext2 /dev/mmcblk0p1 /mnt/
root:/> umount /mnt/
root:/> mount -t ext2 -o sync /dev/mmcblk0p1 /mnt/
root:/> time dd if=/dev/zero of=/mnt/10.bin bs=1M count=10
mmcblk0: error 2 transferring data
mmcblk0: error 2 transferring data
mmcblk0: error 2 transferring data
mmcblk0: error 2 transferring data
mmcblk0: error 2 transferring data
mmcblk0: error 2 transferring data
mmcblk0: error 2 transferring data
mmcblk0: error 2 transferring data
mmcblk0: error 2 transferring data
mmcblk0: error 2 transferring data
mmcblk0: error 2 transferring data
EXT2-fs error (device mmcblk0p1): ext2_new_block: Allocating block in system zone - block = 8201
EXT2-fs error (device mmcblk0p1): ext2_new_block: Allocating block in system zone - block = 8208
EXT2-fs error (device mmcblk0p1): ext2_new_block: Allocating block in system zone - block = 8213
EXT2-fs error (device mmcblk0p1): ext2_new_block: Allocating block in system zone - block = 8215
EXT2-fs error (device mmcblk0p1): ext2_new_block: Allocating block in system zone - block = 8218
EXT2-fs error (device mmcblk0p1): ext2_new_block: Allocating block in system zone - block = 8221
EXT2-fs error (device mmcblk0p1): ext2_new_block: Allocating block in system zone - block = 8229
EXT2-fs error (device mmcblk0p1): ext2_new_block: Allocating block in system zone - block = 8237
EXT2-fs error (device mmcblk0p1): ext2_new_block: Allocating block in system zone - block = 8240
EXT2-fs error (device mmcblk0p1): ext2_new_block: Allocating block in system zone - block = 8245
EXT2-fs error (device mmcblk0p1): ext2_new_block: Allocating block in system zone - block = 8247
EXT2-fs error (device mmcblk0p1): ext2_new_block: Allocating block in system zone - block = 8250
EXT2-fs error (device mmcblk0p1): ext2_new_block: Allocating block in system zone - block = 8253
EXT2-fs error (device mmcblk0p1): ext2_new_block: Allocating block in system zone - block = 8261
EXT2-fs error (device mmcblk0p1): ext2_new_block: Allocating block in system zone - block = 8269
EXT2-fs error (device mmcblk0p1): ext2_new_block: Allocating block in system zone - block = 8272
EXT2-fs error (device mmcblk0p1): ext2_new_block: Allocating block in system zone - block = 8277
EXT2-fs error (device mmcblk0p1): ext2_new_block: Allocating block in system zone - block = 8279
EXT2-fs error (device mmcblk0p1): ext2_new_block: Allocating block in system zone - block = 8282
EXT2-fs error (device mmcblk0p1): ext2_new_block: Allocating block in system zone - block = 8285
EXT2-fs error (device mmcblk0p1): ext2_new_block: Allocating block in system zone - block = 8321
mmcblk0: error 2 transferring data
mmcblk0: error 2 transferring data
mmcblk0: error 2 transferring data
mmcblk0: error 2 transferring data
10+0 records in
10+0 records out
real 0m 29.67s
user 0m 0.00s
sys 0m 0.76s
root:/>
--
Follow-ups
--- Vivi Li 2008-03-06 05:00:43
This error message "mmcblk0: error 2 transferring data" only appears
for ext2 fs.
--- Cliff Cai 2008-03-17 03:10:11
It's ok on v1.3 BF548.
Cliff
--- Vivi Li 2008-03-19 03:34:40
Now only a 1GB SD card from Transcend still have this problem.
--- Cliff Cai 2008-03-25 23:32:43
The error number means a CRC error.After setting the bus-width to 1 bit the card
can work properly. So maybe you need to test more cards to see if the problem is
caused by sdh or card itself.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
No Files Were Found