2002-08-16 04:54:40

by Ivan G.

[permalink] [raw]
Subject: Floppies under 2.5.

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.





2002-08-16 06:05:35

by A Guy Called Tyketto

[permalink] [raw]
Subject: Re: Floppies under 2.5.

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: [email protected]
Unix Systems Administrator, | [email protected]
Web + NewsMaster, BOFH.. Smeghead! :) | http://www.wizard.com/~tyketto
PGP: 1024D/E319F0BF 6980 AAD6 7329 E9E6 D569 F620 C819 199A E319 F0BF

2002-08-16 11:59:01

by Thunder from the hill

[permalink] [raw]
Subject: Re: Floppies under 2.5.

Hi,

On Tue, 13 Aug 2002, Ivan Gyurdiev wrote:
> My floppy refuses to mount under 2.5.31.

Could someone please put it on the FAQ?

Thunder
--
--./../...-/. -.--/---/..-/.-./..././.-../..-. .---/..-/.../- .-
--/../-./..-/-/./--..-- ../.----./.-../.-.. --./../...-/. -.--/---/..-
.- -/---/--/---/.-./.-./---/.--/.-.-.-
--./.-/-.../.-./.././.-../.-.-.-

2002-08-16 12:10:11

by Dave Jones

[permalink] [raw]
Subject: Re: Floppies under 2.5.

On Fri, Aug 16, 2002 at 06:02:49AM -0600, Thunder from the hill wrote:

> On Tue, 13 Aug 2002, Ivan Gyurdiev wrote:
> > My floppy refuses to mount under 2.5.31.
> Could someone please put it on the FAQ?

It's been documented on the problem page I maintained.
It's on the one maintained by Thomas.
It's mentioned at least a dozen times in the last weeks in
the l-k archives.

Unfortunatly, people find it easier to mail the same questions to
l-k over and over instead of hitting google or the likes.


Dave

--
| Dave Jones. http://www.codemonkey.org.uk
| SuSE Labs