Problem with FAT32 in RTEMS 4.6.2

Eugeny S. Mints emints at ru.mvista.com
Tue Jan 11 12:00:32 UTC 2005


Hello Daniel,

Unfortunately too little info to suggest something. The only idea is to 
debug fat_scan_fat_for_free_clusters() routine to understand what is the 
reason for "no space left" error.

Daniel Gustafsson wrote:
> Hello.
> 
> I am having problems to use FAT32 with DOSFS in RTEMS 4.6.2.
> 
> Hardware: ERC32
> Storage Media: Non volantile RAM (Have modified the ramdisk driver to fit my
> system)

Hmm, since you use non-volatile RAM storage - what is just fresh 
formatted byte value for this storage - 0x00 or 0xFF ? Probably if it is 
0xFF some value on just formatted storage concurs with reserved fat32 
values and this leads to incorrect detection of space available?

     Eugeny
> 
> I can mount the file system and everything works fine. When I try to create
> a file I get the error "no space left on device". I use a 1GB device, 4096
> sectorsize and 32Kbyte cluster size.
> 
> When I format the disk FAT16 everything works fine and I can then create
> files and more...
> 
> Does anyone have a suggestion???
> 
> Regards
> Daniel
> 
> 
> 





More information about the users mailing list