Date: Thu, 13 Nov 1997 10:20:08 -0500 (EST) From: Leo Bicknell <bicknell@ufp.org> To: freebsd-hackers@freebsd.org Cc: jaitken@dimension.net Subject: AHC / SCSI Problem? Message-ID: <199711131520.KAA09225@ussenterprise.ufp.org>
next in thread | raw e-mail | index | archive | help
We've been having some problems here with FreeBSD, Adaptec 2940's, and various disk drives. I think we're hitting some sort of driver bug but would like feedback. Basically we get these errors from time to time, usualy during a backup operation. Other than a few complaints from dump they don't seem to have any operation impact. I do find it interesting that it happens on the Micropolis 4221 disks. Perhaps there is something "special" about them. I have a theory myself that turning on TAGENABLE and SCBPAGING_ENABLE might actually help this situation, but I'm not going to try it unless an expert thinks this is a good idea as well. These are both production machines, so experimenting is a problem, but if we have some good leads we can do some work to track this down. Please include a direct e-mail to me with any responces, for better or for worse freebsd-hackers is low on the mail priority list. Thanks. On system number 1 we have: ahc0 <Adaptec 2940 Ultra SCSI host adapter> rev 0 int a irq 9 on pci0:18 ahc0: aic7880 Single Channel, SCSI Id=7, 16 SCBs ahc0 waiting for scsi devices to settle (ahc0:0:0): "MICROP 4221-09 1128RV 28RV" type 0 fixed SCSI 2 sd0(ahc0:0:0): Direct-Access 1955MB (4004219 512 byte sectors) (ahc0:1:0): "MICROP 4221-09 1128RV 28RV" type 0 fixed SCSI 2 sd1(ahc0:1:0): Direct-Access 1955MB (4004219 512 byte sectors) (ahc0:2:0): "SEAGATE ST15150N 0022" type 0 fixed SCSI 2 sd2(ahc0:2:0): Direct-Access 4095MB (8388315 512 byte sectors) Kernel Config: options AHC_ALLOW_MEMIO #options AHC_TAGENABLE #options AHC_SCBPAGING_ENABLE controller ahc0 controller scbus0 at ahc0 device sd0 at scbus0 target 0 device sd1 at scbus0 target 1 device sd2 at scbus0 target 2 device sd3 at scbus0 target 3 device sd4 at scbus0 target 4 device st0 device cd0 And have received the error: sd0(ahc0:0:0): SCB 0x0 - timed out while idle, LASTPHASE == 0x1, SCSISIGI == 0x0 SEQADDR = 0x8 SCSISEQ = 0x12 SSTAT0 = 0x5 SSTAT1 = 0xa sd0(ahc0:0:0): Queueing an Abort SCB sd0(ahc0:0:0): Abort Message Sent sd0(ahc0:0:0): SCB 0 - Abort Completed. sd0(ahc0:0:0): no longer in timeout On system number 2 we have: ahc0 <Adaptec 2940A Ultra SCSI host adapter> rev 1 int a irq 9 on pci0:18 ahc0: aic7860 Single Channel, SCSI Id=7, 3 SCBs ahc0 waiting for scsi devices to settle (ahc0:0:0): "MICROP 4221-09 1128RQAV RQAV" type 0 fixed SCSI 2 sd0(ahc0:0:0): Direct-Access 1955MB (4004219 512 byte sectors) (ahc0:1:0): "MICROP 4221-09 1128RQAV RQAV" type 0 fixed SCSI 2 sd1(ahc0:1:0): Direct-Access 1955MB (4004219 512 byte sectors) Kernel Config: options AHC_ALLOW_MEMIO #options AHC_TAGENABLE #options AHC_SCBPAGING_ENABLE controller ahc0 controller scbus0 at ahc0 device sd0 at scbus0 target 0 device sd1 at scbus0 target 1 device sd2 at scbus0 target 2 device sd3 at scbus0 target 3 device sd4 at scbus0 target 4 device st0 device cd0 And have received the error: Unexpected busfree. LASTPHASE == 0x40 SEQADDR == 0x129 sd1(ahc0:1:0): SCB 0x2 - timed out while idle, LASTPHASE == 0x1, SCSISIGI == 0x0 SEQADDR = 0x5 SCSISEQ = 0x12 SSTAT0 = 0x5 SSTAT1 = 0xa sd1(ahc0:1:0): Queueing an Abort SCB sd1(ahc0:1:0): Abort Message Sent sd1(ahc0:1:0): SCB 2 - Abort Completed. sd1(ahc0:1:0): no longer in timeout sd1(ahc0:1:0): SCB 0x2 - timed out while idle, LASTPHASE == 0x1, SCSISIGI == 0x0 SEQADDR = 0x8 SCSISEQ = 0x12 SSTAT0 = 0x5 SSTAT1 = 0xa sd1(ahc0:1:0): Queueing an Abort SCB sd1(ahc0:1:0): no longer in timeout sd1(ahc0:1:0): SCB 0x2 - timed out while idle, LASTPHASE == 0x1, SCSISIGI == 0x0 SEQADDR = 0x5 SCSISEQ = 0x12 SSTAT0 = 0x5 SSTAT1 = 0xa sd1(ahc0:1:0): Queueing an Abort SCB sd1(ahc0:1:0): Abort Message Sent sd1(ahc0:1:0): SCB 2 - Abort Completed. sd1(ahc0:1:0): no longer in timeout Unexpected busfree. LASTPHASE == 0x40 SEQADDR == 0x129 -- Leo Bicknell - bicknell@ufp.org System Administration - Network Design TMBG List - tmbg-list-request@tmbg.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199711131520.KAA09225>