This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

jffs2 returning -ENOSPC


Hello,

Still problems with JFFS2. Running, for example, jffs2_2 test, with the biggest debug output from JFFS, I get, at some point:

<7>jffs2_dump_block_lists:
<7>flash_size: 00030000
<7>used_size: 00000040
<7>dirty_size: 00000000
<7>wasted_size: 00000000
<7>unchecked_size: 00000070
<7>free_size: 0002ff50
<7>erasing_size: 00000000
<7>bad_size: 00000000
<7>sector_size: 00010000
<7>jffs2_reserved_blocks size: 00000000
<7>nextblock: 00000000 (used 00000040, dirty 00000000, wasted 00000000, unchecked 00000070, free 0000ff50)


.........................

jffs2_mounted superblock at 2000f668
INFO:<creating /fseek>
jffs2_open
init_dirsearch name = fseek
init_dirsearch dir = 2000f668
jffs2_find for path =fseek
find_entry
find_entry for name = fseek
jffs2_lookup()
find_entry got dir = 0
<7>jffs2_create()
<7>jffs2_new_inode(): dir_i 1, mode 0x16f0008
malloc new_inode 2000f748 ####################################
<7>Allocated inocache at 0x2000f7b0
<7>jffs2_do_new_inode(): Assigned ino# 3
<7>jffs2_add_ino_cache: Add 0x2000f7b0 (ino #3)
<7>jffs2_reserve_space(): Requested 0x44 bytes
<7>jffs2_reserve_space(): alloc sem got
<7>dirty size 0x00000070 + unchecked_size 0x00000070 < nospc_dirty_size 0x00010000, returning -ENOSPC
<7>jffs2_do_create(): reserved 0x3 bytes
<7>jffs2_clear_inode(): ino #3 mode %o
FAIL: fopen() returned NULL, No such entity
EXIT:<done>


Any hints are highly appreciated.
Regards,
Edgar

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]