Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Dec 2001 12:24:31 +0000 (GMT)
From:      Henry Whincup <henry@techiebod.com>
To:        scsi@freebsd.org
Subject:   SCSI tape drive problems
Message-ID:  <20011220122232.H11193-200000@gw1.techiebod.com>

next in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime@docserver.cac.washington.edu for more info.

--0-533124740-1008017076=:1038
Content-Type: TEXT/PLAIN; charset=US-ASCII
Content-ID: <20011220122232.W11193@gw1.techiebod.com>

Forwarded to scsi due to no answer on questions.

As an extra data point I have now tried the same drive and controller in
another machine with no irq sharing.

---------- Forwarded message ----------
Date: Mon, 10 Dec 2001 20:44:36 +0000 (GMT)
From: Henry Whincup <henry@techiebod.com>
To: "questions@freebsd.org" <questions@freebsd.org>
Subject: SCSI tape drive problems

I have recently purchased a new tape drive autoloader (Sony DDS autoloader
TSL-S9000L) and had hoped to use it under FreeBSD.  I have it attached to
an Adaptec 2940U2W via an external connection.  The drive is terminated
and the controller is set to auto-terminate.  There are no other devices
on this controller.

Relavent boot dmesg (full boot dmesg attached):
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib2: <VIA 8363 (Apollo KT133) PCI-PCI (AGP) bridge> at device 1.0 on
pci0
pci1: <PCI bus> on pcib2
isab0: <VIA 82C686 PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C686 ATA100 controller> port 0xc000-0xc00f at device 7.1
on pci0
ata0: at 0x1f0 irq 14 on atapci0
pci0: <VIA 83C572 USB controller> at 7.2 irq 5
pci0: <VIA 83C572 USB controller> at 7.3 irq 5
ahc0: <Adaptec 2940 Ultra2 SCSI adapter> port 0xcc00-0xccff mem
0xd1600000-0xd1600fff irq 11 at device 9.0 on pci0
aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/255 SCBs

...

sa0 at ahc0 bus 0 target 3 lun 0
sa0: <SONY TSL-9000 L201> Removable Sequential Access SCSI-2 device
sa0: 10.000MB/s transfers (10.000MHz, offset 15)
Mounting root from ufs:/dev/ad0s1a
ch0 at ahc0 bus 0 target 3 lun 1
ch0: <SONY TSL-9000 L201> Removable Changer SCSI-2 device
ch0: 10.000MB/s transfers (10.000MHz, offset 15)
ch0: 8 slots, 1 drive, 1 picker, 0 portals

