public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: David Woodhouse <dwmw2@infradead.org>
To: jm1@angert.net
Cc: linux-mtd@lists.infradead.org
Subject: Re: Eep. Child "ncp.cfg" (ino #344) of dir ino #88 doesn't exist!
Date: Fri, 03 May 2002 23:07:15 +0100	[thread overview]
Message-ID: <23795.1020463635@redhat.com> (raw)
In-Reply-To: <Pine.WNT.4.44.0205031453060.1528-100000@tangert-2k.pc.atl.ciena.com>

jm1@angert.net said:
> Today we rebooted it with the latest MTD CVS code (as of 5/2/02) and
> got:

> Eep. Child "ncp.cfg" (ino #344) of dir ino #88 doesn't exist!

> in the syslog.

OK, that looks like filesystem corruption of some kind - you have a 
directory entry for inode #344, but the inode itself doesn't exist.

Does it printk any other clues as to why that happened? Nodes with a bad 
CRC, perhaps?

> I am unable to delete the bad entry from the dir inode:

> # perl -e "unlink 'ncp.cfg';" 
> # ls -la 
> ls: ./ncp.cfg: Input/output

That's very odd. Can you print the return code (and errno) of the unlink() 
syscall? That really ought to work.

Can you compile with CONFIG_JFFS2_FS_DEBUG=1, set /proc/sys/kernel/printk 
to 9 and log the kernel's output during mount and unlink attempts?

I assume the old kernel is showing the same behaviour if you reboot back to 
it?



--
dwmw2

      reply	other threads:[~2002-05-03 22:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-03 19:21 Eep. Child "ncp.cfg" (ino #344) of dir ino #88 doesn't exist! jm1
2002-05-03 22:07 ` David Woodhouse [this message]

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=23795.1020463635@redhat.com \
    --to=dwmw2@infradead.org \
    --cc=jm1@angert.net \
    --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