[lkml]   [2002]   [Sep]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: 2.5.33-bk testing
On Sun, 1 Sep 2002, Mikael Pettersson wrote:

> I was able to get 2.5.33 (even with your patch) to corrupt data
> in a few seconds: writes (with dd) put corrupted data on the
> media, and reads (again with dd) returns data that doesn't
> match what's on the media.

I don't know why I didn't see the corruption the first time around.
However, I repeated the tests with Linus' floppy update and saw the same
thing you did.
dd if=/dev/fd0 of=floppyimage
produced corrupt output, as did a dd write to floppy command.

> The patch below is an update of the floppy workarounds patch
> I've been maintaining since the problems began in 2.5.13.
> With this patch I'm able to reliably read and write to the
> raw /dev/fd0 device. I'm not suggesting that my hack to
> bdev->bd_block_size is the correct fix, but maybe someone who
> understands the block I/O system can see what's going on and
> do a proper fix.

Thanks. Adding your workaround produced correct outputs. I hope we can
some other eyes on the code and get it integrated into mainline.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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