[openib-general] Re: Mellanox device in INIT state
Michael S. Tsirkin
mst at mellanox.co.il
Wed Sep 14 01:26:10 PDT 2005
Quoting Grant Grundler <iod00d at hp.com>:
> + modprobe ib_sdp
> kmem_cache_create: Early error in slab request_sock_
> kernel BUG at mm/slab.c:1220!
Seems to be a previous memory corruption that is biting us now.
Looks like prot->rsk_prot isnt NULL, and prot->name seems to
point to zeroed memory. Grant, is this reproducible?
If so, could you please try running with the following patch,
and see what does it print?
MST
Index: linux-2.6.13/drivers/infiniband/ulp/sdp/sdp_inet.c
===================================================================
--- linux-2.6.13.orig/drivers/infiniband/ulp/sdp/sdp_inet.c 2005-09-11 12:36:48.000000000 +0300
+++ linux-2.6.13/drivers/infiniband/ulp/sdp/sdp_inet.c 2005-09-14 13:14:35.000000000 +0300
@@ -1321,6 +1321,11 @@ static int __init sdp_init(void)
sdp_dbg_init("SDP module load.");
+ printk("sdp_sk_proto.name = %s\n", sdp_sk_proto.name);
+ printk("sdp_sk_proto.obj_size = %lld\n", (long long)sdp_sk_proto.obj_size);
+ printk("sdp_init in_interrupt = %d\n", in_interrupt());
+ printk("sdp_init prot->rsk_prot = %p\n", prot->rsk_prot);
+
result = proto_register(&sdp_sk_proto, 1);
if (result < 0) {
sdp_warn("INIT: Error <%d> registering sk proto,", result);
--
MST
More information about the general
mailing list