Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 2 Nov 2002 15:36:33 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 2 Nov 2002 15:36:33 -0500 Received: from [212.104.37.2] ([212.104.37.2]:18450 "EHLO actnetweb.activenetwork.it") by vger.kernel.org with ESMTP id ; Sat, 2 Nov 2002 15:36:23 -0500 Date: Sat, 2 Nov 2002 21:42:46 +0100 From: Kronos To: linux-kernel@vger.kernel.org Cc: lord@sgi.com Subject: Re: [2.5.45] Unable to umount XFS filesystems Message-ID: <20021102204246.GA294@dreamland.darkstar.net> Reply-To: kronos@kronoz.cjb.net References: <20021102151320.GA308@dreamland.darkstar.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021102151320.GA308@dreamland.darkstar.net> User-Agent: Mutt/1.4i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 20674 Lines: 555 Il Sat, Nov 02, 2002 at 04:13:20PM +0100, Kronos ha scritto: > with kernel 2.5.45 I'm unable to unmount XFS filesystems. 'umount' is > blocked in D state: As Denis Vlasenko suggested, this is Alt-SysRq-T: ksymoops 2.4.5 on i686 2.5.45. Options used -V (default) -k /proc/ksyms (default) -l /proc/modules (default) -o /lib/modules/2.5.45/ (default) -m /boot/System.map-2.5.45 (specified) Warning (compare_maps): ksyms_base symbol page_states__per_cpu_R__ver_page_states__per_cpu not found in System.map. Ignoring ksyms_base entry init S C129E040 0 1 0 2 (NOTLB) Using defaults from ksymoops -t elf32-i386 -a i386 [] schedule_timeout+0x57/0xb0 [] __pollwait+0x41/0xd0 [] process_timeout+0x0/0x10 [] do_select+0x114/0x240 [] sys_select+0x2f2/0x510 [] syscall_call+0x7/0xb ksoftirqd/0 S C129E640 0 2 1 3 (L-TLB) [] ksoftirqd+0x96/0xe0 [] ksoftirqd+0x0/0xe0 [] kernel_thread_helper+0x5/0x18 events/0 S C129EC40 0 3 1 4 2 (L-TLB) [] batch_entropy_process+0x0/0xe0 [] worker_thread+0x213/0x250 [] default_wake_function+0x0/0x40 [] default_wake_function+0x0/0x40 [] worker_thread+0x0/0x250 [] kernel_thread_helper+0x5/0x18 kswapd0 S C129F840 0 4 1 5 3 (L-TLB) [] kswapd+0x106/0x139 [] autoremove_wake_function+0x0/0x50 [] autoremove_wake_function+0x0/0x50 [] kswapd+0x0/0x139 [] kernel_thread_helper+0x5/0x18 pdflush S C129F240 0 5 1 6 4 (L-TLB) [] reparent_to_init+0xde/0x180 [] __pdflush+0xe9/0x220 [] pdflush+0x0/0x20 [] pdflush+0xf/0x20 [] kernel_thread_helper+0x0/0x18 [] kernel_thread_helper+0x5/0x18 pdflush S C138B880 0 6 1 7 5 (L-TLB) [] __pdflush+0xe9/0x220 [] pdflush+0x0/0x20 [] pdflush+0xf/0x20 [] kernel_thread_helper+0x0/0x18 [] kernel_thread_helper+0x5/0x18 aio/0 S C138B280 0 7 1 8 6 (L-TLB) [] worker_thread+0x213/0x250 [] default_wake_function+0x0/0x40 [] preempt_schedule+0x36/0x60 [] default_wake_function+0x0/0x40 [] worker_thread+0x0/0x250 [] kernel_thread_helper+0x5/0x18 pagebufd S C138AC80 0 8 1 9 7 (L-TLB) [] interruptible_sleep_on+0x50/0x90 [] default_wake_function+0x0/0x40 [] pagebuf_daemon+0x263/0x280 [] pagebuf_daemon_wakeup+0x0/0x30 [] pagebuf_daemon+0x0/0x280 [] kernel_thread_helper+0x5/0x18 pagebuf/0 S C138A680 0 9 1 29 8 (L-TLB) [] pagebuf_iodone_work+0x0/0x60 [] worker_thread+0x213/0x250 [] default_wake_function+0x0/0x40 [] preempt_schedule+0x36/0x60 [] default_wake_function+0x0/0x40 [] worker_thread+0x0/0x250 [] kernel_thread_helper+0x5/0x18 reiserfs/0 S CFD22CC0 0 29 1 93 9 (L-TLB) [] worker_thread+0x213/0x250 [] default_wake_function+0x0/0x40 [] default_wake_function+0x0/0x40 [] worker_thread+0x0/0x250 [] kernel_thread_helper+0x5/0x18 bash S CFD220C0 0 93 1 165 95 29 (NOTLB) [] sys_wait4+0x201/0x4c0 [] default_wake_function+0x0/0x40 [] default_wake_function+0x0/0x40 [] syscall_call+0x7/0xb bash S CFD226C0 0 95 1 96 93 (NOTLB) [] schedule_timeout+0xae/0xb0 [] write_chan+0x181/0x230 [] read_chan+0x29f/0x6d0 [] default_wake_function+0x0/0x40 [] default_wake_function+0x0/0x40 [] default_wake_function+0x0/0x40 [] default_wake_function+0x0/0x40 [] tty_read+0xf2/0x120 [] vfs_read+0xdc/0x150 [] sys_rt_sigprocmask+0x104/0x190 [] sys_read+0x3e/0x60 [] syscall_call+0x7/0xb agetty S CF9F9900 0 96 1 97 95 (NOTLB) [] schedule_timeout+0xae/0xb0 [] con_write+0x39/0x50 [] write_chan+0x181/0x230 [] read_chan+0x29f/0x6d0 [] default_wake_function+0x0/0x40 [] default_wake_function+0x0/0x40 [] default_wake_function+0x0/0x40 [] default_wake_function+0x0/0x40 [] tty_read+0xf2/0x120 [] vfs_read+0xdc/0x150 [] copy_to_user+0x57/0x60 [] sys_read+0x3e/0x60 [] syscall_call+0x7/0xb agetty S C138A080 0 97 1 98 96 (NOTLB) [] schedule_timeout+0xae/0xb0 [] con_write+0x39/0x50 [] write_chan+0x181/0x230 [] read_chan+0x29f/0x6d0 [] default_wake_function+0x0/0x40 [] default_wake_function+0x0/0x40 [] default_wake_function+0x0/0x40 [] default_wake_function+0x0/0x40 [] tty_read+0xf2/0x120 [] vfs_read+0xdc/0x150 [] copy_to_user+0x57/0x60 [] sys_read+0x3e/0x60 [] syscall_call+0x7/0xb agetty S CF9F8700 0 98 1 99 97 (NOTLB) [] schedule_timeout+0xae/0xb0 [] con_write+0x39/0x50 [] write_chan+0x181/0x230 [] read_chan+0x29f/0x6d0 [] default_wake_function+0x0/0x40 [] default_wake_function+0x0/0x40 [] default_wake_function+0x0/0x40 [] default_wake_function+0x0/0x40 [] tty_read+0xf2/0x120 [] vfs_read+0xdc/0x150 [] copy_to_user+0x57/0x60 [] sys_read+0x3e/0x60 [] syscall_call+0x7/0xb agetty S CF9F8100 0 99 1 100 98 (NOTLB) [] schedule_timeout+0xae/0xb0 [] con_write+0x39/0x50 [] write_chan+0x181/0x230 [] read_chan+0x29f/0x6d0 [] default_wake_function+0x0/0x40 [] default_wake_function+0x0/0x40 [] default_wake_function+0x0/0x40 [] default_wake_function+0x0/0x40 [] tty_read+0xf2/0x120 [] vfs_read+0xdc/0x150 [] copy_to_user+0x57/0x60 [] sys_read+0x3e/0x60 [] syscall_call+0x7/0xb agetty S CF951940 0 100 1 137 99 (NOTLB) [] schedule_timeout+0xae/0xb0 [] con_write+0x39/0x50 [] write_chan+0x181/0x230 [] read_chan+0x29f/0x6d0 [] default_wake_function+0x0/0x40 [] default_wake_function+0x0/0x40 [] default_wake_function+0x0/0x40 [] default_wake_function+0x0/0x40 [] tty_read+0xf2/0x120 [] vfs_read+0xdc/0x150 [] copy_to_user+0x57/0x60 [] sys_read+0x3e/0x60 [] syscall_call+0x7/0xb bash S CF9F8D00 0 137 1 151 100 (NOTLB) [] schedule_timeout+0xae/0xb0 [] write_chan+0x181/0x230 [] read_chan+0x29f/0x6d0 [] default_wake_function+0x0/0x40 [] default_wake_function+0x0/0x40 [] default_wake_function+0x0/0x40 [] default_wake_function+0x0/0x40 [] tty_read+0xf2/0x120 [] vfs_read+0xdc/0x150 [] sys_rt_sigprocmask+0x104/0x190 [] sys_read+0x3e/0x60 [] syscall_call+0x7/0xb gpm S CF951340 0 151 1 137 (NOTLB) [] schedule_timeout+0x57/0xb0 [] process_timeout+0x0/0x10 [] sock_poll+0x25/0x30 [] do_select+0x114/0x240 [] sys_select+0x2f2/0x510 [] syscall_call+0x7/0xb umount D CF9F9300 0 165 93 (NOTLB) [] schedule_timeout+0xae/0xb0 [] xfs_finish_reclaim+0xea/0x120 [] xfs_reclaim+0xcb/0x1e0 [] vn_remove+0xe3/0x110 [] default_wake_function+0x0/0x40 [] vn_purge+0xd1/0x100 [] default_wake_function+0x0/0x40 [] cache_free_debugcheck+0x12f/0x1b0 [] vn_purge+0x8d/0x100 [] vn_remove+0x4c/0x110 [] xfs_unmount+0xef/0x120 [] xfs_sync+0x29/0x30 [] fs_dounmount+0x66/0x70 [] linvfs_put_super+0x35/0x80 [] generic_shutdown_super+0x125/0x140 [] kill_block_super+0x1d/0x50 [] deactivate_super+0x75/0xb0 [] sys_umount+0x3f/0x90 [] sys_oldumount+0x17/0x20 [] syscall_call+0x7/0xb Warning (Oops_read): Code line not seen, dumping what data is available Proc; init >>EIP; c129e040 <_end+db2500/10bdf4c0> <===== Proc; ksoftirqd/0 >>EIP; c129e640 <_end+db2b00/10bdf4c0> <===== Proc; events/0 >>EIP; c129ec40 <_end+db3100/10bdf4c0> <===== Proc; kswapd0 >>EIP; c129f840 <_end+db3d00/10bdf4c0> <===== Proc; pdflush >>EIP; c129f240 <_end+db3700/10bdf4c0> <===== Proc; pdflush >>EIP; c138b880 <_end+e9fd40/10bdf4c0> <===== Proc; aio/0 >>EIP; c138b280 <_end+e9f740/10bdf4c0> <===== Proc; pagebufd >>EIP; c138ac80 <_end+e9f140/10bdf4c0> <===== Proc; pagebuf/0 >>EIP; c138a680 <_end+e9eb40/10bdf4c0> <===== Proc; reiserfs/0 >>EIP; cfd22cc0 <_end+f837180/10bdf4c0> <===== Proc; bash >>EIP; cfd220c0 <_end+f836580/10bdf4c0> <===== Proc; bash >>EIP; cfd226c0 <_end+f836b80/10bdf4c0> <===== Proc; agetty >>EIP; cf9f9900 <_end+f50ddc0/10bdf4c0> <===== Proc; agetty >>EIP; c138a080 <_end+e9e540/10bdf4c0> <===== Proc; agetty >>EIP; cf9f8700 <_end+f50cbc0/10bdf4c0> <===== Proc; agetty >>EIP; cf9f8100 <_end+f50c5c0/10bdf4c0> <===== Proc; agetty >>EIP; cf951940 <_end+f465e00/10bdf4c0> <===== Proc; bash >>EIP; cf9f8d00 <_end+f50d1c0/10bdf4c0> <===== Proc; gpm >>EIP; cf951340 <_end+f465800/10bdf4c0> <===== Proc; umount >>EIP; cf9f9300 <_end+f50d7c0/10bdf4c0> <===== 2 warnings issued. Results may not be reliable. After that I tried 'sync' but it blocked too: ksymoops 2.4.5 on i686 2.5.45. Options used -V (default) -k /proc/ksyms (default) -l /proc/modules (default) -o /lib/modules/2.5.45/ (default) -m /boot/System.map-2.5.45 (specified) Warning (compare_maps): ksyms_base symbol page_states__per_cpu_R__ver_page_states__per_cpu not found in System.map. Ignoring ksyms_base entry init S C129E040 0 1 0 2 (NOTLB) Using defaults from ksymoops -t elf32-i386 -a i386 [] schedule_timeout+0x57/0xb0 [] __pollwait+0x41/0xd0 [] process_timeout+0x0/0x10 [] do_select+0x114/0x240 [] sys_select+0x2f2/0x510 [] syscall_call+0x7/0xb ksoftirqd/0 S C129E640 0 2 1 3 (L-TLB) [] ksoftirqd+0x96/0xe0 [] ksoftirqd+0x0/0xe0 [] kernel_thread_helper+0x5/0x18 events/0 S C129EC40 0 3 1 4 2 (L-TLB) [] batch_entropy_process+0x0/0xe0 [] worker_thread+0x213/0x250 [] default_wake_function+0x0/0x40 [] default_wake_function+0x0/0x40 [] worker_thread+0x0/0x250 [] kernel_thread_helper+0x5/0x18 kswapd0 S C129F840 0 4 1 5 3 (L-TLB) [] kswapd+0x106/0x139 [] autoremove_wake_function+0x0/0x50 [] autoremove_wake_function+0x0/0x50 [] kswapd+0x0/0x139 [] kernel_thread_helper+0x5/0x18 pdflush S C129F240 0 5 1 6 4 (L-TLB) [] reparent_to_init+0xde/0x180 [] __pdflush+0xe9/0x220 [] pdflush+0x0/0x20 [] pdflush+0xf/0x20 [] kernel_thread_helper+0x0/0x18 [] kernel_thread_helper+0x5/0x18 pdflush S C138B880 0 6 1 7 5 (L-TLB) [] __pdflush+0xe9/0x220 [] pdflush+0x0/0x20 [] pdflush+0xf/0x20 [] kernel_thread_helper+0x0/0x18 [] kernel_thread_helper+0x5/0x18 aio/0 S C138B280 0 7 1 8 6 (L-TLB) [] worker_thread+0x213/0x250 [] default_wake_function+0x0/0x40 [] preempt_schedule+0x36/0x60 [] default_wake_function+0x0/0x40 [] worker_thread+0x0/0x250 [] kernel_thread_helper+0x5/0x18 pagebufd S C138AC80 0 8 1 9 7 (L-TLB) [] interruptible_sleep_on+0x50/0x90 [] default_wake_function+0x0/0x40 [] pagebuf_daemon+0x263/0x280 [] pagebuf_daemon_wakeup+0x0/0x30 [] pagebuf_daemon+0x0/0x280 [] kernel_thread_helper+0x5/0x18 pagebuf/0 S C138A680 0 9 1 29 8 (L-TLB) [] pagebuf_iodone_work+0x0/0x60 [] worker_thread+0x213/0x250 [] default_wake_function+0x0/0x40 [] preempt_schedule+0x36/0x60 [] default_wake_function+0x0/0x40 [] worker_thread+0x0/0x250 [] kernel_thread_helper+0x5/0x18 reiserfs/0 S CFD22CC0 0 29 1 93 9 (L-TLB) [] worker_thread+0x213/0x250 [] default_wake_function+0x0/0x40 [] default_wake_function+0x0/0x40 [] worker_thread+0x0/0x250 [] kernel_thread_helper+0x5/0x18 bash S CFD220C0 0 93 1 165 95 29 (NOTLB) [] sys_wait4+0x201/0x4c0 [] default_wake_function+0x0/0x40 [] default_wake_function+0x0/0x40 [] syscall_call+0x7/0xb bash S CFD226C0 0 95 1 96 93 (NOTLB) [] schedule_timeout+0xae/0xb0 [] write_chan+0x181/0x230 [] read_chan+0x29f/0x6d0 [] default_wake_function+0x0/0x40 [] default_wake_function+0x0/0x40 [] default_wake_function+0x0/0x40 [] default_wake_function+0x0/0x40 [] tty_read+0xf2/0x120 [] vfs_read+0xdc/0x150 [] sys_rt_sigprocmask+0x104/0x190 [] sys_read+0x3e/0x60 [] syscall_call+0x7/0xb bash S CF9F9900 0 96 1 97 95 (NOTLB) [] schedule_timeout+0xae/0xb0 [] apic_timer_interrupt+0x1a/0x20 [] read_chan+0x29f/0x6d0 [] default_wake_function+0x0/0x40 [] default_wake_function+0x0/0x40 [] default_wake_function+0x0/0x40 [] default_wake_function+0x0/0x40 [] tty_read+0xf2/0x120 [] vfs_read+0xdc/0x150 [] sys_rt_sigprocmask+0x104/0x190 [] sys_read+0x3e/0x60 [] syscall_call+0x7/0xb agetty S C138A080 0 97 1 98 96 (NOTLB) [] schedule_timeout+0xae/0xb0 [] con_write+0x39/0x50 [] write_chan+0x181/0x230 [] read_chan+0x29f/0x6d0 [] default_wake_function+0x0/0x40 [] default_wake_function+0x0/0x40 [] default_wake_function+0x0/0x40 [] default_wake_function+0x0/0x40 [] tty_read+0xf2/0x120 [] vfs_read+0xdc/0x150 [] copy_to_user+0x57/0x60 [] sys_read+0x3e/0x60 [] syscall_call+0x7/0xb agetty S CF9F8700 0 98 1 99 97 (NOTLB) [] schedule_timeout+0xae/0xb0 [] con_write+0x39/0x50 [] write_chan+0x181/0x230 [] read_chan+0x29f/0x6d0 [] default_wake_function+0x0/0x40 [] default_wake_function+0x0/0x40 [] default_wake_function+0x0/0x40 [] default_wake_function+0x0/0x40 [] tty_read+0xf2/0x120 [] vfs_read+0xdc/0x150 [] copy_to_user+0x57/0x60 [] sys_read+0x3e/0x60 [] syscall_call+0x7/0xb agetty S CF9F8100 0 99 1 100 98 (NOTLB) [] schedule_timeout+0xae/0xb0 [] con_write+0x39/0x50 [] write_chan+0x181/0x230 [] read_chan+0x29f/0x6d0 [] default_wake_function+0x0/0x40 [] default_wake_function+0x0/0x40 [] default_wake_function+0x0/0x40 [] default_wake_function+0x0/0x40 [] tty_read+0xf2/0x120 [] vfs_read+0xdc/0x150 [] copy_to_user+0x57/0x60 [] sys_read+0x3e/0x60 [] syscall_call+0x7/0xb agetty S CF951940 0 100 1 137 99 (NOTLB) [] schedule_timeout+0xae/0xb0 [] con_write+0x39/0x50 [] write_chan+0x181/0x230 [] read_chan+0x29f/0x6d0 [] default_wake_function+0x0/0x40 [] default_wake_function+0x0/0x40 [] default_wake_function+0x0/0x40 [] default_wake_function+0x0/0x40 [] tty_read+0xf2/0x120 [] vfs_read+0xdc/0x150 [] copy_to_user+0x57/0x60 [] sys_read+0x3e/0x60 [] syscall_call+0x7/0xb bash S CF9F8D00 0 137 1 324 100 (NOTLB) [] sys_wait4+0x201/0x4c0 [] default_wake_function+0x0/0x40 [] default_wake_function+0x0/0x40 [] syscall_call+0x7/0xb umount D CF9F9300 0 165 93 (NOTLB) [] schedule_timeout+0xae/0xb0 [] xfs_finish_reclaim+0xea/0x120 [] xfs_reclaim+0xcb/0x1e0 [] vn_remove+0xe3/0x110 [] default_wake_function+0x0/0x40 [] vn_purge+0xd1/0x100 [] default_wake_function+0x0/0x40 [] cache_free_debugcheck+0x12f/0x1b0 [] vn_purge+0x8d/0x100 [] vn_remove+0x4c/0x110 [] xfs_unmount+0xef/0x120 [] xfs_sync+0x29/0x30 [] fs_dounmount+0x66/0x70 [] linvfs_put_super+0x35/0x80 [] generic_shutdown_super+0x125/0x140 [] kill_block_super+0x1d/0x50 [] deactivate_super+0x75/0xb0 [] sys_umount+0x3f/0x90 [] sys_oldumount+0x17/0x20 [] syscall_call+0x7/0xb sync D CF951340 0 324 137 (NOTLB) [] rwsem_down_failed_common+0x5c/0x90 [] rwsem_down_read_failed+0x29/0x40 [] .text.lock.fs_writeback+0x7/0x31 [] sync_inodes+0x15/0xa0 [] sys_sync+0x1b/0x40 [] syscall_call+0x7/0xb Warning (Oops_read): Code line not seen, dumping what data is available Proc; init >>EIP; c129e040 <_end+db2500/10bdf4c0> <===== Proc; ksoftirqd/0 >>EIP; c129e640 <_end+db2b00/10bdf4c0> <===== Proc; events/0 >>EIP; c129ec40 <_end+db3100/10bdf4c0> <===== Proc; kswapd0 >>EIP; c129f840 <_end+db3d00/10bdf4c0> <===== Proc; pdflush >>EIP; c129f240 <_end+db3700/10bdf4c0> <===== Proc; pdflush >>EIP; c138b880 <_end+e9fd40/10bdf4c0> <===== Proc; aio/0 >>EIP; c138b280 <_end+e9f740/10bdf4c0> <===== Proc; pagebufd >>EIP; c138ac80 <_end+e9f140/10bdf4c0> <===== Proc; pagebuf/0 >>EIP; c138a680 <_end+e9eb40/10bdf4c0> <===== Proc; reiserfs/0 >>EIP; cfd22cc0 <_end+f837180/10bdf4c0> <===== Proc; bash >>EIP; cfd220c0 <_end+f836580/10bdf4c0> <===== Proc; bash >>EIP; cfd226c0 <_end+f836b80/10bdf4c0> <===== Proc; bash >>EIP; cf9f9900 <_end+f50ddc0/10bdf4c0> <===== Proc; agetty >>EIP; c138a080 <_end+e9e540/10bdf4c0> <===== Proc; agetty >>EIP; cf9f8700 <_end+f50cbc0/10bdf4c0> <===== Proc; agetty >>EIP; cf9f8100 <_end+f50c5c0/10bdf4c0> <===== Proc; agetty >>EIP; cf951940 <_end+f465e00/10bdf4c0> <===== Proc; bash >>EIP; cf9f8d00 <_end+f50d1c0/10bdf4c0> <===== Proc; umount >>EIP; cf9f9300 <_end+f50d7c0/10bdf4c0> <===== Proc; sync >>EIP; cf951340 <_end+f465800/10bdf4c0> <===== 2 warnings issued. Results may not be reliable. Not sure about the meaning of the first warning, I'm using the right System.map Uh, kernel is UP with CONFIG_PREEMPT=y HTH, Luca -- Reply-To: kronos@kronoz.cjb.net Home: http://kronoz.cjb.net Ci sono due cose che l'uomo non puo` nascondere: essere ubriaco ed essere innamorato. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/