| To: | Timothy Shimmin <tes@xxxxxxx> |
|---|---|
| Subject: | Re: 2.6.24-rc3 oopses while mounting fs |
| From: | Lachlan McIlroy <lachlan@xxxxxxx> |
| Date: | Tue, 04 Dec 2007 18:08:28 +1100 |
| Cc: | xfs@xxxxxxxxxxx |
| In-reply-to: | <47549B1A.4070508@xxxxxxx> |
| References: | <20071128134523.GF7793@luba> <474E003A.7020000@xxxxxxx> <20071130223154.GB13589@luba> <47537709.9040406@xxxxxxx> <20071203220200.GC13667@luba> <47549B1A.4070508@xxxxxxx> |
| Reply-to: | lachlan@xxxxxxx |
| Sender: | xfs-bounce@xxxxxxxxxxx |
| User-agent: | Thunderbird 2.0.0.9 (X11/20071031) |
The transactional view appears to be truncated.
============================================================================
TRANS: tid:0x5769cb28 type:STRAT_WRITE #items:5 trans:0x0 q:0x56dfa0
INO: cnt:3 total:3 a:0x56f5e0 len:56 a:0x56f570 len:96 a:0x56df80 len:16
INODE: #regs:3 ino:0x1400005c flags:0x5 dsize:16
CORE inode:
magic:IN mode:0x8180 ver:1 format:2 onlink:1
uid:14029 gid:1474 nlink:1 projid:0
atime:1192671344 mtime:1192672095 ctime:1192672095
flushiter:20
size:0x20700000 nblks:0x20740 exsize:0 nextents:1
anextents:0
forkoff:0 dmevmask:0x0 dmstate:0 flags:0x0 gen:4
DATA FORK EXTENTS inode data:
BUF: cnt:2 total:2 a:0x56dc50 len:24 a:0x56dca0 len:128
BUF: #regs:2 start blkno:0x24610701 len:1 bmap size:1 flags:0x0
AGF Buffer: (XAGF)
BUF: cnt:2 total:2 a:0x56ddc0 len:28 a:0x56dd30 len:128
BUF: #regs:2 start blkno:0x24610708 len:8 bmap size:2 flags:0x0
BUF DATA
BUF: cnt:3 total:3 a:0x56df20 len:28 a:0x56f010 len:128 a:0x56f160 len:256
BUF: #regs:3 start blkno:0x24610710 len:8 bmap size:2 flags:0x0
BUF DATA
BUF DATA
BUF: cnt:2 total:2 a:0x56ddf0 len:24 a:0x56f0a0 len:128
BUF: #regs:2 start blkno:0x0 len:1 bmap size:1 flags:0x0
SUPER Block Buffer:
LOG REC AT LSN cycle 154 block 5248 (0x9a, 0x1480)
... just stops there. Looking at the non-transactional view at this point:
============================================================================
cycle: 154 version: 2 lsn: 154,5248 tail_lsn: 153,253056
length of Log Record: 61440 prev offset: 5120 num ops: 303
uuid: b02fc6bd-662f-40a5-8f0c-e260a881a3e7 format: little endian linux
h_size: 262144
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
extended-header: cycle: 154
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
extended-header: cycle: 154
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
extended-header: cycle: 154
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
extended-header: cycle: 154
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
extended-header: cycle: 154
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
extended-header: cycle: 154
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
extended-header: cycle: 154
----------------------------------------------------------------------------
Oper (0): tid: 5769cd60 len: 0 clientid: TRANS flags: START
----------------------------------------------------------------------------
Oper (1): tid: 5769cd60 len: 16 clientid: TRANS flags: none
TRAN: type: STRAT_WRITE tid: 0 num_items: 5
----------------------------------------------------------------------------
Oper (2): tid: 5769cd60 len: 56 clientid: TRANS flags: none
INODE: #regs: 3 ino: 0x1400005c flags: 0x5 dsize: 16
blkno: 610338736 len: 16 boff: 4096
Oper (3): tid: 5769cd60 len: 96 clientid: TRANS flags: none
INODE CORE
magic 0x494e mode 0100600 version 1 format 2
nlink 1 uid 14029 gid 1474
atime 0x4716b870 mtime 0x4716bade ctime 0x4716bade
size 0x1ce00000 nblocks 0x1c840 extsize 0x0 nextents 0x1
naextents 0x0 forkoff 0 dmevmask 0x0 dmstate 0x0
flags 0x0 gen 0x4
Oper (4): tid: 5769cd60 len: 16 clientid: TRANS flags: none
EXTENTS inode data
----------------------------------------------------------------------------
Oper (5): tid: 5769cf18 len: 24 clientid: TRANS flags: none
BUF: #regs: 2 start blkno: 610338561 (0x24610701) len: 1 bmap size: 1
flags: 0x0
Oper (6): tid: 5769cf18 len: 128 clientid: TRANS flags: none
AGF Buffer: XAGF
ver: 1 seq#: 5 len: 15258464
root BNO: 1 CNT: 2
level BNO: 1 CNT: 1
1st: 0 last: 3 cnt: 4 freeblks: 2491090 longest: 581471
----------------------------------------------------------------------------
Oper (7): tid: 5769cf18 len: 28 clientid: TRANS flags: none
BUF: #regs: 2 start blkno: 610338568 (0x24610708) len: 8 bmap size: 2
flags: 0x0
Oper (8): tid: 5769cf18 len: 128 clientid: TRANS flags: none
BUF DATA
----------------------------------------------------------------------------
Oper (9): tid: 5769cf18 len: 28 clientid: TRANS flags: none
BUF: #regs: 3 start blkno: 610338576 (0x24610710) len: 8 bmap size: 2
flags: 0x0
Oper (10): tid: 5769cf18 len: 128 clientid: TRANS flags: none
BUF DATA
Oper (11): tid: 5769cf18 len: 256 clientid: TRANS flags: none
BUF DATA
----------------------------------------------------------------------------
Oper (12): tid: 5769cf18 len: 24 clientid: TRANS flags: none
BUF: #regs: 2 start blkno: 8647474234504773632 (0x7802000000000000) len: 1
bmap size: 1 flags: 0x0
Oper (13): tid: 5769cf18 len: 128 clientid: TRANS flags: none
BUF DATA
----------------------------------------------------------------------------
Oper (14): tid: 5769cf18 len: 0 clientid: TRANS flags: COMMIT
----------------------------------------------------------------------------
Oper (15): tid: 5769c5e8 len: 0 clientid: TRANS flags: START
----------------------------------------------------------------------------
Oper (16): tid: 5769c5e8 len: 16 clientid: TRANS flags: none
TRAN: type: STRAT_WRITE tid: 0 num_items: 5
----------------------------------------------------------------------------
Oper (17): tid: 5769c5e8 len: 2145656 clientid: TRANS flags: none
**********************************************************************
* ERROR: data block=5255 *
**********************************************************************
We should have 5 more items in this transaction plus the commit
and then another 286 operations. The operation number and transaction
id are correct but the length is bogus. The first item in a STRAT_WRITE
transaction should be an inode and the length should be 56.
Tim, does this ring any bells with you?
The only validation we do on the length is an ASSERT in
xlog_recover_process_data() which isn't much good here. I don't know
why the value is wrong but we can do better than crashing the system.
I would like to know how much more data is corrupt beyond this point.
Peter, can you try xfs_logprint -c ...?
Timothy Shimmin wrote:
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | TAKE 973591 - add more code to acl tree walking, Tim Shimmin |
|---|---|
| Next by Date: | Re: 2.6.24-rc3 oopses while mounting fs, KELEMEN Peter |
| Previous by Thread: | Re: 2.6.24-rc3 oopses while mounting fs, Timothy Shimmin |
| Next by Thread: | Re: 2.6.24-rc3 oopses while mounting fs, KELEMEN Peter |
| Indexes: | [Date] [Thread] [Top] [All Lists] |