Re: Floppies under 2.5.

From: A Guy Called Tyketto (tyketto@wizard.com)
Date: Fri Aug 16 2002 - 01:09:25 EST


On Tue, Aug 13, 2002 at 09:07:23AM -0400, Ivan Gyurdiev wrote:
> My floppy refuses to mount under 2.5.31.
> The first attempt leads to segmentation fault.
> The second attempt leads to an unkillable
> (killall -9 mount as root has no effect) process which freezes on the
> open call:
>
> stat64("/dev/fd0", {st_mode=S_IFBLK|0660, st_rdev=makedev(2, 0), ...}) = 0
> open("/dev/fd0", O_RDONLY|O_LARGEFILE
> ========================
>
> Mounting floppies works fine under 2.4.

        Of course it works in 2.4. that's the stable series! ;)

        Seriously, the floppy driver has been broken since 2.5.8, and will
probably stay that way until someone comes along and fixes it. I believe it's
being ported over to the new API, but I'm sure Dave or the others will get
more into that. I last had the floppy working with 2.5.7. If you're expecting
to use the floppy driver to mount any sort of filesystem, expect either
severe corruption, kernel freezing as you've reported, oops, or any other
thing that has or hasn't been reported, excluding normal ops. Use 2.4 for
mounting floppies.

                                                        BL.

-- 
Brad Littlejohn                         | Email:        tyketto@wizard.com
Unix Systems Administrator,             |           tyketto@ozemail.com.au
Web + NewsMaster, BOFH.. Smeghead! :)   |   http://www.wizard.com/~tyketto
  PGP: 1024D/E319F0BF 6980 AAD6 7329 E9E6 D569  F620 C819 199A E319 F0BF

- 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/



This archive was generated by hypermail 2b29 : Fri Aug 23 2002 - 22:00:11 EST