SCSI Tape problems

Richard B. Johnson (root@chaos.analogic.com)
Mon, 27 Jul 1998 11:00:45 -0400 (EDT)


Per Leonard's instructions, I downloaded the latest firmware for the
controller.

I upgraded the controller firmware on all my machines. It works fine.
However, the SCSI Tape problems still persist.

***** BusLogic SCSI Driver Version 2.1.13 of 17 April 1998 *****
Copyright 1995-1998 by Leonard N. Zubkoff <lnz@dandelion.com>
Configuring BusLogic Model BT-958 PCI Wide Ultra SCSI Host Adapter
Firmware Version: 5.07B, I/O Address: 0xFC8C, IRQ Channel: 9/Level
PCI Bus: 0, Device: 18, Address: 0xFBFFF000, Host Adapter SCSI ID: 7
Parity Checking: Enabled, Extended Translation: Enabled
Synchronous Negotiation: Fast, Wide Negotiation: Enabled
Disconnect/Reconnect: Enabled, Tagged Queuing: Enabled
Scatter/Gather Limit: 128 of 8192 segments, Mailboxes: 211
Driver Queue Depth: 211, Host Adapter Queue Depth: 192
Tagged Queue Depth: Automatic, Untagged Queue Depth: 3
Error Recovery Strategy: Default, SCSI Bus Reset: Enabled
SCSI Bus Termination: High Enabled, SCAM: Disabled
*** BusLogic BT-958 Initialized Successfully ***

Target 0: Queue Depth 28, Wide Synchronous at 20.0 MB/sec, offset 15
Target 1: Queue Depth 28, Wide Synchronous at 20.0 MB/sec, offset 15
Target 2: Queue Depth 28, Wide Synchronous at 20.0 MB/sec, offset 15
Target 3: Queue Depth 3, Synchronous at 5.00 MB/sec, offset 11
Target 4: Queue Depth 3, Synchronous at 4.00 MB/sec, offset 15

Current Driver Queue Depth: 211
Currently Allocated CCBs: 98

DATA TRANSFER STATISTICS

Target Tagged Queuing Queue Depth Active Attempted Completed
====== ============== =========== ====== ========= =========
0 Active 28 0 72 72
1 Permitted 28 0 5 5
2 Active 28 0 4115 4115
3 Not Supported 3 0 2 2
4 Not Supported 3 0 3 3

Target Read Commands Write Commands Total Bytes Read Total Bytes Written
====== ============= ============== =================== ===================
0 68 0 36864 0
1 1 0 1024 0
2 2757 1354 10299392 1658880
3 0 0 0 0
4 0 0 0 0

Target Command 0-1KB 1-2KB 2-4KB 4-8KB 8-16KB
====== ======= ========= ========= ========= ========= =========
0 Read 64 4 0 0 0
0 Write 0 0 0 0 0
1 Read 0 1 0 0 0
1 Write 0 0 0 0 0
2 Read 0 1515 71 503 653
2 Write 0 1185 152 11 5
3 Read 0 0 0 0 0
3 Write 0 0 0 0 0
4 Read 0 0 0 0 0
4 Write 0 0 0 0 0

Target Command 16-32KB 32-64KB 64-128KB 128-256KB 256KB+
====== ======= ========= ========= ========= ========= =========
0 Read 0 0 0 0 0
0 Write 0 0 0 0 0
1 Read 0 0 0 0 0
1 Write 0 0 0 0 0
2 Read 7 6 2 0 0
2 Write 1 0 0 0 0
3 Read 0 0 0 0 0
3 Write 0 0 0 0 0
4 Read 0 0 0 0 0
4 Write 0 0 0 0 0

ERROR RECOVERY STATISTICS

Command Aborts Bus Device Resets Host Adapter Resets
Target Requested Completed Requested Completed Requested Completed
ID \\\\ Attempted //// \\\\ Attempted //// \\\\ Attempted ////
====== ===== ===== ===== ===== ===== ===== ===== ===== =====
0 0 0 0 0 0 0 0 0 0
1 0 0 0 0 0 0 0 0 0
2 0 0 0 0 0 0 0 0 0
3 0 0 0 0 0 0 0 0 0
4 0 0 0 0 0 0 0 0 0

External Host Adapter Resets: 0
Host Adapter Internal Errors: 0

New information:

If I do `cp /dev/zero /dev/st0`, the tape will work for at least
30 minutes, probably more. The problems occur when I have other
devices active on the SCSI bus such as when I attempt to back
up a file-system, i.e., `tar -clf /dev/st0 .`

I have verified that if I do `cp /dev/zero /dev/st0` everything is
fine _as_long_as_no_other_SCSI_device_uses_the_SCSI_bus_. If, when
the `cp` is executing, I create another task that does `ls -R /`, the
SCSI bus will crash. I can `tar` or `cp` disk-to-disk with no problems.
The problem occurs only when the tape is using the SCSI bus.

Cheers,
Dick Johnson
***** FILE SYSTEM MODIFIED *****
Penguin : Linux version 2.1.108 on an i586 machine (66.15 BogoMips).
Warning : It's hard to remain at the trailing edge of technology.

-
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.altern.org/andrebalsa/doc/lkml-faq.html