linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* aic7xxx problems?
@ 2002-10-02 12:40 Eriksson Stig
  2002-10-02 14:21 ` Jos Hulzink
  2002-10-02 17:08 ` Justin T. Gibbs
  0 siblings, 2 replies; 11+ messages in thread
From: Eriksson Stig @ 2002-10-02 12:40 UTC (permalink / raw)
  To: 'linux-kernel@vger.kernel.org'

Hi

Maybe You can help me out with this one...
I have hp DLT connected to an adaptec SCSI board.

This is a part of dmesg output:
   scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.6
           <Adaptec (Compaq OEM) 3960D Ultra160 SCSI adapter>
           aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs

   scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.6
           <Adaptec (Compaq OEM) 3960D Ultra160 SCSI adapter>
           aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs

     Vendor: BNCHMARK  Model: DLT1              Rev: 5032
     Type:   Sequential-Access                  ANSI SCSI revision: 02

The "BNCHMARK DLT1" is actually a hp DLT.
When rewinding this tape, using "mt -f /dev/nst0 rewind" with a reasonable
amount of data on the tape (~2 Gigs), i get the following in
/var/log/messages:

Sep  9 14:01:21 lack kernel: scsi1:0:5:0: Attempting to queue an ABORT
message
Sep  9 14:01:21 lack kernel: scsi1: Dumping Card State in Command phase, at
SEQADDR 0x168
Sep  9 14:01:21 lack kernel: ACCUM = 0x80, SINDEX = 0xa0, DINDEX = 0xe4,
ARG_2 = 0x0
Sep  9 14:01:21 lack kernel: HCNT = 0x0 SCBPTR = 0x0
Sep  9 14:01:21 lack kernel: SCSISEQ = 0x12, SBLKCTL = 0x6
Sep  9 14:01:21 lack kernel:  DFCNTRL = 0x4, DFSTATUS = 0x89
Sep  9 14:01:21 lack kernel: LASTPHASE = 0x80, SCSISIGI = 0x84, SXFRCTL0 =
0x88
Sep  9 14:01:21 lack kernel: SSTAT0 = 0x7, SSTAT1 = 0x0
Sep  9 14:01:21 lack kernel: SCSIPHASE = 0x0
Sep  9 14:01:21 lack kernel: STACK == 0x175, 0x160, 0xe7, 0x34
Sep  9 14:01:21 lack kernel: SCB count = 4
Sep  9 14:01:21 lack kernel: Kernel NEXTQSCB = 3
Sep  9 14:01:21 lack kernel: Card NEXTQSCB = 3
Sep  9 14:01:21 lack kernel: QINFIFO entries:
Sep  9 14:01:21 lack kernel: Waiting Queue entries:
Sep  9 14:01:21 lack kernel: Disconnected Queue entries:
Sep  9 14:01:21 lack kernel: QOUTFIFO entries:
Sep  9 14:01:21 lack kernel: 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
Sep  9 14:01:22 lack kernel: Sequencer SCB Info: 0(c 0x40, s 0x57, l 0, t
0x2) 1(c 0x0, s 0x7f, l 223, t 0xff) 2(c 0x0, s 0xff, l 255, t 0xff) 3(c
0x0, s 0x7f, l 239, t 0xff) 4(c 0x0, s 0x0, l 0, t 0xff) 5(c 0x0, s 0x77, l
255, t 0xff) 6(c 0x0, s 0xfd, l 253, t 0xff) 7(c 0x0, s 0xff, l 255, t 0xff)
8(c 0x0, s 0x5f, l 190, t 0xff) 9(c 0x0, s 0xff, l 111, t 0xff) 10(c 0x0, s
0xb6, l 59, t 0xff) 11(c 0x0, s 0xdf, l 223, t 0xff) 12(c 0x0, s 0xff, l
254, t 0xff) 13(c 0x0, s 0xff, l 222, t 0xff) 14(c 0x0, s 0xfd, l 109, t
0xff) 15(c 0x0, s 0xe7, l 239, t 0xff) 16(c 0x0, s 0xd6, l 253, t 0xff) 17(c
0x0, s 0xfe, l 238, t 0xff) 18(c 0x0, s 0xe7, l 253, t 0xff) 19(c 0x0, s
0xff, l 127, t 0xff) 20(c 0x0, s 0x75, l 227, t 0xff) 21(c 0x0, s 0x5f, l
239, t 0xff) 22(c 0x0, s 0xff, l 255, t 0xff) 23(c 0x0, s 0x3f, l 255, t
0xff) 24(c 0x0, s 0xf6, l 127, t 0xff) 25(c 0x0, s 0xff, l 255, t 0xff) 26(c
0x0, s 0x3f, l 247, t 0xff) 27(c 0x0, s 0xf3, l 255, t 0xff) 28(c 0x0, s
0xef, l 255, t 0xff) 29(c 0x0, s 0xff, l 254, t 0xff) 3
Sep  9 14:01:22 lack kernel: (c 0x0, s 0xf6, l 221, t 0xff) 31(c 0x0, s
0xff, l 255, t 0xff)
Sep  9 14:01:22 lack kernel: Pending list: 2(c 0x40, s 0x57, l 0)
Sep  9 14:01:22 lack kernel: Kernel Free SCB list: 1 0
Sep  9 14:01:22 lack kernel: Untagged Q(5): 2
Sep  9 14:01:22 lack kernel: DevQ(0:5:0): 0 waiting
Sep  9 14:01:22 lack kernel: scsi1:0:5:0: Device is active, asserting ATN
Sep  9 14:01:22 lack kernel: Recovery code sleeping
Sep  9 14:01:22 lack kernel: (scsi1:A:5:0): Abort Message Sent
Sep  9 14:01:22 lack kernel: (scsi1:A:5:0): SCB 2 - Abort Completed.
Sep  9 14:01:22 lack kernel: Recovery SCB completes
Sep  9 14:01:22 lack kernel: Recovery code awake
Sep  9 14:01:22 lack kernel: aic7xxx_abort returns 0x2002

