[DRBD-user] slab.c

Stephan Rattai srattai at zmnh.uni-hamburg.de
Thu May 13 15:50:12 CEST 2004

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


>exactly. thats it. you do not mount on Secondary.
>even though you have two (or more, with local raid) physical disks,
>think of it as *ONE shared* disk, so to avoid coruption, only the node
>which currently is in "Primary" state may access it.

Sorry, my fault, not rtfming enough.

>> in /root/src/drbd-0.7_pre7/drbd/drbd_main.c:1417
>> slab error in kmem_cache_destroy(): cache `drbd_ee_cache': Can't free all 
>> objects
>> Call Trace:
>>  [<c0147595>] kmem_cache_destroy+0xd5/0x120
>>  [<e1108ab8>] drbd_destroy_mempools+0x58/0x90 [drbd]
>>  [<e1115f15>] drbd_cleanup+0x215/0x4b5 [drbd]
>>  [<c01383db>] sys_delete_module+0x15b/0x1b0
>>  [<c015264e>] do_munmap+0x16e/0x1f0
>>  [<c01062db>] syscall_call+0x7/0xb
>> 
>> drbd: kmem_cache_destroy(drbd_ee_cache) FAILED
>
>please try again with current CVS.

This is the cvs version: 

################################################
kernel 2.6.6 smp (2xPIII) high memory supp. off (only 512 Megs Ram anyway)

drdb stop:

drbd0: worker terminated
drbd0: asender terminated
drbd0: Connection lost.
drbd0: receiver terminated
drbd0: worker terminated
drbd0: ASSERT( mdev->ee_vacant==0 ) 
in /root/src/drbd-cvs/drbd/drbd/drbd_main.c:1419
slab error in kmem_cache_destroy(): cache `drbd_ee_cache': Can't free all 
objects
Call Trace:
 [<c0147595>] kmem_cache_destroy+0xd5/0x120
 [<e1109bd8>] drbd_destroy_mempools+0x58/0x90 [drbd]
 [<e1117255>] drbd_cleanup+0x225/0x4fa [drbd]
 [<c01383db>] sys_delete_module+0x15b/0x1b0
 [<c015264e>] do_munmap+0x16e/0x1f0
 [<c01062db>] syscall_call+0x7/0xb

drbd: kmem_cache_destroy(drbd_ee_cache) FAILED

drdb start: 

