[DRBD-user] Bug in DRBD kernel module?

Christian Iversen chrivers at iversen-net.dk
Thu Jan 6 11:40:45 CET 2011

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


I was trying to set up a DRBD test device, to try and debug some massive 
performance problems, when I got this error:

[3490985.782782]
[3490985.786747] kobject_add_internal failed for 147:42 with -EEXIST, 
don't try to register things with the same name in the same directory.
[3490985.798457] Pid: 4507, comm: cqueue Not tainted 2.6.26-2-amd64 #1
[3490985.812562]
[3490985.812563] Call Trace:
[3490985.816902]  [<ffffffff8031b915>] kobject_add_internal+0x13f/0x17e
[3490985.824903]  [<ffffffff8031bd52>] kobject_add+0x74/0x7c
[3490985.832405]  [<ffffffff8020d7bb>] show_trace+0x40/0x57
[3490985.838898]  [<ffffffff8020e490>] dump_stack+0x69/0x6f
[3490985.846898]  [<ffffffff8031b76c>] kobject_get+0x12/0x17
[3490985.851197]  [<ffffffff80383371>] get_device+0x17/0x20
[3490985.858962]  [<ffffffff80383981>] device_add+0x9b/0x53f
[3490985.864943]  [<ffffffff8031b5d6>] kobject_init+0x41/0x69
[3490985.871024]  [<ffffffff80383ed1>] device_create_vargs+0x9a/0xc6
[3490985.880350]  [<ffffffff8027d5fb>] bdi_register+0x57/0xb4
[3490985.886514]  [<ffffffff8031fb19>] sprintf+0x51/0x59
[3490985.891204]  [<ffffffff80383e13>] device_add+0x52d/0x53f
[3490985.898366]  [<ffffffff80299615>] __percpu_alloc_mask+0x62/0x7d
[3490985.952248]  [<ffffffff803125e8>] exact_lock+0x0/0x14
[3490985.958121]  [<ffffffff802dd64f>] register_disk+0x5d/0x146
[3490985.996408]  [<ffffffff803128f8>] add_disk+0x64/0x87
[3490986.004564]  [<ffffffffa01c5a99>] :drbd:drbd_new_device+0xcf/0x1ab
[3490986.012572]  [<ffffffffa01c7543>] :drbd:ensure_mdev+0x39/0xbc
[3490986.020569]  [<ffffffffa01a915b>] :cn:cn_queue_wrapper+0x0/0x45
[3490986.027443]  [<ffffffffa01c8a2f>] 
:drbd:drbd_connector_callback+0x69/0x1b5
[3490986.039435]  [<ffffffffa01a915b>] :cn:cn_queue_wrapper+0x0/0x45
[3490986.043375]  [<ffffffffa01a9181>] :cn:cn_queue_wrapper+0x26/0x45
[3490986.050233]  [<ffffffff802430a4>] run_workqueue+0x82/0x111
[3490986.056593]  [<ffffffff80243971>] worker_thread+0xd5/0xe0
[3490986.063561]  [<ffffffff802461a5>] autoremove_wake_function+0x0/0x2e
[3490986.071562]  [<ffffffff8024389c>] worker_thread+0x0/0xe0
[3490986.077725]  [<ffffffff8024607f>] kthread+0x47/0x74
[3490986.084986]  [<ffffffff802300ed>] schedule_tail+0x27/0x5c
[3490986.092072]  [<ffffffff8020cf38>] child_rip+0xa/0x12
[3490986.098347]  [<ffffffff80246038>] kthread+0x0/0x74
[3490986.104387]  [<ffffffff8020cf2e>] child_rip+0x0/0x12
[3490986.113354]

It seems that some kind of registration failed. I suppose this is a bug?

-- 
Med venlig hilsen
Christian Iversen



More information about the drbd-user mailing list