xfs
[Top] [All Lists]

Recovery failed after crash

To: linux-xfs@xxxxxxxxxxx
Subject: Recovery failed after crash
From: utz lehmann <xfs@xxxxxxxxxx>
Date: Fri, 18 May 2001 02:00:53 +0200
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
Hi

After a crash with the new nvidia driver, my system at home does boot
anymore. It's a CVS kernel from 2001-05-16. Older kernels dont boot too.
It was only a X server crash, I synced a few times and boot with sysrq.

The recovery of the root fs failed:


Start mounting filesystem: ide0(3,6)
XFS: WARNING: recovery required on readonly filesystem.
XFS: write access will be enabled during mount.
Starting XFS recovery on filesystem: ide0(3,6) (dev: 3/6)
XFS: xlog_recover_process_data: bad clientid
XFS: log mount/recovery failed
XFS: log mount failed
Kernel panic: VFS: Unable to mount root fs on 03:06

Entering kdb (current=0xc144a000, pid 1) due to panic
kdb> bt
Stack is not in kernel space, backtrace not available
kdb> ps
Task Addr  Pid      Parent   [*] cpu  State Thread     Command
0xc144a000 00000001 00000000  0  000  run   0xc144a260*swapper
0xc1452000 00000002 00000001  0  000  stop  0xc1452260 keventd
0xc1450000 00000003 00000001  0  000  stop  0xc1450260 kswapd
0xc147e000 00000004 00000001  0  000  stop  0xc147e260 kreclaimd
0xc147c000 00000005 00000001  0  000  stop  0xc147c260 bdflush
0xc147a000 00000006 00000001  0  000  stop  0xc147a260 kupdated
0xc14cc000 00000007 00000001  0  000  stop  0xc14cc260 pagebuf_daemon
kdb> bta
Stack traceback for pid 1
    EBP       EIP         Function(args)
0xc1449b60 0xc01105f2 schedule+0x2d2 (0x0, 0xc0333f80, 0xc144b9dc, 0xc144b9df, 
0xc144b9dc)
                               kernel .text 0xc0100000 0xc0110320 0xc0110750
           0xc01e410b scrup+0x6b (0xc0333f80, 0xc144b9de, 0xffffffff, 0x4, 
0xc144b9ac)
                               kernel .text 0xc0100000 0xc01e40a0 0xc01e41a8
           0xc01d5cc6 kdb_printf+0xd2 (0xc02e88e0, 0xc0100000, 0xc02609bb, 
0xc02f8d38, 0xc01d5bf4)
                               kernel .text 0xc0100000 0xc01d5bf4 0xc01d5e30
           0xc01d5cc6 kdb_printf+0xd2 (0xc0281fe0, 0xc14cc000, 0x7, 0x1, 0x0)
                               kernel .text 0xc0100000 0xc01d5bf4 0xc01d5e30
           0xc01d58b7 kdb_ps+0x9f (0x0, 0xc144bd34, 0xc0332964, 0xc144bdac)
                               kernel .text 0xc0100000 0xc01d5818 0xc01d58cc
           0xc01d3d75 kdb_parse+0x1a9 (0xc144bde8)
                               kernel .text 0xc0100000 0xc01d3bcc 0xc01d3e38
           0xc01d41ef kdb_local+0x343 (0xc01d4309, 0xd, 0x0, 0xc144bdac, 0x4)
                               kernel .text 0xc0100000 0xc01d3eac 0xc01d4240
           0xc0116488 tasklet_hi_action+0x3c (0xc03329f0, 0x0, 0x0)
                               kernel .text 0xc0100000 0xc011644c 0xc01164ac
           0xc011b4ee notifier_call_chain+0x1e (0xc03935b0, 0x0, 0x0)
                               kernel .text 0xc0100000 0xc011b4d0 0xc011b508
           0xc01125c8 panic+0x78 (0xc026d080, 0xc037ef60, 0x306, 0x10f00)
                               kernel .text 0xc0100000 0xc0112550 0xc0112630
more> 
           0xc034b466 mount_root+0x196
                               kernel .text.init 0xc0344000 0xc034b2d0 
0xc034b640
           0xc0344981 do_basic_setup+0x35
                               kernel .text.init 0xc0344000 0xc034494c 
0xc0344990
           0xc0105007 init+0x7
                               kernel .text 0xc0100000 0xc0105000 0xc0105150
           0xc010544f kernel_thread+0x23
                               kernel .text 0xc0100000 0xc010542c 0xc010545c
Enter <q> to end, <cr> to continue:
Stack traceback for pid 2
    EBP       EIP         Function(args)
0xc1453fa8 0xc01105f2 schedule+0x2d2
                               kernel .text 0xc0100000 0xc0110320 0xc0110750
           0xc011d676 context_thread+0x10a
                               kernel .text 0xc0100000 0xc011d56c 0xc011d71c
           0xc010544f kernel_thread+0x23
                               kernel .text 0xc0100000 0xc010542c 0xc010545c
