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

Lars Ellenberg lars.ellenberg at linbit.com
Wed Nov 26 18:35:05 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.


On Wed, Nov 26, 2008 at 09:02:28AM -0800, Jeffrey Froman wrote:
> 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?

maybe.  if so, then likely to be in some of our compat code for that old
2.6.9.something kernel.

> Or have I done something wrong compiling/configuring
> drbd-8.2.7?

maybe.

as you are the only one complaining about that up to now,
and I suppose you are not the only one using drbd 8.2.7 on centos-4
or rhel 4,

are you _sure_ that you use the _released_ 8.2.7,
and not some git checkout?
what is the git commit hash you are using?
(head -n2 /proc/drbd should tell you, unless you told it to lie
at compile time).

> 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.

<teasing mode>
as a work around, upgrade to centos 5 ;-)

-- 
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
__
please don't Cc me, but send to list   --   I'm subscribed



More information about the drbd-user mailing list