All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bill Pringlemeir <bpringlemeir@nbsps.com>
To: linux-mtd@lists.infradead.org
Subject: Re: Fail to mount cloned disk image with fastmap.
Date: Thu, 15 Aug 2013 14:23:26 -0400	[thread overview]
Message-ID: <87pptesti9.fsf@nbsps.com> (raw)
In-Reply-To: <87a9kjt73h.fsf@nbsps.com> (Bill Pringlemeir's message of "Thu, 15 Aug 2013 09:29:54 -0400")

On 15 Aug 2013, bpringlemeir@nbsps.com wrote:

> I have back-ported the fastmap code from the 3.0 series to a 2.6.36
> kernel on an ARM cpu.  It has been running for some time without issue
> and the boot time is reduced by 1/2 second.  I just ran a test over
> night with 'pppd' capturing packets and likely filled up the disk.
>
> It appears that my kernel does not boot, so I made a clone of the disk
> and then attempt to mount it on my Ubuntu machine,

[snip]

> The 'modprobe' of the UBI fails with the 3.8 Ubuntu kernel.  Should I
> re-compile without MTD_UBI_FASTMAP to see if I can mount the file
> system?  I would like to be able to look at the file system, even in
> read-only mode.  The kernel logs are below from the 'ubi' modprobe.
> Is there actually an issue here with UBI? But I think that some of the
> UBI issues might be a problem?  Can I use some other flash with a
> bigger size so that 'PEBs' can be reserved?

I remounted the Ubuntu machine with nandsim and only used a single
partition.  This gets rid of the 'print_rsvd_warning'.  However, the
image still can not be mounted on the PC with ubifs (UBI has fast map).

I recompiled my Linux 2.6.36 without Linux and used a 'nandwrite' and
'tftp' from an initramfs to reproduce the image on another device.  The
2.6.36 patched kernel mount it after correcting some errors.  However,
as the 'bad blocks' are different between devices, I may have missed
some data and this made it work.

Fwiw,
Bill Pringlemeir.

  reply	other threads:[~2013-08-15 18:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-15 13:29 Fail to mount cloned disk image with fastmap Bill Pringlemeir
2013-08-15 18:23 ` Bill Pringlemeir [this message]
2013-08-15 20:55 ` richard -rw- weinberger
2013-08-16 19:46   ` Bill Pringlemeir
2013-08-16 19:59     ` Richard Weinberger
2013-08-15 21:16 ` richard -rw- weinberger

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=87pptesti9.fsf@nbsps.com \
    --to=bpringlemeir@nbsps.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 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.