lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <4A79CA90.8080101@free.fr>
Date:	Wed, 05 Aug 2009 20:08:16 +0200
From:	Laurent Riffard <laurent.riffard@...e.fr>
To:	Kernel development list <linux-kernel@...r.kernel.org>,
	ReiserFS Mailing List <reiserfs-devel@...r.kernel.org>
Subject: linux-next: reiserfs lockout with xattr ?

Hello,

>From times to times, my desktop freezes when I log in the Gnome Desktop. I'm able to switch to a text console, but I can't login. I must reboot using the magic sysrq keys.

Yesterday, I managed to get some logs of this situation:


SysRq : Show Blocked State
  task                PC stack   pid father
sync_supers   D f7477230  2720    77      2 0x00000000
 f74beeec 00000046 00000100 f7477230 004631a2 00000100 00001240 c0546200
 c0546200 c0543284 f74beed0 f75372b0 f7537444 c1c52200 00000001 00000000
 f74beedc 00000246 00000000 00000002 f7537444 ffff442e f9f900fa 00000000
Call Trace:
 [<f9f900fa>] ? reiserfs_write_lock+0x1f/0x2e [reiserfs]
 [<c03dd52a>] __mutex_lock_common+0x239/0x3ca
 [<c0265518>] ? bdi_sync_supers+0x0/0x3a
 [<c03dd74a>] mutex_lock_nested+0x2b/0x33
 [<f9f900fa>] ? reiserfs_write_lock+0x1f/0x2e [reiserfs]
 [<f9f900fa>] reiserfs_write_lock+0x1f/0x2e [reiserfs]
 [<f9f7f6f8>] reiserfs_sync_fs+0x12/0x51 [reiserfs]
 [<c027e24a>] ? sync_supers+0x40/0x8e
 [<c03dd9a2>] ? down_read+0x2c/0x40
 [<f9f7f744>] reiserfs_write_super+0xd/0xf [reiserfs]
 [<c027e25e>] sync_supers+0x54/0x8e
 [<c0265544>] bdi_sync_supers+0x2c/0x3a
 [<c0237f65>] kthread+0x69/0x6e
 [<c0237efc>] ? kthread+0x0/0x6e
 [<c0203d8b>] kernel_thread_helper+0x7/0x10
gconfd-2      D f7477230  1416  4749      1 0x00000000
 f759ea84 00000046 c1c52200 f7477230 c0244e0a f759ea30 c03de2a8 c0546200
 c0546200 c0543284 f82335bb f75b5470 f75b5604 c1c52200 00000001 00000000
 f759ea74 00000246 00000000 00000002 f75b5604 ffff3ebb f9f900fa 00000000
