[Buildroot] [PATCH] ubifs: Fix regression in ubifs_readdir()

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Nov 1 22:22:15 UTC 2016


Hello Jörg,

[E-mail thread hijacked from the linux-mtd mailing list, since there is
a Buildroot related problem reported.]

On Sat, 29 Oct 2016 00:23:15 +0200, Jörg Krause wrote:

> > > I'm not sure if it's related to the issue reported by Peter Rosin
> > > and
> > > Ralph Sennhauser, but I am still getting a kernel panic using UBIFS
> > > with OverlayFS on Linux v4.9.0-rc2 with this patch applied:  
> > 
> > Does reverting c83ed4c9dbb35 help?
> > And are you 100% sure you applied the fix?  
> 
> I double double checked. The fix was applied on the git tree, but the
> compiler cache (I am using Buildroot with this option enabled) fooled
> me by using an old copy. After disabling the compiler cache I got a
> fixed build of the kernel. The panic is gone! Thanks!

This is *really* bad. Which Buildroot version are you using? Are you
able to reproduce the bad ccache behavior here? A modified source code
should definitely lead to a different hash of the preprocessed code,
and therefore there shouldn't be such a confusion between two cache
results.

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com


More information about the buildroot mailing list