* kernel BUG message while using jffs2
@ 2007-11-09 15:08 Alexandru Damian
2007-11-09 22:39 ` David Woodhouse
0 siblings, 1 reply; 3+ messages in thread
From: Alexandru Damian @ 2007-11-09 15:08 UTC (permalink / raw)
To: linux-kernel
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!
invalid opcode: 0000 [#1]
SMP
Call trace is
Call Trace:
[<c0477358>] __kmalloc+0xd/0x64
[<f950d626>] jffs2_scan_medium+0x2a5/0x131a [jffs2]
[<c046137d>] __alloc_pages+0x68/0x2a0
[<f9516f4b>] jffs2_sum_init+0x50/0x9d [jffs2]
If someone is interested in digging deeper in this, please contact me
directly by email (I'm not subscribed to the list) for more
information
Cheers,
Alex
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: kernel BUG message while using jffs2
2007-11-09 15:08 kernel BUG message while using jffs2 Alexandru Damian
@ 2007-11-09 22:39 ` David Woodhouse
2007-11-10 8:37 ` Alexandru DAMIAN
0 siblings, 1 reply; 3+ messages in thread
From: David Woodhouse @ 2007-11-09 22:39 UTC (permalink / raw)
To: Alexandru Damian; +Cc: linux-kernel
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?
--
dwmw2
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: kernel BUG message while using jffs2
2007-11-09 22:39 ` David Woodhouse
@ 2007-11-10 8:37 ` Alexandru DAMIAN
0 siblings, 0 replies; 3+ messages in thread
From: Alexandru DAMIAN @ 2007-11-10 8:37 UTC (permalink / raw)
To: David Woodhouse; +Cc: linux-kernel
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?
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-11-10 8:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-09 15:08 kernel BUG message while using jffs2 Alexandru Damian
2007-11-09 22:39 ` David Woodhouse
2007-11-10 8:37 ` Alexandru DAMIAN
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox