[2.5.70] ext2 floppy corruption

Simon Kirby (sim@netnation.com)
Thu, 5 Jun 2003 02:56:06 -0700


With 2.5.70 and 2.5.66 (just tried those two), I see floppy corruption
when I attempt to copy a kernel file to a floppy formatted with ext2.
Rebooting into 2.4.21rc7 and rerunning the copy seems to cure the
problem.

To reproduce:

mke2fs /dev/fd0
mount /dev/fd0 /a
cp -a /vmlinuz /a
umount /a
mount /a
md5sum /a/vmlinuz /vmlinuz

I get the wrong md5sum consistently from the floppy. When attempting to
boot this kernel with grub, I get a "attempting to access data outside of
partition" error after it is loading for a little while.

If I mkdosfs on the same floppy and copy over the kernel, it seems to
work properly.

I will try to track this down further if nobody has any immediate ideas.

Simon-

[ Simon Kirby ][ Network Operations ]
[ sim@netnation.com ][ NetNation Communications ]
[ Opinions expressed are not necessarily those of my employer. ]
-
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/