Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 237509 - floppy disk absent/change notice handled badly
floppy disk absent/change notice handled badly
Product: Fedora
Classification: Fedora
Component: kernel (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Kernel Maintainer List
Brian Brock
Depends On:
  Show dependency treegraph
Reported: 2007-04-23 12:02 EDT by Zing
Modified: 2007-11-30 17:12 EST (History)
0 users

See Also:
Fixed In Version: f7
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-08-07 11:22:09 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Zing 2007-04-23 12:02:53 EDT
Description of problem:
I needed to write out a bunch of floppy image files with dd to /dev/fd0 and
every first write to the next floppy would fail.  Trying immediately again,
would succeed.

Version-Release number of selected component (if applicable):

How reproducible:
all the time, tested on two different fc6 machines.

Steps to Reproduce:
1. Insert a floppy.
2. $ dd if=/dev/zero of=/dev/fd0 count=1 bs=1000

data written out correctly:

1+0 records in
1+0 records out
1000 bytes (1.0 kB) copied, 0.0909503 seconds, 11.0 kB/s

3. remove floppy.
4. insert floppy back into drive.
5. $ dd if=/dev/zero of=/dev/fd0 count=1 bs=1000

floppy0: disk absent or changed during operation
end_request: I/O error, dev fd0, sector 0
dd: writing `/dev/fd0': Input/output error
1+0 records in
0+0 records out
0 bytes (0 B) copied, 0.0209154 seconds, 0.0 kB/s

6. rerun dd command from step 5.

write succeeds.

Actual results:

step 5. fails.

Expected results:

step 5. should succeed. kernel is confused.

Additional info:

Haven't had to use the floppy in awhile, but this worked correctly at some point
in the past.
Comment 1 Pete Zaitcev 2007-08-06 21:04:04 EDT
Is this still a problem? How about Fedora 7?

I do not have an FC-6 box with a floppy, but RHEL-5 and F-7 seem ok in my
testing (tried with stopped HAL).
Comment 2 Zing 2007-08-07 09:25:04 EDT
Both machines are F7 now and the floppy works... you mention hal and I wonder if
that was the cause of the original problem.  Regardless, the disk change seems
to work fine now with haldaemon running or not.  thanks.

Note You need to log in before you can comment on or make changes to this bug.