Re: 2.6.18: Kernel BUG at mm/rmap.c:522

Andrew Morton
2006-10-12T07:00:36Z

On Wed, 11 Oct 2006 11:07:40 -0500
Michael Harris <googlegroups@mgharris.com> wrote:

> Hi, I can readily reproduce this with 2.6.18 doing 4 simultanous kernel
> compiles on two disks to load test a P4 3.2 HT with 2GB. I have SMP and
> SMT scheduling enabled, and the 4GB memory option. Here is output with
> CONFIG_DEBUG_VM enabled followed by another crash before CONFIG_DEBUG_VM
> was enabled.

Repeatable. That's good news.

>
> [*ROOT* hen /usr/src/linux-2.6.18 14 ] uname -a
> Linux hen.igconcepts.com 2.6.18 #2 SMP Tue Oct 10 11:46:01 CDT 2006 i686 i686 i386 GNU/Linux
> [*ROOT* hen /usr/src/linux-2.6.18 15 ] gcc -v
> Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/specs
> Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --host=i386-redhat-linux
> Thread model: posix
> gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
>
>
> ----------------
> Oct 11 04:53:35 hen kernel: VM: killing process cc1
> Oct 11 04:53:35 hen kernel: swap_free: Unused swap offset entry 00004000
> Oct 11 04:53:35 hen kernel: Eeek! page_mapcount(page) went negative! (-1)
> Oct 11 04:53:35 hen kernel: page->flags = c0080014
> Oct 11 04:53:35 hen kernel: page->count = 0
> Oct 11 04:53:35 hen kernel: page->mapping = 00000000
> Oct 11 04:53:35 hen kernel: ------------[ cut here ]------------
> Oct 11 04:53:35 hen kernel: kernel BUG at mm/rmap.c:522!

Does that machine run any earlier kernels OK? If so, which?

Thanks.