All of lore.kernel.org
 help / color / mirror / Atom feed
* bug: slab corruption (net backend?)
@ 2005-07-07  9:41 Gerd Knorr
  2005-07-07 10:11 ` Steven Hand
  2005-07-07 15:54 ` Gerd Knorr
  0 siblings, 2 replies; 15+ messages in thread
From: Gerd Knorr @ 2005-07-07  9:41 UTC (permalink / raw)
  To: xen-devel

  Hi,

With the small debug patch below and CONFIG_DEBUG_SLAB=y I get
plenty of these messages in the dom0 kernel log as soon as I
start a domU:

  Slab corruption: start=dc423000, len=4096
  Slab name: xen-skb
  000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

This is hg1a7383f849896e60f8be631c96fa2b461f502615.

any idea?

  Gerd

Index: linux-2.6.11/mm/slab.c
===================================================================
--- linux-2.6.11.orig/mm/slab.c	2005-03-02 08:38:38.000000000 +0100
+++ linux-2.6.11/mm/slab.c	2005-07-07 11:31:47.000000000 +0200
@@ -1007,6 +1007,9 @@ static void print_objinfo(kmem_cache_t *
 	int i, size;
 	char *realobj;
 
+	if (cachep->name) {
+		printk(KERN_ERR "Slab name: %s\n", cachep->name);
+	}
 	if (cachep->flags & SLAB_RED_ZONE) {
 		printk(KERN_ERR "Redzone: 0x%lx/0x%lx.\n",
 			*dbg_redzone1(cachep, objp),

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2005-07-11 14:29 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-07  9:41 bug: slab corruption (net backend?) Gerd Knorr
2005-07-07 10:11 ` Steven Hand
2005-07-07 11:35   ` Gerd Knorr
2005-07-07 12:05     ` Keir Fraser
2005-07-07 12:22       ` Gerd Knorr
2005-07-07 12:48         ` Gerd Knorr
2005-07-07 13:17         ` Gerd Knorr
2005-07-07 14:05           ` Keir Fraser
2005-07-07 14:18             ` Gerd Knorr
2005-07-07 14:41               ` Gerd Knorr
2005-07-07 16:06           ` Nivedita Singhvi
2005-07-11 13:25             ` Gerd Knorr
2005-07-11 13:37               ` Keir Fraser
2005-07-11 14:29                 ` Bin Ren
2005-07-07 15:54 ` Gerd Knorr

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.