Re: [BUGREPORT] kernel BUG in page_alloc.c:141!

Kai Germaschewski
2002-06-21T20:23:19Z

On Fri, 21 Jun 2002, William Lee Irwin III wrote:

> On Fri, Jun 21, 2002 at 12:15:28PM -0700, Erik McKee wrote:
> > Booted 2.5.24, and it ran fine for sometime, before it dead(live) locked,
> > causing a reboot. Attempts to reboot were met with the following bug
> > immediatly after calibrating delay loop, which equates out to an
> > if(bad_range(buddy1,zone)) BUG; in __free_pages_ok:
>
> This looks odd. Can you by any chance disassemble the parts before this?
> Or better yet, reproduce it with a kernel compiled with -g and objdump
> --source --disassemble vmlinux to get the disassembly of __free_pages_ok()?

"make mm/page_alloc.lst" may simplify this task. However, the usage of the
various macros seems to confuse gcc -g / objdump somewhat, so the output
isn't as clear as it could be.

--Kai