All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Jackson <mpfj-list@mimc.co.uk>
To: dedekind1@gmail.com
Cc: "linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
	"linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>,
	lkml <linux-kernel@vger.kernel.org>,
	adrian.hunter@intel.com
Subject: Re: MTD : Kernel oops when remounting ubifs as read/write
Date: Wed, 13 Mar 2013 11:21:49 +0000	[thread overview]
Message-ID: <5140614D.2060102@mimc.co.uk> (raw)
In-Reply-To: <1363173638.11441.24.camel@sauron.fi.intel.com>

On 13/03/13 11:20, Artem Bityutskiy wrote:
> On Wed, 2013-03-13 at 11:12 +0000, Mark Jackson wrote:
>>> -	if (c->space_fixup) {
>>> -		err = ubifs_fixup_free_space(c);
>>> -		if (err)
>>> -			goto out;
>>> -	}
>>> -
>>>  	mutex_unlock(&c->umount_mutex);
>>>  	return err;
>>>
>>
>> Sorry ... this just locks up the unit.
> 
> Am I right that to reproduce it I need any image with the 'fixup' flag
> set, then I should put it on the flash, mount it R/O and then remount
> R/W. Right?
> 

Yes ... this is on a custom AM335x board, where the ubi image must be created
with the "-F" flag.

Cheers
Mark J.

WARNING: multiple messages have this Message-ID (diff)
From: Mark Jackson <mpfj-list@mimc.co.uk>
To: dedekind1@gmail.com
Cc: "linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>,
	"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
	lkml <linux-kernel@vger.kernel.org>,
	adrian.hunter@intel.com
Subject: Re: MTD : Kernel oops when remounting ubifs as read/write
Date: Wed, 13 Mar 2013 11:21:49 +0000	[thread overview]
Message-ID: <5140614D.2060102@mimc.co.uk> (raw)
In-Reply-To: <1363173638.11441.24.camel@sauron.fi.intel.com>

On 13/03/13 11:20, Artem Bityutskiy wrote:
> On Wed, 2013-03-13 at 11:12 +0000, Mark Jackson wrote:
>>> -	if (c->space_fixup) {
>>> -		err = ubifs_fixup_free_space(c);
>>> -		if (err)
>>> -			goto out;
>>> -	}
>>> -
>>>  	mutex_unlock(&c->umount_mutex);
>>>  	return err;
>>>
>>
>> Sorry ... this just locks up the unit.
> 
> Am I right that to reproduce it I need any image with the 'fixup' flag
> set, then I should put it on the flash, mount it R/O and then remount
> R/W. Right?
> 

Yes ... this is on a custom AM335x board, where the ubi image must be created
with the "-F" flag.

Cheers
Mark J.

  reply	other threads:[~2013-03-13 11:21 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-04 16:42 MTD : Kernel oops when remounting ubifs as read/write Mark Jackson
2013-03-04 16:42 ` Mark Jackson
2013-03-12 11:25 ` Artem Bityutskiy
2013-03-12 11:25   ` Artem Bityutskiy
2013-03-13 11:12   ` Mark Jackson
2013-03-13 11:12     ` Mark Jackson
2013-03-13 11:20     ` Artem Bityutskiy
2013-03-13 11:20       ` Artem Bityutskiy
2013-03-13 11:21       ` Mark Jackson [this message]
2013-03-13 11:21         ` Mark Jackson
2013-03-14  9:13     ` Artem Bityutskiy
2013-03-14  9:13       ` Artem Bityutskiy
2013-03-14  9:54       ` Mark Jackson
2013-03-14  9:54         ` Mark Jackson
2013-03-14 10:30         ` Artem Bityutskiy
2013-03-14 10:30           ` Artem Bityutskiy
2013-03-14 11:15           ` Mark Jackson
2013-03-14 11:15             ` Mark Jackson
2013-03-14 11:23             ` Artem Bityutskiy
2013-03-14 11:23               ` Artem Bityutskiy
2013-03-14 12:02               ` Mark Jackson
2013-03-14 12:02                 ` Mark Jackson
2013-03-14 12:18                 ` Artem Bityutskiy
2013-03-14 12:18                   ` Artem Bityutskiy
2013-03-14 12:23                   ` Artem Bityutskiy
2013-03-14 12:23                     ` Artem Bityutskiy
2013-03-14 13:40                     ` Mark Jackson
2013-03-14 13:40                       ` Mark Jackson
2013-03-14 13:55                       ` Mark Jackson
2013-03-14 13:55                         ` Mark Jackson
2013-03-15  8:40                       ` Artem Bityutskiy
2013-03-15  8:40                         ` Artem Bityutskiy
2013-03-15 11:03                       ` AM335x crc32 oops ? Mark Jackson
2013-03-15  8:42       ` MTD : Kernel oops when remounting ubifs as read/write Artem Bityutskiy
2013-03-15  8:42         ` 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=5140614D.2060102@mimc.co.uk \
    --to=mpfj-list@mimc.co.uk \
    --cc=adrian.hunter@intel.com \
    --cc=dedekind1@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=linux-omap@vger.kernel.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.