lkml.org 
[lkml]   [2007]   [Nov]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: kernel BUG message while using jffs2
From
Date
I'm running stock kernel on a Fedora 7. uname -a tells 

Linux sandel.gameloft.org 2.6.22.9-91.fc7 #1 SMP Thu Sep 27 23:10:59 EDT
2007 i686 i686 i386 GNU/Linux

In the stock 2.6.22.9 kernel, I see a bugon on slub.c, the code is this:

2196 static struct kmem_cache *get_slab(size_t size, gfp_t flags)
2197 {
2198 int index = kmalloc_index(size);
2199
2200 if (!index)
2201 return NULL;
2202
2203 /* Allocation too large? */
2204 BUG_ON(index < 0);

Hope this helps,

Cheers,
Alex

On Fri, 2007-11-09 at 17:39 -0500, David Woodhouse wrote:
> On Fri, 2007-11-09 at 17:08 +0200, Alexandru Damian wrote:
> > Hello,
> >
> > Sorry for posting here, it seems the best spot; if I need to redirect
> > this to mtd-utils team, please tell me.
> >
> > I'm playing around with some jffs2 files. While trying to mount (via
> > block2mtd, loop) a jffs2 system, a "kernel BUG message" appeared in
> > dmesg, with these lines:
> >
> > kernel BUG at mm/slub.c:2204!
>
> I don't see a BUG() or BUG_ON() anywhere near that line. What version of
> the kernel? Precisely what is at that line?
>

-
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/

\
 
 \ /
  Last update: 2007-11-10 09:43    [W:0.301 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site