[lvm-devel] [Bug 16588] Regression introduced in 2.6.35.2 causes freezing, crashing, oopsing

Linus Torvalds torvalds at linux-foundation.org
Sat Aug 14 17:48:29 UTC 2010


On Sat, Aug 14, 2010 at 10:36 AM,  <bugzilla-daemon at bugzilla.kernel.org> wrote:
>-
> I did a git bisect run and it pointed this commit as the first bad one. Indeed,
> if I revert it (after fixing trivial conflicts due to commit
> 3aba3fa070fc0f38de2d41252aee), the error doesn't occur.

Hmm. Turning those "Maps lock" numbers into hex gives us

  "Internal error: Maps lock 0xdbd000 < unlock 0xdbe000"

which is a bit suggestive - it's "page aligned". I wonder if the
"Maps" part refers to /proc/self/maps, and the process reads its own
maps file to see where the segments are.

The whole (and only) point of the whole stack guard page patch is to
make sure that a grow-down stack segment always has a guard page as
it's lowest page. And that guard page obviously means that the stack
segment is now one page bigger (downwards). If the lvcreate binary for
some reason looks at how big its virtual mappings are, and assumes
that they must be some particular size, then that would explain the
error message.

I wonder who knows. I'm cc'ing lvm-devel at redhat.com on this email, to
see if I can reach somebody who knows that that "Internal error"
means.

                             Linus




More information about the lvm-devel mailing list