[RTEMS Project] #2705: MMC card FAT32 fs ,single block write OK but muti-block fail

RTEMS trac trac at rtems.org
Wed May 11 09:52:49 UTC 2016


#2705: MMC card  FAT32 fs ,single block write OK but muti-block fail
------------------------+--------------------
 Reporter:  mickye_chn  |      Owner:
     Type:  defect      |     Status:  new
 Priority:  normal      |  Milestone:  4.11.1
Component:  filesystem  |    Version:  4.11
 Severity:  normal      |   Keywords:
------------------------+--------------------
 add mmc card FAT32 FS support in mips architecture ,when I set
 CONFIGURE_BDBUF_MAX_WRITE_BLOCKS=1 ,then create a new file which will used
 in a linux OS  in mounted mmc card fat32 fs.when i mount the mmc card with
 the new file in linux OS,the new file data is OK. But if set
 CONFIGURE_BDBUF_MAX_WRITE_BLOCKS=2 or more ,when i use the new file in
 linux OS,
 it report following print
 $/tmp # cp test.h264 /mnt/
 [   19.015821] FAT-fs (mmcblk0p1): error, fat_bmap_cluster: request beyond
 EOF (i_pos 471971)
 [   19.024455] FAT-fs (mmcblk0p1): Filesystem has been set read-only
 [   19.030831] FAT-fs (mmcblk0p1): error, fat_bmap_cluster: request beyond
 EOF (i_pos 471971)
 [   19.039442] FAT-fs (mmcblk0p1): error, fat_bmap_cluster: request beyond
 EOF (i_pos 471971)
 [   19.048041] FAT-fs (mmcblk0p1): error, fat_bmap_cluster: request beyond
 EOF (i_pos 471971)
 [   19.056635] FAT-fs (mmcblk0p1): error, fat_bmap_cluster: request beyond
 EOF (i_pos 471971)
 [   19.065228] FAT-fs (mmcblk0p1): error, fat_bmap_cluster: request beyond
 EOF (i_pos 471971)



 it seems that the fat tab is damaged,could you tell me how to debug this
 and how to config the fat fs,about CONFIGURE_BDBUF_TASK_STACK_SIZE 、
 CONFIGURE_BDBUF_CACHE_MEMORY_SIZE etc。Thanks

--
Ticket URL: <http://devel.rtems.org/ticket/2705>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list