The log recovery failure happened after a hard reboot, I did "mount /dev/lg/log /mnt/temp/" twice, but the similar dmesg error. The xfs lives on LVM, with 4x2TB SATA II disk. The first time: [ 1479.130446] XFS mounting filesystem dm-0 [ 1479.226525] Starting XFS recovery on filesystem: dm-0 (logdev: internal) [ 1506.217842] BUG: unable to handle kernel NULL pointer dereference at 00000000000000f8 [ 1506.218468] IP: [<ffffffff81235f9c>] xfs_cmn_err+0x6b/0x92 [ 1506.218680] PGD 2175c4067 PUD 22f4ff067 PMD 0 [ 1506.218887] Oops: 0000 [#1] PREEMPT SMP [ 1506.219138] last sysfs file: /sys/devices/virtual/block/dm-0/dev [ 1506.219345] CPU 1 [ 1506.219353] Modules linked in: [ 1506.219732] [ 1506.219923] Pid: 21233, comm: mount Not tainted 2.6.38.5 #2 System manufacturer SÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃ/Z8NA-D6(C) [ 1506.220989] RIP: 0010:[<ffffffff81235f9c>] [<ffffffff81235f9c>] xfs_cmn_err+0x6b/0x92 [ 1506.221424] RSP: 0018:ffff88021752da08 EFLAGS: 00010246 [ 1506.221627] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff816be16c [ 1506.221837] RDX: ffff88021752da28 RSI: ffffffff816bdced RDI: 0000000000000008 [ 1506.222079] RBP: ffff88021752da88 R08: ffffffff816bdb79 R09: 00000000000005f6 [ 1506.222289] R10: ffff8802177c32c0 R11: 00000530e8002000 R12: 0000000000000000 [ 1506.222572] R13: ffffffff816be16c R14: ffff88021752db04 R15: 00000000000008e2 [ 1506.222830] FS: 00007fa0c93d2740(0000) GS:ffff8800bf440000(0000) knlGS:0000000000000000 [ 1506.223265] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b [ 1506.223471] CR2: 00000000000000f8 CR3: 000000021754e000 CR4: 00000000000006e0 [ 1506.223728] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 1506.223938] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 [ 1506.224190] Process mount (pid: 21233, threadinfo ffff88021752c000, task ffff88022e239440) [ 1506.224585] Stack: [ 1506.224776] 0000000000000020 ffff88021752da98 ffff88021752da38 ffff88021752da48 [ 1506.225216] ffffffff816be16c ffff88021752da08 2d0100008de51400 ffffffff8122922b [ 1506.225616] ffff880202000000 ffff8802176e8af0 ffffffff816bdb79 00000000000005f6 [ 1506.226058] Call Trace: [ 1506.226301] [<ffffffff8122922b>] ? kmem_zone_zalloc+0x1f/0x30 [ 1506.226549] [<ffffffff812098b5>] xfs_error_report+0x39/0x40 [ 1506.226805] [<ffffffff811e8340>] ? xfs_free_extent+0x8e/0xae [ 1506.227056] [<ffffffff811e75cf>] xfs_free_ag_extent+0x3e7/0x70b [ 1506.227306] [<ffffffff811e8340>] xfs_free_extent+0x8e/0xae [ 1506.227514] [<ffffffff81219fa2>] xlog_recover_process_efi+0x113/0x16c [ 1506.227724] [<ffffffff81223c6e>] ? xfs_trans_ail_cursor_set+0x15/0x1c [ 1506.227934] [<ffffffff8121a0ef>] xlog_recover_process_efis+0x64/0xad [ 1506.228182] [<ffffffff8121a6a7>] xlog_recover_finish+0x15/0xb6 [ 1506.228390] [<ffffffff8121784b>] xfs_log_mount_finish+0x1b/0x1d [ 1506.228597] [<ffffffff81220d3f>] xfs_mountfs+0x4ec/0x615 [ 1506.228803] [<ffffffff8123439a>] xfs_fs_fill_super+0x1e5/0x2e8 [ 1506.229055] [<ffffffff810fc149>] mount_bdev+0x13b/0x19e [ 1506.229259] [<ffffffff812341b5>] ? xfs_fs_fill_super+0x0/0x2e8 [ 1506.229467] [<ffffffff812328e9>] xfs_fs_mount+0x10/0x12 [ 1506.229672] [<ffffffff810fb860>] vfs_kern_mount+0xb8/0x1f3 [ 1506.229877] [<ffffffff810fb9f9>] do_kern_mount+0x48/0xd8 [ 1506.230127] [<ffffffff811137d6>] do_mount+0x729/0x791 [ 1506.230375] [<ffffffff810c2588>] ? memdup_user+0x43/0x63 [ 1506.230629] [<ffffffff810c25e1>] ? strndup_user+0x39/0x4f [ 1506.230834] [<ffffffff811138c1>] sys_mount+0x83/0xbe [ 1506.231080] [<ffffffff810028fb>] system_call_fastpath+0x16/0x1b [ 1506.231285] Code: 31 e4 48 8d 45 80 48 8d 55 10 48 89 45 a8 48 89 55 88 31 c0 48 8d 55 b0 c7 45 80 20 00 00 00 48 89 55 90 4c 89 6d a0 48 8d 55 a0 <48> 8b b3 f8 00 00 00 48 c7 c7 78 14 6c 81 e8 1f ff 2b 00 45 85 [ 1506.232093] RIP [<ffffffff81235f9c>] xfs_cmn_err+0x6b/0x92 [ 1506.232300] RSP <ffff88021752da08> [ 1506.232498] CR2: 00000000000000f8 [ 1506.233086] ---[ end trace 6ff9d0214348600a ]--- The second time: [ 725.637712] BUG: unable to handle kernel NULL pointer dereference at 00000000000000f8 [ 725.638302] IP: [<ffffffff81235f9c>] xfs_cmn_err+0x6b/0x92 [ 725.638579] PGD 22b1d3067 PUD 22b21f067 PMD 0 [ 725.638787] Oops: 0000 [#1] PREEMPT SMP [ 725.638993] last sysfs file: /sys/devices/virtual/block/dm-0/dev [ 725.639202] CPU 0 [ 725.639210] Modules linked in: [ 725.639664] [ 725.639857] Pid: 2537, comm: mount Not tainted 2.6.38.5 #2 System manufacturer SÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃ/Z8NA-D6(C) [ 725.640841] RIP: 0010:[<ffffffff81235f9c>] [<ffffffff81235f9c>] xfs_cmn_err+0x6b/0x92 [ 725.641241] RSP: 0018:ffff88022b28ba08 EFLAGS: 00010246 [ 725.641512] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff816be16c [ 725.641723] RDX: ffff88022b28ba28 RSI: ffffffff816bdced RDI: 0000000000000008 [ 725.641936] RBP: ffff88022b28ba88 R08: ffffffff816bdb79 R09: 00000000000005f6 [ 725.642148] R10: ffff8802217c9680 R11: 00000530e8002000 R12: 0000000000000000 [ 725.642428] R13: ffffffff816be16c R14: ffff88022b28bb04 R15: 00000000000008e2 [ 725.642641] FS: 00007f857cd34740(0000) GS:ffff8800bf400000(0000) knlGS:0000000000000000 [ 725.643041] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b [ 725.643248] CR2: 00000000000000f8 CR3: 000000022b24a000 CR4: 00000000000006f0 [ 725.643565] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 725.643778] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 [ 725.643990] Process mount (pid: 2537, threadinfo ffff88022b28a000, task ffff88022e4f2f40) [ 725.644478] Stack: [ 725.644671] 0000000000000020 ffff88022b28ba98 ffff88022b28ba38 ffff88022b28ba48 [ 725.645072] ffffffff816be16c ffff88022b28ba08 2d0100008de51400 ffffffff8122922b [ 725.645607] ffff880202000000 ffff88022b2d28c0 ffffffff816bdb79 00000000000005f6 [ 725.646010] Call Trace: [ 725.646211] [<ffffffff8122922b>] ? kmem_zone_zalloc+0x1f/0x30 [ 725.646491] [<ffffffff812098b5>] xfs_error_report+0x39/0x40 [ 725.646700] [<ffffffff811e8340>] ? xfs_free_extent+0x8e/0xae [ 725.646909] [<ffffffff811e75cf>] xfs_free_ag_extent+0x3e7/0x70b [ 725.647119] [<ffffffff811e8340>] xfs_free_extent+0x8e/0xae [ 725.647329] [<ffffffff81219fa2>] xlog_recover_process_efi+0x113/0x16c [ 725.647632] [<ffffffff81223c6e>] ? xfs_trans_ail_cursor_set+0x15/0x1c [ 725.647844] [<ffffffff8121a0ef>] xlog_recover_process_efis+0x64/0xad [ 725.648056] [<ffffffff8121a6a7>] xlog_recover_finish+0x15/0xb6 [ 725.648266] [<ffffffff8121784b>] xfs_log_mount_finish+0x1b/0x1d [ 725.648539] [<ffffffff81220d3f>] xfs_mountfs+0x4ec/0x615 [ 725.648747] [<ffffffff8123439a>] xfs_fs_fill_super+0x1e5/0x2e8 [ 725.648958] [<ffffffff810fc149>] mount_bdev+0x13b/0x19e [ 725.649164] [<ffffffff812341b5>] ? xfs_fs_fill_super+0x0/0x2e8 [ 725.649438] [<ffffffff812328e9>] xfs_fs_mount+0x10/0x12 [ 725.649646] [<ffffffff810fb860>] vfs_kern_mount+0xb8/0x1f3 [ 725.649854] [<ffffffff810fb9f9>] do_kern_mount+0x48/0xd8 [ 725.650063] [<ffffffff811137d6>] do_mount+0x729/0x791 [ 725.650271] [<ffffffff810c2588>] ? memdup_user+0x43/0x63 [ 725.650545] [<ffffffff810c25e1>] ? strndup_user+0x39/0x4f [ 725.650753] [<ffffffff811138c1>] sys_mount+0x83/0xbe [ 725.650961] [<ffffffff810028fb>] system_call_fastpath+0x16/0x1b [ 725.651169] Code: 31 e4 48 8d 45 80 48 8d 55 10 48 89 45 a8 48 89 55 88 31 c0 48 8d 55 b0 c7 45 80 20 00 00 00 48 89 55 90 4c 89 6d a0 48 8d 55 a0 <48> 8b b3 f8 00 00 00 48 c7 c7 78 14 6c 81 e8 1f ff 2b 00 45 85 [ 725.652012] RIP [<ffffffff81235f9c>] xfs_cmn_err+0x6b/0x92 [ 725.652221] RSP <ffff88022b28ba08> [ 725.652484] CR2: 00000000000000f8 [ 725.653295] ---[ end trace 1dadc2ff14d7c60f ]---
Attachment:
config-2.6.38.5
Description: Binary data
_______________________________________________ xfs mailing list xfs@xxxxxxxxxxx http://oss.sgi.com/mailman/listinfo/xfs