From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8904 invoked by alias); 7 Jun 2005 18:06:58 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 8887 invoked by uid 22791); 7 Jun 2005 18:06:54 -0000 Received: from londo.lunn.ch (HELO londo.lunn.ch) (80.238.139.98) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Tue, 07 Jun 2005 18:06:54 +0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1DfiT5-0004Vw-00; Tue, 07 Jun 2005 20:06:27 +0200 Date: Tue, 07 Jun 2005 18:06:00 -0000 To: St?phane Royo Cc: ecos-discuss@sources.redhat.com Message-ID: <20050607180627.GD31731@lunn.ch> Mail-Followup-To: St?phane Royo , ecos-discuss@sources.redhat.com References: <000d01c56b75$30138b20$6501a8c0@europetechnologies.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000d01c56b75$30138b20$6501a8c0@europetechnologies.com> User-Agent: Mutt/1.5.9i From: Andrew Lunn Subject: Re: [ECOS] JFFS2 problems X-SW-Source: 2005-06/txt/msg00055.txt.bz2 On Tue, Jun 07, 2005 at 05:25:50PM +0200, St?phane Royo wrote: > 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 > : 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 : > > : 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. How did you manage to compile the tests without the kernel? The second include statement for jffs2_1.c is ? What size flash blocks does your target use? Andrew -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss