public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Paul Wakeman <prwakeman@yahoo.com>
To: KaiGai Kohei <kaigai@ak.jp.nec.com>
Cc: Paul Wakeman <prwakeman@yahoo.com>, linux-mtd@lists.infradead.org
Subject: Re: jffs2: mount problems when XATTR is enabled
Date: Thu, 26 Jul 2007 07:44:21 -0700 (PDT)	[thread overview]
Message-ID: <54323.51026.qm@web57905.mail.re3.yahoo.com> (raw)
In-Reply-To: <46A81923.3060503@ak.jp.nec.com>

KaiGai Kohei <kaigai@ak.jp.nec.com> wrote:

> KaiGai Kohei wrote:
> > Is it possible to send the following logs?
> > - "ls /" after "dmesg -n 8"

I managed to boot a debug kernel when /mnt/userdata was showing jffs2
errors. "ls /mnt/userdata" returns IO error.

aseries# ls /mnt/userdata
JFFS2 warning: (1783) jffs2_get_inode_nodes: Eep. No valid nodes for
ino #2.
JFFS2 warning: (1783) jffs2_do_read_inode_internal: no data nodes found
for ino #2
ls: /mnt/userdata/4242-1111-1111-0001: Input/output error
aseries# echo 8 > /proc/sys/kernel/printk
aseries# ls /mnt/userdata
jffs2_follow_link(): target path is 'busybox'
jffs2_follow_link(): target path is 'ld-2.4.so'
jffs2_follow_link(): target path is 'libcrypt-2.4.so'
jffs2_follow_link(): target path is 'libc-2.4.so'
jffs2_readdir() for dir_i #1
Dirent 0: ".", ino #1
Dirent 1: "..", ino #1
Dirent 2: "4242-1111-1111-0001", ino #2, type 8
Skipping deletion dirent "4242-1111-1111-0001.new"
jffs2_readdir() for dir_i #1
Skipping dirent: "4242-1111-1111-0001", ino #2, type 8, because curofs
2 < offset 4
Skipping dirent: "4242-1111-1111-0001.new", ino #0, type 0, because
curofs 3 < offset 4
ls: /mnt/userdata/4242-1111-1111-0001: Input/output error

> >  It seems to me that some warnning or notice messages from kernel
> are filtered
> >  due to log message level configuration.
> >  Xattr implementation has a possibility to return -EIO, but I could
> not found
> >  those messages in jffs2-dbg-flashboot.log.gz.
> 
> In addition, is it possible to execute "ls <any other
> directories/files>" ?
> e.g) $ ls /mnt

Yes it is.

aseries# ls /mnt
jffs2_follow_link(): target path is 'busybox'
jffs2_follow_link(): target path is 'ld-2.4.so'
jffs2_follow_link(): target path is 'libcrypt-2.4.so'
jffs2_follow_link(): target path is 'libc-2.4.so'
jffs2_readdir() for dir_i #9
Dirent 0: ".", ino #9
Dirent 1: "..", ino #1
Dirent 2: "nfs", ino #497, type 4
Dirent 3: "src", ino #499, type 4
Dirent 4: "userdata", ino #494, type 4
Dirent 5: "maps", ino #496, type 4
Dirent 6: "rwfs", ino #498, type 4
Dirent 7: "cdrom", ino #492, type 4
Dirent 8: "crash", ino #493, type 4
Dirent 9: "floppy", ino #495, type 4
jffs2_readdir() for dir_i #9
Skipping dirent: "nfs", ino #497, type 4, because curofs 2 < offset 10
Skipping dirent: "src", ino #499, type 4, because curofs 3 < offset 10
Skipping dirent: "userdata", ino #494, type 4, because curofs 4 <
offset 10
Skipping dirent: "maps", ino #496, type 4, because curofs 5 < offset 10
Skipping dirent: "rwfs", ino #498, type 4, because curofs 6 < offset 10
Skipping dirent: "cdrom", ino #492, type 4, because curofs 7 < offset
10
Skipping dirent: "crash", ino #493, type 4, because curofs 8 < offset
10
Skipping dirent: "floppy", ino #495, type 4, because curofs 9 < offset
10
cdrom   crash   userdata    floppy  maps    nfs     rwfs    src

The /mnt/userdata partition is the one where files have XATTRs.

Are others using XATTR with jffs2?

Paul



       
____________________________________________________________________________________
Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow  

  reply	other threads:[~2007-07-26 14:51 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-24 11:59 jffs2: mount problems when XATTR is enabled Paul Wakeman
2007-07-25  2:31 ` KaiGai Kohei
2007-07-25  8:42   ` Paul Wakeman
2007-07-25  9:39     ` KaiGai Kohei
2007-07-25 11:04       ` Paul Wakeman
2007-07-26  2:42         ` KaiGai Kohei
2007-07-26  3:46           ` KaiGai Kohei
2007-07-26 14:44             ` Paul Wakeman [this message]
2007-07-30  4:42               ` KaiGai Kohei
2007-07-26 11:39           ` Paul Wakeman

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=54323.51026.qm@web57905.mail.re3.yahoo.com \
    --to=prwakeman@yahoo.com \
    --cc=kaigai@ak.jp.nec.com \
    --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