lkml.org 
[lkml]   [1996]   [Jun]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Serious fat + ramdisk/loopback bug
In <hpa.31c09311.Linux.is.free@freya.yggdrasil.com> H. Peter Anvin writes:
> There seems to be a bad interaction between the FAT filesystem driver
> and the ramdisk/loopback drivers. This presumably indicates a buffer
> cache problem, possible something having to do with the new buffer
> cache code?

Take a look at your kernel log messages. You may see some messages like

Jun 15 15:14:52 zeego kernel: Directory sread (sector 32) failed
Jun 15 15:14:52 zeego kernel: ll_rw_block: device 07:00: only 1024-char blocks
implemented (512)

Then try mounting your loopback device with an explicit setting of the
block size:

mount -t msdos -o loop,blocksize=1024 -r floppy /mnt

or for the ram disk

mount -t msdos -o blocksize=1024 -r /dev/ram /mnt

This allowed it to work for me.

Gordon Chaffee
chaffee@bugs-bunny.cs.berkeley.edu


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.022 / U:0.740 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site