Re: 1.2.9 lockup - more information

Marek Michalkiewicz (marekm@i17linuxb.ists.pwr.wroc.pl)
Tue, 27 Jun 1995 16:24:04 +0200 (MET DST)


Ramon Garcia Fernandez:

> > Kernel panic: EXT2-fs panic (device 22/1): ext2_find_entry: buffer head pointer is NULL

> I had this error long time ago. After lot of hacking
> I fond out that it was due to a directory that had
> less size than a minimum (some number of blocks, I don't
> remember). This error is not detected by e2fsck.
>
> Please, tell it Remi Card, the maintainer of ext2 fs.

OK, I am cc'ing this to him now.

I think corrupted filesystem shouldn't cause panic - maybe ext2_find_entry
should just log this with printk and return NULL? From what I was looking
at the code, this is a legitimate return value indicating an error.

Or is this really such a serious problem that the system must panic, to
avoid further damage? It would be nice to know this...

Regards,
Marek