Re: 2.5.37 broke the floppy driver

Mikael Pettersson (mikpe@csd.uu.se)
Mon, 23 Sep 2002 20:53:55 +0200


Alexander Viro writes:
>
>
> On Mon, 23 Sep 2002, Jens Axboe wrote:
>
> > Al? The first bug was a legitimate partial completion error in
> > ll_rw_blk, however there appears to be other breakage hitting floppy as
> > well.
>
> The third is my fault - I've screwed up reordering patches; get_gendisk
> prototype change should've been submitted before floppy gendisks. Missing
> patch is O/O100-get_gendisk-C38 in usual place, I'll send it to Linus
> when I finish with the next 4 chunks (ubd fixes on top of jdike's ones +
> unexporting register_disk() + tapeblock switch to gendisk + removal of
> "what if opened device has no gendisk" logics). No comments on the
> second one, though.

With O100-get_gendisk-C38 the oops is cured, but the floppy size is
still wrong. Freshly booted, dd if=/dev/fd0H1440 bs=72k of=/dev/null
reads only 720K instead of 1440K. Same thing on write: trying to
write more than 720K results in an ENOSPC error.
-
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/