Call Trace:
 [<c0244e0a>] ? trace_hardirqs_on+0xb/0xd
 [<c03de2a8>] ? _read_unlock_irqrestore+0x5f/0x6c
 [<f82335bb>] ? dm_get_table+0x2e/0x35 [dm_mod]
 [<f9f900fa>] ? reiserfs_write_lock+0x1f/0x2e [reiserfs]
 [<c03dd52a>] __mutex_lock_common+0x239/0x3ca
 [<c03dd74a>] mutex_lock_nested+0x2b/0x33
 [<f9f900fa>] ? reiserfs_write_lock+0x1f/0x2e [reiserfs]
 [<f9f900fa>] reiserfs_write_lock+0x1f/0x2e [reiserfs]
 [<f9f85bc4>] search_by_key+0x19e/0x738 [reiserfs]
 [<c0244e0a>] ? trace_hardirqs_on+0xb/0xd
 [<c03dd198>] ? __mutex_unlock_slowpath+0x112/0x121
 [<c03dd1af>] ? mutex_unlock+0x8/0xa
 [<f9f8b5f8>] ? do_journal_end+0xa5a/0xc34 [reiserfs]
 [<f9f74ee2>] search_by_entry_key+0x17/0x198 [reiserfs]
 [<f9f750c1>] reiserfs_find_entry+0x5e/0x21c [reiserfs]
 [<c03dd1af>] ? mutex_unlock+0x8/0xa
 [<f9f9015e>] ? reiserfs_write_unlock+0x55/0x5a [reiserfs]
 [<f9f756f6>] reiserfs_lookup+0x6f/0xf7 [reiserfs]
 [<c02833ef>] __lookup_hash+0xa4/0xbe
 [<c0284e88>] lookup_one_len+0x8e/0x9d
 [<f9f8f1e1>] open_xa_dir+0x111/0x18a [reiserfs]
 [<c0244e0a>] ? trace_hardirqs_on+0xb/0xd
 [<f9f8f88f>] reiserfs_for_each_xattr+0x57/0x1df [reiserfs]
 [<f9f8ffe8>] ? delete_one_xattr+0x0/0x94 [reiserfs]
 [<f9f8fa6a>] reiserfs_delete_xattrs+0x13/0x40 [reiserfs]
 [<f9f7b3e2>] reiserfs_delete_inode+0x41/0xb7 [reiserfs]
 [<f9f7b3a1>] ? reiserfs_delete_inode+0x0/0xb7 [reiserfs]
 [<c028bff6>] generic_delete_inode+0x79/0xf1
 [<c028c080>] generic_drop_inode+0x12/0x18d
 [<c028b3b7>] iput+0x4b/0x4e
 [<c0289052>] dentry_iput+0x9c/0xb7
 [<c028910e>] d_kill+0x2d/0x47
 [<c0289814>] dput+0x110/0x119
 [<c0285831>] sys_renameat+0x176/0x1d3
 [<c0289747>] ? dput+0x43/0x119
 [<c028e6d6>] ? mntput_no_expire+0x19/0xad
 [<c02858a0>] sys_rename+0x12/0x14
 [<c0203228>] sysenter_do_call+0x12/0x3c
gnome-panel   D f0a34170  1996  4939   4534 0x00000000
 f0ae6d74 00000046 c1c52200 f0a34170 00000005 000000c1 f0ae6d4c c0546200
 c0546200 f4e2acb0 c0288adf f4e2acb0 f4e2ae44 c1c52200 00000001 f0ae6e6c
 f0ae6d64 00000246 00000000 00000002 f4e2ae44 00000000 f9f900bf 00000000
Call Trace:
 [<c0288adf>] ? pollwake+0x59/0x62
 [<f9f900bf>] ? reiserfs_write_lock_once+0x1f/0x3b [reiserfs]
 [<c03dd52a>] __mutex_lock_common+0x239/0x3ca
 [<c03dd74a>] mutex_lock_nested+0x2b/0x33
 [<f9f900bf>] ? reiserfs_write_lock_once+0x1f/0x3b [reiserfs]
 [<f9f900bf>] reiserfs_write_lock_once+0x1f/0x3b [reiserfs]
 [<f9f756ce>] reiserfs_lookup+0x47/0xf7 [reiserfs]
 [<c02832db>] do_lookup+0xb4/0x124
 [<c0283aa0>] __link_path_walk+0x33b/0x6ce
 [<c0283ff4>] path_walk+0x50/0xa5
 [<c02843ce>] do_path_lookup+0x21/0x42
 [<c0285e39>] user_path_at+0x3c/0x67
 [<c02771ac>] ? kmem_cache_alloc+0x11d/0x155
 [<c023c21e>] ? prepare_creds+0x2b/0x72
 [<c027be5f>] sys_faccessat+0x90/0x14a
 [<c027bf29>] sys_access+0x10/0x12
 [<c0203228>] sysenter_do_call+0x12/0x3c
