Date: Mon, 10 Dec 2001 20:44:36 +0000 (GMT) From: Henry Whincup <henry@techiebod.com> To: questions@freebsd.org Subject: SCSI tape drive problems Message-ID: <20011210203141.S1038-200000@gw1.techiebod.com>
index | next in thread | raw e-mail
[-- Attachment #1 --]
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
[-- Attachment #2 --]
Copyright (c) 1992-2001 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
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
Timecounter "i8254" frequency 1193182 Hz
CPU: AMD Athlon(tm) Processor (950.04-MHz 686-class CPU)
Origin = "AuthenticAMD" Id = 0x642 Stepping = 2
Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
AMD Features=0xc0440000<<b18>,AMIE,DSP,3DNow!>
real memory = 335478784 (327616K bytes)
avail memory = 323035136 (315464K bytes)
Preloaded elf kernel "kernel" at 0xc030b000.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 9 entries at 0xc00fddd0
npx0: <math processor> on motherboard
npx0: INT 16 interface
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
fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xd000-0xd03f mem 0xd1400000-0xd14fffff,0xd1602000-0xd1602fff irq 12 at device 15.0 on pci0
fxp0: Ethernet address 00:90:27:94:84:34
inphy0: <i82555 10/100 media interface> on miibus0
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp1: <Intel Pro 10/100B/100+ Ethernet> port 0xd400-0xd43f mem 0xd1500000-0xd15fffff,0xd1601000-0xd1601fff irq 10 at device 17.0 on pci0
fxp1: Ethernet address 00:90:27:9f:d3:ef
inphy1: <i82555 10/100 media interface> on miibus1
inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
atapci1: <HighPoint HPT370 ATA100 controller> port 0xe800-0xe8ff,0xe400-0xe403,0xe000-0xe007,0xdc00-0xdc03,0xd800-0xd807 irq 11 at device 19.0 on pci0
ata2: at 0xd800 on atapci1
ata3: at 0xe000 on atapci1
pcib1: <Host to PCI bridge> on motherboard
pci2: <PCI bus> on pcib1
orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xc87ff,0xc9000-0xc9fff,0xca000-0xcafff,0xcb000-0xce7ff on isa0
fdc0: direction bit not set
fdc0: cmd 3 failed at out byte 1 of 3
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
IPFW: MOD_LOAD
IP packet filtering initialized, divert enabled, rule-based forwarding enabled, default to accept, logging limited to 100 packets/entry by default
DUMMYNET initialized (011031)
IPsec: Initialized Security Association Processing.
ad0: 19574MB <IBM-DPTA-372050> [39770/16/63] at ata0-master tagged UDMA66
ar0: 87958MB <ATA RAID0 array> [11213/255/63] subdisks:
ad4: 43979MB <IBM-DTLA-307045> [89355/16/63] at ata2-master tagged UDMA100
ad6: 43979MB <IBM-DTLA-307045> [89355/16/63] at ata3-master tagged UDMA100
Waiting 2 seconds for SCSI devices to settle
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
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011210203141.S1038-200000>
