kernel 2.0.30 hangs with looped affs

Tuukka Toivonen (tuukkat@stekt.oulu.fi)
Thu, 16 Oct 1997 12:53:16 +0300 (EET DST)


I found a 100% repeatable way to hang kernel 2.0.30 and affs (Amiga Fast
Filesystem).

First, I have Amiga floppy image (say image.adf). Then I type

losetup /dev/loop0 image.adf
mount -t affs /dev/loop0 /mnt

The mount never returns.

It uses memory, but no CPU time (so it isn't looping). Bug in mount? No,
because kill -9 <mount-PID> doesn't kill it. It isn't zombie either.

Then I notice that not any program finishes. When I try to kill some
program, it becomes zombie but doesn't clean up even if init is the parent
process.

Then I write kill -9 -1 as root in tcsh shell (that tries to kill
everything except the shell). After this command every process is zombie,
except the shell. I type /sbin/reboot. Nothing happens, except that it
doesn't return to shell so that I could give more commands. Ctrl-Alt-Del
doesn't work. Only way is to use hard reset button.

Is this a well known problem (as it seems to be very easy to reproduce), or
should I give more information (and what)?

I have 2*32MB swap, 24MB main memory, Pentium 120MHz.

Btw, mount -t affs image.adf /mnt -o loop works fine.

| Tuukka Toivonen <tuukkat@stekt.oulu.fi>
| Homepage: http://stekt.oulu.fi/~tuukkat/
| Try also finger -l tuukkat@stekt.oulu.fi
| Studying information engineering at the University of Oulu
+-----------------------------------------------------------