From: Artem Bityutskiy <dedekind1@gmail.com>
To: Aras Vaichas <arasv@magellan-technology.com>
Cc: MTD-LIST <linux-mtd@lists.infradead.org>
Subject: Re: ubifs mount problem: UBIFS error (pid 1152): validate_sb: bad superblock, error 8
Date: Fri, 21 Aug 2009 07:59:16 +0300 [thread overview]
Message-ID: <4A8E29A4.4010005@gmail.com> (raw)
In-Reply-To: <ed62800908192059g57e85893ga352793e52c43a65@mail.gmail.com>
On 08/20/2009 06:59 AM, Aras Vaichas wrote:
> Hi,
>
> I've got UBI + UBIFS running as my root partition with 2.6.30, and I'm
> using mtd-utils from git downloaded just last week.
>
> I'm building my UBI image as per the instructions at:
> http://www.linux-mtd.infradead.org/faq/ubifs.html#L_mkfubifs
>
> I have successfully created UBI images, formatted, attached and
> mounted them. I'm not an expert, but I'm familiar with the procedure
> now.
>
> For some reason, I am now having problems mounting a known working
> image. The image contains 1 file with a "hello world" text string in
> it. I used to be able to mount it to my 8MB spare partition, but now
> it fails with:
>
> /root # mount -t ubifs ubi1:spareubi /mnt
> UBIFS error (pid 791): validate_sb: bad superblock, error 8
> mount: mounting ubi1:spareubi on /mnt failed: Invalid argument
>
> The strange thing is that I can format, attach and mount this *same*
> image to my other spare partition. It's like the NAND in this
> partition has some problem.
Just create 2 images - one for your 250MiB volume, the other one
for your 8MiB volume. There are several UBIFS parameters which
depend on the volume size, e.g., you may read this:
http://www.linux-mtd.infradead.org/faq/ubifs.html#L_max_leb_cnt
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
prev parent reply other threads:[~2009-08-21 4:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-20 3:59 ubifs mount problem: UBIFS error (pid 1152): validate_sb: bad superblock, error 8 Aras Vaichas
2009-08-20 11:10 ` Adrian Hunter
2009-08-21 2:05 ` Aras Vaichas
2009-08-21 5:41 ` Artem Bityutskiy
2009-08-21 4:59 ` Artem Bityutskiy [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=4A8E29A4.4010005@gmail.com \
--to=dedekind1@gmail.com \
--cc=arasv@magellan-technology.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