Problem with ramdisk driver 2.4.2

Dupuis, Don (Don.Dupuis@COMPAQ.com)
Wed, 28 Feb 2001 09:31:35 -0600


This problem still appears in 2.4.2-ac6.

I have a 64k vfat filesystem image file. I use the following commands to
reproduce this problem.

dd if=file.bin of=/dev/ram0 bs=1024
mount /dev/ram0 /mnt -t vfat

I can do a ls -l /mnt and the filesystem looks correct. If I do a file * in
the /mnt directory, I will get a segmentation fault. This worked just fine
on a 2.2.17 kernel. Also if I do the following commands

dd if=file.bin of=/dev/ram1 bs=1024
mount -o loop /dev/ram1 /test -t vfat
it works, but the ls -l of /test is gargabe mixed with correct file names.
Accessing a filename will also cause a segmentation fault. This also worked
just fine on a 2.2.17 kernel. Any idea what is wrong with the ramdisk
driver rd.c?

Thanks

-
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/