Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Nov 1998 13:33:20 -0600
From:      Rob Arnold <rarnold@waddell.com>
To:        questions@FreeBSD.ORG
Subject:   Adaptec 2940: bad adapter, drive or both??
Message-ID:  <4.1.19981102130354.009ebc50@mailhost.waddell.com>

next in thread | raw e-mail | index | archive | help
Hi all,

I would appreciate any thoughts on the following:

PII/233, 128MB RAM clone running FreeBSD 2.2.6
Adaptec 2940UW, SCSI ID 7
sd0, sd1, sd2 are IBM DCAS-34330W S65A wide drives (SCSI ID 0,3,and 5 respectively)
sd1 and sd2 make up a ccd mirror set mounted at /usr/home
other devices: Seagate tape drive at SCSI ID 2 and Toshiba CD-ROM at SCSI ID 6

dmesg shows all kinds of SCSI-related errors (excerpts included) and I would entertain any opinions on whether I should suspect the host adapter, the drives, or both. Incidentally, I have another identical box where everything's the same except the mount point for the ccd pair, and it works fine.

My vendor will happily replace whatever hardware I send back, but I'd like to know I'm addressing the right issue. Thanks in advance for the help.

==== begin SCSI unpleasantness ====
sd2(ahc0:5:0): SCB 0x1 - timed out in message out phase, SCSISIGI == 0xb4
SEQADDR = 0x99 SCSISEQ = 0x12 SSTAT0 = 0x5 SSTAT1 = 0x2
sd2(ahc0:5:0): no longer in timeout
ahc0: Issued Channel A Bus Reset. 3 SCBs aborted
sd0(ahc0:0:0): UNIT ATTENTION asc:29,0
sd0(ahc0:0:0):  Power on, reset, or bus device reset occurred
, retries:1
sd2(ahc0:5:0): UNIT ATTENTION asc:29,0
sd2(ahc0:5:0):  Power on, reset, or bus device reset occurred
, FAILURE
sd2(ahc0:5:0): parity error during Command phase.
sd0(ahc0:0:0): SCB 0x2 - timed out in command phase, SCSISIGI == 0x56
SEQADDR = 0x41 SCSISEQ = 0x12 SSTAT0 = 0x7 SSTAT1 = 0x17
sd2(ahc0:5:0): abort message in message buffer
sd2(ahc0:5:0): SCB 0x5 - timed out in command phase, SCSISIGI == 0x56
SEQADDR = 0x42 SCSISEQ = 0x12 SSTAT0 = 0x7 SSTAT1 = 0x17
sd2(ahc0:5:0): no longer in timeout
ahc0: Issued Channel A Bus Reset. 3 SCBs aborted
sd0(ahc0:0:0): UNIT ATTENTION asc:29,0
sd0(ahc0:0:0):  Power on, reset, or bus device reset occurred
, retries:3
sd2(ahc0:5:0): UNIT ATTENTION asc:29,0
sd2(ahc0:5:0):  Power on, reset, or bus device reset occurred
, retries:1
==== end ====

==== more possibly helpful info ====
ftp2# scsi -v -f /dev/rsd2 -m 1
AWRE (Auto Write Reallocation Enbld):  1 
ARRE (Auto Read Reallocation Enbld):  1 
TB (Transfer Block):  0 
RC (Read Continuous):  0 
EER (Enable Early Recovery):  0 
PER (Post Error):  0 
DTE (Disable Transfer on Error):  0 
DCR (Disable Correction):  0 
Read Retry Count:  1 
Correction Span:  0 
Head Offset Count:  0 
Data Strobe Offset Count:  0 
Write Retry Count:  1 
Recovery Time Limit:  0 
==== end ====

Sometimes this command executes instantly, other times it takes up to ten seconds to return, and when it does I get lots of the above unpleasant log entries.

Here's dmesg after a boot (it will boot cleanly):
==== begin dmesg ====
Copyright (c) 1992-1998 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.

FreeBSD 2.2.6-RELEASE #0: Fri Sep  4 23:40:43 CDT 1998
    root@ftp2.waddell.com:/usr/src/sys/compile/FTP
CPU: Pentium Pro (233.86-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x634  Stepping=4
  Features=0x80f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,MMX
>
real memory  = 134217728 (131072K bytes)
avail memory = 129572864 (126536K bytes)
Probing for devices on PCI bus 0:
chip0 <generic PCI bridge (vendor=8086 device=7190 subclass=0)> rev 2 on pci0:0:
0
chip1 <generic PCI bridge (vendor=8086 device=7191 subclass=4)> rev 2 on pci0:1:
0
chip2 <Intel 82371AB PCI-ISA bridge> rev 2 on pci0:4:0
chip3 <Intel 82371AB IDE interface> rev 1 on pci0:4:1
chip4 <Intel 82371AB USB interface> rev 1 int d irq ?? on pci0:4:2
chip5 <Intel 82371AB Power management controller> rev 2 on pci0:4:3
ahc0 <Adaptec 2940 Ultra SCSI host adapter> rev 1 int a irq 15 on pci0:9:0
ahc0: aic7880 Wide Channel, SCSI Id=7, 16 SCBs
ahc0 waiting for scsi devices to settle
(ahc0:0:0): "IBM DCAS-34330W S65A" type 0 fixed SCSI 2
sd0(ahc0:0:0): Direct-Access 4134MB (8467200 512 byte sectors)
(ahc0:3:0): "IBM DCAS-34330W S65A" type 0 fixed SCSI 2
sd1(ahc0:3:0): Direct-Access 4134MB (8467200 512 byte sectors)
(ahc0:4:0): "Seagate STT8000N 3.22" type 1 removable SCSI 2
st0(ahc0:4:0): Sequential-Access density code 0x45, 512-byte blocks, write-enabl
ed
(ahc0:5:0): "IBM DCAS-34330W S65A" type 0 fixed SCSI 2
sd2(ahc0:5:0): Direct-Access 4134MB (8467200 512 byte sectors)
ahc0:A:6: refuses WIDE negotiation.  Using 8bit transfers
(ahc0:6:0): "TOSHIBA CD-ROM XM-6201TA 1037" type 5 removable SCSI 2
cd0(ahc0:6:0): CD-ROM can't get the size
vga0 <VGA-compatible display device> rev 1 int a irq 10 on pci0:11:0
de0 <Digital 21140 Fast Ethernet> rev 18 int a irq 11 on pci0:12:0
de0: SMC 9332DST 21140 [10-100Mb/s] pass 1.2
de0: address 00:00:c0:8b:51:dc
de0: enabling 10baseT port
Probing for devices on PCI bus 1:
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
psm0: failed to get data.
psm0 at 0x60-0x64 irq 12 on motherboard
psm0: model Generic PS/2 mouse, device ID 0
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
npx0 flags 0x1 on motherboard
npx0: INT 16 interface
ccd0-3: Concatenated disk drivers
==== end ====


   Rob Arnold
   Waddell & Reed Inc.
   NIC handle: RA288


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



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