[DRBD-user] BUG? Kernel 2.6.20 + DRBD 8.0

Istvan Hubay Cebrian ihc.mls at gmail.com
Wed Feb 21 13:21:49 CET 2007

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


Hello everyone,

I revert to this mailing list since I am at a loss to what is wrong or if
this really is a bug.

I am running DRBD for the first time on Slackware 11.0 with and an own
compiled kernel v2.6.20 with DRBD 8.0. When trying to sync for the first
time using: drbdsetup /dev/drbd0 primary --overwrite-data-of-peer, the
process always eventually stalls. Initially I was using reiserfs which
stalled at 10.6% I then tried ext3 which would go up to ~50% and then stall.

Any help or point in the right direction would be much appreciated.

Thanks in advance.
icebrian

I have been doing this through SSH and these are the messages that show up:

Desktop Computer Screen
###########################
cortex-node1 login: ------------[ cut here ]------------
kernel BUG at /usr/local/src/drbd-8.0.0/drbd/lru_cache.c:120!
invalid opcode: 0000 [#1]
SMP
Modules linked in: drbd
CPU:    0
EIP:    0060:[<d8c8265e>]    Not tainted VLI
EFLAGS: 00010046   (2.6.20 #11)
EIP is at lc_find+0xa/0x39 [drbd]
eax: 00000000   ebx: 00000000   ecx: 00000000   edx: 0000044b
esi: 0000044b   edi: d713efb0   ebp: 00000293   esp: d481df28
ds: 007b   es: 007b   ss: 0068
Process drbd0_worker (pid: 2400, ti=d481c000 task=d7d9e550 task.ti=d481c000)
Stack: d713ec00 d713ec00 d8c81e2d d7d9e550 c01296b5 d481df3c d481df3c
d6352380
       0000044b 00000000 0000044b d713ec00 d44ceeec d713eedc 00000000
d8c75bf7
       00000000 00000000 00000286 00000005 d7c18d60 d713eedc d44ceeec
d713ec00
Call Trace:
 [<d8c81e2d>] drbd_rs_complete_io+0x87/0x102 [drbd]
 [<c01296b5>] autoremove_wake_function+0x0/0x33
 [<d8c75bf7>] w_e_end_rsdata_req+0x64/0x2f3 [drbd]
 [<d8c76730>] drbd_worker+0x25e/0x36e [drbd]
 [<d8c84b79>] drbd_thread_setup+0x9a/0xdf [drbd]
 [<d8c84adf>] drbd_thread_setup+0x0/0xdf [drbd]
 [<c0103493>] kernel_thread_helper+0x7/0x10
 =======================
Code: 20 c9 d8 89 04 24 89 54 24 08 e8 b9 1e 4e e7 83 c4 28 c3 51 89 c1 89
d0 31 d2 f7 71 1c 
89 d0 5a c3 56 85 c0 89 d6 53 89 c3 75 04 <0f> 0b eb fe 83 78 1c 00 75 04 0f
0b eb fe e8 d5 ff 
ff ff 8b 44
EIP: [<d8c8265e>] lc_find+0xa/0x39 [drbd] SS:ESP 0068:d481df28

SSH Window
###########################
root at cortex-node1:~# cat /proc/drbd
version: 8.0.0 (api:86/proto:86)
SVN Revision: 2713 build by root at cortex-node1.netdotlink.com, 2007-02-20
16:28:47
0: cs:Connected st:Primary/Secondary ds:Failed/Inconsistent C r---
ns:3670016 nr:0 dw:0 dr:3670720 al:0 bm:223 lo:235 pe:0 ua:256 ap:0
resync: used:1/31 hits:229407 misses:225 starving:0 dirty:0 changed:225
act_log: used:0/257 hits:0 misses:0 starving:0 dirty:0 changed:0
root at cortex-node1:~#
Message from syslogd at cortex-node1 at Tue Feb 20 19:45:09 2007 ...
cortex-node1 kernel: ------------[ cut here ]------------

Message from syslogd at cortex-node1 at Tue Feb 20 19:45:09 2007 ...
cortex-node1 kernel: invalid opcode: 0000 [#1]
Message from syslogd at cortex-node1 at Tue Feb 20 19:45:09 2007 ...
cortex-node1 kernel: SMP
Message from syslogd at cortex-node1 at Tue Feb 20 19:45:09 2007 ...
cortex-node1 kernel: CPU:    0
Message from syslogd at cortex-node1 at Tue Feb 20 19:45:09 2007 ...
cortex-node1 kernel: EIP:    0060:[<d8c8265e>]    Not tainted VLI

Message from syslogd at cortex-node1 at Tue Feb 20 19:45:09 2007 ...
cortex-node1 kernel: EFLAGS: 00010046   (2.6.20 #11)

Message from syslogd at cortex-node1 at Tue Feb 20 19:45:09 2007 ...
cortex-node1 kernel: EIP is at lc_find+0xa/0x39 [drbd]

Message from syslogd at cortex-node1 at Tue Feb 20 19:45:09 2007 ...
cortex-node1 kernel: eax: 00000000   ebx: 00000000   ecx: 00000000   edx:
000000e0

Message from syslogd at cortex-node1 at Tue Feb 20 19:45:09 2007 ...
cortex-node1 kernel: esi: 000000e0   edi: d73983b0   ebp: 00000293   esp:
d5cbff28

Message from syslogd at cortex-node1 at Tue Feb 20 19:45:09 2007 ...
cortex-node1 kernel: ds: 007b   es: 007b   ss: 0068

Message from syslogd at cortex-node1 at Tue Feb 20 19:45:09 2007 ...
cortex-node1 kernel: Process drbd0_worker (pid: 2394, ti=d5cbe000
task=d7f00030 task.ti=d5cbe000)

Message from syslogd at cortex-node1 at Tue Feb 20 19:45:09 2007 ...
cortex-node1 kernel: Stack: d7398000 d7398000 d8c81e2d d7f00030 c01296b5
d5cbff3c d5cbff3c d5f462c0


Message from syslogd at cortex-node1 at Tue Feb 20 19:45:09 2007 ...
cortex-node1 kernel:        000000e0 00000000 000000e0 d7398000 d1ccc550
d73982dc 00000000 d8c75bf7


Message from syslogd at cortex-node1 at Tue Feb 20 19:45:09 2007 ...
cortex-node1 kernel:        00000000 00000000 00000282 00000005 d78cf5e0
d73982dc d1ccc550 d7398000


Message from syslogd at cortex-node1 at Tue Feb 20 19:45:09 2007 ...
cortex-node1 kernel: Call Trace:

Message from syslogd at cortex-node1 at Tue Feb 20 19:45:09 2007 ...
cortex-node1 kernel:  [<d8c81e2d>] drbd_rs_complete_io+0x87/0x102 [drbd]

Message from syslogd at cortex-node1 at Tue Feb 20 19:45:09 2007 ...
cortex-node1 kernel:  [<c01296b5>] autoremove_wake_function+0x0/0x33

Message from syslogd at cortex-node1 at Tue Feb 20 19:45:09 2007 ...
cortex-node1 kernel:  [<d8c75bf7>] w_e_end_rsdata_req+0x64/0x2f3 [drbd]

Message from syslogd at cortex-node1 at Tue Feb 20 19:45:09 2007 ...
cortex-node1 kernel:  [<d8c76730>] drbd_worker+0x25e/0x36e [drbd]

Message from syslogd at cortex-node1 at Tue Feb 20 19:45:09 2007 ...
cortex-node1 kernel:  [<d8c84b79>] drbd_thread_setup+0x9a/0xdf [drbd]

Message from syslogd at cortex-node1 at Tue Feb 20 19:45:09 2007 ...
cortex-node1 kernel:  [<d8c84adf>] drbd_thread_setup+0x0/0xdf [drbd]

Message from syslogd at cortex-node1 at Tue Feb 20 19:45:09 2007 ...
cortex-node1 kernel:  [<c0103493>] kernel_thread_helper+0x7/0x10

Message from syslogd at cortex-node1 at Tue Feb 20 19:45:09 2007 ...
cortex-node1 kernel:  =======================

Message from syslogd at cortex-node1 at Tue Feb 20 19:45:09 2007 ...
cortex-node1 kernel: Code: 20 c9 d8 89 04 24 89 54 24 08 e8 b9 1e 4e e7 83
c4 28 c3 51 89 c1 89 d0
31 d2 f7 71 1c 89 d0 5a c3 56 85 c0 89 d6 53 89 c3 75 04 <0f> 0b eb fe 83 78
1c 00 75 04 0f 0b eb f
e e8 d5 ff ff ff 8b 44

Message from syslogd at cortex-node1 at Tue Feb 20 19:45:09 2007 ...
cortex-node1 kernel: EIP: [<d8c8265e>] lc_find+0xa/0x39 [drbd] SS:ESP
0068:d5cbff28




More information about the drbd-user mailing list