Return to BSD News archive
Path: euryale.cc.adfa.oz.au!platinum.sge.net!como.dpie.gov.au!news.gan.net.au!act.news.telstra.net!news-out.internetmci.com!newsfeed.internetmci.com!news.msfc.nasa.gov!europa.clark.net!nntprelay.mathworks.com!howland.erols.net!newsfeed.nacamar.de!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news From: j@uriah.heep.sax.de (J Wunsch) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: FreeBSD 2.2.2 / DC2000 Tape Drive Date: 27 Jun 1997 21:51:18 GMT Organization: Private BSD site, Dresden Lines: 33 Message-ID: <5p1ckm$rd6@uriah.heep.sax.de> References: <33B31003.1E2D@ncia.net> Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) NNTP-Posting-Host: localhost.heep.sax.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: knews 0.9.6 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:43670 Pamela Nelson <nels@ncia.net> wrote: > - The density, block sizes are WAY off as I'm only getting about 10 > megs per tape. (not incredibly efficient) (That probably means the driver doesn't detect the correct tape geometry. Anyway, i'm knowing the ft driver marginally only myself.) > - When I try to use the mt command to rewind (or anything) it comes > back with "rewind: device not configured" Sure. The only program valid for the ft(4) driver is ft(8). This driver actually ain't a full-featured tape device driver, it's rather a backend driver for the ft(8) filter program. It neither supports direct read or write operations, nor the usual MTIO* ioctl commands. Nobody ever stepped forward (and really finished) to improve this driver. > I've looked around for "device not configured" but everything I find > assumes that I haven't even compiled the kernel with the device. Nope. ENXIO is a catch-all response for ``Operation unknown to this driver''. The ft(4) driver further abuses ENXIO where it should use ENOTTY (``Inappropriate ioctl for device''), see the very last part of /sys/i386/isa/ft.c (the function ftioctl()). -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)