lkml.org 
[lkml]   [1996]   [May]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectext2 bug

Hi !

I have a problem with my /usr/src partition. While creating a "fresh"
linux kernel source tree by expanding 1.3.75 (the last full tree I have)
and running a script (much like patch-kernel) apply a brunch of patches
to get the current kernel, I got a corrupted directory.

ran e2fsck (twich, to be sure it is ok), retried, and the same result
again.

e2fsck again, booted dos and ran adaptecs scsifmt tool ==> no errors,
seems it is'nt a hardware problem. played it again, same result. Looks
like this now:

SYSLOG
======
May 31 21:06:28 felix kernel: EXT2-fs error (device 08:16): ext2_readdir:
bad entry in directory #65283: rec_len is too small for name_len -
offset=36, inode=65299, rec_len=16, name_len=136
May 31 21:06:35 felix kernel: EXT2-fs error (device 08:16): ext2_readdir:
bad entry in directory #65283: rec_len is too small for name_len -
offset=36, inode=65299, rec_len=16, name_len=136
May 31 21:06:38 felix kernel: EXT2-fs error (device 08:16):
ext2_find_entry: bad entry in directory #65283: rec_len is too small for
name_len - offset=36, inode=65299, rec_len=16, name_len=136
May 31 21:06:38 felix last message repeated 4 times

DEBUGFS
=======
debugfs: ncheck 65283
Inode Pathname
65283 /kernel/1.3.100/arch/i386
debugfs: cd /kernel/1.3.100/arch/i386
debugfs: ls
65283 (12) . 65282 (12) .. 65284 (12) boot 65299 (16) Makefile= 
EXT2 directory corrupted
debugfs: stat .
Inode: 65283 Type: directory Mode: 0755 Flags: 0x0 Version: 1
User: 0 Group: 0 Size: 1024
File ACL: 0 Directory ACL: 0
Links: 7 Blockcount: 2
Fragment: Address: 0 Number: 0 Size: 0
ctime: 0x31af430a -- Fri May 31 21:05:46 1996
atime: 0x31af433b -- Fri May 31 21:06:35 1996
mtime: 0x31af430a -- Fri May 31 21:05:46 1996
BLOCKS:
262407
TOTAL: 1


running kernel is 1.99.8, hd is a 1 GB scsi attaced to a aha1542

Gerd

--
Gerd Knorr <kraxel@cs.tu-berlin.de> | http://wwwwbs.cs.tu-berlin.de/~kraxel/



\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.603 / U:29.980 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site