BUG: 2.2.17 (sparc) fails in kmem_cache_alloc() w/ "large" initrd

From: Lars Kellogg-Stedman (lars@larsshack.org)
Date: Thu Nov 16 2000 - 14:01:06 EST


Howdy,

I have a couple of Sun sparcstation 2's (sun4c architectire) that reliably
fail in kmem_cache_alloc() whenever their kernel+initrd (net)boot image is
larger than about 2MB.

Each system has 48MB of RAM. Here's some relevant boot output
(printk() isn't actually working at this point, so I've stuck
prom_printf() in a few critical spots):

  Memory: 32528k available (972k kernel code, 940k data, 136k init) [f0000000,f2ffe000]
  kmem_alloc: Bad slab magic (corrupt) (name=kmem_cache)

The "bad magic" error is being triggered because at this point in
__kmem_cache_alloc(), slabp->s_magic == 0.

Any thoughts on where to go from here? I've traced it this far through
liberal application of prom_printf(), but I don't know anything about the
whole memory allocation system, so I'm not sure where to look next.

Cheers,

-- Lars

-- 
Lars Kellogg-Stedman <lars@larsshack.org> --> http://www.larsshack.org/

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Nov 23 2000 - 21:00:11 EST