On Fri, 2006-04-21 at 18:52 +0200, Karl Schricker wrote:
> I have a JFS filesystem built on a raid5 array.  Due to a kernel conflict
> (which has now hopefully been resolved), my system hung and I had to cycle
> power.  I reassembled the array, but now fsck.jfs exits with Signal 11.  I'm
> hoping someone can help me diagnose the problem.
> 
> I'm running vanilla Mandriva 2006, with the jfs 1.1.7 package that it comes
> with.
> 
> Here is what I see with jfs_debugfs.  Is my problem a corrupted journal?

Not from this.  The "logs" command in jfs_debugfs is messed up.  I think
it only works on external journals.  (something to add to my todo list).

Can you try building a newer version of jfsutils?  You can get the
source at http://jfs.sourceforge.net/project/pub/jfsutils-1.1.10.tar.gz

If it still traps, you can run fsck/jfs_fsck from the source tree under
gdb (the in-tree version is not stripped of debug symbols), and get a
stack trace after it traps (by typing "where").

Thanks!

> > su p
> [1] s_magic:            'JFS1'          [15] s_ait2.addr1:      0x00
> [2] s_version:          1               [16] s_ait2.addr2:      0x00005780
> [3] s_size:     0x0000000057535938           s_ait2.address:    22400
> [4] s_bsize:            4096            [17] s_logdev:          0x00000900
> [5] s_l2bsize:          12              [18] s_logserial:       0x00000012
> [6] s_l2bfactor:        3               [19] s_logpxd.len:      8192
> [7] s_pbsize:           512             [20] s_logpxd.addr1:    0x00
> [8] s_l2pbsize:         9               [21] s_logpxd.addr2:    0x0aea8130
> [9] pad:                Not Displayed        s_logpxd.address:  183140656
> [10] s_agsize:          0x00200000      [22] s_fsckpxd.len:     5641
> [11] s_flag:            0x10200900      [23] s_fsckpxd.addr1:   0x00
>                         JFS_LINUX       [24] s_fsckpxd.addr2:   0x0aea6b27
>         JFS_COMMIT      JFS_GROUPCOMMIT      s_fsckpxd.address: 183135015
>                         JFS_INLINELOG   [25] s_time.tv_sec:     0x442a1282
>                                         [26] s_time.tv_nsec:    0x00000000
>                                         [27] s_fpack:           ''
> [12] s_state:           0x00000001
>              FM_MOUNT
> [13] s_compress:        0
> [14] s_ait2.len:        4
> 
> display_super: [m]odify or e[x]it: x
> > su s
> [1] s_magic:            'JFS1'          [15] s_ait2.addr1:      0x00
> [2] s_version:          1               [16] s_ait2.addr2:      0x00005780
> [3] s_size:     0x0000000057535938           s_ait2.address:    22400
> [4] s_bsize:            4096            [17] s_logdev:          0x00000900
> [5] s_l2bsize:          12              [18] s_logserial:       0x00000011
> [6] s_l2bfactor:        3               [19] s_logpxd.len:      8192
> [7] s_pbsize:           512             [20] s_logpxd.addr1:    0x00
> [8] s_l2pbsize:         9               [21] s_logpxd.addr2:    0x0aea8130
> [9] pad:                Not Displayed        s_logpxd.address:  183140656
> [10] s_agsize:          0x00200000      [22] s_fsckpxd.len:     5641
> [11] s_flag:            0x10200900      [23] s_fsckpxd.addr1:   0x00
>                         JFS_LINUX       [24] s_fsckpxd.addr2:   0x0aea6b27
>         JFS_COMMIT      JFS_GROUPCOMMIT      s_fsckpxd.address: 183135015
>                         JFS_INLINELOG   [25] s_time.tv_sec:     0x442a1282
>                                         [26] s_time.tv_nsec:    0x00000000
>                                         [27] s_fpack:           ''
> [12] s_state:           0x00000000
>              FM_CLEAN
> [13] s_compress:        0
> [14] s_ait2.len:        4
> 
> display_super: [m]odify or e[x]it: x
> > logs
> [1]  magic:                     0x0
> [2]  version:                   0
> [3]  serial:                    0
> [4]  log size (# blocks):       0       (at 4096 bytes/log block)
> [5]  agg block size:            0       (bytes)
> [6]  log2(agg blk size):        0
> [7]  flag:                      0x00000000
> [8]  state:                     0x00000000  LOGMOUNT
> [9]  end:                       0x0  (d 0)
> [10] uuid:                      00000000-0000-0000-0000-000000000000
> [11] label:                     '                '
> active file systems:
> None active.
> 
> display_logsuper: [m]odify or e[x]it: x

-- 
David Kleikamp
IBM Linux Technology Center



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jfs-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jfs-discussion

Reply via email to