From: Ard van Breemen Subject: Re: Bug report: reiserfsck --rebuild-tree not progressing Date: Wed, 12 Apr 2006 17:35:57 +0200 Message-ID: <20060412153557.GP1427@kwaak.net> References: Mime-Version: 1.0 Return-path: list-help: list-unsubscribe: list-post: Errors-To: flx@namesys.com Content-Disposition: inline In-Reply-To: List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: System Administrators Cc: reiserfs-list@namesys.com Hi, On Mon, Apr 10, 2006 at 05:34:58PM -0700, Tyler Phelps wrote: > The following are syslog messages from the kernel. The filesystem > trouble began at about 2:50am which matches the following log entries: > > Apr 6 02:50:03 gwar kernel: ReiserFS: dm-12: warning: vs-13060: > reiserfs_update_sd: stat data of object [124 983 0x0 SD] (nlink == 1) > not found (pos 1) Have you been able to determine why it happened? We also have opterons and got this: ReiserFS: sdb9: warning: vs-13060: reiserfs_update_sd: stat data of object [2 12 0x0 SD] (nlink == 3) not found (pos 1) ReiserFS: sdb9: warning: vs-13060: reiserfs_update_sd: stat data of object [2 12 0x0 SD] (nlink == 3) not found (pos 1) ReiserFS: sdb9: warning: vs-13060: reiserfs_update_sd: stat data of object [2 12 0x0 SD] (nlink == 3) not found (pos 1) And then finally some sort of kernel panic. And it is repeatable. Kernel: 2.6.16.1 for AMD64 Kernel: 2.6.17rc1 for AMD64 (Yes, tried both) Compiled with gcc-3.3 on an AMD64 platform userspace is 32 bits debian Hardware: tyan s2891 (gt24 system) with nforce4 and 4 sata 1 drives. success: Run a lot of bonnie++'s consistent failure: (Tried as 4 seperate disks of 0.4T and as one raid5 partition of 1.1T) After 2 hours of pumping a few million files onto the machine reiserfs starts putting out these warnings (a few thousands): ^MReiserFS: sdb9: warning: vs-13060: reiserfs_update_sd: stat data of object [2 12 0x0 SD] (nlink == 3) not found (pos 1) And then the panic for a 2.6.16.1 kernel: NMI Watchdog detected LOCKUP on CPU 1 CPU 1 Modules linked in: ipv6 tg3 nfsd exportfs nfs lockd sunrpc Pid: 15215, comm: tar Not tainted 2.6.16.1-tyan-s2891 #1 RIP: 0010:[] {.text.lock.spinlock+22} RSP: 0000:ffff81012fc9fc48 EFLAGS: 00000086 RAX: ffff8100cbcfec78 RBX: ffff8100cbcfec70 RCX: 0000000000000000 RDX: 0000000000000001 RSI: 0000000000000001 RDI: ffff8100cbcfec70 RBP: ffff81012fc9fc88 R08: 00000000000200a3 R09: 0000000000000640 R10: 0000000000010c0c R11: 00000000000005b4 R12: 0000000000000000 R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff81012fc5fbc0(0063) knlGS:00000000f7e88080 CS: 0010 DS: 002b ES: 002b CR0: 000000008005003b CR2: 00000000f7f7dfbc CR3: 0000000042d8e000 CR4: 00000000000006e0 Process tar (pid: 15215, threadinfo ffff81002891c000, task ffff81007e2860c0) Stack: 0000000000000296 ffffffff801280ed 0000000100000000 ffff810116728700 ffff81002ff90780 00000000ffffffff 0000000000000000 ffff81003d8de834 ffff810116728700 ffffffff80315604 Call Trace: {__wake_up+45} {sock_def_readable+52} {tcp_data_queue+894} {tcp_rcv_established+1638} {tcp_v4_do_rcv+35} {tcp_v4_rcv+1431} {dev_queue_xmit+559} {ip_local_deliver+402} {ip_rcv+1244} {netif_receive_skb+508} {:tg3:tg3_rx+905} {:tg3:tg3_poll+140} {net_rx_action+132} {__do_softirq+97} {call_softirq+30} {do_softirq+49} {do_IRQ+71} {ret_from_intr+0} {memmove+49} {leaf_paste_entries+245} {leaf_copy_dir_entries+619} {leaf_copy_boundary_item+970} {wake_up_bit+24} {leaf_copy_items+78} {leaf_move_items+80} {leaf_shift_left+62} {balance_leaf_when_delete+865} {balance_leaf+93} {wake_up_bit+24} {reiserfs_prepare_for_journal+88} {do_balance+141} {fix_nodes+590} {reiserfs_cut_from_item+915} {reiserfs_unlink+308} {mntput_no_expire+36} {vfs_unlink+110} {do_unlinkat+175} {ia32_sysret+0} Code: 83 3f 00 7e f9 e9 92 fd ff ff f3 90 83 3f 00 7e f9 e9 9e fd console shuts up ... Badness in do_exit at kernel/exit.c:802 Call Trace: {do_exit+68} {die_nmi+123} {nmi_watchdog_tick+230} {default_do_nmi+134} {do_nmi+69} {nmi+127} {.text.lock.spinlock+22} {__wake_up+45} {sock_def_readable+52} {tcp_data_queue+894} {tcp_rcv_established+1638} {tcp_v4_do_rcv+35} {tcp_v4_rcv+1431} {dev_queue_xmit+559} {ip_local_deliver+402} {ip_rcv+1244} {netif_receive_skb+508} {:tg3:tg3_rx+905} {:tg3:tg3_poll+140} {net_rx_action+132} {__do_softirq+97} {call_softirq+30} {do_softirq+49} {do_IRQ+71} {ret_from_intr+0} {memmove+49} {leaf_paste_entries+245} {leaf_copy_dir_entries+619} {leaf_copy_boundary_item+970} {wake_up_bit+24} {leaf_copy_items+78} {leaf_move_items+80} {leaf_shift_left+62} {balance_leaf_when_delete+865} {balance_leaf+93} {wake_up_bit+24} {reiserfs_prepare_for_journal+88} {do_balance+141} {fix_nodes+590} {reiserfs_cut_from_item+915} {reiserfs_unlink+308} {mntput_no_expire+36} {vfs_unlink+110} {do_unlinkat+175} {ia32_sysret+0} Kernel panic - not syncing: Aiee, killing interrupt handler! I've seen in git that there is a memory leak in tg3, but I guess (looking at the graphs) that it was not memory related. Anyway, off to put another 2 of those at testing... Regards, Ard van Breemen