Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Dec 2003 12:11:16 +0100
From:      Holm Tiffe <holm@freibergnet.de>
To:        freebsd-alpha@freebsd.org
Subject:   Floppy detection on miata: solved.
Message-ID:  <20031204111116.GC2531@pegasus.freiberg-net.de>

next in thread | raw e-mail | index | archive | help
I can remember that I've read something about the not detected floppy
on the alphas.

My friend, Jörg Wunsch, told me, that there is a mechanism in the driver,
that gets drives and parameters from device.hints.

after putting the lines:

hint.fd.0.at="fdc0"
hint.fd.0.drive="0"
hint.fd.0.flags="4"

in device.hints, the kernel is detecting the drive:

fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> at port
0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: interrupting at ISA irq 6
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0

and it seems, that this drive is working.
There are some other problems with it, the automatic generation of
subdevices does'nt work (eg. fd0.1), and this one:

# dd if=/dev/fd0 of=/dev/null bs=1440k
dd: /dev/fd0: Invalid argument
1+0 records in
1+0 records out
1474560 bytes transferred in 47.773982 secs (30865 bytes/sec)

greetings,

Holm
-- 
L&P::Kommunikation GbR          Holm Tiffe  * Administration, Development
FreibergNet.de Internet Systems                      phone +49 3731 41930
Bereich Server & Technik                             fax +49 3731 4196026 
D-09599 Freiberg * Nonnengasse 31a              http://www.freibergnet.de



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