Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 15 Mar 2001 22:59:24 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 15 Mar 2001 22:59:15 -0500 Received: from perninha.conectiva.com.br ([200.250.58.156]:9222 "HELO postfix.conectiva.com.br") by vger.kernel.org with SMTP id ; Thu, 15 Mar 2001 22:59:03 -0500 Date: Thu, 15 Mar 2001 23:13:54 -0300 (BRT) From: Marcelo Tosatti To: "Shane Y. Gibson" Cc: linux-kernel@vger.kernel.org Subject: Re: Oops 0000 and 0002 on dual PIII 750 2.4.2 SMP platform In-Reply-To: <3AB13E47.7C777DF3@digitalimpact.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 15 Mar 2001, Shane Y. Gibson wrote: > Marcelo Tosatti wrote: > > > > Did'nt you get a message similar to > > > > "kernel BUG at page_alloc.c line xxx!" > > Marcelo, > > Yes there was. I'm pasting the total sum of the /var/log/messages > output. Note that I'm only able to locate details for the first > crash, the second didn't seem to log a whole lot. Originally, > just pasted the output of what "ksymops" regurgitated, which seems > to have pulled out that "kernel BUG" reference. Here goes... Can you please try to reproduce it with the following patch against 2.4.2? With the patch applied it gets easier to find the problem. Thanks --- linux/include/linux/swap.h.orig Fri Mar 16 06:31:51 2001 +++ linux/include/linux/swap.h Fri Mar 16 06:33:41 2001 @@ -201,7 +201,15 @@ */ #define DEBUG_ADD_PAGE \ if (PageActive(page) || PageInactiveDirty(page) || \ - PageInactiveClean(page)) BUG(); + PageInactiveClean(page)) { \ + if (PageActive(page)) \ + printk (KERN_ERR "Active page on free list!\n"); \ + if (PageInactiveDirty(page)) \ + printk (KERN_ERR "Inactive dirty page on free list!\n"); \ + if (PageInactiveClean(page)) \ + printk (KERN_ERR "Inactive clean page on free list!\n"); \ + BUG(); \ + } #define ZERO_PAGE_BUG \ if (page_count(page) == 0) BUG(); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/