Enter <q> to end, <cr> to continue:
Stack traceback for pid 3
    EBP       EIP         Function(args)
0xc1451f90 0xc01105f2 schedule+0x2d2 (0xc1451fa4)
                               kernel .text 0xc0100000 0xc0110320 0xc0110750
0xc1451fb8 0xc01102ef schedule_timeout+0x73 (0x10f00, 0xc026b231)
                               kernel .text 0xc0100000 0xc011027c 0xc0110310
0xc1451fdc 0xc011094a interruptible_sleep_on_timeout+0x46
                               kernel .text 0xc0100000 0xc0110904 0xc0110968
           0xc0128ef5 kswapd+0xed
                               kernel .text 0xc0100000 0xc0128e08 0xc0128f18
           0xc010544f kernel_thread+0x23
                               kernel .text 0xc0100000 0xc010542c 0xc010545c
Enter <q> to end, <cr> to continue:
Stack traceback for pid 4
    EBP       EIP         Function(args)
0xc147ffb0 0xc01105f2 schedule+0x2d2 (0x10f00, 0x0, 0xc147e000, 0xc032d9dc, 
0xc032d9dc)
                               kernel .text 0xc0100000 0xc0110320 0xc0110750
0xc147ffcc 0xc01108ec interruptible_sleep_on+0x40
                               kernel .text 0xc0100000 0xc01108ac 0xc0110904
           0xc0128fbb kreclaimd+0x5b
                               kernel .text 0xc0100000 0xc0128f60 0xc0129040
           0xc010544f kernel_thread+0x23
                               kernel .text 0xc0100000 0xc010542c 0xc010545c
Enter <q> to end, <cr> to continue:
Stack traceback for pid 5
    EBP       EIP         Function(args)
0xc147dfd8 0xc01105f2 schedule+0x2d2
                               kernel .text 0xc0100000 0xc0110320 0xc0110750
           0xc0132cce bdflush+0xd6
                               kernel .text 0xc0100000 0xc0132bf8 0xc0132cd8
           0xc010544f kernel_thread+0x23
                               kernel .text 0xc0100000 0xc010542c 0xc010545c
Enter <q> to end, <cr> to continue:
Stack traceback for pid 6
    EBP       EIP         Function(args)
0xc147bfb0 0xc01105f2 schedule+0x2d2 (0xc147bfc4)
                               kernel .text 0xc0100000 0xc0110320 0xc0110750
0xc147bfd8 0xc01102ef schedule_timeout+0x73
                               kernel .text 0xc0100000 0xc011027c 0xc0110310
           0xc0132d64 kupdate+0x8c
                               kernel .text 0xc0100000 0xc0132cd8 0xc0132dc0
           0xc010544f kernel_thread+0x23
                               kernel .text 0xc0100000 0xc010542c 0xc010545c
Enter <q> to end, <cr> to continue:
Stack traceback for pid 7
    EBP       EIP         Function(args)
0xc14cdf90 0xc01105f2 schedule+0x2d2 (0xc14cc000, 0x0, 0xc14cc000, 0xc0331eb4, 
0xc0331eb4)
                               kernel .text 0xc0100000 0xc0110320 0xc0110750
0xc14cdfac 0xc01108ec interruptible_sleep_on+0x40 (0xc14cdfdc, 0xc14cdfdc)
                               kernel .text 0xc0100000 0xc01108ac 0xc0110904
           0xc0165a18 pagebuf_daemon+0xd0
                               kernel .text 0xc0100000 0xc0165948 0xc0165b70
           0xc010544f kernel_thread+0x23
                               kernel .text 0xc0100000 0xc010542c 0xc010545c
Enter <q> to end, <cr> to continue:
kdb> 
kdb> reboot





I booted the computer on an ext2 root partition and run xfs_logprint:

bash-2.04# xfs_logprint /dev/hda6
xfs_logprint:
xfs_logprint: warning - cannot set blocksize on block device /dev/hda6: 
Input/output error
    data device: 0x306
    log device: 0x306 daddr: 2409760 length: 9600

Header 0x186 wanted 0xfeedbabe
**********************************************************************
* ERROR: header cycle=390         block=9421                         *
**********************************************************************
Bad log record header




Then I run xfs_check. The Output is attached.

Mountig the partition failed (of course):

bash-2.04# mount -t xfs /dev/hda6 /mnt/
mount: wrong fs type, bad option, bad superblock on /dev/hda6,
       or too many mounted file systems



I saved the first 40MB of the partiton to a file.

What should i do? Running xfs_repair or keep it for diagnosis.
Note: there are no important data on it.



utz

Attachment: minicom-20010517-2.cap.bz2
Description: BZip2 compressed data

<Prev in Thread] Current Thread [Next in Thread>