Re: Archive Python DAT tape and Adaptec

Rimen Wong (rimen@accsoft.com.au)
Fri, 4 Sep 1998 12:00:54 +1000 (EST)


So would HP DAT DDS-3 with AHA-2940AU cause problem?

Rimen

>>>>> "M" == Michael Meissner <meissner@cygnus.com> writes:

M> (this is being sent to both the linux-kernel and the Adaptec scsi
M> lists, so you might want to make sure followups are appropriate --
M> note for replies to me, I'm not yet on the AIC7xxx list, and am having
M> trouble following the linux-kernel list due to volume).

M> The Adaptec driver that's been shipping with the latest experimental
M> Linux kernels with a version # of 5.0.20 does not work reliably with
M> my 3 year old Archive DAT DDS-1 tape drive. I had a similar problem
M> with another Archive DAT of the same vintage on my work computer
M> (about six months ago, the Adaptec was dealt with the tape drive
M> completely fine until I switched to TekRam 390{U,F} controllers). The
M> Archive is an asynch-only device, and I have the jumpers set for
M> SCSI-2 and Parity support.

M> The home computer is a 233 Mhz Pentium-II on an Abit LX6 motherboard,
M> and it is currently cabled with the Adaptec having an internal 50 pin
M> ribbon cable connecting the tape drive (id #2), a 4x Toshiba CDROM (id
M> #4), and an active terminator on the end of the cable. No connection
M> is made on either of the 68 pin ports. The disks are on a separate
M> TekRam 390F controller. I bumped up the SCSI reset time to 15 seconds
M> to give things time to settle down, but it didn't help.

M> About half the time when the driver resets the bus, I get something
M> like:

M> Sep 3 12:09:08 wogglebug kernel: aic7xxx: Warning - detected auto-termination on controller:
M> Sep 3 12:09:08 wogglebug kernel: aic7xxx: <Adaptec AHA-294X Ultra SCSI host adapter> at PCI 9/0
M> Sep 3 12:09:08 wogglebug kernel: aic7xxx: Please verify driver detected settings are correct.
M> Sep 3 12:09:08 wogglebug kernel: aic7xxx: If not, then please properly set the device termination
M> Sep 3 12:09:08 wogglebug kernel: aic7xxx: in the Adaptec SCSI BIOS by hitting CTRL-A when prompted
M> Sep 3 12:09:08 wogglebug kernel: aic7xxx: during machine bootup.
M> Sep 3 12:09:08 wogglebug kernel: aic7xxx: Cables present (Int-50 YES, Int-68 NO, Ext-68 NO)
M> Sep 3 12:09:08 wogglebug kernel: aic7xxx: Termination (Low ON, High ON)
M> Sep 3 12:09:08 wogglebug kernel: (scsi1) <Adaptec AHA-294X Ultra SCSI host adapter> found at PCI 9/0
M> Sep 3 12:09:08 wogglebug kernel: (scsi1) Wide Channel, SCSI ID=7, 16/255 SCBs
M> Sep 3 12:09:08 wogglebug kernel: (scsi1) BIOS enabled, IO Port 0x6800, IRQ 12
M> Sep 3 12:09:08 wogglebug kernel: (scsi1) IO Memory at 0xe4000000, MMAP Memory at 0xc4856000
M> Sep 3 12:09:08 wogglebug kernel: (scsi1) Downloading sequencer code... 413 instructions downloaded
M> Sep 3 12:09:08 wogglebug kernel: scsi1 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.0.20/3.2.4
M> Sep 3 12:09:08 wogglebug kernel: <Adaptec AHA-294X Ultra SCSI host adapter>
M> Sep 3 12:09:08 wogglebug kernel: scsi : 2 hosts.
M> Sep 3 12:09:08 wogglebug kernel: (scsi1:0:-1:-1) Scanning channel for devices.
M> Sep 3 12:09:10 wogglebug kernel: (scsi1:0:2:0) Parity error during phase Command.
M> Sep 3 12:09:16 wogglebug kernel: scsi : aborting command due to timeout : pid 140158, scsi1, channel 0, id 2, lun 0 Request Sense 00 00 00 10 00
M> Sep 3 12:09:18 wogglebug kernel: SCSI host 1 abort (pid 140158) timed out - resetting
M> Sep 3 12:09:18 wogglebug kernel: SCSI bus is being reset for host 1 channel 0.

M> If I compile it as a module, the first time the driver is loaded, it
M> messes up the device name and type, for instance:

M> Sep 2 22:15:21 wogglebug kernel: (scsi1:0:2:0) Parity error during phase Command.
M> Sep 2 22:15:21 wogglebug kernel: Vendor: MO @@/4@ Model: xY'@/ Rev:
M> Sep 2 22:15:21 wogglebug kernel: Type: Medium Changer ANSI SCSI revision: 00
M> Sep 2 22:15:21 wogglebug kernel: scsi : aborting command due to timeout : pid 1175, scsi1, channel 0, id 3, lun 0 Test Unit Ready 00 00 00 00 00
M> Sep 2 22:15:21 wogglebug kernel: SCSI host 1 abort (pid 1175) timed out - resetting

M> Subsequent unloads and loads of the driver will get the parity error,
M> but recognize the Adaptec correctly.

M> I downloaded Doug Ledford's beta driver from ftp.dialnet.net, and it
M> correctly recognized the tape with no error each of the times I've
M> loaded the driver. Before linux 2.2 is released, can we please
M> upgrade the driver in the tree?

M> Here is the log output with the newest driver:

M> Sep 3 12:15:37 wogglebug kernel: aic7xxx: Warning - detected auto-termination on controller:
M> Sep 3 12:15:37 wogglebug kernel: aic7xxx: <Adaptec AHA-294X Ultra SCSI host adapter> at PCI 9/0
M> Sep 3 12:15:37 wogglebug kernel: aic7xxx: Please verify driver detected settings are correct.
M> Sep 3 12:15:37 wogglebug kernel: aic7xxx: If not, then please properly set the device termination
M> Sep 3 12:15:37 wogglebug kernel: aic7xxx: in the Adaptec SCSI BIOS by hitting CTRL-A when prompted
M> Sep 3 12:15:37 wogglebug kernel: aic7xxx: during machine bootup.
M> Sep 3 12:15:37 wogglebug kernel: aic7xxx: Cables present (Int-50 YES, Int-68 NO, Ext-68 NO)
M> Sep 3 12:15:37 wogglebug kernel: (scsi1) <Adaptec AHA-294X Ultra SCSI host adapter> found at PCI 9/0
M> Sep 3 12:15:37 wogglebug kernel: (scsi1) Wide Channel, SCSI ID=7, 16/255 SCBs
M> Sep 3 12:15:37 wogglebug kernel: (scsi1) Downloading sequencer code... 419 instructions downloaded
M> Sep 3 12:15:37 wogglebug kernel: scsi1 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.0pre8/3.2.4
M> Sep 3 12:15:37 wogglebug kernel: <Adaptec AHA-294X Ultra SCSI host adapter>
M> Sep 3 12:15:37 wogglebug kernel: scsi : 2 hosts.
M> Sep 3 12:15:37 wogglebug kernel: Vendor: ARCHIVE Model: Python 25588-XXX Rev: 2.96
M> Sep 3 12:15:37 wogglebug kernel: Type: Sequential-Access ANSI SCSI revision: 02
M> Sep 3 12:15:37 wogglebug kernel: Detected scsi tape st0 at scsi1, channel 0, id 2, lun 0
M> Sep 3 12:15:38 wogglebug kernel: Vendor: TOSHIBA Model: CD-ROM XM-3501TA Rev: 3054
M> Sep 3 12:15:38 wogglebug kernel: Type: CD-ROM ANSI SCSI revision: 02
M> Sep 3 12:15:38 wogglebug kernel: Detected scsi CD-ROM sr0 at scsi1, channel 0, id 4, lun 0
M> Sep 3 12:15:38 wogglebug kernel: (scsi1:0:4:0) Synchronous at 4.0 Mbyte/sec, offset 15.

M> Note, the newest NCR53C8XX drivers also have problems with the Archive
M> DATs, but I will post another message about them, once I can get the
M> approprate information for the aborts.

M> --
M> Michael Meissner, Cygnus Solutions (Massachusetts office)
M> 4th floor, 955 Massachusetts Avenue, Cambridge, MA 02139, USA
M> meissner@cygnus.com, 617-354-5416 (office), 617-354-7161 (fax)

M> To Unsubscribe: send mail to majordomo@FreeBSD.org
M> with "unsubscribe freebsd-aic7xxx" in the body of the message

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/faq.html