Project

General

Profile

Bug #811

rbd warning and crash

Added by Piotr S over 8 years ago. Updated over 8 years ago.

Status:
Can't reproduce
Priority:
Normal
Assignee:
-
Category:
rbd
Target version:
Start date:
02/17/2011
Due date:
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:

Description

ceph-client
commit 9c01177349b435186025a088f612a6f5ce2f3de9

After execute command: echo "192.168.250.70,192.168.250.71 name=admin rbd ll" > /sys/bus/rbd/add I am getting following call traces:

[ 573.885039] rbd: loaded rbd (rados block device)
[ 577.924364] libceph: client4140 fsid be9aedfc-88af-7290-b545-9188b1af43dd
[ 577.924561] libceph: mon0 192.168.250.70:6789 session established
[ 577.932767] rbd0: unknown partition table
[ 577.932957] rbd: rbd0: added with size 0x40000000
[ 577.935783] ------------[ cut here ]------------
[ 577.935807] WARNING: at lib/kref.c:34 kref_get+0x1b/0x20()
[ 577.935809] Hardware name: VMware Virtual Platform
[ 577.935811] Modules linked in: rbd loop snd_pcm snd_timer snd soundcore snd_page_alloc i2c_piix4 parport_pc parport i2c_core shpchp pci_hotplug pcspkr evdev container psmouse serio_raw tpm_tis tpm tpm_bios ac processor button thermal_sys ext3 jbd mbcache sd_mod ide_cd_mod cdrom crc_t10dif ata_generic ata_piix libata mptspi mptscsih mptbase scsi_transport_spi scsi_mod floppy piix e1000 ide_core [last unloaded: scsi_wait_scan]
[ 577.935847] Pid: 1384, comm: blkid Not tainted 2.6.37 #1
[ 577.935849] Call Trace:
[ 577.935865] [<ffffffff81046fd0>] ? warn_slowpath_common+0x78/0x8c
[ 577.935868] [<ffffffff811a8f4b>] ? kref_get+0x1b/0x20
[ 577.935870] [<ffffffff811a7fe5>] ? kobject_get+0x12/0x17
[ 577.935877] [<ffffffff8124050c>] ? get_device+0x14/0x1b
[ 577.935883] [<ffffffffa033a73c>] ? rbd_open+0x24/0x4d [rbd]
[ 577.935897] [<ffffffff81116d49>] ? __blkdev_get+0xc6/0x33a
[ 577.935899] [<ffffffff81117074>] ? blkdev_open+0xab/0xe9
[ 577.935902] [<ffffffff81116fc9>] ? blkdev_open+0x0/0xe9
[ 577.935911] [<ffffffff810ef97e>] ? __dentry_open+0x161/0x291
[ 577.935915] [<ffffffff810f98c1>] ? inode_permission+0x82/0x9e
[ 577.935917] [<ffffffff810fa77d>] ? do_last+0x3da/0x526
[ 577.935919] [<ffffffff810fc275>] ? do_filp_open+0x1e2/0x538
[ 577.935925] [<ffffffff810d3910>] ? do_brk+0x2ca/0x326
[ 577.935927] [<ffffffff810ef758>] ? do_sys_open+0x56/0xde
[ 577.935934] [<ffffffff81009a12>] ? system_call_fastpath+0x16/0x1b

