Re: 3.13: BUG: unable to handle kernel paging request at00000000b4343e88

From: Meelis Roos
Date: Thu Feb 06 2014 - 01:19:19 EST


> > Using your config I was able to reproduce the crash and locate the
> > cause. Commit d61931d89b, "x86: Add optimized popcnt variants" adds
> > option -fcall-saved-rdi to the compile flags of lib/hweight.c when
> > compiling for x86_64. Together with options --coverage and -O2, this
> > results in a broken constructor being generated by GCC for this object
> > file which in turn causes __gcov_init() to overwrite random memory
> > locations (a mutex in your case).
>
> Could you give this patch a try? It is a variation of the approach
> proposed in the discussion mentioned earlier and fixes the problem
> on my system.

It works for me too - the machine booted up with no problem.

--
Meelis Roos (mroos@xxxxxxxx)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/