Hard lock when mounting loopback file

Kyle (kyle@actarg.com)
Fri, 11 Jan 2002 11:43:51 -0700


I have a digital camera flash card that is locking up my machine (stock
redhat 7.2 w/2.4.9-13 kernel).

I can mount the card, but as soon as I browse the filesystem, the
machine locks hard. I successfully copied the file system from the raw
device to a file and tried mounting it as:

mount -o loop flash.img /mnt/flash

and it still locks up the machine just as before. This makes me think
it has nothing to do with the USB reader or the SCSI emulation, etc.

My guess is I have a corrupt filesystem on the flash that the filesystem
handler (vfat) is intolerant of (all my other flash cards work fine).

This seems like a possible kernel bug to me. I'm not much of a kernel
expert but I have a copy of the offending image if anyone wants to or
can look at it. (ftp://actarg.com/pub/misc/flash.img) Is there someone
that knows how to figure out if the driver can spit out a harmless
message about filesystem corruption rather than taking the whole kernel
down?

Kyle Bateman

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