From: Kenneth Johansson <kenneth.johansson@etx.ericsson.se>
To: Alex Zeffertt <ajz@cambridgebroadband.com>
Cc: linuxppc-embedded <linuxppc-embedded@lists.linuxppc.org>,
"mtd@infradead.org" <linux-mtd@lists.infradead.org>
Subject: Re: JFFS2: strange output
Date: Tue, 29 Jan 2002 13:56:58 +0100 [thread overview]
Message-ID: <3C569C1A.38BBF76F@etx.ericsson.se> (raw)
In-Reply-To: 3C5673A4.662CC3E6@cambridgebroadband.com
I think you used up all free blocks and now you basically is in a state where
you have to wait for one to get free before anything can happen. If you just
wait a while when things start to get slow then repeat the test do you get a
few runs that are fast again?
Alex Zeffertt wrote:
>
> Hi all,
>
> I'm using a linux-2.4.4-2001-11-24 kernel on an MPC862 based board.
>
> I've been playing with JFFS2 and getting some strange results.
>
> First I erase /dev/mtd2 (a 6 MB FLASH partition). Then I mount the same partition
>
> > mount -t jffs2 /dev/mtdblock2 /mnt
>
> Then I copy file1 (a 500K file) to /mnt and repeat the following over and over:
>
> > cp /mnt/file1 /mnt/file2; rm /mnt/file1; mv /mnt/file2 /mnt/file1
>
> After 10 of the above I get the following message in /var/log/messages:
>
> Dec 24 00:04:58 gonzo kernel: Waiting for chip to read, status = 4
> Dec 24 00:05:40 gonzo last message repeated 2 times
>
> After 11 of the above I get the following message in /var/log/messages:
>
> Dec 24 00:05:55 gonzo kernel: Waiting for chip to read, status = 4
> Dec 24 00:05:55 gonzo kernel: Waiting for chip to read, status = 7
> Dec 24 00:06:26 gonzo last message repeated 2841 times
>
> By this point the copies are progressing painfully slowly.
>
> I repeated the same test with JFFS1 and had no problems. I repeated the above command 100 times,
> with no strange output in /var/log/messages, and with no slowing down.
>
> Has anybody had similar problems with JFFS2?
>
> Alex
>
> ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
--
Kenneth Johansson
Ericsson Telecom Tel: +46 8 404 71 83
Viderögatan 3 Fax: +46 8 404 72 72
164 80 Stockholm kenneth.johansson@etx.ericsson.se
WARNING: multiple messages have this Message-ID (diff)
From: Kenneth Johansson <kenneth.johansson@etx.ericsson.se>
To: Alex Zeffertt <ajz@cambridgebroadband.com>
Cc: linuxppc-embedded <linuxppc-embedded@lists.linuxppc.org>,
"mtd@infradead.org" <mtd@infradead.org>
Subject: Re: JFFS2: strange output
Date: Tue, 29 Jan 2002 13:56:58 +0100 [thread overview]
Message-ID: <3C569C1A.38BBF76F@etx.ericsson.se> (raw)
In-Reply-To: 3C5673A4.662CC3E6@cambridgebroadband.com
I think you used up all free blocks and now you basically is in a state where
you have to wait for one to get free before anything can happen. If you just
wait a while when things start to get slow then repeat the test do you get a
few runs that are fast again?
Alex Zeffertt wrote:
>
> Hi all,
>
> I'm using a linux-2.4.4-2001-11-24 kernel on an MPC862 based board.
>
> I've been playing with JFFS2 and getting some strange results.
>
> First I erase /dev/mtd2 (a 6 MB FLASH partition). Then I mount the same partition
>
> > mount -t jffs2 /dev/mtdblock2 /mnt
>
> Then I copy file1 (a 500K file) to /mnt and repeat the following over and over:
>
> > cp /mnt/file1 /mnt/file2; rm /mnt/file1; mv /mnt/file2 /mnt/file1
>
> After 10 of the above I get the following message in /var/log/messages:
>
> Dec 24 00:04:58 gonzo kernel: Waiting for chip to read, status = 4
> Dec 24 00:05:40 gonzo last message repeated 2 times
>
> After 11 of the above I get the following message in /var/log/messages:
>
> Dec 24 00:05:55 gonzo kernel: Waiting for chip to read, status = 4
> Dec 24 00:05:55 gonzo kernel: Waiting for chip to read, status = 7
> Dec 24 00:06:26 gonzo last message repeated 2841 times
>
> By this point the copies are progressing painfully slowly.
>
> I repeated the same test with JFFS1 and had no problems. I repeated the above command 100 times,
> with no strange output in /var/log/messages, and with no slowing down.
>
> Has anybody had similar problems with JFFS2?
>
> Alex
>
--
Kenneth Johansson
Ericsson Telecom Tel: +46 8 404 71 83
Viderögatan 3 Fax: +46 8 404 72 72
164 80 Stockholm kenneth.johansson@etx.ericsson.se
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next parent reply other threads:[~2002-01-29 12:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <3C5673A4.662CC3E6@cambridgebroadband.com>
2002-01-29 12:56 ` Kenneth Johansson [this message]
2002-01-29 12:56 ` JFFS2: strange output Kenneth Johansson
2002-01-29 13:13 ` David Woodhouse
2002-01-29 13:13 ` David Woodhouse
2002-01-29 14:33 ` Alex Zeffertt
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=3C569C1A.38BBF76F@etx.ericsson.se \
--to=kenneth.johansson@etx.ericsson.se \
--cc=ajz@cambridgebroadband.com \
--cc=linux-mtd@lists.infradead.org \
--cc=linuxppc-embedded@lists.linuxppc.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.