Re: Floppy problems

2005-04-20 Thread Stefan Hauser
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  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

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Floppy problems in 5.3

2005-03-09 Thread pbowen
Sirs:

I'm having a problem doing newfs to a floppy on a new installation 
(5.3-stable). 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  done.
# bsdlabel -B -w /dev/fd0 fd1440
# newfs /dev/fd0
newfs: wtfs: 512 bytes at sector 2879: Input/output error

--or--

# 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. Of course, the same drives and floppies mount, 
read, and write under Minix, Slackware-10.0 and FreeBSD 4.11.

# uname -a
FreeBSD  5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov  5 04:19:18 UTC 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
#

devfs.conf contains...

# allow fd0
[devfsrules_fd0=10]
add path fd0
add path fd0 mode 0660 

and rc.conf contains...

#devfs_system_ruleset=devfsrules_fd0

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

Can you help? TIA.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Floppy problems in 5.3

2005-03-09 Thread Daniel O'Connor
On Thu, 10 Mar 2005 06:32, [EMAIL PROTECTED] wrote:
 # 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
 #

Do you get anything in dmesg from these?

 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, read, and write under Minix, Slackware-10.0 and FreeBSD 4.11.

Tried that floppy drive with a different OS, or tried a different drive with 
FreeBSD?

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards is that there
are so many of them to choose from.
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


pgp7a1HhFMe7C.pgp
Description: PGP signature


Re: Floppy problems

2005-03-09 Thread Doug White
On Mon, 7 Mar 2005 [EMAIL PROTECTED] 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  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
[EMAIL PROTECTED]  |  www.FreeBSD.org
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Floppy problems

2005-03-07 Thread pbowen
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  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 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
#

Can you help? TIA.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]