From: Artem Bityutskiy <dedekind1@gmail.com>
To: Jon Ringle <jon@ringle.org>
Cc: linux-mtd@lists.infradead.org
Subject: Re: Fail to mount ubifs
Date: Tue, 12 Jan 2010 23:37:14 +0200 [thread overview]
Message-ID: <1263332234.3445.10.camel@localhost.localdomain> (raw)
In-Reply-To: <152584231001120407m6fc901edrd6584f55edc04341@mail.gmail.com>
On Tue, 2010-01-12 at 07:07 -0500, Jon Ringle wrote:
> On Mon, Jan 11, 2010 at 11:50 PM, Artem Bityutskiy <dedekind1@gmail.com> wrote:
> > Hi,
> >
> > On Mon, 2010-01-11 at 19:20 -0500, Jon Ringle wrote:
> >> I should be able to mount an empty ubi volume as ubifs right?
> >> But I get this on a freshly made volume:
> >> UBIFS error (pid 1493): check_lpt_crc: invalid crc in LPT node: crc
> >> cbcb calc cbfb
> >>
> >> I'm not sure what to try now...
> >
> > As this entry suggests:
> > http://www.linux-mtd.infradead.org/doc/ubifs.html#L_how_send_bugreport
> >
> > - validate your flash/driver with the MTD tests - looks like you have a
> > problem there.
>
> I will try the tests today and report back.
>
> >> (initramfs) ubinfo -a
> >> UBI version: 1
> >> Count of UBI devices: 1
> >> UBI control device major/minor: 10:60
> >> Present UBI devices: ubi0
> >>
> >> ubi0
> >> Volumes count: 2
> >> Logical eraseblock size: 130944 bytes, f KiB
> >
> > Hmm, this f KiB looks weird.
>
> Why is it weird? It is 128 bytes less than my PEB size of 0x20000.
Because "f" is strange, I did not expect this.
The print is:
printf("%s%.1f KiB", p, (double)bytes / 1024);
see ubiutils_print_bytes() in mtd-utils/ubi-utils/src/common.c
Not sure why it prints "f KiB" on your system.
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
next prev parent reply other threads:[~2010-01-12 21:37 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-11 18:56 Fail to mount ubifs Jon Ringle
2010-01-12 0:20 ` Jon Ringle
2010-01-12 4:50 ` Artem Bityutskiy
2010-01-12 12:07 ` Jon Ringle
2010-01-12 21:37 ` Artem Bityutskiy [this message]
2010-01-13 0:40 ` Jon Ringle
2010-01-12 20:23 ` Jon Ringle
2010-01-12 20:49 ` Jon Ringle
2010-01-12 21:23 ` Jon Ringle
2010-01-12 21:38 ` Artem Bityutskiy
2010-01-12 21:30 ` Artem Bityutskiy
2010-01-13 0:15 ` Jon Ringle
2010-01-13 7:03 ` Jon Ringle
2010-01-13 7:55 ` Artem Bityutskiy
2010-01-13 8:06 ` Artem Bityutskiy
2010-01-13 14:20 ` Jon Ringle
2010-01-12 21:33 ` 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=1263332234.3445.10.camel@localhost.localdomain \
--to=dedekind1@gmail.com \
--cc=jon@ringle.org \
--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.