Re: kernel BUG at mm/rmap.c:480 in 2.6.10-rc3-bk7

From: Andrea Arcangeli
Date: Tue Dec 14 2004 - 19:53:25 EST


On Tue, Dec 14, 2004 at 11:26:48PM +0000, Hugh Dickins wrote:
> On Tue, 14 Dec 2004, Greg KH wrote:
> >
> > So I finally try to get dri working on my laptop and I get the following
> > kernel bug when killing X (the program gish was running at the time):
> >
> > kernel BUG at mm/rmap.c:480!
> > EIP is at page_remove_rmap+0x32/0x40
> > Process gish (pid: 10864, threadinfo=c8aea000 task=c7c2c040)
> > [<c0141495>] zap_pte_range+0x135/0x290
> >...
> > [<c0145f41>] exit_mmap+0x71/0x140
> > [<c01163c4>] mmput+0x24/0x80
> > [<c011a756>] do_exit+0x146/0x370
> >...
>
> It's my BUG_ON(page_mapcount(page) < 0).
>
> We've had about one report per month, over the last six months.
> But this is the first citing "gish"; sometimes it's been "cc1".
>
> I've given it a lot of thought, but I'm still mystified. The last
> report turned out to be attributable to bad memory; but this BUG_ON
> is too persistent and specific to be put down to that in all cases.

The killing X smells like it could be related to drm or other kernel X
drivers. Could you try not to load the drm/agp stuff and see if it goes
away?
-
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/