[ 577.935936] ---[ end trace a9e702119b94d843 ]---
[ 577.936042] BUG: unable to handle kernel NULL pointer dereference at 0000000000000010
[ 577.936487] IP: [<ffffffff811a8f16>] kref_put+0x30/0x4a
[ 577.936718] PGD 17edd067 PUD 1c7a8067 PMD 0
[ 577.936987] Oops: 0002 [#1] SMP
[ 577.937216] last sysfs file: /sys/devices/virtual/block/rbd0/removable
[ 577.937420] CPU 2
[ 577.937477] Modules linked in: rbd loop snd_pcm snd_timer snd soundcore snd_page_alloc i2c_piix4 parport_pc parport i2c_core shpchp pci_hotplug pcspkr evdev container psmouse serio_raw tpm_tis tpm tpm_bios ac processor button thermal_sys ext3 jbd mbcache sd_mod ide_cd_mod cdrom crc_t10dif ata_generic ata_piix libata mptspi mptscsih mptbase scsi_transport_spi scsi_mod floppy piix e1000 ide_core [last unloaded: scsi_wait_scan]
[ 577.940443]
[ 577.940602] Pid: 1384, comm: blkid Tainted: G W 2.6.37 #1 440BX Desktop Reference Platform/VMware Virtual Platform
[ 577.941005] RIP: 0010:[<ffffffff811a8f16>] [<ffffffff811a8f16>] kref_put+0x30/0x4a
[ 577.941405] RSP: 0018:ffff88001cba3e08 EFLAGS: 00010202
[ 577.941621] RAX: ffffffffa033a659 RBX: 0000000000000010 RCX: 0000000000000000
[ 577.941864] RDX: 0000000100000001 RSI: 0000000000000037 RDI: 0000000000000010
[ 577.947409] RBP: ffffffffa033a23b R08: ffff88001e7289c0 R09: 0000000000000000
[ 577.947654] R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff81636e40
[ 577.947919] R13: ffff88001c5ca100 R14: ffff880017ed7800 R15: ffff88001e7289e0
[ 577.948187] FS: 00007f2ce153e740(0000) GS:ffff88001fd00000(0000) knlGS:0000000000000000
[ 577.948546] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 577.948771] CR2: 0000000000000010 CR3: 0000000017f43000 CR4: 00000000000006e0
[ 577.949037] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 577.949301] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[ 577.949547] Process blkid (pid: 1384, threadinfo ffff88001cba2000, task ffff88001c521440)
[ 577.949910] Stack:
[ 577.950106] 0000001017f9e598 ffff88001e12b230 ffff88001e12b000 ffffffffa033a67e
[ 577.950624] ffff880017f45840 ffff880017880370 ffffffff81636e40 ffffffff812407b1
[ 577.951125] ffff88001e12b240 ffffffff811a7fbd ffff88001e12b278 ffffffff811a7f75
[ 577.951655] Call Trace:
[ 577.951832] [<ffffffffa033a67e>] ? rbd_dev_release+0x25/0xa4 [rbd]
[ 577.952064] [<ffffffff812407b1>] ? device_release+0x41/0x73
[ 577.952287] [<ffffffff811a7fbd>] ? kobject_release+0x48/0x5e
[ 577.952511] [<ffffffff811a7f75>] ? kobject_release+0x0/0x5e
[ 577.952734] [<ffffffff811a8f27>] ? kref_put+0x41/0x4a
[ 577.952949] [<ffffffffa033a714>] ? rbd_release+0x17/0x1b [rbd]
[ 577.953176] [<ffffffff81116b6a>] ? __blkdev_put+0x6d/0x11f
[ 577.953404] [<ffffffff810f21d3>] ? fput+0x101/0x206
[ 577.953617] [<ffffffff810ef631>] ? filp_close+0x5f/0x6a
[ 577.953834] [<ffffffff810ef6ce>] ? sys_close+0x92/0xc6
[ 577.957325] [<ffffffff81009a12>] ? system_call_fastpath+0x16/0x1b
[ 577.957555] Code: 37 00 00 00 53 48 89 fb 48 83 ec 08 48 85 ed 74 0e 48 81 fd d9 9d 0e 81 75 11 be 38 00 00 00 48 c7 c7 be fe 4c 81 e8 ce e0 e9 ff <f0> ff 0b 0f 94 c2 31 c0 84 d2 74 0a 48 89 df ff d5 b8 01 00 00
[ 577.960702] RIP [<ffffffff811a8f16>] kref_put+0x30/0x4a
[ 577.960959] RSP <ffff88001cba3e08>
[ 577.961147] CR2: 0000000000000010
[ 577.961379] ---[ end trace a9e702119b94d844 ]---

History

#1 Updated by Sage Weil over 8 years ago

  • Project changed from Ceph to Linux kernel client

#2 Updated by Sage Weil over 8 years ago

  • Subject changed from ceph-client call traces to rbd warning and crash
  • Category set to rbd
  • Target version set to v2.6.39

can you see if this is a problem with the latest master branch of ceph-client.git? we haven't seen this problem...

#3 Updated by Anonymous over 8 years ago

  • translation missing: en.field_position set to 1
  • translation missing: en.field_position changed from 1 to 558

#4 Updated by Sage Weil over 8 years ago

  • Status changed from New to Can't reproduce

Also available in: Atom PDF