This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
JFFS2 problems
- From: Stéphane Royo <stephane dot royo at europe-technologies dot com>
- To: <ecos-discuss at sources dot redhat dot com>
- Date: Tue, 7 Jun 2005 17:25:50 +0200
- Subject: [ECOS] JFFS2 problems
Hi everybody,
I ported JFFS2 package on my board and i have two problems. The first
concerns the last umount of jffs2_1 test (umount("/")), it always returns
the following error :
Ino #1 has use count 2
<FAIL>: umount() returned -1 Resource busy.
I didn't make any modification on jffs2_1.
I think the second problem is due to garbage collection. When i execute the
jffs2_1 about ten times the following
error appears :
<FAIL>: open() returned -1 No space left on device
ASSERT FAIL: fd.cxx[280]cyg_file* cyg_fp_get() fd out of range
ASSERT FAIL: fd.cxx [ 280] cyg_file* cyg_fp_get()
and in same way, when i execute the jffs2_3 i have the error :
<5>jffs2_reserve_space(): Low on dirty space to GC, but it's a deletion.
Allowin
g...
FAIL: creat() returned -0000001
ASSERT FAIL: fd.cxx[280]cyg_file* cyg_fp_get() fd out of range
ASSERT FAIL: fd.cxx [ 280] cyg_file* cyg_fp_get()
fd out of range
For information, i use the minimal configuration for JFFS2 (no kernel, no
com driver, only lib, JFFS2 package and flash driver) and the
CYGNUM_IO_FLASH_BLOCK_LENGTH_1 is equals to 256kb.
I would like to know if somebody has encountered the same problems.
Thank,
Stephane
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss