Problem mounting a UBIFS volume
Artem Bityutskiy
dedekind at infradead.org
Thu Jul 3 02:11:35 EDT 2008
Hi Bruce,
On Wed, 2008-07-02 at 22:18 -0700, Bruce_Leonard at selinc.com wrote:
> Artem,
>
> I'm trying to wrap up my changes to support >8GiB MTD devices so it can be
> tested while I'm on vacation. For the most part things run okay (I think
> :-\ ). I can load UBI and UBIFS. ubimkvol/ubirmvol seem to work okay
> and I can mount/read/write/umount volumes created with ubimkvol. But I
> have a problem when using mkfs.ubifs and I'm not sure if the problme is in
> mkfs.ubifs or in the kernel. mkfs.ubifs runs fine and finishes without
> complaining. ubiupdatevol seems to have no problems writing the image to
> the device. When I try to mount the volume, though, it fails to mount and
> gives the following error:
Did you use your MTD 64-bit patch? Did you create a large FS image with
mkfs.ubifs? How large is the ubifs image?
> UBIFS error (pid 824): ubifs_read_nnode: error -22 reading nnode at 8:6150
> UBIFS DBG (pid 825): ubifs_bg_thread: background thread "ubifs_bgt0_0"
> stops
>
>
> Now obviously there's a CRC mismatch between what was written to the flash
> and what UBIFS calculated. At first I thought it might be an endian issue
> (my system is an MPC8347E running the tip of the UBIFS tree and the latest
> UBI tools and mkfs.ubifs), but I don't think so since the stored CRC is
> clearly different from the calculated. I'm digging trying to find the
> problem but I'm into things I've never seen before and don't yet
> understand. I now suspect that it's probably another one of those 64-bit
> promotions I've been fighting, but I'm not sure. Any guidence you can
> give would be appreciated.
We'll look at this, thanks for the report.
--
Best regards,
Artem Bityutskiy (Битюцкий Артём)
More information about the linux-mtd
mailing list