From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carlos O'Donell Subject: Re: [dave@hiauly1.hia.nrc.ca: Re: [parisc-linux] Why gas kills the Date: Fri, 1 Jul 2005 15:08:54 -0400 Message-ID: <20050701190854.GW5269@systemhalted.org> References: <1120241244.5046.16.camel@mulgrave> <200507011838.j61Ic37N006115@hiauly1.hia.nrc.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: James Bottomley , tausq@debian.org, parisc-linux@lists.parisc-linux.org To: John David Anglin Return-Path: In-Reply-To: <200507011838.j61Ic37N006115@hiauly1.hia.nrc.ca> List-Id: parisc-linux developers list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: parisc-linux-bounces@lists.parisc-linux.org On Fri, Jul 01, 2005 at 02:38:03PM -0400, John David Anglin wrote: > > On Fri, 2005-07-01 at 13:53 -0400, Carlos O'Donell wrote: > > > journal_alloc_journal_head() can return a null pointer causing > > > the kernel to die in memset. I think the fix is to skip calling > > > memset when new_jh is null. The rest of the code looks ok except > > > for possibly > > > > That's true (and needs fixing), but isn't what happened in this case. > > Look at the traceback: > > Actually, I was wrong. journal_alloc_journal_head con't return > null. I see it spins until kmem_cache_alloc returns a non null > value. > > It looks like mm/slab.c needs to be built with DEBUG true and > and possibly CONFIG_DEBUG_PAGEALLOC to find how the pointer is > getting allocated. CONFIG_DEBUG_SLAB CONFIG_DEBUG_KOBJECT CONFIG_DEBUG_FS I'll try these and then crash the machine again :) c. _______________________________________________ parisc-linux mailing list parisc-linux@lists.parisc-linux.org http://lists.parisc-linux.org/mailman/listinfo/parisc-linux