Script started on Thu 13 Mar 2008 08:34:17 PM CET # /opt/e2fsprogs/sbin/e2fsck -v /dev/md4 e2fsck 1.40.7 (28-Feb-2008) /dev/md4: clean, 424616/4685824 files, 4771878/9371600 blocks # /opt/e2fsprogs/sbin/e2fsck -fv /dev/md4 e2fsck 1.40.7 (28-Feb-2008) Pass 1: Checking inodes, blocks, and sizes Pass 2: Checking directory structure Pass 3: Checking directory connectivity Pass 4: Checking reference counts Pass 5: Checking group summary information 424616 inodes used (9.06%) 1 non-contiguous inode (0.0%) # of inodes with ind/dind/tind blocks: 5069/5066/5066 4771878 blocks used (50.92%) 0 bad blocks 1 large file 362364 regular files 58555 directories 165 character device files 50 block device files 5 fifos 67 links 3468 symbolic links (3468 fast symbolic links) 0 sockets -------- 424674 files # /opt/e2fsprogs/sbin/e2fsck -v /dev/md4 e2fsck 1.40.7 (28-Feb-2008) /dev/md4: clean, 424616/4685824 files, 4771878/9371600 blocks # /opt/e2fsprogs/sbin/e2fsck -Dfv /dev/md4 e2fsck 1.40.7 (28-Feb-2008) Pass 1: Checking inodes, blocks, and sizes Pass 2: Checking directory structure Pass 3: Checking directory connectivity Pass 3A: Optimizing directories Segmentation fault (core dumped) # gdb /opt/e2fsprogs/sbin/e2fsck GNU gdb 6.7.1-debian Copyright (C) 2007 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i486-linux-gnu"... Using host libthread_db library "/lib/i686/cmov/libthread_db.so.1". (gdb) run -Dfv /dev/md4 Starting program: /opt/e2fsprogs/sbin/e2fsck -Dfv /dev/md4 e2fsck 1.40.7 (28-Feb-2008) Pass 1: Checking inodes, blocks, and sizes Pass 2: Checking directory structure Pass 3: Checking directory connectivity Pass 3A: Optimizing directories Program received signal SIGSEGV, Segmentation fault. 0x08065bb9 in ino_cmp (a=0x8898fe90, b=0x898feb0) at rehash.c:173 173 rehash.c: No such file or directory. in rehash.c (gdb) bt #0 0x08065bb9 in ino_cmp (a=0x8898fe90, b=0x898feb0) at rehash.c:173 #1 0xb7e41124 in ?? () from /lib/i686/cmov/libc.so.6 #2 0xb7e41f90 in qsort () from /lib/i686/cmov/libc.so.6 #3 0x08066f21 in e2fsck_rehash_dir (ctx=0x8097900, ino=311297) at rehash.c:730 #4 0x08067225 in e2fsck_rehash_directories (ctx=0x8097900) at rehash.c:839 #5 0x0805a675 in e2fsck_pass3 (ctx=0x8097900) at pass3.c:130 #6 0x0804e31b in e2fsck_run (ctx=0x8097900) at e2fsck.c:204 #7 0x0804d7ec in main (argc=3, argv=0xbfe48a54) at unix.c:1239 (gdb) bt full #0 0x08065bb9 in ino_cmp (a=0x8898fe90, b=0x898feb0) at rehash.c:173 he_a = (const struct hash_entry *) 0x8898fe90 he_b = (const struct hash_entry *) 0x898feb0 #1 0xb7e41124 in ?? () from /lib/i686/cmov/libc.so.6 No symbol table info available. #2 0xb7e41f90 in qsort () from /lib/i686/cmov/libc.so.6 No symbol table info available. #3 0x08066f21 in e2fsck_rehash_dir (ctx=0x8097900, ino=311297) at rehash.c:730 fs = (ext2_filsys) 0x8097c78 retval = 2133571460 inode = {i_mode = 16877, i_uid = 0, i_size = 4096, i_atime = 1195452060, i_ctime = 1195424211, i_mtime = 1191700088, i_dtime = 0, i_gid = 0, i_links_count = 4, i_blocks = 8, i_flags = 524288, osd1 = {linux1 = {l_i_version = 0}, hurd1 = {h_i_translator = 0}}, i_block = {127754, 4, 0, 0, 1, 628736, 0, 0, 0, 0, 0, 0, 0, 0, 0}, i_generation = 146654778, i_file_acl = 0, i_dir_acl = 0, i_faddr = 0, osd2 = {linux2 = {l_i_blocks_hi = 0, i_pad1 = 0, l_i_uid_high = 0, l_i_gid_high = 0, l_i_reserved2 = 0}, hurd2 = {h_i_frag = 0 '\0', h_i_fsize = 0 '\0', h_i_mode_high = 0, h_i_uid_high = 0, h_i_gid_high = 0, h_i_author = 0}}} dir_buf = 0x80a98e0 "0Åö·0Åö·Ø\230\n\bØ\230\n\b", 'ÿ' , "ü\177" fd = {buf = 0x80a98e0 "0Åö·0Åö·Ø\230\n\bØ\230\n\b", 'ÿ' , "ü\177", inode = 0xbfe4869c, err = 0, ctx = 0x8097900, harray = 0x898fe90, max_array = 128, num_array = 0, dir_size = 0, compress = 1, parent = 0} outdir = {num = 0, max = 0, buf = 0x0, hashes = 0x0} #4 0x08067225 in e2fsck_rehash_directories (ctx=0x8097900) at rehash.c:839 pctx = {errcode = 0, ino = 0, ino2 = 0, dir = 311297, inode = 0x0, dirent = 0x0, blk = 0, blk2 = 0, blkcount = -1, group = -1, num = 0, str = 0x0} rtrack = {time_start = {tv_sec = 1205438753, tv_usec = 697655}, user_start = {tv_sec = 9, tv_usec = 200000}, system_start = {tv_sec = 3, tv_usec = 440000}, brk_start = 0x8cda000, bytes_read = 863613952, bytes_written = 4096} dir = (struct dir_info *) 0xb74a3020 iter = (ext2_u32_iterate) 0x0 dirinfo_iter = (struct dir_info_iter *) 0x80c7850 ino = 311297 retval = -1208569868 cur = 0 max = 58555 all_dirs = 1024 dir_index = 32 first = 0 #5 0x0805a675 in e2fsck_pass3 (ctx=0x8097900) at pass3.c:130 fs = (ext2_filsys) 0x8097c78 iter = (struct dir_info_iter *) 0x809cef0 rtrack = {time_start = {tv_sec = 1205438753, tv_usec = 682610}, user_start = {tv_sec = 9, tv_usec = 180000}, system_start = {tv_sec = 3, tv_usec = 440000}, brk_start = 0x8cda000, bytes_read = 863605760, bytes_written = 4096} pctx = {errcode = 0, ino = 4162075, ino2 = 4161644, dir = 4161644, inode = 0x0, dirent = 0x0, blk = 0, blk2 = 0, blkcount = -1, group = -1, num = 0, str = 0x0} dir = (struct dir_info *) 0x0 maxdirs = 58555 count = 1 #6 0x0804e31b in e2fsck_run (ctx=0x8097900) at e2fsck.c:204 i = 2 e2fsck_pass = (pass_t) 0x805a3dc ---Type to continue, or q to quit--- #7 0x0804d7ec in main (argc=3, argv=0xbfe48a54) at unix.c:1239 retval = 0 orig_retval = 0 exit_value = 0 fs = (ext2_filsys) 0x8097c78 io_ptr = (io_manager) 0x8095d40 sb = (struct ext2_super_block *) 0x809cf00 lib_ver_date = 0x809313c "28-Feb-2008" my_ver = 140 lib_ver = 140 ctx = (e2fsck_t) 0x8097900 pctx = {errcode = 0, ino = 0, ino2 = 0, dir = 0, inode = 0x0, dirent = 0x0, blk = 0, blk2 = 0, blkcount = -1, group = -1, num = 0, str = 0x0} flags = 81921 run_result = 0 journal_size = 128 sysval = 4096 sys_page_size = 4096 features = {0, 0, 0} (gdb) quit The program is running. Exit anyway? (y or n) y