From: David Vrabel <dvrabel@arcom.co.uk>
To: mtd@infradead.org
Subject: JFFS garbage collection(?) fails
Date: Wed, 09 Aug 2000 12:54:47 +0100 [thread overview]
Message-ID: <39914687.2D805542@arcom.co.uk> (raw)
Hi,
I was running a script which copies files back and forth checking their
checksums. The machine would then reboot after a random time (between
5-10 min). The test had been running successfully for about 2 hrs.
Here's a sample of the log produced
Aug 9 12:17:33 linux-sbc logger: 1k: OK
Aug 9 12:17:33 linux-sbc logger: 2k: OK
Aug 9 12:17:33 linux-sbc logger: 4k: OK
Aug 9 12:17:33 linux-sbc logger: 8k: OK
Aug 9 12:17:33 linux-sbc logger: Success
Aug 9 12:17:33 linux-sbc kernel: jffs_garbage_collect_thread():
collecting.
Aug 9 12:17:33 linux-sbc last message repeated 21 times
Aug 9 12:17:33 linux-sbc kernel: Waiting for chip, status = 4
[machine reboots here]
Aug 9 12:18:59 linux-sbc syslogd 1.3-3: restart.
Aug 9 12:18:59 linux-sbc kernel: jffs_mknod: bogus imode (140755)
[The above line looks odd too...]
Aug 9 12:18:59 linux-sbc logger: Starting test...
Aug 9 12:18:59 linux-sbc logger: 1k: OK
Aug 9 12:18:59 linux-sbc logger: 2k: OK
Aug 9 12:18:59 linux-sbc logger: 4k: OK
Aug 9 12:18:59 linux-sbc logger: 8k: OK
Aug 9 12:18:59 linux-sbc logger: Success
[lots more successes...(about 20)]
Aug 9 12:19:04 linux-sbc logger: 1k: OK
Aug 9 12:19:04 linux-sbc logger: 2k: OK
Aug 9 12:19:05 linux-sbc logger: 4k: OK
Aug 9 12:19:05 linux-sbc logger: 8k: OK
Aug 9 12:19:05 linux-sbc logger: Success
Aug 9 12:19:05 linux-sbc kernel: jffs_garbage_collect_thread():
collecting.
Aug 9 12:19:05 linux-sbc kernel: jffs_garbage_collect_thread():
collecting.
Aug 9 12:19:05 linux-sbc kernel: jffs_flash_erasable_size() given
length which runs off the end of device (ofs 160000 + len 27ad4 =
187ad4, > 180000)
Aug 9 12:19:05 linux-sbc kernel: jffs_erasable_size:
flash_erasable_size() returned something less than zero (-3).
Aug 9 12:19:05 linux-sbc kernel: jffs_erasable_size: offset =
0x00160000
Aug 9 12:19:05 linux-sbc kernel: jffs_garbage_collect_thread():
collecting.
Aug 9 12:19:05 linux-sbc kernel: jffs_flash_erasable_size() given
length which runs off the end of device (ofs 160000 + len 27b1c =
187b1c, > 180000)
Aug 9 12:19:05 linux-sbc kernel: jffs_erasable_size:
flash_erasable_size() returned something less than zero
(-3).
[and on and on and on...]
The JFFS filesystem is now garbled.
David Vrabel
To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org
next reply other threads:[~2000-08-09 11:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-08-09 11:54 David Vrabel [this message]
2000-08-09 12:08 ` JFFS garbage collection(?) fails David Woodhouse
2000-08-11 13:09 ` David Woodhouse
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=39914687.2D805542@arcom.co.uk \
--to=dvrabel@arcom.co.uk \
--cc=mtd@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