From: Martin Wilderoth Subject: rbd and ceph Date: Tue, 15 May 2012 10:01:48 -0400 (EDT) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: Received: from 195-67-7-55.customer.telia.com ([195.67.7.55]:39281 "EHLO mail.linserv.se" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1755758Ab2EOODG (ORCPT ); Tue, 15 May 2012 10:03:06 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.linserv.se (Postfix) with ESMTP id 209932A00A for ; Tue, 15 May 2012 10:01:49 -0400 (EDT) Received: from mail.linserv.se ([127.0.0.1]) by localhost (mail.linserv.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ormCr0QsX-EC for ; Tue, 15 May 2012 10:01:48 -0400 (EDT) Received: from mail.linserv.se (mail.linserv.se [195.67.7.55]) by mail.linserv.se (Postfix) with ESMTP id 502062A002 for ; Tue, 15 May 2012 10:01:48 -0400 (EDT) Sender: ceph-devel-owner@vger.kernel.org List-ID: To: ceph-devel@vger.kernel.org Hello, I have a xenhost using rbd device for the guests. In the guest I have a mounted ceph file system. From time to time I get the guest hanging and I have the following error in my logfiles on the guest. Maybe I should not use both rbd and ceph ? May 15 14:13:18 lintx2 kernel: [ 3560.225095] Modules linked in: cryptd aes_x86_64 aes_generic cbc ceph libceph crc32c libcrc32c evdev snd_pcm snd_timer snd soundcore snd_page_alloc pcspkr ext3 jbd mbcache xen_netfront xen_blkfront May 15 14:13:18 lintx2 kernel: [ 3560.225140] Pid: 18, comm: kworker/0:1 Tainted: G W 3.2.0-0.bpo.2-amd64 #1 May 15 14:13:18 lintx2 kernel: [ 3560.225148] Call Trace: May 15 14:13:18 lintx2 kernel: [ 3560.225155] [] ? warn_slowpath_common+0x78/0x8c May 15 14:13:18 lintx2 kernel: [ 3560.225167] [] ? ceph_add_cap+0x38e/0x49e [ceph] May 15 14:13:18 lintx2 kernel: [ 3560.225178] [] ? fill_inode+0x4eb/0x602 [ceph] May 15 14:13:18 lintx2 kernel: [ 3560.225186] [] ? __d_instantiate+0x8b/0xda May 15 14:13:18 lintx2 kernel: [ 3560.225197] [] ? ceph_readdir_prepopulate+0x2de/0x375 [ceph] May 15 14:13:18 lintx2 kernel: [ 3560.225209] [] ? dispatch+0xa35/0xef2 [ceph] May 15 14:13:18 lintx2 kernel: [ 3560.225220] [] ? ceph_tcp_recvmsg+0x43/0x4f [libceph] May 15 14:13:18 lintx2 kernel: [ 3560.225231] [] ? con_work+0x1070/0x13b8 [libceph] May 15 14:13:18 lintx2 kernel: [ 3560.225240] [] ? xen_restore_fl_direct_reloc+0x4/0x4 May 15 14:13:18 lintx2 kernel: [ 3560.225248] [] ? update_curr+0xbc/0x160 May 15 14:13:18 lintx2 kernel: [ 3560.225259] [] ? try_write+0xbe1/0xbe1 [libceph] May 15 14:13:18 lintx2 kernel: [ 3560.225268] [] ? process_one_work+0x1cc/0x2ea May 15 14:13:18 lintx2 kernel: [ 3560.225277] [] ? worker_thread+0x12d/0x247 May 15 14:13:18 lintx2 kernel: [ 3560.225285] [] ? process_one_work+0x2ea/0x2ea May 15 14:13:18 lintx2 kernel: [ 3560.225294] [] ? kthread+0x7a/0x82 May 15 14:13:18 lintx2 kernel: [ 3560.225302] [] ? kernel_thread_helper+0x4/0x10 May 15 14:13:18 lintx2 kernel: [ 3560.225311] [] ? int_ret_from_sys_call+0x7/0x1b May 15 14:13:18 lintx2 kernel: [ 3560.225319] [] ? retint_restore_args+0x5/0x6 May 15 14:13:18 lintx2 kernel: [ 3560.225328] [] ? gs_change+0x13/0x13 May 15 14:13:18 lintx2 kernel: [ 3560.225335] ---[ end trace 111652db8892cd8b ]--- May 15 14:13:19 lintx2 kernel: [ 3560.467074] ------------[ cut here ]------------ May 15 14:13:19 lintx2 kernel: [ 3560.467086] WARNING: at /build/buildd-linux-2.6_3.2.15-1~bpo60+1-amd64-Rdi2JW/linux-2.6-3.2.15/debian/build/source_amd64_none/fs/ceph/caps.c:590 ceph_add_cap+0x38e/0x49e [ceph]() May 15 14:13:19 lintx2 kernel: [ 3560.467102] Modules linked in: cryptd aes_x86_64 aes_generic cbc ceph libceph crc32c libcrc32c evdev snd_pcm snd_timer snd soundcore snd_page_alloc pcspkr ext3 jbd mbcache xen_netfront xen_blkfront May 15 14:13:19 lintx2 kernel: [ 3560.467147] Pid: 18, comm: kworker/0:1 Tainted: G W 3.2.0-0.bpo.2-amd64 #1 May 15 14:13:19 lintx2 kernel: [ 3560.467155] Call Trace: May 15 14:13:19 lintx2 kernel: [ 3560.467163] [] ? warn_slowpath_common+0x78/0x8c May 15 14:13:19 lintx2 kernel: [ 3560.467175] [] ? ceph_add_cap+0x38e/0x49e [ceph] May 15 14:13:19 lintx2 kernel: [ 3560.467187] [] ? fill_inode+0x4eb/0x602 [ceph] May 15 14:13:19 lintx2 kernel: [ 3560.467196] [] ? __d_instantiate+0x8b/0xda May 15 14:13:19 lintx2 kernel: [ 3560.467207] [] ? ceph_readdir_prepopulate+0x2de/0x375 [ceph] May 15 14:13:19 lintx2 kernel: [ 3560.467220] [] ? dispatch+0xa35/0xef2 [ceph] May 15 14:13:19 lintx2 kernel: [ 3560.467229] [] ? retint_restore_args+0x5/0x6 May 15 14:13:19 lintx2 kernel: [ 3560.467241] [] ? ceph_tcp_recvmsg+0x43/0x4f [libceph] May 15 14:13:19 lintx2 kernel: [ 3560.467252] [] ? con_work+0x1070/0x13b8 [libceph] May 15 14:13:19 lintx2 kernel: [ 3560.467262] [] ? xen_restore_fl_direct_reloc+0x4/0x4 May 15 14:13:19 lintx2 kernel: [ 3560.467271] [] ? update_curr+0xbc/0x160 May 15 14:13:19 lintx2 kernel: [ 3560.467280] [] ? __schedule+0x5a0/0x5cd May 15 14:13:19 lintx2 kernel: [ 3560.467290] [] ? try_write+0xbe1/0xbe1 [libceph] May 15 14:13:19 lintx2 kernel: [ 3560.467299] [] ? process_one_work+0x1cc/0x2ea May 15 14:13:19 lintx2 kernel: [ 3560.467308] [] ? worker_thread+0x12d/0x247 May 15 14:13:19 lintx2 kernel: [ 3560.467317] [] ? process_one_work+0x2ea/0x2ea May 15 14:13:19 lintx2 kernel: [ 3560.467325] [] ? kthread+0x7a/0x82 May 15 14:13:19 lintx2 kernel: [ 3560.467334] [] ? kernel_thread_helper+0x4/0x10 May 15 14:13:19 lintx2 kernel: [ 3560.467343] [] ? int_ret_from_sys_call+0x7/0x1b May 15 14:13:19 lintx2 kernel: [ 3560.467352] [] ? retint_restore_args+0x5/0x6 May 15 14:13:19 lintx2 kernel: [ 3560.467361] [] ? gs_change+0x13/0x13 May 15 14:13:19 lintx2 kernel: [ 3560.467368] ---[ end trace 111652db8892cd8c ]--- May 15 14:13:19 lintx2 kernel: [ 3560.467384] ------------[ cut here ]------------ May 15 14:13:19 lintx2 kernel: [ 3560.467395] WARNING: at /build/buildd-linux-2.6_3.2.15-1~bpo60+1-amd64-Rdi2JW/linux-2.6-3.2.15/debian/build/source_amd64_none/fs/ceph/caps.c:590 ceph_add_cap+0x38e/0x49e [ceph]() May 15 14:13:19 lintx2 kernel: [ 3560.467408] Modules linked in: cryptd aes_x86_64 aes_generic cbc ceph libceph crc32c libcrc32c evdev snd_pcm snd_timer snd soundcore snd_page_alloc pcspkr ext3 jbd mbcache xen_netfront xen_blkfront May 15 14:13:19 lintx2 kernel: [ 3560.467452] Pid: 18, comm: kworker/0:1 Tainted: G W 3.2.0-0.bpo.2-amd64 #1 May 15 14:13:19 lintx2 kernel: [ 3560.467460] Call Trace: May 15 14:13:19 lintx2 kernel: [ 3560.467467] [] ? warn_slowpath_common+0x78/0x8c May 15 14:13:19 lintx2 kernel: [ 3560.467478] [] ? ceph_add_cap+0x38e/0x49e [ceph] May 15 14:13:19 lintx2 kernel: [ 3560.467489] [] ? fill_inode+0x4eb/0x602 [ceph] May 15 14:13:19 lintx2 kernel: [ 3560.467498] [] ? __d_instantiate+0x8b/0xda May 15 14:13:19 lintx2 kernel: [ 3560.467508] [] ? ceph_readdir_prepopulate+0x2de/0x375 [ceph] May 15 14:13:19 lintx2 kernel: [ 3560.467521] [] ? dispatch+0xa35/0xef2 [ceph] May 15 14:13:19 lintx2 kernel: [ 3560.467529] [] ? retint_restore_args+0x5/0x6 May 15 14:13:19 lintx2 kernel: [ 3560.467540] [] ? ceph_tcp_recvmsg+0x43/0x4f [libceph] May 15 14:13:19 lintx2 kernel: [ 3560.467551] [] ? con_work+0x1070/0x13b8 [libceph] May 15 14:13:19 lintx2 kernel: [ 3560.467560] [] ? xen_restore_fl_direct_reloc+0x4/0x4 May 15 14:13:19 lintx2 kernel: [ 3560.467569] [] ? update_curr+0xbc/0x160 May 15 14:13:19 lintx2 kernel: [ 3560.467577] [] ? __schedule+0x5a0/0x5cd May 15 14:13:19 lintx2 kernel: [ 3560.467587] [] ? try_write+0xbe1/0xbe1 [libceph] May 15 14:13:19 lintx2 kernel: [ 3560.467596] [] ? process_one_work+0x1cc/0x2ea May 15 14:13:19 lintx2 kernel: [ 3560.467605] [] ? worker_thread+0x12d/0x247 May 15 14:13:19 lintx2 kernel: [ 3560.467613] [] ? process_one_work+0x2ea/0x2ea May 15 14:13:19 lintx2 kernel: [ 3560.467622] [] ? kthread+0x7a/0x82 May 15 14:13:19 lintx2 kernel: [ 3560.467630] [] ? kernel_thread_helper+0x4/0x10 May 15 14:13:19 lintx2 kernel: [ 3560.467639] [] ? int_ret_from_sys_call+0x7/0x1b May 15 14:13:19 lintx2 kernel: [ 3560.467647] [] ? retint_restore_args+0x5/0x6 May 15 14:13:19 lintx2 kernel: [ 3560.467656] [] ? gs_change+0x13/0x13 May 15 14:13:19 lintx2 kernel: [ 3560.467663] ---[ end trace 111652db8892cd8d ]--- May 15 14:13:19 lintx2 kernel: [ 3560.467777] ------------[ cut here ]------------ May 15 14:13:19 lintx2 kernel: [ 3560.467787] WARNING: at /build/buildd-linux-2.6_3.2.15-1~bpo60+1-amd64-Rdi2JW/linux-2.6-3.2.15/debian/build/source_amd64_none/fs/ceph/caps.c:590 ceph_add_cap+0x38e/0x49e [ceph]() May 15 14:13:19 lintx2 kernel: [ 3560.467801] Modules linked in: cryptd aes_x86_64 aes_generic cbc ceph libceph crc32c libcrc32c evdev snd_pcm snd_timer snd soundcore snd_page_alloc pcspkr ext3 jbd mbcache xen_netfront xen_blkfront May 15 14:13:19 lintx2 kernel: [ 3560.470923] Pid: 18, comm: kworker/0:1 Tainted: G W 3.2.0-0.bpo.2-amd64 #1 May 15 14:13:19 lintx2 kernel: [ 3560.470923] Call Trace: May 15 14:13:19 lintx2 kernel: [ 3560.470923] [] ? warn_slowpath_common+0x78/0x8c May 15 14:13:19 lintx2 kernel: [ 3560.470923] [] ? ceph_add_cap+0x38e/0x49e [ceph] May 15 14:13:19 lintx2 kernel: [ 3560.470923] [] ? fill_inode+0x4eb/0x602 [ceph] May 15 14:13:19 lintx2 kernel: [ 3560.470923] [] ? __d_instantiate+0x8b/0xda May 15 14:13:19 lintx2 kernel: [ 3560.470923] [] ? ceph_readdir_prepopulate+0x2de/0x375 [ceph] May 15 14:13:19 lintx2 kernel: [ 3560.470923] [] ? dispatch+0xa35/0xef2 [ceph] May 15 14:13:19 lintx2 kernel: [ 3560.470923] [] ? retint_restore_args+0x5/0x6 May 15 14:13:19 lintx2 kernel: [ 3560.470923] [] ? ceph_tcp_recvmsg+0x43/0x4f [libceph] May 15 14:13:19 lintx2 kernel: [ 3560.470923] [] ? con_work+0x1070/0x13b8 [libceph] May 15 14:13:19 lintx2 kernel: [ 3560.470923] [] ? xen_restore_fl_direct_reloc+0x4/0x4 May 15 14:13:19 lintx2 kernel: [ 3560.470923] [] ? update_curr+0xbc/0x160 May 15 14:13:19 lintx2 kernel: [ 3560.470923] [] ? __schedule+0x5a0/0x5cd May 15 14:13:19 lintx2 kernel: [ 3560.470923] [] ? try_write+0xbe1/0xbe1 [libceph] May 15 14:13:19 lintx2 kernel: [ 3560.470923] [] ? process_one_work+0x1cc/0x2ea May 15 14:13:19 lintx2 kernel: [ 3560.470923] [] ? worker_thread+0x12d/0x247 May 15 14:13:19 lintx2 kernel: [ 3560.470923] [] ? process_one_work+0x2ea/0x2ea May 15 14:13:19 lintx2 kernel: [ 3560.470923] [] ? kthread+0x7a/0x82 May 15 14:13:19 lintx2 kernel: [ 3560.470923] [] ? kernel_thread_helper+0x4/0x10 May 15 14:13:19 lintx2 kernel: [ 3560.470923] [] ? int_ret_from_sys_call+0x7/0x1b May 15 14:13:19 lintx2 kernel: [ 3560.470923] [] ? retint_restore_args+0x5/0x6 May 15 14:13:19 lintx2 kernel: [ 3560.470923] [] ? gs_change+0x13/0x13 May 15 14:13:19 lintx2 kernel: [ 3560.470923] ---[ end trace 111652db8892cd8e ]--- Regards Martin