Frequently Asked Questions for FreeBSD 2.X : Kernel Configuration : How do I enable support for QIC-40/80 drives?
Previous: Interrupt conflicts with multi-port serial code.
Next: System Administration

7.4. How do I enable support for QIC-40/80 drives?

You need to uncomment the following line in the generic config file (or add it to your config file), add a ``flags 0x1'' on the fdc line and recompile.

controller  fdc0  at isa? port "IO_FD1" bio irq 6 drq 2 flags 0x1 vector fdintr
disk        fd0   at fdc0 drive 0                       ^^^^^^^^^
disk        fd1   at fdc0 drive 1
#tape       ft0   at fdc0 drive 2
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      

Next, you create a device called /dev/ft0 by going into /dev and run the following command:

        sh ./MAKEDEV ft0
      

for the first device. ft1 for a second one and so on.

You will have a device called /dev/ft0, which you can write to through a special program to manage it called ``ft'' - see the man page on ft for further details.

Versions previous to -current also had some trouble dealing with bad tape media; if you have trouble where ft seems to go back and forth over the same spot, try grabbing the latest version of ft from /usr/src/sbin/ft in -current and try that.


Frequently Asked Questions for FreeBSD 2.X : Kernel Configuration : How do I enable support for QIC-40/80 drives?
Previous: Interrupt conflicts with multi-port serial code.
Next: System Administration