BUG: atomic counter underflow at: page_add_file_rmap+0x41/0x50

From: Con Kolivas
Date: Mon Mar 12 2007 - 14:37:03 EST


On Tuesday 13 March 2007 04:03, Ryan Hope wrote:
> I applied the detect-atomic-underflow patch and now I get these BUGs:
>
> BUG: atomic counter underflow at:
> [<78167931>] page_add_file_rmap+0x41/0x50
> [<78161c7d>] __handle_mm_fault+0x53d/0x900
> [<78106de0>] do_IRQ+0x40/0x80
> [<7811ff99>] do_page_fault+0x129/0x630
> [<7811fe70>] do_page_fault+0x0/0x630
> [<784907f4>] error_code+0x7c/0x84
> =======================
> BUG: atomic counter underflow at:
> [<78167931>] page_add_file_rmap+0x41/0x50
> [<78161c7d>] __handle_mm_fault+0x53d/0x900
> [<78106de0>] do_IRQ+0x40/0x80
> [<7811ff99>] do_page_fault+0x129/0x630
> [<7811fe70>] do_page_fault+0x0/0x630
> [<784907f4>] error_code+0x7c/0x84
> [<78490000>] rt_mutex_slowunlock+0x160/0x1c0
> =======================
> BUG: atomic counter underflow at:
> [<78167931>] page_add_file_rmap+0x41/0x50
> [<78161c7d>] __handle_mm_fault+0x53d/0x900
> [<78106de0>] do_IRQ+0x40/0x80
> [<7811ff99>] do_page_fault+0x129/0x630
> [<7811fe70>] do_page_fault+0x0/0x630
> [<784907f4>] error_code+0x7c/0x84
> [<78490000>] rt_mutex_slowunlock+0x160/0x1c0
> =======================
> BUG: atomic counter underflow at:
> [<78167931>] page_add_file_rmap+0x41/0x50
> [<78161c7d>] __handle_mm_fault+0x53d/0x900
> [<78106de0>] do_IRQ+0x40/0x80
> [<7811ff99>] do_page_fault+0x129/0x630
> [<7811fe70>] do_page_fault+0x0/0x630
> [<784907f4>] error_code+0x7c/0x84
> [<78490000>] rt_mutex_slowunlock+0x160/0x1c0
> =======================
> BUG: atomic counter underflow at:
> [<78167931>] page_add_file_rmap+0x41/0x50
> [<78161c7d>] __handle_mm_fault+0x53d/0x900
> [<78106de0>] do_IRQ+0x40/0x80
> [<7811ff99>] do_page_fault+0x129/0x630
> [<7811fe70>] do_page_fault+0x0/0x630
> [<784907f4>] error_code+0x7c/0x84
> [<78490000>] rt_mutex_slowunlock+0x160/0x1c0
> =======================
> BUG: atomic counter underflow at:
> [<78167931>] page_add_file_rmap+0x41/0x50
> [<78161c7d>] __handle_mm_fault+0x53d/0x900
> [<78106de0>] do_IRQ+0x40/0x80
> [<7811ff99>] do_page_fault+0x129/0x630
> [<7811fe70>] do_page_fault+0x0/0x630
> [<784907f4>] error_code+0x7c/0x84
> [<78490000>] rt_mutex_slowunlock+0x160/0x1c0
> =======================
> BUG: atomic counter underflow at:
> [<78167931>] page_add_file_rmap+0x41/0x50
> [<78161c7d>] __handle_mm_fault+0x53d/0x900
> [<78106de0>] do_IRQ+0x40/0x80
> [<7811ff99>] do_page_fault+0x129/0x630
> [<7811fe70>] do_page_fault+0x0/0x630
> [<784907f4>] error_code+0x7c/0x84
> [<78490000>] rt_mutex_slowunlock+0x160/0x1c0
> =======================
>
> On 3/12/07, Ryan Hope <rmh3093@xxxxxxxxx> wrote:
> > I am currently running RSDL v0.30 on 2.6.21-rc2-mm2. I get these (what
> > seem to me as random) bug messages from dmesg; they are non fatal. I'm
> > not quite sure if this bug is a result of changes I have made on top of
> > RSDL; is this because of bad code I introduced or is the code that I
> > introduced exposing a bug in RSDL? The BUGs from dmesg are shown below.
> > If you need more info let me know.
> >

Not an RSDL bug, thanks.

--
-ck
-
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/