Actions
Bug #727
closedsysfs: cannot create duplicate filename '/devices/rbd/0'
% Done:
0%
Spent time:
Source:
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
I just tried to load a RBD image with the RBD module in 2.6.37 (final), I added the device with:
echo "[2a00:f10:113:1:230:48ff:fe8d:a21e] name=admin,secret=AQCUozFNuPWFDRAAtkyjn1qva4Orff3fOetI0w== rbd alpha" > add
This went fine, but a /dev/rbd0 device did not appear.
/sys/bus/rbd/devices/0 is created, but is seems to be a bit weird:
root@noisy:/sys/bus/rbd/devices/0# ls client_id create_snap current_snap major name pool power refresh rollback_snap size subsystem uevent root@noisy:/sys/bus/rbd/devices/0# cat name Segmentation fault root@noisy:/sys/bus/rbd/devices/0# cat pool Segmentation fault root@noisy:/sys/bus/rbd/devices/0#
I then tried to remove the device:
root@noisy:~# echo 0 > /sys/bus/rbd/remove -bash: echo: write error: No such file or directory root@noisy:~#
I then removed the "rbd" module and probed it again, my dmesg then displayed:
[28673.697880] ------------[ cut here ]------------ [28673.705055] WARNING: at /build/buildd/linux-lts-backport-natty-2.6.37/fs/sysfs/dir.c:451 sysfs_add_one+0xce/0x150() [28673.712409] Hardware name: X7DVL [28673.719736] sysfs: cannot create duplicate filename '/bus/rbd' [28673.727200] Modules linked in: rbd(+) cryptd aes_x86_64 aes_generic libceph btrfs zlib_deflate libcrc32c ip6table_filter ip6_tables ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack ipt_REJECT xt_tcpudp iptable_filter ip_tables x_tables kvm_intel kvm radeon ttm bridge drm_kms_helper i5000_edac drm stp edac_core ioatdma i5k_amb ppdev i2c_algo_bit ghes shpchp serio_raw dca parport_pc joydev hed lp parport usbhid hid e1000e ahci libahci [last unloaded: rbd] [28673.760424] Pid: 8568, comm: modprobe Tainted: G D W 2.6.37-12-server #26~lucid1-Ubuntu [28673.768936] Call Trace: [28673.777509] [<ffffffff8106446f>] warn_slowpath_common+0x7f/0xc0 [28673.786174] [<ffffffff81064566>] warn_slowpath_fmt+0x46/0x50 [28673.794829] [<ffffffff811d355e>] sysfs_add_one+0xce/0x150 [28673.803325] [<ffffffff811d3661>] create_dir+0x81/0xd0 [28673.811549] [<ffffffff811d372d>] sysfs_create_dir+0x7d/0xd0 [28673.819703] [<ffffffff812d76b7>] kobject_add_internal+0xb7/0x200 [28673.827874] [<ffffffff812d782f>] kset_register+0x2f/0x60 [28673.836012] [<ffffffff813ac066>] bus_register+0x116/0x2a0 [28673.844148] [<ffffffffa004e000>] ? init_module+0x0/0x1000 [rbd] [28673.852296] [<ffffffffa004e020>] init_module+0x20/0x1000 [rbd] [28673.860427] [<ffffffff81002053>] do_one_initcall+0x43/0x190 [28673.868290] [<ffffffff810a2abb>] sys_init_module+0xfb/0x250 [28673.876025] [<ffffffff8100c102>] system_call_fastpath+0x16/0x1b [28673.883527] ---[ end trace b5ec29a370a26a7b ]--- [28673.890756] kobject_add_internal failed for rbd with -EEXIST, don't try to register things with the same name in the same directory. [28673.898165] Pid: 8568, comm: modprobe Tainted: G D W 2.6.37-12-server #26~lucid1-Ubuntu [28673.905625] Call Trace: [28673.913028] [<ffffffff812d775d>] kobject_add_internal+0x15d/0x200 [28673.920472] [<ffffffff812d782f>] kset_register+0x2f/0x60 [28673.927853] [<ffffffff813ac066>] bus_register+0x116/0x2a0 [28673.935259] [<ffffffffa004e000>] ? init_module+0x0/0x1000 [rbd] [28673.942651] [<ffffffffa004e020>] init_module+0x20/0x1000 [rbd] [28673.949987] [<ffffffff81002053>] do_one_initcall+0x43/0x190 [28673.957322] [<ffffffff810a2abb>] sys_init_module+0xfb/0x250 [28673.964583] [<ffffffff8100c102>] system_call_fastpath+0x16/0x1b
Right now I'm stuck, removing the rbd module doesn't clean everything up, but probing it again doesn't work either.
Other messages I saw in my dmesg during this process:
[28327.041656] libceph: client4309 fsid 99e7bd81-4f90-1e65-defa-70a04f5454b0 [28327.041726] libceph: mon0 [2a00:f10:113:1:230:48ff:fe8d:a21e]:6789 session established [28327.041740] ------------[ cut here ]------------ [28327.041750] WARNING: at /build/buildd/linux-lts-backport-natty-2.6.37/fs/sysfs/dir.c:451 sysfs_add_one+0xce/0x150() [28327.041754] Hardware name: X7DVL [28327.041757] sysfs: cannot create duplicate filename '/devices/rbd/0' [28327.041759] Modules linked in: cryptd aes_x86_64 aes_generic rbd libceph btrfs zlib_deflate libcrc32c ip6table_filter ip6_tables ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack ipt_REJECT xt_tcpudp iptable_filter ip_tables x_tables kvm_intel kvm radeon ttm bridge drm_kms_helper i5000_edac drm stp edac_core ioatdma i5k_amb ppdev i2c_algo_bit ghes shpchp serio_raw dca parport_pc joydev hed lp parport usbhid hid e1000e ahci libahci [28327.041815] Pid: 8122, comm: bash Tainted: G W 2.6.37-12-server #26~lucid1-Ubuntu [28327.041818] Call Trace: [28327.041829] [<ffffffff8106446f>] warn_slowpath_common+0x7f/0xc0 [28327.041834] [<ffffffff81064566>] warn_slowpath_fmt+0x46/0x50 [28327.041838] [<ffffffff811d355e>] sysfs_add_one+0xce/0x150 [28327.041843] [<ffffffff811d3661>] create_dir+0x81/0xd0 [28327.041847] [<ffffffff811d372d>] sysfs_create_dir+0x7d/0xd0 [28327.041854] [<ffffffff812d76b7>] kobject_add_internal+0xb7/0x200 [28327.041859] [<ffffffff812d7918>] kobject_add_varg+0x38/0x60 [28327.041863] [<ffffffff812d79f4>] kobject_add+0x44/0x70 [28327.041868] [<ffffffff812d74da>] ? kobject_get+0x1a/0x30 [28327.041875] [<ffffffff813a9a4b>] device_add+0xcb/0x4d0 [28327.041879] [<ffffffff813a9e6e>] device_register+0x1e/0x30 [28327.041886] [<ffffffffa03c3441>] rbd_bus_add_dev+0x71/0x130 [rbd] [28327.041892] [<ffffffffa03c5dcf>] rbd_add+0x2bf/0x4d0 [rbd] [28327.041897] [<ffffffff813aae07>] bus_attr_store+0x27/0x30 [28327.041901] [<ffffffff811d1725>] sysfs_write_file+0xe5/0x170 [28327.041907] [<ffffffff811629e8>] vfs_write+0xc8/0x190 [28327.041910] [<ffffffff81163191>] sys_write+0x51/0x80 [28327.041917] [<ffffffff8100c102>] system_call_fastpath+0x16/0x1b [28327.041920] ---[ end trace b5ec29a370a26a75 ]--- [28327.041925] kobject_add_internal failed for 0 with -EEXIST, don't try to register things with the same name in the same directory. [28327.042111] Pid: 8122, comm: bash Tainted: G W 2.6.37-12-server #26~lucid1-Ubuntu [28327.042114] Call Trace: [28327.042118] [<ffffffff812d775d>] kobject_add_internal+0x15d/0x200 [28327.042123] [<ffffffff812d7918>] kobject_add_varg+0x38/0x60 [28327.042128] [<ffffffff812d79f4>] kobject_add+0x44/0x70 [28327.042132] [<ffffffff812d74da>] ? kobject_get+0x1a/0x30 [28327.042136] [<ffffffff813a9a4b>] device_add+0xcb/0x4d0 [28327.042140] [<ffffffff813a9e6e>] device_register+0x1e/0x30 [28327.042145] [<ffffffffa03c3441>] rbd_bus_add_dev+0x71/0x130 [rbd] [28327.042150] [<ffffffffa03c5dcf>] rbd_add+0x2bf/0x4d0 [rbd] [28327.042155] [<ffffffff813aae07>] bus_attr_store+0x27/0x30 [28327.042159] [<ffffffff811d1725>] sysfs_write_file+0xe5/0x170 [28327.042163] [<ffffffff811629e8>] vfs_write+0xc8/0x190 [28327.042167] [<ffffffff81163191>] sys_write+0x51/0x80 [28327.042172] [<ffffffff8100c102>] system_call_fastpath+0x16/0x1b [28526.321981] ------------[ cut here ]------------ [28526.321994] WARNING: at /build/buildd/linux-lts-backport-natty-2.6.37/fs/sysfs/file.c:355 sysfs_open_file+0x1c5/0x220() [28526.321998] Hardware name: X7DVL [28526.322000] missing sysfs attribute operations for kobject: (null) [28526.322104] Modules linked in: cryptd aes_x86_64 aes_generic rbd libceph btrfs zlib_deflate libcrc32c ip6table_filter ip6_tables ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack ipt_REJECT xt_tcpudp iptable_filter ip_tables x_tables kvm_intel kvm radeon ttm bridge drm_kms_helper i5000_edac drm stp edac_core ioatdma i5k_amb ppdev i2c_algo_bit ghes shpchp serio_raw dca parport_pc joydev hed lp parport usbhid hid e1000e ahci libahci [28526.322161] Pid: 8494, comm: cat Tainted: G W 2.6.37-12-server #26~lucid1-Ubuntu [28526.322164] Call Trace: [28526.322175] [<ffffffff8106446f>] warn_slowpath_common+0x7f/0xc0 [28526.322180] [<ffffffff81064566>] warn_slowpath_fmt+0x46/0x50 [28526.322185] [<ffffffff811d24d5>] sysfs_open_file+0x1c5/0x220 [28526.322189] [<ffffffff811d2310>] ? sysfs_open_file+0x0/0x220 [28526.322195] [<ffffffff81160eb7>] __dentry_open+0xe7/0x330 [28526.322199] [<ffffffff811d0e76>] ? sysfs_permission+0x56/0x70 [28526.322203] [<ffffffff81161221>] nameidata_to_filp+0x61/0x70 [28526.322208] [<ffffffff8116e888>] finish_open+0xe8/0x1d0 [28526.322213] [<ffffffff811769ef>] ? dput+0x8f/0x160 [28526.322217] [<ffffffff8116f906>] do_last+0x86/0x420 [28526.322221] [<ffffffff81171a13>] do_filp_open+0x203/0x5f0 [28526.322228] [<ffffffff8112fc39>] ? handle_mm_fault+0x1b9/0x420 [28526.322232] [<ffffffff81135605>] ? mmap_region+0x255/0x5a0 [28526.322238] [<ffffffff812ad220>] ? apparmor_inode_getattr+0x60/0x70 [28526.322243] [<ffffffff8117d1fa>] ? alloc_fd+0x10a/0x150 [28526.322249] [<ffffffff81160c79>] do_sys_open+0x69/0x150 [28526.322252] [<ffffffff81160da0>] sys_open+0x20/0x30 [28526.322259] [<ffffffff8100c102>] system_call_fastpath+0x16/0x1b [28526.322262] ---[ end trace b5ec29a370a26a76 ]--- [28530.022010] general protection fault: 0000 [#1] SMP [28530.022108] last sysfs file: /sys/devices/rbd/0/name [28530.022193] CPU 0 [28530.022230] Modules linked in: cryptd aes_x86_64 aes_generic rbd libceph btrfs zlib_deflate libcrc32c ip6table_filter ip6_tables ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack ipt_REJECT xt_tcpudp iptable_filter ip_tables x_tables kvm_intel kvm radeon ttm bridge drm_kms_helper i5000_edac drm stp edac_core ioatdma i5k_amb ppdev i2c_algo_bit ghes shpchp serio_raw dca parport_pc joydev hed lp parport usbhid hid e1000e ahci libahci [28530.023509] [28530.023546] Pid: 8503, comm: cat Tainted: G W 2.6.37-12-server #26~lucid1-Ubuntu X7DVL/X7DVL [28530.023676] RIP: 0010:[<ffffffff811d23a8>] [<ffffffff811d23a8>] sysfs_open_file+0x98/0x220 [28530.023829] RSP: 0018:ffff8800aa347c48 EFLAGS: 00010202 [28530.023911] RAX: 3020202020203020 RBX: ffff88017b9e8900 RCX: ffff8800aa1a9054 [28530.024011] RDX: ffff8800aa1a9050 RSI: 0000000000000001 RDI: ffff8800aa1a9050 [28530.024111] RBP: ffff8800aa347c88 R08: 6462722f73656369 R09: 6462722f73656369 [28530.024211] R10: 00656d616e2f302f R11: 7665642f7379732f R12: ffff8800aa1a9050 [28530.024312] R13: ffffffff81ca90a8 R14: ffff8800aa238238 R15: ffff8800a1996460 [28530.024413] FS: 00007f83d41b9700(0000) GS:ffff8800cfc00000(0000) knlGS:0000000000000000 [28530.024535] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [28530.024615] CR2: 00007f83d3d6d1c0 CR3: 00000000aa1a4000 CR4: 00000000000006f0 [28530.024715] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [28530.024816] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 [28530.024917] Process cat (pid: 8503, threadinfo ffff8800aa346000, task ffff880100adad80) [28530.025035] Stack: [28530.025072] ffff8800a1996460 ffff8800a19a5240 0000000000000000 ffff88017b9e8900 [28530.025219] ffff8801a1e2d700 ffff8800a19a5240 ffffffff811d2310 ffff8800a1996460 [28530.025367] ffff8800aa347ce8 ffffffff81160eb7 ffff8800aa347cc8 ffffffff811d0e76 [28530.025514] Call Trace: [28530.025557] [<ffffffff811d2310>] ? sysfs_open_file+0x0/0x220 [28530.025640] [<ffffffff81160eb7>] __dentry_open+0xe7/0x330 [28530.025729] [<ffffffff811d0e76>] ? sysfs_permission+0x56/0x70 [28530.025816] [<ffffffff81161221>] nameidata_to_filp+0x61/0x70 [28530.025898] [<ffffffff8116e888>] finish_open+0xe8/0x1d0 [28530.025981] [<ffffffff811769ef>] ? dput+0x8f/0x160 [28530.026063] [<ffffffff8116f906>] do_last+0x86/0x420 [28530.026148] [<ffffffff81171a13>] do_filp_open+0x203/0x5f0 [28530.026239] [<ffffffff8112fc39>] ? handle_mm_fault+0x1b9/0x420 [28530.026329] [<ffffffff81135605>] ? mmap_region+0x255/0x5a0 [28530.026423] [<ffffffff812ad220>] ? apparmor_inode_getattr+0x60/0x70 [28530.026529] [<ffffffff8117d1fa>] ? alloc_fd+0x10a/0x150 [28530.026613] [<ffffffff81160c79>] do_sys_open+0x69/0x150 [28530.026695] [<ffffffff81160da0>] sys_open+0x20/0x30 [28530.026783] [<ffffffff8100c102>] system_call_fastpath+0x16/0x1b [28530.026874] Code: c0 80 ca 81 e8 ea e5 10 00 4c 89 e7 e8 c2 01 00 00 48 89 c2 b8 ed ff ff ff 48 85 d2 74 3e 49 8b 46 28 48 85 c0 0f 84 10 01 00 00 <4c> 8b 68 08 4d 85 ed 0f 84 03 01 00 00 8b 43 3c a8 02 74 3b 41 [28530.027658] RIP [<ffffffff811d23a8>] sysfs_open_file+0x98/0x220 [28530.027766] RSP <ffff8800aa347c48> [28530.052788] ---[ end trace b5ec29a370a26a77 ]--- [28559.202246] general protection fault: 0000 [#2] SMP [28559.202353] last sysfs file: /sys/devices/rbd/0/name [28559.202439] CPU 0 [28559.202480] Modules linked in: cryptd aes_x86_64 aes_generic rbd libceph btrfs zlib_deflate libcrc32c ip6table_filter ip6_tables ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack ipt_REJECT xt_tcpudp iptable_filter ip_tables x_tables kvm_intel kvm radeon ttm bridge drm_kms_helper i5000_edac drm stp edac_core ioatdma i5k_amb ppdev i2c_algo_bit ghes shpchp serio_raw dca parport_pc joydev hed lp parport usbhid hid e1000e ahci libahci [28559.203913] [28559.203953] Pid: 8513, comm: cat Tainted: G D W 2.6.37-12-server #26~lucid1-Ubuntu X7DVL/X7DVL [28559.204089] RIP: 0010:[<ffffffff811d23a8>] [<ffffffff811d23a8>] sysfs_open_file+0x98/0x220 [28559.210651] RSP: 0018:ffff8800aa661c48 EFLAGS: 00010202 [28559.210651] RAX: 3020202020203020 RBX: ffff88019efd4900 RCX: ffff8800aa1a9054 [28559.210651] RDX: ffff8800aa1a9050 RSI: 0000000000000002 RDI: ffff8800aa1a9050 [28559.210651] RBP: ffff8800aa661c88 R08: 6462722f73656369 R09: 6462722f73656369 [28559.210651] R10: 00656d616e2f302f R11: 7665642f7379732f R12: ffff8800aa1a9050 [28559.210651] R13: ffffffff81ca90a8 R14: ffff8800aa238238 R15: ffff8800a1996460 [28559.210651] FS: 00007f43a1398700(0000) GS:ffff8800cfc00000(0000) knlGS:0000000000000000 [28559.210651] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [28559.210651] CR2: 00007f43a0f4c1c0 CR3: 00000000aa7e6000 CR4: 00000000000006f0 [28559.210651] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [28559.210651] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 [28559.210651] Process cat (pid: 8513, threadinfo ffff8800aa660000, task ffff880100adc440) [28559.210651] Stack: [28559.210651] ffff8800a1996460 ffff8800a19a5240 0000000000000000 ffff88019efd4900 [28559.210651] ffff8801a1e2d700 ffff8800a19a5240 ffffffff811d2310 ffff8800a1996460 [28559.210651] ffff8800aa661ce8 ffffffff81160eb7 ffff8800aa661cc8 ffffffff811d0e76 [28559.210651] Call Trace: [28559.210651] [<ffffffff811d2310>] ? sysfs_open_file+0x0/0x220 [28559.210651] [<ffffffff81160eb7>] __dentry_open+0xe7/0x330 [28559.210651] [<ffffffff811d0e76>] ? sysfs_permission+0x56/0x70 [28559.210651] [<ffffffff81161221>] nameidata_to_filp+0x61/0x70 [28559.210651] [<ffffffff8116e888>] finish_open+0xe8/0x1d0 [28559.210651] [<ffffffff811769ef>] ? dput+0x8f/0x160 [28559.210651] [<ffffffff8116f906>] do_last+0x86/0x420 [28559.210651] [<ffffffff81171a13>] do_filp_open+0x203/0x5f0 [28559.210651] [<ffffffff8112fc39>] ? handle_mm_fault+0x1b9/0x420 [28559.210651] [<ffffffff81135605>] ? mmap_region+0x255/0x5a0 [28559.210651] [<ffffffff812ad220>] ? apparmor_inode_getattr+0x60/0x70 [28559.210651] [<ffffffff8117d1fa>] ? alloc_fd+0x10a/0x150 [28559.210651] [<ffffffff81160c79>] do_sys_open+0x69/0x150 [28559.210651] [<ffffffff81160da0>] sys_open+0x20/0x30 [28559.210651] [<ffffffff8100c102>] system_call_fastpath+0x16/0x1b [28559.210651] Code: c0 80 ca 81 e8 ea e5 10 00 4c 89 e7 e8 c2 01 00 00 48 89 c2 b8 ed ff ff ff 48 85 d2 74 3e 49 8b 46 28 48 85 c0 0f 84 10 01 00 00 <4c> 8b 68 08 4d 85 ed 0f 84 03 01 00 00 8b 43 3c a8 02 74 3b 41 [28559.210651] RIP [<ffffffff811d23a8>] sysfs_open_file+0x98/0x220 [28559.210651] RSP <ffff8800aa661c48> [28559.491748] ---[ end trace b5ec29a370a26a78 ]--- [28561.741981] general protection fault: 0000 [#3] SMP [28561.749259] last sysfs file: /sys/devices/rbd/0/pool [28561.750498] CPU 0 [28561.750498] Modules linked in: cryptd aes_x86_64 aes_generic rbd libceph btrfs zlib_deflate libcrc32c ip6table_filter ip6_tables ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack ipt_REJECT xt_tcpudp iptable_filter ip_tables x_tables kvm_intel kvm radeon ttm bridge drm_kms_helper i5000_edac drm stp edac_core ioatdma i5k_amb ppdev i2c_algo_bit ghes shpchp serio_raw dca parport_pc joydev hed lp parport usbhid hid e1000e ahci libahci [28561.750498] [28561.750498] Pid: 8519, comm: cat Tainted: G D W 2.6.37-12-server #26~lucid1-Ubuntu X7DVL/X7DVL [28561.750498] RIP: 0010:[<ffffffff811d23a8>] [<ffffffff811d23a8>] sysfs_open_file+0x98/0x220 [28561.750498] RSP: 0018:ffff8800aa661c48 EFLAGS: 00010206 [28561.750498] RAX: 3337333035352030 RBX: ffff8801a185b6c0 RCX: ffff8800aa1a90a4 [28561.750498] RDX: ffff8800aa1a90a0 RSI: 0000000000000001 RDI: ffff8800aa1a90a0 [28561.750498] RBP: ffff8800aa661c88 R08: 6462722f73656369 R09: 6462722f73656369 [28561.750498] R10: 006c6f6f702f302f R11: 7665642f7379732f R12: ffff8800aa1a90a0 [28561.750498] R13: ffffffff81ca90a8 R14: ffff8800aa238238 R15: ffff8800a19b13b0 [28561.750498] FS: 00007fd94dc5f700(0000) GS:ffff8800cfc00000(0000) knlGS:0000000000000000 [28561.750498] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [28561.750498] CR2: 00007fd94d8131c0 CR3: 00000000c52c8000 CR4: 00000000000006f0 [28561.750498] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [28561.750498] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 [28561.750498] Process cat (pid: 8519, threadinfo ffff8800aa660000, task ffff880100adad80) [28561.750498] Stack: [28561.750498] ffff8800a19b13b0 ffff8800a19a56c0 0000000000000000 ffff8801a185b6c0 [28561.750498] ffff8801a1e2d700 ffff8800a19a56c0 ffffffff811d2310 ffff8800a19b13b0 [28561.750498] ffff8800aa661ce8 ffffffff81160eb7 ffff8800aa661cc8 ffffffff811d0e76 [28561.750498] Call Trace: [28561.750498] [<ffffffff811d2310>] ? sysfs_open_file+0x0/0x220 [28561.750498] [<ffffffff81160eb7>] __dentry_open+0xe7/0x330 [28561.750498] [<ffffffff811d0e76>] ? sysfs_permission+0x56/0x70 [28561.750498] [<ffffffff81161221>] nameidata_to_filp+0x61/0x70 [28561.750498] [<ffffffff8116e888>] finish_open+0xe8/0x1d0 [28561.750498] [<ffffffff811769ef>] ? dput+0x8f/0x160 [28561.750498] [<ffffffff8116f906>] do_last+0x86/0x420 [28561.750498] [<ffffffff81171a13>] do_filp_open+0x203/0x5f0 [28561.750498] [<ffffffff8112fc39>] ? handle_mm_fault+0x1b9/0x420 [28561.750498] [<ffffffff81135605>] ? mmap_region+0x255/0x5a0 [28561.750498] [<ffffffff812ad220>] ? apparmor_inode_getattr+0x60/0x70 [28561.750498] [<ffffffff8117d1fa>] ? alloc_fd+0x10a/0x150 [28561.750498] [<ffffffff81160c79>] do_sys_open+0x69/0x150 [28561.750498] [<ffffffff81160da0>] sys_open+0x20/0x30 [28561.750498] [<ffffffff8100c102>] system_call_fastpath+0x16/0x1b [28561.750498] Code: c0 80 ca 81 e8 ea e5 10 00 4c 89 e7 e8 c2 01 00 00 48 89 c2 b8 ed ff ff ff 48 85 d2 74 3e 49 8b 46 28 48 85 c0 0f 84 10 01 00 00 <4c> 8b 68 08 4d 85 ed 0f 84 03 01 00 00 8b 43 3c a8 02 74 3b 41 [28561.750498] RIP [<ffffffff811d23a8>] sysfs_open_file+0x98/0x220 [28561.750498] RSP <ffff8800aa661c48> [28562.082785] ---[ end trace b5ec29a370a26a79 ]--- [28568.678430] general protection fault: 0000 [#4] SMP [28568.685576] last sysfs file: /sys/devices/rbd/0/name [28568.687449] CPU 0 [28568.687449] Modules linked in: cryptd aes_x86_64 aes_generic rbd libceph btrfs zlib_deflate libcrc32c ip6table_filter ip6_tables ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack ipt_REJECT xt_tcpudp iptable_filter ip_tables x_tables kvm_intel kvm radeon ttm bridge drm_kms_helper i5000_edac drm stp edac_core ioatdma i5k_amb ppdev i2c_algo_bit ghes shpchp serio_raw dca parport_pc joydev hed lp parport usbhid hid e1000e ahci libahci [28568.687449] [28568.687449] Pid: 8522, comm: cat Tainted: G D W 2.6.37-12-server #26~lucid1-Ubuntu X7DVL/X7DVL [28568.687449] RIP: 0010:[<ffffffff811d23a8>] [<ffffffff811d23a8>] sysfs_open_file+0x98/0x220 [28568.687449] RSP: 0018:ffff8800b2083c48 EFLAGS: 00010206 [28568.687449] RAX: 3337333035352030 RBX: ffff88017c3d2840 RCX: ffff8800aa1a9054 [28568.687449] RDX: ffff8800aa1a9050 RSI: 0000000000000003 RDI: ffff8800aa1a9050 [28568.687449] RBP: ffff8800b2083c88 R08: 6462722f73656369 R09: 6462722f73656369 [28568.687449] R10: 00656d616e2f302f R11: 7665642f7379732f R12: ffff8800aa1a9050 [28568.687449] R13: ffffffff81ca90a8 R14: ffff8800aa238238 R15: ffff8800a1996460 [28568.687449] FS: 00007ffff7fed700(0000) GS:ffff8800cfc00000(0000) knlGS:0000000000000000 [28568.687449] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [28568.687449] CR2: 00007ffff7ba21c0 CR3: 00000000aa0c8000 CR4: 00000000000006f0 [28568.687449] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [28568.687449] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 [28568.838859] Process cat (pid: 8522, threadinfo ffff8800b2082000, task ffff8800aa25ad80) [28568.838859] Stack: [28568.838859] ffff8800a1996460 ffff8800a19a5240 0000000000000000 ffff88017c3d2840 [28568.838859] ffff8801a1e2d700 ffff8800a19a5240 ffffffff811d2310 ffff8800a1996460 [28568.838859] ffff8800b2083ce8 ffffffff81160eb7 ffff8800b2083cc8 ffffffff811d0e76 [28568.838859] Call Trace: [28568.838859] [<ffffffff811d2310>] ? sysfs_open_file+0x0/0x220 [28568.838859] [<ffffffff81160eb7>] __dentry_open+0xe7/0x330 [28568.838859] [<ffffffff811d0e76>] ? sysfs_permission+0x56/0x70 [28568.838859] [<ffffffff81161221>] nameidata_to_filp+0x61/0x70 [28568.838859] [<ffffffff8116e888>] finish_open+0xe8/0x1d0 [28568.838859] [<ffffffff811769ef>] ? dput+0x8f/0x160 [28568.838859] [<ffffffff8116f906>] do_last+0x86/0x420 [28568.838859] [<ffffffff81171a13>] do_filp_open+0x203/0x5f0 [28568.838859] [<ffffffff8112fc39>] ? handle_mm_fault+0x1b9/0x420 [28568.838859] [<ffffffff81135605>] ? mmap_region+0x255/0x5a0 [28568.838859] [<ffffffff812ad220>] ? apparmor_inode_getattr+0x60/0x70 [28568.838859] [<ffffffff8117d1fa>] ? alloc_fd+0x10a/0x150 [28568.838859] [<ffffffff81160c79>] do_sys_open+0x69/0x150 [28568.838859] [<ffffffff81160da0>] sys_open+0x20/0x30 [28568.838859] [<ffffffff8100c102>] system_call_fastpath+0x16/0x1b [28568.838859] Code: c0 80 ca 81 e8 ea e5 10 00 4c 89 e7 e8 c2 01 00 00 48 89 c2 b8 ed ff ff ff 48 85 d2 74 3e 49 8b 46 28 48 85 c0 0f 84 10 01 00 00 <4c> 8b 68 08 4d 85 ed 0f 84 03 01 00 00 8b 43 3c a8 02 74 3b 41 [28568.838859] RIP [<ffffffff811d23a8>] sysfs_open_file+0x98/0x220 [28568.838859] RSP <ffff8800b2083c48> [28569.017906] ---[ end trace b5ec29a370a26a7a ]---
This is on my 'noisy' machine, feel free to log in and check it out.
The kernel I'm running is from Ubuntu: 2.6.37-12-server
Actions