Hi. I'm trying to get a Ditto Max Pro drive to work with linux (kernel 2.0.36)
and it's not really working.
First, i did a normal install, according to the INSTALL file. The drive
uses a Ditto Dash DX card , so i didn't change anything in the MCONFIG file
the first time did a make.
It wasn't working that time, so I looked around on usenet and found a post
from someone that had done this(having a hard time getting in touch with him).
He mentioned using pnpdump to get the addresses, etc., then modifying the
insert script with the values from that (for irq, dma, base, etc.). I tried
that and then tried the command:
ftmt -f /dev/ftape status
i get the follwing in /var/logs/messages:
Oct 24 17:20:49 E-COMMERCE kernel: (c) 1996-1998 Claus-Justus Heine
([EMAIL PROTECTED])
Oct 24 17:20:49 E-COMMERCE kernel:
Oct 24 17:20:49 E-COMMERCE kernel: QIC-117 driver for QIC-40/80/3010/3020/Ditto
2GB/MAX floppy tape drives.
Oct 24 17:20:49 E-COMMERCE kernel: Compiled for Linux version 2.0.36
Oct 24 17:20:49 E-COMMERCE kernel: installing QIC-117 floppy tape hardware drive ...
Oct 24 17:20:49 E-COMMERCE kernel: ftape_init @ 0x0499f1e0.
Oct 24 17:20:50 E-COMMERCE kernel: zftape for ftape v4.02 08/29/98
Oct 24 17:20:50 E-COMMERCE kernel: (c) 1996, 1997 Claus-Justus Heine
([EMAIL PROTECTED])
Oct 24 17:20:50 E-COMMERCE kernel: vfs interface for ftape floppy tape driver.
Oct 24 17:20:50 E-COMMERCE kernel: Support for QIC-113 compatible volume table.
Oct 24 17:20:50 E-COMMERCE kernel: Compiled for Linux version 2.0.36
Oct 24 17:20:50 E-COMMERCE kernel: [000] zftape-init.c (zft_init) - zft_init @
0x049d1f60.
Oct 24 17:20:50 E-COMMERCE kernel: [001] zftape-init.c (zft_init) - installing
zftape VFS interface for ftape driver ....
Oct 24 17:20:50 E-COMMERCE kernel: fdc-internal.c: fdc_internal_register @ 0x048148d0.
Oct 24 17:20:50 E-COMMERCE kernel: [002] fdc-io.c (fdc_register) - Probing for
ftape-internal tape drive slot 0.
Oct 24 17:20:50 E-COMMERCE kernel: [003] 0 fdc-internal.c (_fdc_int_detect) - called
with count 0.
Oct 24 17:20:50 E-COMMERCE kernel: [004] 0 fdc-internal.c (_fdc_int_detect) - fdc[0]
base: 0x0200, irq: 11, dma: 0.
Oct 24 17:20:50 E-COMMERCE kernel: [005] 0 ftape-buffer.c (add_one_buffer) - buffer
nr #1 @ 00913b18, dma area @ 008d8000.
Oct 24 17:20:50 E-COMMERCE kernel: [006] 0 ftape-buffer.c (add_one_buffer) - buffer
nr #2 @ 00913398, dma area @ 00800000.
Oct 24 17:20:50 E-COMMERCE kernel: [007] 0 ftape-buffer.c (add_one_buffer) - buffer
nr #3 @ 007bca18, dma area @ 00908000.
Oct 24 17:20:50 E-COMMERCE kernel: [008] fdc-io.c (fdc_register) - Probing for
ftape-internal tape drive slot 1.
Oct 24 17:20:50 E-COMMERCE kernel: [009] 1 fdc-internal.c (_fdc_int_detect) - called
with count 1.
Oct 24 17:20:50 E-COMMERCE kernel: [010] fdc-io.c (fdc_register) - Probing for
ftape-internal tape drive slot 2.
Oct 24 17:20:50 E-COMMERCE kernel: [011] 2 fdc-internal.c (_fdc_int_detect) - called
with count 2.
Oct 24 17:20:50 E-COMMERCE kernel: [012] fdc-io.c (fdc_register) - Probing for
ftape-internal tape drive slot 3.
Oct 24 17:20:50 E-COMMERCE kernel: [013] 3 fdc-internal.c (_fdc_int_detect) - called
with count 3.
Oct 24 17:21:15 E-COMMERCE kernel: [014] 0 ftape-calibr.c (ftape_calibrate) -
calibr_count: 5804, calibr_time: 9996 us.
Oct 24 17:21:15 E-COMMERCE kernel: [015] 0 ftape-calibr.c (ftape_calibrate) - TC
for `fdc_wait()' = 1722 nsec (at 5804 counts).
Oct 24 17:21:16 E-COMMERCE kernel: [016] 0 fdc-io.c (fdc_reset) - no drive polling
interrupt!.
Oct 24 17:21:16 E-COMMERCE kernel: [017] 0 fdc-io.c (fdc_probe) - Iomega DASH EZ
FDC found.
Oct 24 17:21:17 E-COMMERCE kernel: [018] 0 fdc-io.c (fdc_reset) - no drive polling
interrupt!.
Oct 24 17:21:48 E-COMMERCE kernel: [019] 0 ftape-ctl.c (ftape_activate_drive) - No
tape drive found.
Oct 24 17:21:50 E-COMMERCE kernel: [020] 0 fdc-io.c (fdc_reset) - no drive
polling interrupt!.
Oct 24 17:21:50 E-COMMERCE kernel: [021] 0 ftape-ctl.c (ftape_enable) -
ftape_activate_drive(ftape, &ftape->drive_type) failed: -19.
Oct 24 17:21:50 E-COMMERCE kernel: [022] 0 zftape-ctl.c (_zft_open) -
ftape_enable(sel) failed: -19.
Oct 24 17:21:50 E-COMMERCE kernel: [023] 0 zftape-init.c (zft_open) - _zft_open
failed.
[root@E-COMMERCE modules]#
In my MCONFIG file, i've entered the following:
----snip-----
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
----snip----
and pnpdump gives me the following(shortened):
--- snip ---
# Card 1: (serial identifier 0f ff ff ff ff 40 00 ed 25)
# Vendor Id IOM0040, No Serial Number (-1), checksum 0x0F.
# Version 1.0, Vendor version 0.1
# ANSI string -->iomega 4Mb/S PNP tape controller<--
#
# Logical device id IOM0040
# Device supports vendor reserved register @ 0x3a
# Device supports vendor reserved register @ 0x3c
#
# Edit the entries below to uncomment out the configuration required.
# Note that only the first value of any range is given, this may be changed if required
# Don't forget to uncomment the activate (ACT Y) when happy
(CONFIGURE IOM0040/-1 (LD 0
# Logical device decodes 16 bit IO address lines
# Minimum IO base address 0x0200
# Maximum IO base address 0x03e0
# IO base alignment 16 bytes
# Number of IO addresses required: 8
(IO 0 (BASE 0x0200))
# Multiple choice time, choose one only !
# Start dependent functions: priority preferred
# IRQ 3, 4, 5, 7, 9, 10, 11, 12, 14 or 15.
# High true, edge sensitive interrupt (by default)
(INT 0 (IRQ 3 (MODE +E)))
# First DMA channel 0, 1 or 3.
# 8 bit DMA only
# Logical device is not a bus master
# DMA may not execute in count by byte mode
# DMA may not execute in count by word mode
# DMA channel speed in compatible mode
(DMA 0 (CHANNEL 0))
--- snip ---
hope that someone can help. thanks for your time!
-kailas