Bug 74827 - [fdc] Problem writing data to floppies
Summary: [fdc] Problem writing data to floppies
Status: Closed Overcome By Events
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-07 22:30 UTC by Richard Bejtlich
Modified: 2017-08-26 03:44 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Bejtlich 2004-12-07 22:30:32 UTC
I am unable to use dd(1) to create floppies from image files under FreeBSD
5.3 REL.  For example, I try to create boot.flp using dd(1).  First I test
the .flp file:

orr:/home/richard$ md5 boot.flp
MD5 (boot.flp) = 1ec944b87da4e2eef835439215348e64
orr:/home/richard$ grep boot.flp CHECKSUM.MD5 
MD5 (boot.flp) = 1ec944b87da4e2eef835439215348e64

orr:/root# dd if=boot.flp of=/dev/fd0
dd: /dev/fd0: Input/output error
37+0 records in
36+0 records out
18432 bytes transferred in 4.518355 secs (4079 bytes/sec)

This is a problem.  I then boot into FreeBSD 5.2.1 under FreeSBIE.  Using
the same floppy disk and same physical hardware, I am successful:

root@FreeSBIE:~# dd if=boot.flp of=/dev/fd0
2880+0 records in
2880+0 records out
1474560 bytes transferred in 48.104081 secs (30654 bytes/sec)
root@FreeSBIE:~# mount /dev/fd0 /mnt
root@FreeSBIE:~# ls /mnt
.snap           boot            kernel.gz.split
acpi.ko.gz      kernel.gz.boot  mfsroot.gz

I am able to mount floppies and read them under FreeBSD 5.3, however.

I have not had problems with earlier FreeBSD versions, until 5.3 REL.

Hardware is an IBM Thinkpad a20p.  

Thank you.

Fix: 

Unknown.
How-To-Repeat: Try to use dd(1) to create floppies under FreeBSD 5.3 REL.
Comment 1 Gavin Atkinson freebsd_committer freebsd_triage 2007-06-14 18:51:46 UTC
State Changed
From-To: open->feedback


To submitter:  Is this still a problem with more recent versions 
of FreeBSD?
Comment 2 Mark Linimon 2007-06-16 05:10:08 UTC
----- Forwarded message from Richard Bejtlich <taosecurity@gmail.com> -----

Same problem on 6.1-SECURITY 26 Apr 07.  I even got a kernel panic
when trying to write a test file to a MSDOS-formatted floppy.

Thank you,

Richard
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2007-06-18 22:50:30 UTC
State Changed
From-To: feedback->open

Feedback received.  Apparently this is still a problem.