Re: Massive e2fs corruption with 2.2.9/10?

Augusto Cesar Radtke (bishop@sekure.org)
Thu, 17 Jun 1999 00:27:05 -0300 (EST)


On Wed, 16 Jun 1999, Chris Adams wrote:

> Is anyone else seeing this? I've got a box that has been running stable
> for around 9 months, and now in the span of a few weeks it has eaten
> itself twice.
>
> It starts out with readdir errors, then I get errors about attempting to
> read past end of device, and then if I try to shutdown and run e2fsck,
> it never finishes.
>

Here too, the following errors with 2.2.9 (vanilla):

Jun 12 22:44:44 bishop kernel: EXT2-fs error (device ide0(3,1)): ext2_readdir: bad entry in directory #45233: rec_len % 4 != 0 - offset=0, inode=4294967295, rec_len=65535, name_len=255
Jun 12 22:44:44 bishop kernel: EXT2-fs error (device ide0(3,1)): ext2_readdir: bad entry in directory #51401: rec_len is smaller than minimal - offset=0, inode=59475, rec_len=0, name_len=91
Jun 12 22:44:44 bishop kernel: EXT2-fs error (device ide0(3,1)): ext2_readdir: bad entry in directory #45233: rec_len % 4 != 0 - offset=0, inode=4294967295, rec_len=65535, name_len=255
Jun 12 22:44:45 bishop kernel: EXT2-fs error (device ide0(3,1)): ext2_readdir: bad entry in directory #51401: rec_len is smaller than minimal - offset=0, inode=59475, rec_len=0, name_len=91
Jun 13 00:21:10 bishop kernel: 03:01: rw=0, want=2046818816, limit=2048256
Jun 13 00:21:10 bishop kernel: attempt to access beyond end of device
Jun 13 00:21:10 bishop kernel: 03:01: rw=0, want=2046818816, limit=2048256
Jun 13 00:21:10 bishop kernel: attempt to access beyond end of device
Jun 13 00:21:10 bishop kernel: 03:01: rw=0, want=2046818816, limit=2048256
Jun 13 00:21:10 bishop kernel: attempt to access beyond end of device
Jun 13 00:21:10 bishop kernel: 03:01: rw=0, want=2046818816, limit=2048256
Jun 13 00:21:23 bishop init: PANIC: segmentation violation! giving up..
Jun 15 16:24:59 bishop syslogd 1.3-3: restart.

Im auditing the function ext2_readdir in ext2/dir.c and the rest of ext2
fs to find if any bug exists, any news I contact you.

--
Augusto Cesar Radtke
Sekure SDI
http://www.sekure.org

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/