Project

General

Profile

Actions

Bug #907

closed

rbd: spin_lock bad magic on rbd add, remove, add, snap-notify

Added by Sage Weil about 13 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
rbd
Target version:
% Done:

0%

Source:
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

Description

create an rbd image
map it as a block device
remove it (echo 0 > /sys/bus/rbd/remove)
map it again
create a snapshot using rbd tool (to induce a notify message)

[  128.350000] libceph:   messenger.c:1690 : ===== 000000009f9ccf30 36 from osd0 44=unknown len 26+0 (2013537448 0 0) =====
[  128.350000] BUG: spinlock bad magic on CPU#0, kworker/0:0/4
[  128.350000]  lock: 000000009fb16c08, .magic: 00000000, .owner: ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
[  128.350000] Call Trace: 
[  128.350000] a08a1a18:  [<6017be59>] spin_bug+0x9b/0xa4
[  128.350000] a08a1a58:  [<6017bf5b>] do_raw_spin_lock+0x27/0x10c
[  128.350000] a08a1aa8:  [<6023a42a>] _raw_spin_lock+0x9/0xb
[  128.350000] a08a1ab8:  [<6022d13a>] handle_watch_notify+0x87/0x1fa
[  128.350000] a08a1b08:  [<6022e0df>] dispatch+0x44f/0x48d
[  128.350000] a08a1b28:  [<6022752c>] try_read+0x16c7/0x1881
[  128.350000] a08a1b78:  [<60227543>] try_read+0x16de/0x1881
[  128.350000] a08a1c58:  [<602276e6>] con_work+0x0/0x15dd
[  128.350000] a08a1c88:  [<602276e6>] con_work+0x0/0x15dd
[  128.350000] a08a1c98:  [<6022792b>] con_work+0x245/0x15dd[  128.350000] a08a1cc8:  [<6023a3ae>] _raw_spin_unlock_irqrestore+0x18/0x1c
[  128.350000] a08a1ce8:  [<60024c8b>] set_signals+0x1c/0x2e
[  128.350000] a08a1d08:  [<6023a3ae>] _raw_spin_unlock_irqrestore+0x18/0x1c
[  128.350000] a08a1d28:  [<6003c3b1>] mod_timer+0x16e/0x180
[  128.350000] a08a1da8:  [<6023a394>] _raw_spin_unlock_irq+0xe/0x10
[  128.350000] a08a1dd8:  [<602276e6>] con_work+0x0/0x15dd
[  128.350000] a08a1de8:  [<600449e4>] process_one_work+0x1cb/0x2f6
[  128.350000] a08a1e58:  [<60044e68>] worker_thread+0x1a5/0x303
[  128.350000] a08a1e80:  [<60044cc3>] worker_thread+0x0/0x303
[  128.350000] a08a1eb0:  [<60044cc3>] worker_thread+0x0/0x303
[  128.350000] a08a1ec8:  [<60047c75>] kthread+0x91/0x99
[  128.350000] a08a1f48:  [<60023cf9>] run_kernel_thread+0x41/0x4a
[  128.350000] a08a1f58:  [<60047be4>] kthread+0x0/0x99
[  128.350000] a08a1f98:  [<60023ce0>] run_kernel_thread+0x28/0x4a
[  128.350000] a08a1fc8:  [<60015c08>] new_thread_handler+0x71/0x9b
[  128.350000] 
[  128.350000] BUG: spinlock lockup on CPU#0, kworker/0:0/4, 000000009fb16c08
[  128.350000] Call Trace: 
[  128.350000] a08a1a58:  [<6017c012>] do_raw_spin_lock+0xde/0x10c
[  128.350000] a08a1aa8:  [<6023a42a>] _raw_spin_lock+0x9/0xb
[  128.350000] a08a1ab8:  [<6022d13a>] handle_watch_notify+0x87/0x1fa
[  128.350000] a08a1b08:  [<6022e0df>] dispatch+0x44f/0x48d
[  128.350000] a08a1b28:  [<6022752c>] try_read+0x16c7/0x1881
[  128.350000] a08a1b78:  [<60227543>] try_read+0x16de/0x1881
[  128.350000] a08a1c58:  [<602276e6>] con_work+0x0/0x15dd
[  128.350000] a08a1c88:  [<602276e6>] con_work+0x0/0x15dd
[  128.350000] a08a1c98:  [<6022792b>] con_work+0x245/0x15dd
[  128.350000] a08a1cc8:  [<6023a3ae>] _raw_spin_unlock_irqrestore+0x18/0x1c
[  128.350000] a08a1ce8:  [<60024c8b>] set_signals+0x1c/0x2e
[  128.350000] a08a1d08:  [<6023a3ae>] _raw_spin_unlock_irqrestore+0x18/0x1c
[  128.350000] a08a1d28:  [<6003c3b1>] mod_timer+0x16e/0x180
[  128.350000] a08a1da8:  [<6023a394>] _raw_spin_unlock_irq+0xe/0x10
[  128.350000] a08a1dd8:  [<602276e6>] con_work+0x0/0x15dd
[  128.350000] a08a1de8:  [<600449e4>] process_one_work+0x1cb/0x2f6
[  128.350000] a08a1e58:  [<60044e68>] worker_thread+0x1a5/0x303
[  128.350000] a08a1e80:  [<60044cc3>] worker_thread+0x0/0x303
[  128.350000] a08a1eb0:  [<60044cc3>] worker_thread+0x0/0x303
[  128.350000] a08a1ec8:  [<60047c75>] kthread+0x91/0x99
[  128.350000] a08a1f48:  [<60023cf9>] run_kernel_thread+0x41/0x4a
[  128.350000] a08a1f58:  [<60047be4>] kthread+0x0/0x99
[  128.350000] a08a1f98:  [<60023ce0>] run_kernel_thread+0x28/0x4a
[  128.350000] a08a1fc8:  [<60015c08>] new_thread_handler+0x71/0x9b
[  128.350000] 

Actions #1

Updated by Sage Weil about 13 years ago

  • Category set to rbd
  • Priority changed from Normal to High
  • Target version set to v2.6.39
Actions #2

Updated by Sage Weil about 13 years ago

  • Status changed from New to Closed

this is fixed

Actions

Also available in: Atom PDF