Skip to contentSkip to conversation

Unable to access JFFS2 filesystem

DISCUSSION [email protected] 2 participants 2 messages Dec 30, 2003 – Jan 2, 2004 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

With David's patches, I am able to access the JFFS2 file system. Thanks. However, the following weird behaviors are observed:

- incorrect filesystem meta-data or not properly displayed when issuing "ls" command.

    # ls -al
    drwxr-xr-x    1 root     root            0 Dec 11  2003 .
    drwxr-xr-x    1 root     root            0 Dec 11  2003 ..
    drwxr-xr-x    1 501      501             0 Dec 11  2003 bin
    drwxr-xr-x    1 501      501             0 Dec 11  2003 dev
    drwxr-xr-x    1 501      501             0 Dec  9  2003 etc
    drwxr-xr-x    1 501      501             0 Dec 11  2003 lib
    lrwxrwxrwx    1 501      501            11 Dec 11  2003 
 linuxrc -> bin/busybox
    drwxr-xr-x    1 root     root            0 Jan  1 00:28 mnt
    dr-xr-xr-x   21 root     root            0 Jan  1 00:00 proc
    drwxr-xr-x    1 501      501             0 Dec 11  2003 sbin
    drwxrwxrwt    1 501      501             0 Jan  1 00:27 tmp
    drwxr-xr-x    1 501      501             0 Dec 11  2003 usr
    drwxr-xr-x    1 501      501             0 Dec 11  2003 var
    # df .
    Filesystem           1k-blocks      Used Available Use% 
 Mounted on
    rootfs                    1024       740       284  72% /

Even though there are files inside bin/ directory, the size of that directory displayed is 0.

- copying file within its own partition results in the following error messages. This problem is happened to the JFFS2 root filesystem only.

...
Raw node at 0x0005ccc0 wasn't in node lists for ino #109 Raw node at 0x0005ccc0 wasn't in node lists for ino #109 Raw node at 0x0005ccc0 wasn't in node lists for ino #109 Raw node at 0x0005ccc0 wasn't in node lists for ino #109 Raw node at 0x0005ccc0 wasn't in node lists for ino #109 Raw node at 0x0005ccc0 wasn't in node lists for ino #109 Raw node at 0x0005ccc0 wasn't in node lists for ino #109 Raw node at 0x0005ccc0 wasn't in node lists for ino #109 Raw node at 0x0005ccc0 wasn't in node lists for ino #109 Raw node at 0x0005ccc0 wasn't in node lists for ino #109 Raw node at 0x0005ccc0 wasn't in node lists for ino #109
...

- The write performance is kind of poor. I have tried to copy files of different sizes from CRAMFS to JFFS2, or from JFFS2 to another JFFS2 partition. On average, the copying speed is approx. 7.5 kbytes/sec. It seems too slow.

Any suggestions / comments are much appreciated.

Thomas

Quoted 24 lines

----- Original Message -----
From: Thayne Harbaugh <[email protected]>
Date: Tuesday, December 30, 2003 9:32 am
Subject: Re: Unable to access JFFS2 filesystem

Quoted 17 lines · On Tue, 2003-12-23 at 12:25, [email protected] wrote:
Quoted 3 lines

I repost this message as I do not get any response.

Primary Vendor Command Set: 0002 (AMD/Fujitsu Standard)

It appears that you are using cfi_cmdset_0002. Please try David Vrabel's patches and let me know if things change.

http://lists.infradead.org/pipermail/linux-mtd/2003-
December/009001.htmlhttp://lists.infradead.org/pipermail/linux- mtd/2003-December/009009.html

Signature · 2 lines
Thayne Harbaugh
Linux Networx
#1 lore raw
Quoted 9 lines · [email protected] wrote:

With David's patches, I am able to access the JFFS2 file system. Thanks. However, the following weird behaviors are observed:

[...]

- The write performance is kind of poor. I have tried to copy files of different sizes from CRAMFS to JFFS2, or from JFFS2 to another JFFS2 partition. On average, the copying speed is approx. 7.5 kbytes/sec. It seems too slow.

Yes. If you're using the patches I produced write performance will be very poor. It disables erase suspends if you're trying to write because they didn't work correctly.

Don't hold your breath waiting for me to fix it. Performance improvements are way down my list of things to do.

David Vrabel

Signature · 10 lines
David Vrabel, Design Engineer

Arcom, Clifton Road           Tel: +44 (0)1223 411200 ext. 3233
Cambridge CB1 7EA, UK         Web: http://www.arcom.com/


_____________________________________________________________________
The message in this transmission is sent in confidence for the attention of the addressee only and should not be disclosed to any other party. Unauthorised recipients are requested to preserve this confidentiality. Please advise the sender if the addressee is not resident at the receiving end.  Email to and from Arcom is automatically monitored for operational and lawful business reasons.

This message has been checked for all viruses by MessageLabs Virus Control Centre.