kmem_cache_create: duplicate cache drbd_ee_cache
------------[ cut here ]------------
kernel BUG at mm/slab.c:1372!
invalid operand: 0000 [#1]
PREEMPT SMP
CPU:    0
EIP:    0060:[<c014712e>]    Not tainted
EFLAGS: 00010202   (2.6.6)
EIP is at kmem_cache_create+0x4de/0x600
eax: 00000031   ebx: ddd5ea10   ecx: c0577424   edx: 00000000
esi: e111b93d   edi: e111b93d   ebp: dfdad8c0   esp: dd45bf24
ds: 007b   es: 007b   ss: 0068
Process modprobe (pid: 1364, threadinfo=dd45a000 task=df685220)
Stack: c04412a0 e111b92f 00000004 00001000 dd45bf48 dfdad918 00000024 c0000000
       fffffffc 00000028 dfdeb4b4 dd5ab800 dec8ac00 00000001 e1109c99 e111b92f
       0000006c 00000004 00001000 00000000 00000000 e11221f5 dec8ac00 e1114020
Call Trace:
 [<e1109c99>] drbd_create_mempools+0x89/0xe0 [drbd]
 [<e11221f5>] init_module+0x1f5/0x3ce [drbd]
 [<e1114020>] drbd_make_request_26+0x0/0x14a [drbd]
 [<c013a185>] sys_init_module+0x135/0x280
 [<c01062db>] syscall_call+0x7/0xb

Code: 0f 0b 5c 05 27 0a 44 c0 eb cc 8b 54 24 1c b8 00 e0 ff ff b9

The machine does not die here- which is a real relief.

###########################################################
On the smp 2,4G Xeon/ht, CONFIG_HIGHMEM=y, 1Gig Ram:

stop:

drbd0: receiver terminated
drbd0: worker terminated
drbd0: ASSERT( mdev->ee_vacant==0 ) 
in /root/src/drbd-cvs/drbd/drbd/drbd_main.c:1419
slab error in kmem_cache_destroy(): cache `drbd_ee_cache': Can't free all 
objects
Call Trace:
 [<c0146d4e>] kmem_cache_destroy+0xe6/0x13e
 [<f8a2ab4f>] drbd_destroy_mempools+0x59/0x85 [drbd]
 [<f8a37d42>] drbd_cleanup+0x2ec/0x4f0 [drbd]
 [<c0138163>] sys_delete_module+0x16d/0x1d5
 [<c01523d6>] do_munmap+0x17a/0x1df
 [<c010615d>] sysenter_past_esp+0x52/0x71

drbd: kmem_cache_destroy(drbd_ee_cache) FAILED

start: 

SLAB: cache with size 108 has lost its name
kmem_cache_create: duplicate cache drbd_ee_cache
------------[ cut here ]------------
kernel BUG at mm/slab.c:1372!
invalid operand: 0000 [#1]
PREEMPT SMP
CPU:    0
EIP:    0060:[<c01468f1>]    Not tainted
EFLAGS: 00010202   (2.6.6)
EIP is at kmem_cache_create+0x4e9/0x600
eax: 00000031   ebx: f792da10   ecx: c0543904   edx: d8d96000
esi: f8a3c3cd   edi: f8a3c3cd   ebp: f792dc80   esp: d8d97f24
ds: 007b   es: 007b   ss: 0068
Process modprobe (pid: 8565, threadinfo=d8d96000 task=f796ebd0)
Stack: c04268c0 f8a3c3bf 00000004 00001000 d8d97f48 f792dcd8 00000024 c0000000
       fffffffc 00000028 f7b2b154 f739a800 f6d30400 00000001 f8a2ac0d f8a3c3bf
       0000006c 00000004 00001000 00000000 00000000 f888e21f f6d30400 f8a34b70
Call Trace:
 [<f8a2ac0d>] drbd_create_mempools+0x92/0xe1 [drbd]
 [<f888e21f>] init_module+0x21f/0x3b2 [drbd]
 [<f8a34b70>] drbd_make_request_26+0x0/0x149 [drbd]
 [<c0139e78>] sys_init_module+0x16c/0x2f0
 [<c010615d>] sysenter_past_esp+0x52/0x71

Code: 0f 0b 5c 05 5b 60 42 c0 eb cc b8 00 e0 ff ff 21 e0 8b 58 10

This machine doesn't die either.

#####################################################

2,4G Xeon: Highmen on, SMP off:

stop

drbd0: receiver terminated
drbd0: worker terminated
drbd0: ASSERT( mdev->ee_vacant==0 ) 
in /root/src/drbd-cvs/drbd/drbd/drbd_main.c:1419
slab error in kmem_cache_destroy(): cache `drbd_ee_cache': Can't free all 
objects
Call Trace:
 [<c013e527>] kmem_cache_destroy+0x99/0x120
 [<f8a0957a>] drbd_destroy_mempools+0x59/0x85 [drbd]
 [<f8a155db>] drbd_cleanup+0x2e9/0x4f0 [drbd]
 [<c0130e24>] sys_delete_module+0x16b/0x1d1
 [<c0148633>] do_munmap+0x156/0x1ae
 [<c0105fd5>] sysenter_past_esp+0x52/0x71

drbd: kmem_cache_destroy(drbd_ee_cache) FAILED

start:

kmem_cache_create: duplicate cache drbd_ee_cache
------------[ cut here ]------------
kernel BUG at mm/slab.c:1372!
invalid operand: 0000 [#1]
PREEMPT
CPU:    0
EIP:    0060:[<c013e186>]    Not tainted
EFLAGS: 00010202   (2.6.6)
EIP is at kmem_cache_create+0x421/0x550
eax: 00000031   ebx: c183bcf0   ecx: c050ea68   edx: f72a2000
esi: f8a19c6d   edi: f8a19c6d   ebp: c183bc00   esp: f72a3f18
ds: 007b   es: 007b   ss: 0068
Process modprobe (pid: 2014, threadinfo=f72a2000 task=f7ad7330)
Stack: c0401680 f8a19c5f 00000004 00001000 f72a3f38 c183bc3c c0000000 fffffffc
       00000028 f79c6400 f7750800 f7db5e00 00000001 f8a09638 f8a19c5f 0000006c
       00000004 00001000 00000000 00000000 f888f21f f7db5e00 f8a127a8 00000000
Call Trace:
 [<f8a09638>] drbd_create_mempools+0x92/0xe1 [drbd]
 [<f888f21f>] init_module+0x21f/0x3a5 [drbd]
 [<f8a127a8>] drbd_make_request_26+0x0/0x149 [drbd]
 [<c013292a>] sys_init_module+0x153/0x2c1
 [<c0105fd5>] sysenter_past_esp+0x52/0x71

Code: 0f 0b 5c 05 7b 0e 40 c0 eb cd a1 44 06 45 c0 c7 44 24 04 d0

Machine not dead.

####################################################

PIII, SMP off, highmen off:

stop:

drbd0: receiver terminated
drbd0: worker terminated
drbd0: ASSERT( mdev->ee_vacant==0 ) 
in /root/src/drbd-cvs/drbd/drbd/drbd_main.c:1419
slab error in kmem_cache_destroy(): cache `drbd_ee_cache': Can't free all 
objects
Call Trace:
 [<c013eb3e>] kmem_cache_destroy+0x8e/0x120
 [<e1103608>] drbd_destroy_mempools+0x58/0x90 [drbd]
 [<e110fb95>] drbd_cleanup+0x225/0x4fd [drbd]
 [<c0130ed9>] sys_delete_module+0x159/0x1b0
 [<c014864e>] do_munmap+0x14e/0x1c0
 [<c01061bb>] syscall_call+0x7/0xb

drbd: kmem_cache_destroy(drbd_ee_cache) FAILED

start:

kmem_cache_create: duplicate cache drbd_ee_cache
------------[ cut here ]------------
kernel BUG at mm/slab.c:1372!
invalid operand: 0000 [#1]
PREEMPT
CPU:    0
EIP:    0060:[<c013e775>]    Not tainted
EFLAGS: 00010202   (2.6.6)
EIP is at kmem_cache_create+0x415/0x550
eax: 00000031   ebx: c1568ab0   ecx: c0543788   edx: 00000286
esi: e111427d   edi: e111427d   ebp: c15689c0   esp: defdbf18
ds: 007b   es: 007b   ss: 0068
Process modprobe (pid: 1424, threadinfo=defda000 task=de0746d0)
Stack: c041c820 e111426f 00000004 00001000 defdbf38 c15689fc c0000000 fffffffc
       00000028 df6ac200 ded49800 df6ac000 00000001 e11036ca e111426f 0000006c
       00000004 00001000 00000000 00000000 e111b1f5 df6ac000 e110ccf0 00000000
Call Trace:
 [<e11036ca>] drbd_create_mempools+0x8a/0xe0 [drbd]
 [<e111b1f5>] init_module+0x1f5/0x3be [drbd]
 [<e110ccf0>] drbd_make_request_26+0x0/0x14a [drbd]
 [<c0132a6e>] sys_init_module+0x11e/0x250
 [<c01061bb>] syscall_call+0x7/0xb

Code: 0f 0b 5c 05 07 c0 41 c0 eb cd 8b 54 24 18 b8 00 e0 ff ff b9

Machine not dead.

I hope this helps in any way.

-- 
Stephan  Rattai
University of Hamburg
Centre for Molecular Neurobiology Hamburg (ZMNH)
IT services
Falkenried 94
20251 Hamburg
Germany
Tel.:040 - 428 - 03 - 8592
Fax.:040 - 428 - 03 - 6621



More information about the drbd-user mailing list