Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Mar 2005 19:33:53 -0800 (PST)
From:      Doug White <dwhite@gumbysoft.com>
To:        pbowen@fastmail.fm
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Floppy problems
Message-ID:  <20050309192823.D53002@carver.gumbysoft.com>
In-Reply-To: <200503071321.29241.pbowen@fastmail.fm>
References:  <200503071321.29241.pbowen@fastmail.fm>

next in thread | previous in thread | raw e-mail | index | archive | help

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 error

Can'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 error

The 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



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