UBIFS Recovery Issue: 'grab_empty_leb: could not find an empty LEB'

Artem Bityutskiy dedekind1 at gmail.com
Fri Aug 17 08:50:43 EDT 2012


On Mon, 2012-07-16 at 13:22 -0500, Brent Taylor wrote:
> I'm developing on custom hardware using an at91sam9g45 processor with
> 64 MB of RAM and 64 MB of NOR flash running Linux 3.0.13.
> 
> I'm doing some power-cycle testing and after several hours, UBIFS
> failed to mount the root partition and printed the message
> "grab_empty_leb: could not find an empty LEB".  The system boots and
> starts a script that will power cycle the board anytime between 10 and
> 20 seconds after the script has started.  Just before a power cycle
> occurs, syslog and our main process are the only processes that could
> be writing to disk.  
> 
> I then checked http://git.infradead.org/users/dedekind/ubifs-v3.0.git
> to see if there was a patch and couldn't find anything describing my
> exact problem.  I generated a patch from commit
> 02f8c6aee8df3cdc935e9bdd4f2d020306035dbe to
> a0c2d5050bd191e53a761381027c8e5ab8e25336 (see attached ubifs.3.0.diff)
> and rebuilt the kernel.  If there was a patch for my issue, I was
> expecting the root partition to be recovered but it wasn't.  I'm
> currently running the same test with the patched kernel.  Below is the
> information from the patched kernel.
> 
> If there is any more information I need to provide, please let me
> know.
> 
Do you have a possibility to share the broken image?

-- 
Best Regards,
Artem Bityutskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20120817/4cd82274/attachment.sig>


More information about the linux-mtd mailing list