I can verify ( and reproduce ) this on an iscsi-based 3-node cluster (
which is why i changed the topic to remove the drbd reference ) based on
Ubuntu 12.04.

root@vm02-test:/var/lib/libvirt/sanlock# touch bleh

root@vm03-test:/var/lib/libvirt/sanlock# ls
6ee322c1692b3116957d547dc030a22e  aec9c4e866b0da01bd9d561f10b07fb5  bleh  
f60712817c1666f66a626a2d33551ca4  __LIBVIRT__DISKS__
root@vm03-test:/var/lib/libvirt/sanlock# rm bleh 
Killed
root@vm03-test:/var/lib/libvirt/sanlock# ls
^C^C^C^C

meanwhile in dmesg:

[ 3953.436119] BUG: unable to handle kernel NULL pointer dereference at 
0000000000000018
[ 3953.436573] IP: [<ffffffffa066e00a>] gfs2_unlink+0x8a/0x220 [gfs2]
[ 3953.436940] PGD 215067067 PUD 222d30067 PMD 0 
[ 3953.437215] Oops: 0000 [#1] SMP 
[ 3953.437408] CPU 4 
[ 3953.437515] Modules linked in: gfs2 dlm configfs btrfs zlib_deflate 
libcrc32c ufs qnx4 hfsplus hfs minix ntfs vfat msdos fat jfs xfs reiserfs ext2 
ip6table_filter ip6_tables iptable_filter ip_tables ebtable_nat ebtables 
x_tables ipmi_devintf ipmi_si ipmi_msghandler kvm_intel kvm vesafb 
dm_round_robin nfsd nfs lockd fscache auth_rpcgss nfs_acl sunrpc ib_iser 
rdma_cm ib_cm iw_cm ib_sa ib_mad ib_core ib_addr iscsi_tcp libiscsi_tcp 
libiscsi scsi_transport_iscsi 8021q garp bridge stp dm_multipath dcdbas 
i7core_edac edac_core acpi_power_meter mac_hid lp parport bnx2 mpt2sas 
scsi_transport_sas raid_class e1000e scsi_dh_rdac
[ 3953.441164] 
[ 3953.441244] Pid: 10792, comm: rm Not tainted 3.2.0-23-generic #36-Ubuntu 
Dell Inc. PowerEdge R310/05XKKK
[ 3953.441801] RIP: 0010:[<ffffffffa066e00a>]  [<ffffffffa066e00a>] 
gfs2_unlink+0x8a/0x220 [gfs2]
[ 3953.442299] RSP: 0018:ffff8801d9d5bd28  EFLAGS: 00010296
[ 3953.442597] RAX: 0000000000000000 RBX: ffff88021c8da080 RCX: ffff8801d9d5bd40
[ 3953.443039] RDX: 0000000000000000 RSI: 0000000000020219 RDI: ffff88022ff8e440
[ 3953.443526] RBP: ffff8801d9d5be38 R08: 4000000000000000 R09: 0000000000000000
[ 3953.443994] R10: fe082ab8ad47720a R11: 0000000000000206 R12: ffff88021c8d8680
[ 3953.453405] R13: ffff8801d9d5bd80 R14: ffff88021ca02fc0 R15: ffff88022ff8e000
[ 3953.462850] FS:  00007fe2e9c14700(0000) GS:ffff880237280000(0000) 
knlGS:0000000000000000
[ 3953.481877] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 3953.491648] CR2: 0000000000000018 CR3: 00000001f8244000 CR4: 00000000000006e0
[ 3953.501887] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 3953.511719] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[ 3953.520978] Process rm (pid: 10792, threadinfo ffff8801d9d5a000, task 
ffff88022d0f96f0)
[ 3953.539706] Stack:
[ 3953.548881]  0000000000000003 ffff880217b8cbb0 ffff8801d9d5bd58 
ffff8801d9d5bd40
[ 3953.558660]  ffff8801d9d5bd40 ffff880217b8cb68 ffff88022dc6ed00 
0000000000000001
[ 3953.558665]  0000000000000000 0000000000000000 ffffffffa066dfda 
ffff8801d9d5bd80
[ 3953.558671] Call Trace:
[ 3953.558689]  [<ffffffffa066dfda>] ? gfs2_unlink+0x5a/0x220 [gfs2]
[ 3953.558704]  [<ffffffffa066dff4>] ? gfs2_unlink+0x74/0x220 [gfs2]
[ 3953.558712]  [<ffffffff8129c82c>] ? security_inode_permission+0x1c/0x30
[ 3953.558718]  [<ffffffff81184b00>] vfs_unlink.part.26+0x80/0xf0
[ 3953.558722]  [<ffffffff81184bac>] vfs_unlink+0x3c/0x60
[ 3953.558727]  [<ffffffff8118721a>] do_unlinkat+0x1aa/0x1d0
[ 3953.558734]  [<ffffffff8117cb1a>] ? sys_newfstatat+0x2a/0x40
[ 3953.558741]  [<ffffffff81187d62>] sys_unlinkat+0x22/0x40
[ 3953.558747]  [<ffffffff81664a82>] system_call_fastpath+0x16/0x1b
[ 3953.558750] Code: 00 00 49 83 c5 40 31 d2 4c 89 e9 be 01 00 00 00 e8 fc 1e 
ff ff 48 8b b3 28 02 00 00 4c 89 ff e8 ad 7e 00 00 48 8d 8d 08 ff ff ff <48> 8b 
78 18 31 d2 be 01 00 00 00 48 83 e9 80 e8 d2 1e ff ff 48 
[ 3953.558783] RIP  [<ffffffffa066e00a>] gfs2_unlink+0x8a/0x220 [gfs2]
[ 3953.558799]  RSP <ffff8801d9d5bd28>
[ 3953.558801] CR2: 0000000000000018
[ 3953.574963] ---[ end trace 558f61741e4c4f8e ]---


Create file on one node, delete on other, and presto! Kernel OOPS.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1020207

Title:
  gfs2 kernel oops when deleting file on other cluster node

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gfs2-utils/+bug/1020207/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to