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: linux-mtd@lists.infradead.org
Subject: Re: jffs2: mount problems when XATTR is enabled
Date: Thu, 26 Jul 2007 04:39:23 -0700 (PDT)	[thread overview]
Message-ID: <79400.65645.qm@web57911.mail.re3.yahoo.com> (raw)
In-Reply-To: <46A80A01.6010108@ak.jp.nec.com>

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

> > Maybe it causes timing differences just by it being compiled in?
> 
> Is it means there are differences of kernels between flash case and
> NFS one? We can confirm it using binary hash such as md5sum

No, it's the same kernel. See the cat /proc/version output in the
previous logs.

> In the tail of jffs2-dbg-flashboot.log.gz, it shows you can execute
> 'df' and
> 'ls' command, although 'ls' reported EIO.

Actually, it was the OS trying to fetch 'ls' from the filesystem that
returned EIO. 'ls' doesn't run at all. Using the following:-

cd /bin
./<TAB><TAB>

to have the shell's auto-completion list the directory contents, 'ls'
is missing. When trying to manually create the link to busybox, it
claims 'ls' already exists. So I create it in /usr/bin instead and then
'ls' works as expected.

> However, success of 'df' means it can open and read /etc/mtab, at
> least.
> Is it installed in /dev/mtdblock2 ?

It is symlinked to /proc/mounts

> Is it possible to send the following logs?
> - "ls /" after "dmesg -n 8"
>  It seems to me that some warnning or notice messages from kernel are
> filtered
>  due to log message level configuration.

I'll need to set the debug level early at boot since the EIO errors
come from the system failing to load 'ls' not the 'ls' executable
itself.

Paul



       
____________________________________________________________________________________
Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out. 
http://answers.yahoo.com/dir/?link=list&sid=396545433

      parent reply	other threads:[~2007-07-26 11:46 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
2007-07-30  4:42               ` KaiGai Kohei
2007-07-26 11:39           ` Paul Wakeman [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=79400.65645.qm@web57911.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