Linux PARISC architecture development
 help / color / mirror / Atom feed
From: Carlos O'Donell <carlos@systemhalted.org>
To: John David Anglin <dave@hiauly1.hia.nrc.ca>
Cc: James Bottomley <James.Bottomley@SteelEye.com>,
	tausq@debian.org, parisc-linux@lists.parisc-linux.org
Subject: Re: [dave@hiauly1.hia.nrc.ca: Re: [parisc-linux] Why gas kills the
Date: Fri, 1 Jul 2005 15:08:54 -0400	[thread overview]
Message-ID: <20050701190854.GW5269@systemhalted.org> (raw)
In-Reply-To: <200507011838.j61Ic37N006115@hiauly1.hia.nrc.ca>

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

  reply	other threads:[~2005-07-01 19:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-01 17:53 [dave@hiauly1.hia.nrc.ca: Re: [parisc-linux] Why gas kills the hppa-linux kernel and what you can] Carlos O'Donell
2005-07-01 18:07 ` James Bottomley
2005-07-01 18:38   ` [dave@hiauly1.hia.nrc.ca: Re: [parisc-linux] Why gas kills the John David Anglin
2005-07-01 19:08     ` Carlos O'Donell [this message]
2005-07-01 19:12     ` Carlos O'Donell
2005-07-01 19:47       ` Carlos O'Donell
2005-07-01 19:05   ` [dave@hiauly1.hia.nrc.ca: Re: [parisc-linux] Why gas kills the hppa-linux kernel and what you can] Carlos O'Donell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050701190854.GW5269@systemhalted.org \
    --to=carlos@systemhalted.org \
    --cc=James.Bottomley@SteelEye.com \
    --cc=dave@hiauly1.hia.nrc.ca \
    --cc=parisc-linux@lists.parisc-linux.org \
    --cc=tausq@debian.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox