Hi,
gratulation to your problem report. There is nearly
everything we need to know.
> I cant get ftape-4.02 going. I've RTFM's and I guess I'm missing something. I keep
>getting:
>
> Linux:~> ftmt -f /dev/qft0 status
> ftmt: /dev/qft0: No such device or address
>
> Linux:~> ftmt -f /dev/nqft0 reten
> ftmt: /dev/nqft0: No such device or address
>
> etc...
>
> Linux:~> lsmod
> Module: #pages: Used by:
> zftape 21 0 (autoclean)
> ftape 37 [zftape] 0 (autoclean)
Here's the answer: you need at least three modules:
ftape-internal ist missing, that's the hardware driver.
>
> Linux:~> tail /var/log/messages
> Feb 16 11:19:50 Linux kernel: zftape for ftape v4.02 08/29/98
> Feb 16 11:19:50 Linux kernel: [000] 0 fdc-io.c (fdc_init) -
>fdc_search_driver(ftape->drive_sel) failed: -6.
This message tells you that ftape does not find a driver, so
there is no connection to a device and that leads to the
above message 'No such device ...'.
> Feb 16 11:19:50 Linux kernel: [001] 0 ftape-ctl.c (ftape_enable) - fdc_init(ftape)
>failed: -6.
> Feb 16 11:21:02 Linux kernel: [002] 0 fdc-io.c (fdc_init) -
>fdc_search_driver(ftape->drive_sel) failed: -6.
> Feb 16 11:21:02 Linux kernel: [003] 0 ftape-ctl.c (ftape_enable) - fdc_init(ftape)
>failed: -6.
> Feb 16 11:22:49 Linux kernel: zftape successfully unloaded.
> Feb 16 11:22:49 Linux kernel: ftape: unloaded.
>
> Here's my info:
>
> Sys - generic pc-486 32M
> Tape - Ditto Insider 800 (QIC-80) on the FDC (works fine in Win/DOS. Ditto tools
> reports: i/o=0x3f0 irq=6 dma=2)
> OS - Slackware(libc) 3.6, kernel 3.0.36
>
> What I've done:
>
> 1) Recompiled kernel. Removed ftape support. Added floppy.c patch.
>
> 2) Compiled, installed ftape-4.02 and ftape-tools-1.07
>
> Here's some output:
>
> Linux:~> ls -l /lib/modules/2.0.36/misc
> total 521
> -rw-r--r-- 1 root root 60972 Feb 15 22:51 bpck-fdc.o
> -rw-r--r-- 1 root root 20063 Feb 15 22:51 ftape-internal.o
> -rw-r--r-- 1 root root 242863 Feb 15 22:51 ftape.o
> -rw-r--r-- 1 root root 29888 Feb 15 22:51 trakker.o
> -rw-r--r-- 1 root root 28207 Feb 15 22:51 zft-compressor.o
> -rw-r--r-- 1 root root 141877 Feb 15 22:51 zftape.o
>
> Linux:~> cat /etc/modules.conf
> alias net-pf-4 off
> alias net-pf-5 off
> alias ppp-compress-1 off
> alias ppp-compress-21 bsd_comp
> alias ppp-compress-24 ppp_deflate
> alias ppp-compress-26 ppp_deflate
> alias char-major-10 off
> alias char-major-27 zftape
> options ftape ft_fdc_driver=ftape-internal,none,none,none
> options ftape-internal ft_fdc_base=0x3f0 ft_fdc_irq=6 ft_fdc_dma=2
> pre-install ftape-internal /sbin/swapout 15
That seems to be ok! Did you run
depmod -a
to let the kerneld know about module dependencies?
How did you load the modules? By hand or by kerneld?
>
> Linux:~> ls -l /dev/*ft*
> lrwxrwxrwx 1 root root 4 Jul 1 1998 /dev/ftape -> rft0
> lrwxrwxrwx 1 root root 5 Jul 1 1998 /dev/nftape -> nrft0
> crw-r----- 1 root root 27, 4 Feb 16 10:09 /dev/nqft0
> crw-r----- 1 root root 27, 5 Feb 16 10:09 /dev/nqft1
> crw-r----- 1 root root 27, 6 Feb 16 10:09 /dev/nqft2
> crw-r----- 1 root root 27, 7 Feb 16 10:09 /dev/nqft3
> crw-r----- 1 root root 27, 36 Feb 16 10:09 /dev/nrawft0
> crw-r----- 1 root root 27, 37 Feb 16 10:09 /dev/nrawft1
> crw-r----- 1 root root 27, 38 Feb 16 10:09 /dev/nrawft2
> crw-r----- 1 root root 27, 39 Feb 16 10:09 /dev/nrawft3
> lrwxrwxrwx 1 root root 5 Feb 16 10:09 /dev/nrft0 -> nqft0
> lrwxrwxrwx 1 root root 5 Feb 16 10:09 /dev/nrft1 -> nqft1
> lrwxrwxrwx 1 root root 5 Feb 16 10:09 /dev/nrft2 -> nqft2
> lrwxrwxrwx 1 root root 5 Feb 16 10:09 /dev/nrft3 -> nqft3
> ...
The devices look good.
>
> Thanks for any help.
> ...
Make sure that kerneld is running. Try to load all three
modules by hand. Then issue
ftmt -f /dev/nqft0 status
and I am sure you will succeed.
Good luck!
Martin
--
Martin Jacobs * Windsbach * [EMAIL PROTECTED] und
[EMAIL PROTECTED]
Registered Linux User #87175