OK, what i did :
Using kernel 2.4.0 on an Athlon TB 750 with 128 MB
MO was formated with FAT32.
i mounted the mo drive ...
i try to read a file from it (used : 'pico /mo/file.txt') ...
And got a nice crash : Segmentation Fault
OK, was easy to find this bug, fs/fat/cvf.c has a bug in bigblock_cvf struct
the field with the read function was a NULL.
I changed this to generic_file_read (like with default blocksize), and
tested it. First seemed to work fine, but :
I could read/write a file now, but the written data was not compatible
with DOS Systems (Tested under DOS6.22, WIN98SE) !
If i write a file to an empty MO-Disk, the start-cluster is 2 in the
table. But the real data was written to (and also read from)
cluster 33 by linux !
I already posted this report to the maintainer of the fat-fs(Gordon Chaffee)
a month ago, but i did not get a response yet.
(tested it with kernel -test8 and -test9)
############################################################################
Robert Reither 8925573 E754 (ja wirklich schon !!)
TU-Vienna
AUSTRIA
############################################################################
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/