Floppy detection on miata: solved.

Holm Tiffe holm at freibergnet.de
Thu Dec 4 03:11:21 PST 2003


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



More information about the freebsd-alpha mailing list