[DRBD-user] DRBD-8.3.x and Xen'ified linux-2.6.18.8 not working

Luca Lesinigo luca at lm-net.it
Mon Jan 11 17:10:23 CET 2010

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


I'm trying to run DRBD-8.3.x with XenLinux-2.6.18.8 for Xen-3.4.2[1] in a Gentoo Linux x86_64 system.

I tried many different 8.3.x DRBD releases, both via portage and with manual compiling from sources, but I wasn't able to get one working.
The module builds and loads correctly but then Ooops when trying to attach resources. I found many other examples of similar problems in this same mailing list[2].

As an example, trying the latest 8.3.7rc2 yelds the attached dmesg[3]. I'm using SAS disk partitions as storage backends for drbd (/dev/sda4 and /dev/sdb4).

I would like to know if there is some minimum kernel version required to run DRBD-8.3.x (couldn't find in documentation) and/or there is some needed kernel config feature enabled.
Also, any help in solving this issue would be really appreciated as I'd like to run DRBD-8.3 on these systems. If I can't solve this, I'll revert back to 8.0.16 which is actually running fine.

Thanks,
--
Luca Lesinigo


[1] http://www.xen.org/products/xen_source.html
[2] http://lists.linbit.com/pipermail/drbd-user/2009-November/013140.html
[2] http://lists.linbit.com/pipermail/drbd-user/2009-November/013145.html
[2] http://lists.linbit.com/pipermail/drbd-user/2009-December/013201.html
[2] http://lists.linbit.com/pipermail/drbd-user/2009-December/013267.html
[3] dmesg of drbd-8.3.7rc2 follows:

drbd: initialized. Version: 8.3.7rc2 (api:88/proto:86-91)
drbd: GIT-hash: 707b3ec0e8df3a4fda85a55e26231334b5581265 build by root at srv6, 2010-01-11 17:08:35
drbd: registered as block device major 147
drbd: minor_table @ 0xffff8803e3e43a80
block drbd0: Starting worker thread (from cqueue/0 [22731])
block drbd0: disk( Diskless -> Attaching ) 
Unable to handle kernel paging request at ffff8103cf7a903c RIP: 
 [<ffffffff880ce5d7>] :drbd:drbd_md_read+0xf8/0x28d
PGD 3d56e4063 PUD 0 
Oops: 0000 [1] SMP 
CPU 0 
Modules linked in: drbd cn dm_mod xenblktap blktap bridge llc bonding bnx2 tg3 zlib_inflate
Pid: 22731, comm: cqueue/0 Not tainted 2.6.18.8 #5
RIP: e030:[<ffffffff880ce5d7>]  [<ffffffff880ce5d7>] :drbd:drbd_md_read+0xf8/0x28d
RSP: e02b:ffff8803d7f91d40  EFLAGS: 00010a06
RAX: ffff810000000000 RBX: 00000003cf7a9000 RCX: ffff8800045a2000
RDX: ffffffffff578000 RSI: ffff8103cf7a9000 RDI: ffff8803e7c232c0
RBP: ffff8803d5d43000 R08: ffff8803d7f90000 R09: 0000000000000000
R10: 00000000ffffffff R11: ffffffff802489ea R12: ffff8803e5d40200
R13: ffff8800045a2000 R14: ffff8803d5d434f8 R15: ffff8803d5d437a0
FS:  00002abceedd36f0(0000) GS:ffffffff805ac000(0000) knlGS:0000000000000000
CS:  e033 DS: 0000 ES: 0000
Process cqueue/0 (pid: 22731, threadinfo ffff8803d7f90000, task ffff8803e5dc1550)
Stack:  ffff880300000001 00000000fffffffd ffff8803d5d43000 ffff8803e5d40200
 ffff8803d8f2dd80 ffff8803d1584594 0000000000000001 ffffffff880d9945
 ffff8803e5c98a70 ffff8803d5d434a0 ffff8803e76ac880 ffff8803d5d434f8
Call Trace:
 [<ffffffff880d9945>] :drbd:drbd_nl_disk_conf+0x73b/0xd47
 [<ffffffff8030e6a5>] add_disk+0x40/0x5b
 [<ffffffff880d6ade>] :drbd:drbd_connector_callback+0xd5/0x19d
 [<ffffffff880b30c0>] :cn:cn_queue_wrapper+0x0/0x23
 [<ffffffff880b30cb>] :cn:cn_queue_wrapper+0xb/0x23
 [<ffffffff80251931>] run_workqueue+0x9d/0xe8
 [<ffffffff80298d7e>] keventd_create_kthread+0x0/0x64
 [<ffffffff8024e22b>] worker_thread+0x11b/0x152
 [<ffffffff802851b3>] default_wake_function+0x0/0xe
 [<ffffffff8024e110>] worker_thread+0x0/0x152
 [<ffffffff80298d7e>] keventd_create_kthread+0x0/0x64
 [<ffffffff80236265>] kthread+0xd4/0x108
 [<ffffffff802631e8>] child_rip+0xa/0x12
 [<ffffffff80298d7e>] keventd_create_kthread+0x0/0x64
 [<ffffffff802628da>] sysret_signal+0x38/0x5f
 [<ffffffff80236191>] kthread+0x0/0x108
 [<ffffffff802631de>] child_rip+0x0/0x12


Code: 8b 46 3c 0f c8 3d 6b 02 74 83 74 1e 8b b5 44 08 00 00 48 c7 
RIP  [<ffffffff880ce5d7>] :drbd:drbd_md_read+0xf8/0x28d
 RSP <ffff8803d7f91d40>
CR2: ffff8103cf7a903c


More information about the drbd-user mailing list