A Superb bug report: at least it furnishes us with all of the required
information. :)
Firstly, I would check to see if /dev/ftape exists, and also if
/dev/[n]qft[0-3] exist too.
It sounds like the scripts that makes the device nodes didnt run properly:
in your <ftaperoot>/scripts directory you will find a script called
MAKEDEV.ftape. Simply run this script and it should create all the correct
nodes for you.
Barry Zubel
Technical Manager
City Mutual Ltd
www.citymutual.com
-----Original Message-----
From: Carsten Becker <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Tuesday, February 16, 1999 10:20 PM
Subject: DITTO Max Pro under SuSE 5.3/Kernel 2.0.35
Hi all over the world,
to say it with the Beatles: Help. I need somebody. Help.
I bought a DITTO Max Pro with a plug and pray DITTO Dash DX
accelerator card. My kernel was compiled without ftape functions for
an i686. I have an onboard SCSI controler AIC 7880 (with 1 HDD, 1
CD-ROM an 1 CD-Writer). Furthermore there are 1 AVM A1 Fitz!Card
Classic (ISA non pnp) and 1 SB AWE 64 ISA pnp working inside.
Here4s what I did after RTFM:
My isapnp.conf looks like follows: (only important lines)
(VERIFYLD N)
(READPORT 0x0203)
(ISOLATE)
(IDENTIFY *)
# Card 1: (serial identifier 0f ff ff ff ff 40 00 ed 25)
# IOM0040 Serial No -1 [checksum 0f]
# ANSI string -->iomega 4Mb/S PNP tape controller<--
(CONFIGURE IOM0040/-1 (LD 0
(IO 0 (BASE 0x0200))
(INT 0 (IRQ 3 (MODE +E)))
(DMA 0 (CHANNEL 0))
(ACT Y)
))
# End tag... Checksum 0x00 (OK)
# Card 2: (serial identifier 6b 0f 59 9b aa c5 00 8c 0e)
# CTL00c5 Serial No 257530794 [checksum 6b]
# ANSI string -->Creative SB AWE64 PnP<--
(CONFIGURE CTL00c5/257530794 (LD 0
# ANSI string -->Audio<--
(INT 0 (IRQ 5 (MODE +E)))
(DMA 0 (CHANNEL 1))
(DMA 1 (CHANNEL 5))
(IO 0 (BASE 0x0220))
(IO 1 (BASE 0x0330))
(IO 2 (BASE 0x0388))
(ACT Y)
))
(CONFIGURE CTL00c5/257530794 (LD 1
# Compatible device id PNPb02f
# ANSI string -->Game<--
(ACT N) <= because IO BASE should be 0x0200!!!
))
(CONFIGURE CTL00c5/257530794 (LD 2
# ANSI string -->WaveTable<--
(IO 0 (BASE 0x0620))
(ACT Y)
))
# End tag... Checksum 0x00 (OK)
(WAITFORKEY)
After an /sbin/isapnp /etc/isapnpn.conf everything looks fine. After
that I changed some lines in MCONFIG (again only the important lines):
----above everything unchanged----
CONFIG_M686=y
.....no changes.....
FDC_OPT :=
AUTO_DEV=0
STD_DEV=0
82078_DEV=0
FDC_OPT = -DCONFIG_FT_FDC_BASE_$(82078_DEV)=0x200 \
-DCONFIG_FT_FDC_IRQ_$(82078_DEV)=3 \
-DCONFIG_FT_FDC_DMA_$(82078_DEV)=0 \
-DCONFIG_FT_NR_BUFFERS=3 \
-DCONFIG_FT_INT_$(82078_DEV)=0
....everything else is disabled in the FDC-OPT section....
TRACE_FLAGS = -DCONFIG_FT_FULL_DEBUG
----no changes after this point----
After editing this file a make and a make install showed no errors
:-).
Then I edited the insert file in ./modules like following (it4s
complete):
isapnp /etc/isapnp.conf
insmod ./ftape.o
ft_fdc_driver=ftape-internal,bpck-fdc:trakker,none,none ft
_tracings=3,3,3,3,3
insmod ./zftape.o ft_major_device_number=27 # ${27-FT_MAJOR}
insmod ./zft-compressor.o
insmod ./ftape-internal.o ft_fdc_fc10=0 ft_fdc_mach2=0
ft_fdc_base=0x200 ft
_fdc_dma=0 ft_fdc_threshold=15 ft_fdc_rate_limit=3000
modprobe parport || true # pre-2.1 kernels don't have the parport
module
insmod ./trakker.o
insmod ./bpck-fdc.o
A . insert in that directory says:
Board 1 has Identity [...]: IOM0040 Serial No 4294967295 [checksum
0f]
Board 2 has Identity [...]: CTL00c5 Serial No 257530794 [checksum 6b]
can't locate module parport
This seems pretty good. I don4t need parport module because it4s an
internal drive. And /var/log/messages means:
ftape v4.03-pre-2 11/05/98
QIC-117 driver for QIC-40/80/3010/3020/Ditto 2GB/MAX floppy tape
drives.
Compiled for Linux version 2.0.35
installing QIC-117 floppy tape hardware drive ...
ftape_init @ 0x048541b0.
zftape for ftape v4.03-pre-2 11/05/98
(c) 1996, 1997 Claus-Justus Heine ([EMAIL PROTECTED])
vfs interface for ftape floppy tape driver.
Support for QIC-113 compatible volume table.
Compiled for Linux version 2.0.35
[000] zftape-init.c (zft_init) - zft_init @ 0x04887fc8.
[001] zftape-init.c (zft_init) - installing zftape VFS interface for
ftape driver ....
zftape de-compressor for ftape v4.03-pre-2 11/05/98
(c) 1994-1998 Claus-Justus Heine ([EMAIL PROTECTED])
De-compressor for zftape (lzrw3 algorithm)
Compiled for kernel version 2.0.35
[002] zftape-compress.c (zft_compressor_init) - zft_compressor_init
@ 0x04890880.
[003] zftape-compress.c (zft_compressor_init) - installing
compressor for zftape ....
fdc-internal.c: fdc_internal_register @ 0x04895900.
[004] fdc-io.c (fdc_register) - Probing for ftape-internal tape
drive slot 0.
[005] 0 fdc-internal.c (_fdc_int_detect) - called with count 0.
[006] 0 fdc-internal.c (_fdc_int_detect) - fdc[0] base: 0x0200, irq:
3, dma: 0.
[007] 0 ftape-buffer.c (add_one_buffer) - buffer nr #1 @ 01b7ae18,
dma area @ 00320000.
[008] 0 ftape-buffer.c (add_one_buffer) - buffer nr #2 @ 01b7ad98,
dma area @ 00318000.
[009] 0 ftape-buffer.c (add_one_buffer) - buffer nr #3 @ 01b7ae98,
dma area @ 00310000.
...no tracker...
...no Bpck...
Again that seems pretty good. But in my xterm I get the following
output when I want to start a tar -cvf /dev/ftape *:
cannot open /dev/ftape: No such device :-(((((
cat /proc/interrupts at the same time shows:
0: 145842 timer
1: 3321 keyboard
2: 0 cascade
3: 0 + ftape <= here it is!!!
4: 3019 + serial
8: 2 + rtc
11: 8965 aic7xxx
13: 1 math error
14: 5 + ide0
15: 356350 HiSax
I don4t think that there will be a lot to change. In my BIOS I
disabled the reservation of the IRQ 3 for the secondary serial port.
But pnp behaviour is auto with pnp OS installed: yes.
Now I just _do not_ know what to do. Is there anyone outside who can
give me a little hint?
Regards
Carsten
P.S. Sorry for this long mail but I wanted to describe my problem and
my changes as fully as possible.
--
"Etwas nicht tun zu koennen, ist kein Grund, es nicht zu tun."
Gordon "Alf" Shummway