Subject: disklabel fd0
To: None <port-i386@NetBSD.ORG>
From: Andrew Wheadon <andrew@wipux2.wifo.uni-mannheim.de>
List: port-i386
Date: 03/22/1996 05:13:19
I haven't been able to label any disks lately, and have
to resolv to duplicating old disklabeld disks.
I'm using:
disklabel -w -B fd0 floppy3
which just results in:
Mar 22 05:03:42 wipux2 /netbsd: fd0d: hard error writing fsbn 0 of 0-15 (st0 40<abnrml> st1 1<no_am> st2 0 cyl 0 head 0 sec 1)
Mar 22 05:04:30 wipux2 /netbsd: fd0d: hard error reading fsbn 0 (st0 40<abnrml> st1 1<no_am> st2 0 cyl 0 head 0 sec 1)
What am I missing ? (no the disks are not writeprotected)
Does it work for anyone?
I'm also not able to 'view' the disklabel on my existing
floppies allthough I can 'mount /dev/fd0a' without errors.
following are snipped versions of dmesg and kernel-config:
NetBSD 1.1A (WIPOOL) #0: Sat Mar 16 01:46:23 MET 1996
andrew@wipux2:/src/src/sys/arch/i386/compile/WIPOOL
CPU: Pentium (GenuineIntel 586-class CPU)
...
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
...
biomask 240 netmask 640 ttymask 65a
fd0d: hard error reading fsbn 0 (st0 40<abnrml> st1 1<no_am> st2 0 cyl 0 head 0 sec 1)
fd0d: hard error reading fsbn 1 (st0 40<abnrml> st1 1<no_am> st2 0 cyl 0 head 0 sec 2)
# $NetBSD: WIPOOL,v 1.7 1994/12/11 16:20:52 mycroft Exp $
# WIPOOL -- everything that's currently supported
#
machine i386 # architecture, used by config; REQUIRED
options I586_CPU # CPU classes; at least one is REQUIRED
#options DUMMY_NOPS # speed hack
options XSERVER,UCONSOLE
options INSECURE
options MACHINE_NONCONTIG
options DDB # in-kernel debugger
options DIAGNOSTIC # internal consistency checks
options KTRACE # system call tracing, a la ktrace(1)
options FFS # UFS
options QUOTA # UFS quotas
#options LFS # log-structured file system
options MFS # memory file system
options CD9660 # ISO 9660 + Rock Ridge file system
options MSDOSFS # MS-DOS file system
config netbsd root on sd0 swap on sd0 and sd1
options NMBCLUSTERS=1024 # against mb_map full.
mainbus0 at root
isa0 at mainbus0
eisa0 at mainbus0
pci0 at mainbus0 bus ?
...
fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers
# fd* at fdc? drive ?
fd0 at fdc? drive ?
ed0 at isa? port 0x300 iomem 0xdc000 irq 10 # WD/SMC, 3C503, and NE[12]000
...
pseudo-device vnd 4 # paging to files
pseudo-device ccd 4 # concatenated disk devices
--
The cost of living hasn't affected it's popularity. (unknown)
current release=doc host=wipux2.wifo.uni-mannheim.de \ "NetBSD-current mirror"
hostbase=/mit/ftp/pub/NetBSD base=/usr prefix=/usr backup delete use-rel-suffix