This does not happen with small amount of data on the tape, only when
rewind takes a *long* time

Best Regards
--
Stig Eriksson                    email: se@cactus.se
Cactus Automation AB             phone: +46 31 86 97 10
Krokslätts Fabriker 30           fax:   +46 31 86 97 24
431 37  Mölndal                  http:  www.cactus.se
 

^ permalink raw reply	[flat|nested] 11+ messages in thread
* RE: aic7xxx problems?
@ 2002-10-03  7:42 Eriksson Stig
  2002-10-03 18:24 ` Justin T. Gibbs
  0 siblings, 1 reply; 11+ messages in thread
From: Eriksson Stig @ 2002-10-03  7:42 UTC (permalink / raw)
  To: 'Justin T. Gibbs', 'linux-kernel@vger.kernel.org'


 
> >> Hi
> >> 
> >> Maybe You can help me out with this one...
> >> I have hp DLT connected to an adaptec SCSI board.
> > 
> > From the perspective of the controller, the target has taken the
> > full command but has yet to REQ for either a cdb transfer retry
> > or a new phase.  This looks like a target problem or a cabling
> > problem that prevents the initiator from seeing a REQ or two.
> 
> Actually, in reviewing your message more fully, the problem is that
> the timeout for the rewind operation is too short for your 
> configuration.
> The timeout should go away if you bump up the timeout in the st driver
> so that your tape drive can rewind in peace.

The rewind is not *that* long, about 60 seconds...

--
Stig Eriksson

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2002-10-04 20:16 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-02 12:40 aic7xxx problems? Eriksson Stig
2002-10-02 14:21 ` Jos Hulzink
2002-10-02 17:08 ` Justin T. Gibbs
2002-10-02 17:10   ` Justin T. Gibbs
2002-10-02 22:50     ` Jos Hulzink
2002-10-02 23:33       ` Justin T. Gibbs
2002-10-03  7:31         ` Jos Hulzink
2002-10-03  7:42 Eriksson Stig
2002-10-03 18:24 ` Justin T. Gibbs
2002-10-04 18:41   ` Doug Ledford
2002-10-04 20:28     ` jbradford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).