Red Hat Bugzilla – Bug 237509
floppy disk absent/change notice handled badly
Last modified: 2007-11-30 17:12:02 EST
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,
Version-Release number of selected component (if applicable):
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.
step 5. fails.
step 5. should succeed. kernel is confused.
Haven't had to use the floppy in awhile, but this worked correctly at some point
in the past.
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).
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.