I have a problem with my /usr/src partition. While creating a "fresh"=20
linux kernel source tree by expanding 1.3.75 (the last full tree I have=
)=20
and running a script (much like patch-kernel) apply a brunch of patches=
=20
to get the current kernel, I got a corrupted directory.
ran e2fsck (twich, to be sure it is ok), retried, and the same result=20
again.
e2fsck again, booted dos and ran adaptecs scsifmt tool =3D=3D> no error=
s,=20
seems it is'nt a hardware problem. played it again, same result. Looks=20
like this now:
SYSLOG
=3D=3D=3D=3D=3D=3D
May 31 21:06:28 felix kernel: EXT2-fs error (device 08:16): ext2_readdi=
r:=20
bad entry in directory #65283: rec_len is too small for name_len -=20
offset=3D36, inode=3D65299, rec_len=3D16, name_len=3D136
May 31 21:06:35 felix kernel: EXT2-fs error (device 08:16): ext2_readdi=
r:=20
bad entry in directory #65283: rec_len is too small for name_len -=20
offset=3D36, inode=3D65299, rec_len=3D16, name_len=3D136
May 31 21:06:38 felix kernel: EXT2-fs error (device 08:16):=20
ext2_find_entry: bad entry in directory #65283: rec_len is too small fo=
r=20
name_len - offset=3D36, inode=3D65299, rec_len=3D16, name_len=3D136
May 31 21:06:38 felix last message repeated 4 times
DEBUGFS
=3D=3D=3D=3D=3D=3D=3D
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=3D=
=A0
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/~kr= axel/