All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Gaëtan Carlier" <gcembed@gmail.com>
To: linux-mtd@lists.infradead.org,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>
Subject: mxc-nand + jffs2 : dir ino #9041 appears to be a hard link
Date: Fri, 05 Oct 2012 17:34:02 +0200	[thread overview]
Message-ID: <506EFDEA.7050305@gmail.com> (raw)

Hello,
I am working with iMX27 (3DS) with NAND support (and bbiswap patch : 
mxc_nand : allow swapping the Bad block Indicator for NFC v1).

Here is errors that I have sometimes after updating a lot of of files.
Everything is working good until I power off the board (before that I 
start that reboot script that sync and umount all filesystems and 
remount / as ro (sync is also run before remount) before reboot.
While this update, there is several "ln -sf" because busybox must be 
updated.

Sometimes it works and sometimes filesystem gets corrupted and gives me 
following kind of errors :
jffs2: error: (1) jffs2_build_inode_pass1: child dir "share" (ino #9044) 
of dir ino #9041 appears to be a hard link


jffs2: warning: (1022) jffs2_get_inode_nodes: Eep. No valid nodes for 
ino #9044.
jffs2: warning: (1022) jffs2_do_read_inode_internal: no data nodes found 
for ino #9044

This never occurs with kernel 2.6.22 from Freescale but with kernel 
3.4.4, it occurs.
I am going to compile kernel 3.4.12 but I don't see anything in commits 
about this problem.

Does anyone have an idea where the problem is ?
Thanks for your help.
Best regards,
Gaëtan Carlier.

WARNING: multiple messages have this Message-ID (diff)
From: gcembed@gmail.com (Gaëtan Carlier)
To: linux-arm-kernel@lists.infradead.org
Subject: mxc-nand + jffs2 : dir ino #9041 appears to be a hard link
Date: Fri, 05 Oct 2012 17:34:02 +0200	[thread overview]
Message-ID: <506EFDEA.7050305@gmail.com> (raw)

Hello,
I am working with iMX27 (3DS) with NAND support (and bbiswap patch : 
mxc_nand : allow swapping the Bad block Indicator for NFC v1).

Here is errors that I have sometimes after updating a lot of of files.
Everything is working good until I power off the board (before that I 
start that reboot script that sync and umount all filesystems and 
remount / as ro (sync is also run before remount) before reboot.
While this update, there is several "ln -sf" because busybox must be 
updated.

Sometimes it works and sometimes filesystem gets corrupted and gives me 
following kind of errors :
jffs2: error: (1) jffs2_build_inode_pass1: child dir "share" (ino #9044) 
of dir ino #9041 appears to be a hard link


jffs2: warning: (1022) jffs2_get_inode_nodes: Eep. No valid nodes for 
ino #9044.
jffs2: warning: (1022) jffs2_do_read_inode_internal: no data nodes found 
for ino #9044

This never occurs with kernel 2.6.22 from Freescale but with kernel 
3.4.4, it occurs.
I am going to compile kernel 3.4.12 but I don't see anything in commits 
about this problem.

Does anyone have an idea where the problem is ?
Thanks for your help.
Best regards,
Ga?tan Carlier.

             reply	other threads:[~2012-10-05 15:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-05 15:34 Gaëtan Carlier [this message]
2012-10-05 15:34 ` mxc-nand + jffs2 : dir ino #9041 appears to be a hard link Gaëtan Carlier

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=506EFDEA.7050305@gmail.com \
    --to=gcembed@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --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 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.