trackerd      D f7477230  1756  4949   4534 0x00000000
 f0a36da8 00000046 f0a36d40 f7477230 f0a36d7c c03dd66d 00000202 c0546200
 c0546200 c0543284 f0a36de0 f0ac2a70 f0ac2c04 c1c52200 00000001 00000000
 f0a36d98 00000246 00000000 00000002 f0ac2c04 ffff3ebb f9f8f1cf 00000000
Call Trace:
 [<c03dd66d>] ? __mutex_lock_common+0x37c/0x3ca
 [<f9f8f1cf>] ? open_xa_dir+0xff/0x18a [reiserfs]
 [<c03dd52a>] __mutex_lock_common+0x239/0x3ca
 [<c03dd74a>] mutex_lock_nested+0x2b/0x33
 [<f9f8f1cf>] ? open_xa_dir+0xff/0x18a [reiserfs]
 [<f9f8f1cf>] open_xa_dir+0xff/0x18a [reiserfs]
 [<f9f8f88f>] reiserfs_for_each_xattr+0x57/0x1df [reiserfs]
 [<f9f8ffe8>] ? delete_one_xattr+0x0/0x94 [reiserfs]
 [<f9f8fa6a>] reiserfs_delete_xattrs+0x13/0x40 [reiserfs]
 [<f9f7b3e2>] reiserfs_delete_inode+0x41/0xb7 [reiserfs]
 [<f9f7b3a1>] ? reiserfs_delete_inode+0x0/0xb7 [reiserfs]
 [<c028bff6>] generic_delete_inode+0x79/0xf1
 [<c028c080>] generic_drop_inode+0x12/0x18d
 [<c028b3b7>] iput+0x4b/0x4e
 [<c0285965>] do_unlinkat+0xc3/0x107
 [<c027da44>] ? fput+0x19/0x1b
 [<c027b3d0>] ? filp_close+0x51/0x5b
 [<c02859b9>] sys_unlink+0x10/0x12
 [<c0203228>] sysenter_do_call+0x12/0x3c
gvfsd-trash   D c04c4160  2088  4971      1 0x00000000
 f0ba2d28 00000046 ffffffff c04c4160 ed67f708 f0ba2dcb f0ba2cf0 c0546200
 c0546200 c0543284 00000000 f64512f0 f6451484 c1c42200 00000000 00000000
 f0ba2d18 00000246 00000000 00000002 f6451484 ffff3ea3 f9f900bf 00000000
Call Trace:
 [<f9f900bf>] ? reiserfs_write_lock_once+0x1f/0x3b [reiserfs]
 [<c03dd52a>] __mutex_lock_common+0x239/0x3ca
 [<c03dd74a>] mutex_lock_nested+0x2b/0x33
 [<f9f900bf>] ? reiserfs_write_lock_once+0x1f/0x3b [reiserfs]
 [<f9f900bf>] reiserfs_write_lock_once+0x1f/0x3b [reiserfs]
 [<f9f756ce>] reiserfs_lookup+0x47/0xf7 [reiserfs]
 [<c02832db>] do_lookup+0xb4/0x124
 [<c0283d0a>] __link_path_walk+0x5a5/0x6ce
 [<c0283ff4>] path_walk+0x50/0xa5
 [<c02843ce>] do_path_lookup+0x21/0x42
 [<c0285e39>] user_path_at+0x3c/0x67
 [<c029e5ec>] ? __fsnotify_update_child_dentry_flags+0x76/0xcf
 [<c027f78e>] vfs_fstatat+0x2d/0x54
 [<c027f7f9>] vfs_lstat+0x16/0x18
 [<c027f80f>] sys_lstat64+0x14/0x28
 [<c02a0d3f>] ? sys_inotify_add_watch+0x270/0x2c4
 [<c02f9558>] ? trace_hardirqs_on_thunk+0xc/0x10
 [<c0203228>] sysenter_do_call+0x12/0x3c


This is linux-next kernel with reiser4 patches. Full dmesg attached.
~~
laurent

View attachment "dmesg-2.6.31-rc5-next-20090804.log" of type "text/x-log" (51893 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