From: Artem Bityutskiy <dedekind1@gmail.com>
To: Brad Parker <brad@heeltoe.com>
Cc: "linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>
Subject: Re: ubifs panic with 2.6.39 stable - followup
Date: Wed, 04 Jan 2012 18:42:43 +0200 [thread overview]
Message-ID: <1325695363.8917.102.camel@sauron.fi.intel.com> (raw)
In-Reply-To: <4F043A7C.1060504@heeltoe.com>
[-- Attachment #1: Type: text/plain, Size: 1700 bytes --]
On Wed, 2012-01-04 at 06:39 -0500, Brad Parker wrote:
> [sorry for the duplicate post; I tried to post a followup with just
> the url to the pastebin log but for some reason it got stuck
> waiting for the moderator]
>
> Running and older 2.6.31 kernel with UBIFS I see a panic which appears
> to be during recovery of a bad block. The root fs (which is UBIFS)
> won't mount and the kernel panics.
>
> I upgraded the kernel 2.6.39-stable, hoping that would fix the problem,
> as I noticed a lot of recovery fixes had gone in. It still panics;
> it appears the recovery fails.
>
> I rebooted with "ignore_loglevel" and the output is here:
>
> http://pastebin.com/ETJjP4uw
>
> The board is essentially an Olimex SAM9-L9260, with Samsung NAND.
>
> I'm curious if this looks familiar and if it might be fixed post 2.5.39
>
> thanks for any insight.
Would you please also enable scanning, mount, and recovery debugging
messages and provide the log?
http://www.linux-mtd.infradead.org/faq/ubifs.html#L_how_debug
But in newer kernels this has been turned into dynamic debug, see
Documentation/dynamic-debug-howto.txt
(Gosh, I have to update the web site!)
In older kernels you can do this via the configuration menu, in newer
kernel this has been turned into Documentation/dynamic-debug-howto.txt
To use them at boot time, use ddebug_query=...
You need to use 3 format string to show "UBIFS DBG mnt" and the like.
I think, but did not verify, you need to add kernel boot 3 parameters:
ddebug_query="format UBIFS DBG rcvry" ddebug_query="format UBIFS DBG
mnt" ddebug_query="format UBIFS DBG scan"
--
Best Regards,
Artem Bityutskiy
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2012-01-04 16:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-04 11:39 ubifs panic with 2.6.39 stable - followup Brad Parker
2012-01-04 16:42 ` Artem Bityutskiy [this message]
2012-01-04 16:54 ` Artem Bityutskiy
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=1325695363.8917.102.camel@sauron.fi.intel.com \
--to=dedekind1@gmail.com \
--cc=brad@heeltoe.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