It might be worth noting that it shares an irq with the ata controller
(although I thought I didn't need to worry about these things any more)
see:
atapci1: <HighPoint HPT370 ATA100 controller> port
0xe800-0xe8ff,0xe400-0xe403,0xe000-0xe007,0xdc00-0xdc03,0xd800-0xd807 irq
 11 at device 19.0 on pci0

mt status responds with :
Mode      Density              Blocksize      bpi      Compression
Current:  0x13:X3B5/88-185A    512 bytes      61000    DCLZ
---------available modes---------
0:        0x13:X3B5/88-185A    512 bytes      61000    DCLZ
1:        0x13:X3B5/88-185A    512 bytes      61000    DCLZ
2:        0x13:X3B5/88-185A    512 bytes      61000    DCLZ
3:        0x13:X3B5/88-185A    512 bytes      61000    DCLZ
---------------------------------
Current Driver State: at rest.
---------------------------------
File Number: 0  Record Number: 0        Residual Count 0

and mt rew et al all appear to work.  However if I try to write a dump to
it I get the following error:
(sa0:ahc0:0:3:0): SCB 0x9 - timed out
ahc0: Dumping Card State in Data-out phase, at SEQADDR 0xa9
ACCUM = 0x0, SINDEX = 0x1a, DINDEX = 0x24, ARG_2 = 0xff
HCNT = 0x0
SCSISEQ = 0x12, SBLKCTL = 0x6
 DFCNTRL = 0x4, DFSTATUS = 0x89
LASTPHASE = 0x0, SCSISIGI = 0x14, SXFRCTL0 = 0x88
SSTAT0 = 0x5, SSTAT1 = 0x2
STACK == 0x8a, 0x64, 0x165, 0x0
SCB count = 20
Kernel NEXTQSCB = 16
Card NEXTQSCB = 16
QINFIFO entries:
Waiting Queue entries:
Disconnected Queue entries:
QOUTFIFO entries:
Sequencer Free SCB List: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
20 21 22 23 24 25 26 27 28 29 30 31
Pending list: 9
Kernel Free SCB list: 8 7 5 4 3 2 1 0 19 18 17 15 14 6 13 12 11 10
Untagged Q(3): 9
sg[0] - Addr 0xa462000 : Length 4096
sg[1] - Addr 0x8663000 : Length 4096
sg[2] - Addr 0x9ce4000 : Length 2048
(sa0:ahc0:0:3:0): no longer in timeout, status = 34b
ahc0: Issued Channel A Bus Reset. 1 SCBs aborted

and dump tells me write error 20 blocks into volume.

uname -a yields:
FreeBSD gw1.techiebod.com 4.4-STABLE FreeBSD 4.4-STABLE #5: Mon Dec 10
18:59:59 GMT 2001     root@gw1.techiebod.com:/usr/tmp
/obj/fs/Source/FBSD-stable/sys/GW1  i386

Can I give any more information that will be helpful?
Can anyone suggest anything for me to try as I am now a bit lost here.

TIA

Henry

--0-533124740-1008017076=:1038
Content-Type: TEXT/PLAIN; charset=us-ascii; name="dmesg.boot"
Content-Transfer-Encoding: BASE64
Content-ID: <20011210204436.F1038@gw1.techiebod.com>
Content-Description: dmesg.boot
Content-Disposition: attachment; filename="dmesg.boot"

Q29weXJpZ2h0IChjKSAxOTkyLTIwMDEgVGhlIEZyZWVCU0QgUHJvamVjdC4N
CkNvcHlyaWdodCAoYykgMTk3OSwgMTk4MCwgMTk4MywgMTk4NiwgMTk4OCwg
MTk4OSwgMTk5MSwgMTk5MiwgMTk5MywgMTk5NA0KCVRoZSBSZWdlbnRzIG9m
IHRoZSBVbml2ZXJzaXR5IG9mIENhbGlmb3JuaWEuIEFsbCByaWdodHMgcmVz
ZXJ2ZWQuDQpGcmVlQlNEIDQuNC1TVEFCTEUgIzU6IE1vbiBEZWMgMTAgMTg6
NTk6NTkgR01UIDIwMDENCiAgICByb290QGd3MS50ZWNoaWVib2QuY29tOi91
c3IvdG1wL29iai9mcy9Tb3VyY2UvRkJTRC1zdGFibGUvc3lzL0dXMQ0KVGlt
ZWNvdW50ZXIgImk4MjU0IiAgZnJlcXVlbmN5IDExOTMxODIgSHoNCkNQVTog
QU1EI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IwNTA+IFszOTc3MC8xNi82M10gYXQgYXRhMC1tYXN0ZXIgdGFnZ2Vk
IFVETUE2Ng0KYXIwOiA4Nzk1OE1CIDxBVEEgUkFJRDAgYXJyYXk+IFsxMTIx
My8yNTUvNjNdIHN1YmRpc2tzOg0KICBhZDQ6IDQzOTc5TUIgPElCTS1EVExB
LTMwNzA0NT4gWzg5MzU1LzE2LzYzXSBhdCBhdGEyLW1hc3RlciB0YWdnZWQg
VURNQTEwMA0KICBhZDY6IDQzOTc5TUIgPElCTS1EVExBLTMwNzA0NT4gWzg5
MzU1LzE2LzYzXSBhdCBhdGEzLW1hc3RlciB0YWdnZWQgVURNQTEwMA0KV2Fp
dGluZyAyIHNlY29uZHMgZm9yIFNDU0kgZGV2aWNlcyB0byBzZXR0bGUNCnNh
MCBhdCBhaGMwIGJ1cyAwIHRhcmdldCAzIGx1biAwDQpzYTA6IDxTT05ZIFRT
TC05MDAwIEwyMDE+IFJlbW92YWJsZSBTZXF1ZW50aWFsIEFjY2VzcyBTQ1NJ
LTIgZGV2aWNlIA0Kc2EwOiAxMC4wMDBNQi9zIHRyYW5zZmVycyAoMTAuMDAw
TUh6LCBvZmZzZXQgMTUpDQpNb3VudGluZyByb290IGZyb20gdWZzOi9kZXYv
YWQwczFhDQpjaDAgYXQgYWhjMCBidXMgMCB0YXJnZXQgMyBsdW4gMQ0KY2gw
OiA8U09OWSBUU0wtOTAwMCBMMjAxPiBSZW1vdmFibGUgQ2hhbmdlciBTQ1NJ
LTIgZGV2aWNlIA0KY2gwOiAxMC4wMDBNQi9zIHRyYW5zZmVycyAoMTAuMDAw
TUh6LCBvZmZzZXQgMTUpDQpjaDA6IDggc2xvdHMsIDEgZHJpdmUsIDEgcGlj
a2VyLCAwIHBvcnRhbHMNCg==
--0-533124740-1008017076=:1038--

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011220122232.H11193-200000>