Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Mar 2005 14:02:47 -0600
From:      pbowen@fastmail.fm
To:        freebsd-stable@freebsd.org
Subject:   Floppy problems in 5.3
Message-ID:  <200503091402.48207.pbowen@fastmail.fm>

next in thread | raw e-mail | index | archive | help
Sirs:

I'm having a problem doing "newfs" to a floppy on a new installation=20
(5.3-stable). I tried
changing to a new floppy and get the same thing.

# fdformat -f 1440 /dev/fd0
=46ormat 1440K floppy `/dev/fd0'? (y/n): y
Processing VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV done.
# bsdlabel -B -w /dev/fd0 fd1440
# newfs /dev/fd0
newfs: wtfs: 512 bytes at sector 2879: Input/output error

=2D-or--

# newfs_msdos /dev/fd0
/dev/fd0: 2840 sectors in 355 FAT12 clusters (4096 bytes/cluster)
bps=3D512 spc=3D8 res=3D1 nft=3D2 rde=3D512 sec=3D2880 mid=3D0xf0 spf=3D2 s=
pt=3D18 hds=3D2 hid=3D0
newfs_msdos: /dev/fd0: Input/output error
#

If I take a linux formatted floppy, mount it, then "ls" on the mount point,=
 I
can get the dir listing. Or if I "less" a file on the floppy I can read the
contents. Any attempt to use "vi" or to write to the floppy fails with
another "Input/Output error". Of course, the same drives and floppies mount=
,=20
read, and write under Minix, Slackware-10.0 and FreeBSD 4.11.

# uname -a
=46reeBSD =A05.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov =A05 04:19:18 UTC =
2004
root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC =A0i386
#

devfs.conf contains...

# allow fd0
[devfsrules_fd0=3D10]
add path fd0
add path fd0 mode 0660=20

and rc.conf contains...

#devfs_system_ruleset=3D"devfsrules_fd0"

I noticed in UPDATING that floppy under pci was broken at one point. Is tha=
t=20
still the case and am I seeintg that broken-ness?

Can you help? TIA.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503091402.48207.pbowen>