Sirs: I'm having a problem doing "newfs" to a floppy on a new installation. I tried changing to a new floppy and get the same thing. # fdformat -f 1440 /dev/fd0 Format 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 # newfs_msdos /dev/fd0 /dev/fd0: 2840 sectors in 355 FAT12 clusters (4096 bytes/cluster) bps=512 spc=8 res=1 nft=2 rde=512 sec=2880 mid=0xf0 spf=2 spt=18 hds=2 hid=0 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". # uname -a FreeBSD 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004 root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 # Can you help? TIA.
On Mon, 7 Mar 2005 pbowen@fastmail.fm wrote:> Sirs: > > I'm having a problem doing "newfs" to a floppy on a new installation. I tried > changing to a new floppy and get the same thing. > > # fdformat -f 1440 /dev/fd0 > Format 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 errorCan't say I've ever tried to make a UFS filesystem on a floppy, but sector 2879 is off the end of the disk. newfs probably needs a hint for the disk size. 'newfs -T fd1440 /dev/fd0' may work better.> # newfs_msdos /dev/fd0 > /dev/fd0: 2840 sectors in 355 FAT12 clusters (4096 bytes/cluster) > bps=512 spc=8 res=1 nft=2 rde=512 sec=2880 mid=0xf0 spf=2 spt=18 hds=2 hid=0 > newfs_msdos: /dev/fd0: Input/output errorThe previous newfs proble may have corrupted the floppy. Try fdformat again then newfs_msdos. If you still get an error check the kernel messages (dmesg) for any errors from the fd driver. -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org
hello> I'm having a problem doing "newfs" to a floppy on a new installation. I tried > changing to a new floppy and get the same thing. > # fdformat -f 1440 /dev/fd0 > Format 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[...] i just experienced similar problems with 5.4 from sunday (17. april). but cant tell when it started, since its been a while that i used a floppy. i can fdformat without problems, but i can only read or write the first 18kb, and then a i/o error occurs. dmesg shows nothing. its not a hardware problem, since it works with 4.11 and win2k and the same floppy disk. machine is a dell inspiron 8000. etienne