public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Wookey <wookey@aleph1.co.uk>
To: linux-mtd@lists.infradead.org
Subject: Finding which block 'contains' a missing inode
Date: Thu, 23 Sep 2004 01:43:32 +0100	[thread overview]
Message-ID: <20040923004331.GA24050@xios> (raw)

Hello people, I have a JFFS2 NAND rootfs which is giving a single 
'Eep. Child "gpe-filemanager.desktop" (ino #3324) of dir ino #3035 doesn't
exist!' error.

I'd like to know if there is a way of finding out either form the live fs or
from the jffs2 image file which block the offending inode/file should have
been on?

Background: The kernel indicated one 'bad erase block' that is under this
fs, but flasheraseall found no problem, and nandwrite did not skip that
block. I worry that the block in question doesn't actually have the right
data in it - if it corresponded to the above inode then I'd be sure I had
located the problem.

There is also a 'normal' bad block (which gives an IO error when
flasheraseall tries to erase it) - this _is_ skipped by nandwrite as expected.

TIA

Wookey
-- 
Aleph One Ltd, Bottisham, CAMBRIDGE, CB5 9BA, UK  Tel +44 (0) 1223 811679
work: http://www.aleph1.co.uk/     play: http://www.chaos.org.uk/~wookey/

             reply	other threads:[~2004-09-23  0:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-23  0:43 Wookey [this message]
2004-09-23  7:10 ` Finding which block 'contains' a missing inode Thomas Gleixner
2004-09-23 12:33   ` Wookey

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=20040923004331.GA24050@xios \
    --to=wookey@aleph1.co.uk \
    --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