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

Peter Zijlstra
2006-10-04T15:57:06Z

On Wed, 2006-10-04 at 17:42 +0200, Andre Noll wrote:
> On 23:59, Nick Piggin wrote:
>
> > Ah, this old thing. I hope it is repeatable?
>
> Well, it happened on both of the new machines we got last week. One
> of these is still up BTW and I'm able to ssh into it.
>
> > What we really want is the bit before this, the "Eeek! page_mapcount went
> > negative" part.
>
> There's no such message in the log. The preceeding lines are just normal
> startup messages:
>
> Adding 16779852k swap on /dev/sda1. Priority:42 extents:1 across:16779852k
> Adding 16779852k swap on /dev/sdb1. Priority:42 extents:1 across:16779852k
> process `syslogd' is using obsolete setsockopt SO_BSDCOMPAT
>
> > It is also nice if we can work out where the page actually came from. The
> > following attached patch should help out a bit with that, if you could
> > run with it?
>
> Okay. I'll reboot with your patch and let you know if it crashes again.

enable CONFIG_DEBUG_VM to get that.