public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Gerrit Van de Velde <gvd@denayer.wenk.be>
To: linux-mtd@lists.infradead.org
Subject: JFFS2 strange behaveour
Date: 01 Mar 2004 16:48:38 +0100	[thread overview]
Message-ID: <1078156118.4832.7.camel@nios> (raw)

Hello,

I've made a JFFS2 image from my root filesystem to use in an embedded
platform (Motorola MPC5200). Everything works, i can mount it when burnt
into flash but when I switch from root filesystem on NFS to the image
which resides in FLASH, I get following strange errors during startup:

jffs_scan_flash(): Did not find even a single chunk of free space. This
is BAD!
jffs_scan_falsh():Free size accounting screwed
jfffs_scan_flash():free_chunk_size1 == 0xd00000, free_chunk_size2 ==
0x0, fmc->free_size == 0x0
JFFS: Failed to mount device 1f:02.
VFS: Mounted root (jffs2 filesystem).

So JFFS states: mount failed,
VFS states: mount successful...

after that i get the login prompt and only after one minute i'm able to
login (don't know why)

after logged in i can retrieve the following information:

# df
Filesystem           1k-blocks      Used Available Use% Mounted on
rootfs                   13312      3920      9392  29% /
/dev/mtdblock2           13312      3920      9392  29% /

# dmesg
<snip>Kernel command line: root=/dev/mtdblock2 rw
ip=192.168.0.3:192.168.0.150:192.168.0.1:255.255.255.0:icecube::off
init=init
<snip>

# cat /etc/fstab
none /proc proc defaults

Does anyone know why df states two mounts on the /
and why the jffs errors occur during startup ?

Kind regards,
Gerrit Van de Velde

             reply	other threads:[~2004-03-01 15:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-01 15:48 Gerrit Van de Velde [this message]
2004-03-01 16:05 ` JFFS2 strange behaveour David Woodhouse
2004-03-01 16:20   ` Gerrit Van de Velde

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=1078156118.4832.7.camel@nios \
    --to=gvd@denayer.wenk.be \
    --cc=linux-mtd@lists.infradead.org \
    /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