From: Mika Matti Jalava (r36110m@kaira.hut.fi)
Date: 11/13/91


Subject: some problems
From: Mika Matti Jalava <r36110m@kaira.hut.fi>
Date: Wed, 13 Nov 1991 21:05:48 EET

Hello there...

I have a problem with a probably corrupted file system. The setup is
like this:

/dev/hd1 is the root device
/dev/hd6 is mounted at /tmp

both are 20M MFM disks. Now I recompiled the system today with the new
buffer.c and also got the fsck program to work.

The problems began when I fsck'd /dev/hd6 (no errors) and went on
doing some compilations. A makefile happened to contain 'cc' instead
of 'gcc' at one point. Of course I got the error message telling that
cc can't be found, but immediately after that a kernel panic. Some
message telling about some inode problem (sorry, don't remember
exactly).

Reboot. Everything OK, but now fsck /dev/hd6 gives dozens of errors of
form

Zone XXXX: in use, counted=2

Now I think something blew up. Should I try to duplicate the situation
to get the exact error message when the kernel panics? Can the fs be
repaired (it seems to be alive)?

Then to another problem (it may be that I'm the problem, as I just
don't know how to do it). Can bad blocks be marked somehow? I have a
few on my root disk. Luckily they are currently all occupied by a
file. Can't run fsck on root, though, as it tries to read them.

        Mika