kernel BUG message while using jffs2
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
Quoted 10 lines · Alexandru Damian
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?
Signature · 1 line
dwmw2
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
Quoted 15 lines · David Woodhouse
Quoted 10 lines · Alexandru Damian
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()orBUG_ON()anywhere near that line. What version of the kernel? Precisely what is at that line?