linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Eugene Surovegin <ebs@ebshome.net>
To: Karol Lewandowski <kl@jasmine.eu.org>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: [BUG] ibm_emac: kernel panic with CONFIG_SLOB=y
Date: Tue, 1 Aug 2006 15:13:42 -0700	[thread overview]
Message-ID: <20060801221342.GA13171@gate.ebshome.net> (raw)
In-Reply-To: <20060801204011.GB1754@riddly.domek.prywatny>

On Tue, Aug 01, 2006 at 10:40:11PM +0200, Karol Lewandowski wrote:
> Hi,
> 
> I'm getting reproductible kernel panic when I use smaller SLOB
> allocator (instead of SLAB).  This is reproductible but very randomly
> -- sometimes it happens during bootup, sometimes few minutes later.
> 
> Hardware is custom board with IBM405EP (very close to Bubingna, just
> no RTC):
> 
> # cat /proc/cpuinfo
> processor	: 0
> cpu		: 405EP
> clock		: 200MHz
> revision	: 9.80 (pvr 5121 0950)
> bogomips	: 199.47
> machine		: MagicBox
> plb bus clock	: 100MHz
> pci bus clock	: 25MHz
> 
> Enabling SLAB instead of SLOB fixes this, so I assume this is driver
> issue.

This is probably the same issue  I had with SLAB debugging.

In short, those allocators aren't compatible with non-coherent cache 
archs (like 4xx), because driver assumes at least L1 cache line 
alignment for all allocated memory.

For more info, you can read this post:

http://ozlabs.org/pipermail/linuxppc-embedded/2006-February/022087.html

-- 
Eugene

  reply	other threads:[~2006-08-01 22:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-01 20:40 [BUG] ibm_emac: kernel panic with CONFIG_SLOB=y Karol Lewandowski
2006-08-01 22:13 ` Eugene Surovegin [this message]
2006-08-01 23:35   ` Karol Lewandowski

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=20060801221342.GA13171@gate.ebshome.net \
    --to=ebs@ebshome.net \
    --cc=kl@jasmine.eu.org \
    --cc=linuxppc-embedded@ozlabs.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;
as well as URLs for NNTP newsgroup(s).