public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Andrew Lunn <andrew@lunn.ch>
To: St?phane Royo <stephane.royo@europe-technologies.com>
Cc: ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] JFFS2 problems
Date: Tue, 07 Jun 2005 18:06:00 -0000	[thread overview]
Message-ID: <20050607180627.GD31731@lunn.ch> (raw)
In-Reply-To: <000d01c56b75$30138b20$6501a8c0@europetechnologies.com>

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
> <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.

How did you manage to compile the tests without the kernel? The second
include statement for jffs2_1.c is <pkgconf/kernel.h>?

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

      reply	other threads:[~2005-06-07 18:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-07 15:26 Stéphane Royo
2005-06-07 18:06 ` Andrew Lunn [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050607180627.GD31731@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=ecos-discuss@sources.redhat.com \
    --cc=stephane.royo@europe-technologies.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).