Re: BUG 2.3.23-pre5 locks up

Ingo Molnar (mingo@chiara.csoma.elte.hu)
Thu, 21 Oct 1999 10:13:54 +0200 (CEST)


On Thu, 21 Oct 1999, Jeff Garzik wrote:

> Jeff Garzik wrote:
> > With a fairly standard .config, 2.3.23-pre5 locks up after a few minutes
> > of usage.
>
> Some messages in the log I missed:
>
> Oct 21 03:27:25 chief kernel: kernel BUG at filemap.c:65!

this is likely a secondary bug - the point where it happens doesnt have
much to do with the original bug. To catch the original bug, could you add
the attached patch?

-- mingo

--- linux/mm/page_alloc.c.orig2 Thu Oct 21 01:06:08 1999
+++ linux/mm/page_alloc.c Thu Oct 21 01:07:35 1999
@@ -96,6 +96,8 @@
unsigned long flags;
struct page *buddy;

+ if (page->buffers)
+ BUG();
spin_lock_irqsave(&page_alloc_lock, flags);

#define list(x) (mem_map+(x))

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/