[DRBD-user] Online verify stack trace in kernel logs

Jeffrey Froman drbd.tcijf at olympus.net
Wed Nov 26 18:02:28 CET 2008

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


Hello,

[message hard-wrapped to display long log lines]

Since upgrading to 8.2.7 on CentOS-4 (kernel 2.6.9-78.0.1.ELsmp), I
get some debug messages in my kernel log whenever an online verify
run finds an out-of-sync block:

-----------------------------------------------------------------
...
Nov 19 14:28:44 hostname kernel: drbd0: Online verify found 7 4k block out of sync!
Nov 19 14:28:44 hostname kernel: drbd0: helper command: /sbin/drbdadm out-of-sync minor-0
Nov 19 14:28:44 hostname kernel: Debug: sleeping function called from invalid context at mm/slab.c:2063
Nov 19 14:28:44 hostname kernel: in_atomic():0[expected: 0], irqs_disabled():1
Nov 19 14:28:44 hostname kernel:  [<c0120289>] __might_sleep+0x7d/0x88
Nov 19 14:28:44 hostname kernel:  [<c0148c9b>] kmem_cache_alloc+0x1d/0x57
Nov 19 14:28:44 hostname kernel:  [<c0286a0c>] alloc_skb+0x16/0xc5
Nov 19 14:28:44 hostname kernel:  [<f8e1c3e0>] cn_netlink_send+0xa4/0x199 [drbd]
Nov 19 14:28:44 hostname kernel:  [<f8e1be03>] drbd_bcast_ev_helper+0xde/0xe6 [drbd]
Nov 19 14:28:44 hostname kernel:  [<c0120000>] arch_init_sched_domains+0x45c/0x63b
Nov 19 14:28:44 hostname kernel:  [<f8e17e70>] drbd_khelper+0x50/0xb6 [drbd]
Nov 19 14:28:44 hostname kernel:  [<f8e17e7c>] drbd_khelper+0x5c/0xb6 [drbd]
Nov 19 14:28:44 hostname kernel:  [<f8dfc30e>] drbd_resync_finished+0x22c/0x4ac [drbd]
Nov 19 14:28:44 hostname kernel:  [<f8dfcf3b>] w_e_end_ov_reply+0x2f9/0x302 [drbd]
Nov 19 14:28:44 hostname kernel:  [<f8dfd9b7>] drbd_worker+0x294/0x3dc [drbd]
Nov 19 14:28:44 hostname kernel:  [<f8e0ebf5>] drbd_thread_setup+0xf3/0x1a5 [drbd]
Nov 19 14:28:44 hostname kernel:  [<f8e0eb02>] drbd_thread_setup+0x0/0x1a5 [drbd]
Nov 19 14:28:44 hostname kernel:  [<c01041f5>] kernel_thread_helper+0x5/0xb
Nov 19 14:28:44 hostname kernel: drbd0: helper command: /sbin/drbdadm out-of-sync minor-0 exit code 0 (0x0)
...
-----------------------------------------------------------------

Is this a bug? Or have I done something wrong compiling/configuring
drbd-8.2.7? I was previously using 8.2.5, patched (using a patch
from Lars) to enable online verification handler functionality.

This error does not seem to cause the drbd to fail on my test
machines, and the online verification handler script runs
successfully. I'm concerned about putting this version of DRBD into
production, however, without understanding these log messages better.
Any explanations or hints are appreciated.


Thank you,
Jeffrey



More information about the drbd-user mailing list