From: Rick Johnson <rick22@wi.rr.com>
To: dedekind1@gmail.com
Cc: linux-mtd@lists.infradead.org
Subject: Re: read_pnode: error -22 reading pnode at XX:YYYYY
Date: Thu, 05 May 2011 16:07:15 -0500 [thread overview]
Message-ID: <4DC31183.8060807@wi.rr.com> (raw)
In-Reply-To: <1303392001.2757.16.camel@localhost>
Hi Artem,
Thanks for your advice! We were finally able to reproduce the problem.
> 1. Validate the pnode before packing, do the same validate_pnode() does.
> May be you'll catch the place where it we write incorrect pnode. Because
> what you see is a result of an error which might have happend long
> before you hit it.
We did validate_pnode() before the pnode was packed and have this output
from dbg_dump_pnode():
(pid 6298) dumping pnode:
address c631d380 parent c6005720 cnext c6005720
flags 3 iip 3 level 0 num -969086448
0: free 0 dirty 127984 flags 1 lnum 514
1: free 129024 dirty 0 flags 4 lnum 515
2: free 0 dirty 127920 flags 1 lnum 516
3: free 129024 dirty 0 flags 4 lnum 517
It looks like 'num' is not valid. Also, is it normal for 'parent' to be
equal to 'cnext'?
We'll continue to look into this, but I thought it wouldn't hurt to get
your opinion on the above debug.
Thanks!
Rick
next prev parent reply other threads:[~2011-05-05 21:12 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-19 21:08 read_pnode: error -22 reading pnode at XX:YYYYY Rick Johnson
2011-04-21 13:20 ` Artem Bityutskiy
2011-05-05 21:07 ` Rick Johnson [this message]
2011-05-06 18:32 ` Artem Bityutskiy
2011-05-09 17:41 ` Rick Johnson
2011-05-20 21:16 ` Rick Johnson
2011-05-24 8:41 ` Artem Bityutskiy
2011-05-24 11:43 ` Artem Bityutskiy
2011-05-27 20:26 ` Rick Johnson
2011-05-30 16:07 ` Artem Bityutskiy
2011-05-24 19:37 ` Rick Johnson
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=4DC31183.8060807@wi.rr.com \
--to=rick22@wi.rr.com \
--cc=dedekind1@gmail.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;
as well as URLs for NNTP newsgroup(s).