> Some slab change, perhaps? There's nothing special about the init_bio()
> slab call:
>
> bio_slab = kmem_cache_create("bio", sizeof(struct bio), 0,
> SLAB_HWCACHE_ALIGN|SLAB_PANIC, NULL, NULL);
>
>
> Hmm, this looks strange. That bug happens if:
>
> if ((!name) ||
> in_interrupt() ||
> (size < BYTES_PER_WORD) ||
> (size > (1<<MAX_OBJ_ORDER)*PAGE_SIZE) ||
> (dtor && !ctor)) {
> printk(KERN_ERR "%s: Early error in slab %s\n",
> __FUNCTION__, name);
> BUG();
> }
>
> It must be in_interrupt() triggering, perhaps something change in the
> boot sequence?
I would add a printk for all arguments on top of kmem_cache_create
and decompose the big if () into smaller if (...) BUG() so that you
can see which condition triggers exactly.
Then if you suspect compiler issues you can edit the Makefile and
recompile the kernel with -O1
Rafael, can you try that perhaps?
-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]