All of lore.kernel.org
 help / color / mirror / Atom feed
* aic7xxx error
@ 2001-10-02 11:44 Roland Kuhn
  2001-10-02 11:45 ` Stephane Dudzinski
  0 siblings, 1 reply; 4+ messages in thread
From: Roland Kuhn @ 2001-10-02 11:44 UTC (permalink / raw)
  To: linux-kernel

Hi folks!

There always have been problems with the SCSI subsystem of my server (dual
PIII 450) since I upgraded to 2.4. Exchanging the disk didn't help. I get
errors from SCSI about once a week, last time the disks were unaccessable
(sysrq-sync/umount printed on the console, but didn't touch the disks).
This time I was lucky enough to capture the error message, but I am not
skilled enough to decode its meaning:

scsi1:A:2: no active SCB for reconnecting target - issuing BUS DEVICE
RESET
SAVED_SCSIID == 0x27, SAVED_LUN == 0x4, ARG_1 == 0x20 ACCUM = 0x0
SEQ_FLAGS == 0x0, SCBPTR == 0x1, BTT == 0xff, SINDEX == 0x31
SCSIID == 0x0, SCB_SCSIID == 0x0, SCB_LUN == 0x0, SCB_TAG == 0xff,
SCB_CONTROL == 0x0
SCSIBUSL == 0x20, SCSISIGI == 0xe6
SXFRCTL0 == 0x88
SEQCTL == 0x10
scsi1: Dumping Card State in Message-in phase, at SEQADDR 0x1a6
SCSISEQ = 0x12, SBLKCTL = 0xa
 DFCNTRL = 0x0, DFSTATUS = 0x89
LASTPHASE = 0xe0, SCSISIGI = 0xe6, SXFRCTL0 = 0x88
SSTAT0 = 0x2, SSTAT1 = 0x3
STACK == 0x17b, 0x165, 0x0, 0x13f
SCB count = 20
Kernel NEXTQSCB = 6
Card NEXTQSCB = 6
QINFIFO entries:
Waiting Queue entries:
Disconnected Queue entries: 9:1 11:15 6:9 4:7 2:19 7:0 13:8 3:14 12:11
15:13
QOUTFIFO entries:
Sequencer Free SCB List: 1 14 10 0 8 5 16 17 18 19 20 21 22 23 24 25 26 27
28 29 30 31
Pending list: 1 15 9 7 19 0 8 14 11 13
Kernel Free SCB list: 2 10 4 3 12 5 18 17 16
DevQ(0:0:0): 0 waiting
DevQ(0:1:0): 0 waiting
DevQ(0:2:0): 0 waiting
scsi1: Bus Device Reset on A:2. 8 SCBs aborted
SCSI disk error : host 1 channel 0 id 2 lun 0 return code = 8000000
Info fld=0x400001f4 (nonstd), Current sd08:61: sense key None
 I/O error: dev 08:61, sector 10181264
SCSI disk error : host 1 channel 0 id 2 lun 0 return code = 8000000
Info fld=0x400001f4 (nonstd), Current sd08:61: sense key None
 I/O error: dev 08:61, sector 10181016
SCSI disk error : host 1 channel 0 id 2 lun 0 return code = 8000000
Info fld=0x400001f4 (nonstd), Current sd08:61: sense key None
 I/O error: dev 08:61, sector 10180768
SCSI disk error : host 1 channel 0 id 2 lun 0 return code = 8000000
Info fld=0x400001f4 (nonstd), Current sd08:61: sense key None
 I/O error: dev 08:61, sector 10180520
SCSI disk error : host 1 channel 0 id 2 lun 0 return code = 8000000
Info fld=0x400001f4 (nonstd), Current sd08:61: sense key None
 I/O error: dev 08:61, sector 10180272
SCSI disk error : host 1 channel 0 id 2 lun 0 return code = 8000000
Info fld=0x400001f4 (nonstd), Current sd08:61: sense key None
 I/O error: dev 08:61, sector 10180024
SCSI disk error : host 1 channel 0 id 2 lun 0 return code = 8000000
Info fld=0x400001f4 (nonstd), Current sd08:61: sense key None
 I/O error: dev 08:61, sector 10179776

The upper layer (scp to a reiserfs partition) apparently didn't see an
error, but this I don't know for sure. Here's the output of
/proc/scsi/aic7xxx/1:

=================================================================
Adaptec AIC7xxx driver version: 6.1.13
aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/255 SCBs
Channel A Target 0 Negotiation Settings
        User: 40.000MB/s transfers (20.000MHz, offset 255, 16bit)
        Goal: 40.000MB/s transfers (20.000MHz, offset 15, 16bit)
        Curr: 40.000MB/s transfers (20.000MHz, offset 15, 16bit)
        Channel A Target 0 Lun 0 Settings
                Commands Queued 1842691
                Commands Active 0
                Command Openings 253
                Max Tagged Openings 253
                Device Queue Frozen Count 0
Channel A Target 1 Negotiation Settings
        User: 40.000MB/s transfers (20.000MHz, offset 255, 16bit)
        Goal: 40.000MB/s transfers (20.000MHz, offset 63, 16bit)
        Curr: 40.000MB/s transfers (20.000MHz, offset 63, 16bit)
        Channel A Target 1 Lun 0 Settings
                Commands Queued 2184
                Commands Active 0
                Command Openings 253
                Max Tagged Openings 253
                Device Queue Frozen Count 0
Channel A Target 2 Negotiation Settings
        User: 40.000MB/s transfers (20.000MHz, offset 255, 16bit)
        Goal: 40.000MB/s transfers (20.000MHz, offset 15, 16bit)
        Curr: 40.000MB/s transfers (20.000MHz, offset 15, 16bit)
        Channel A Target 2 Lun 0 Settings
                Commands Queued 272085
                Commands Active 0
                Command Openings 253
                Max Tagged Openings 253
                Device Queue Frozen Count 0
===============================================================

The other IDs are unused.

Now my question? What actually did happen to cause this error? Is it
hardware-related? _May_ it be caused by faulty RAM? Could this go away by
switching to aic7xxx_old or another version of aic7xxx?

Kernel is 2.4.6 vanilla, compiled with gcc3.0.1.

Thanks for your answers,
					Roland

+-----------------------------------------------------+
|    Tel.:    089/32649332        0561/873744         |
|    in       Radeberger Weg 8    Am Fasanenhof 16    |
|             85748 Garching      34125 Kassel        |
+---------------------------+-------------------------+
|    TU Muenchen            |                         |
|    Physik-Department E18  |  Raum    3558           |
|    James-Franck-Str.      |  Telefon 089/289-12592  |
|    85747 Garching         |                         |
+---------------------------+-------------------------+
|             May the Source be with you!             |
+-----------------------------------------------------+


^ permalink raw reply	[flat|nested] 4+ messages in thread
* aic7xxx error
@ 2004-12-20 20:15 Ermanno Poggi
  0 siblings, 0 replies; 4+ messages in thread
From: Ermanno Poggi @ 2004-12-20 20:15 UTC (permalink / raw)
  To: linux-scsi

 Hello
 From kernel 2.6.0, I've a problem with the aic7xxx driver (2.6.0-testXX was
ok).
 Until 2.6.7 I can solve this issue deleting the original aic7xxx directory
in the kernel source and substitute this with the one downloaded from
http://people.freebsd.org/~gibbs/linux/ !
 From 2.6.7 I can't do this anymore, because I get some error compiling the
kernel!
 Can some one tell me if there is a solution, now I'm stuck with 2.6.7 and
can't upgrade my kernel!
 
 The only thing that I've noticed is the ACPI row before the detection of
the aic7xxx, in the 2.6.X (where X>7) it could be an ACPI problem??
 
 Thanks in advance
 
 Bye bye
 
 ---------kernel 2.6.9 with original aic7xxx driver------------
 
 Zeus ACPI: PCI interrupt 0000:00:0d.0[A] -> GSI 11 (level, low) -> IRQ 11
 Zeus scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36
 Zeus <Adaptec 2940 Ultra SCSI adapter>
 Zeus aic7880: Ultra Single Channel A, SCSI Id=7, 16/253 SCBs
 Zeus
 Zeus (scsi0:A:5): 20.000MB/s transfers (20.000MHz, offset 8)
 Zeus scsi0:0:5:0: Attempting to queue an ABORT message
 Zeus CDB: 0x12 0x0 0x0 0x0 0x24 0x0
 Zeus scsi0: At time of recovery, card was not paused
 Zeus >>>>>>>>>>>>>>>>>> Dump Card State Begins <<<<<<<<<<<<<<<<<
 Zeus scsi0: Dumping Card State in Data-in phase, at SEQADDR 0x7c
 Zeus Card was paused
 Zeus ACCUM = 0x0, SINDEX = 0xb8, DINDEX = 0xa8, ARG_2 = 0x0
 Zeus HCNT = 0x20 SCBPTR = 0x0
 Zeus SCSISIGI[0x44] ERROR[0x0] SCSIBUSL[0x0] LASTPHASE[0x40]
 Zeus SCSISEQ[0x12] SBLKCTL[0x0] SCSIRATE[0x8] SEQCTL[0x10]
 Zeus SEQ_FLAGS[0x20] SSTAT0[0x0] SSTAT1[0x2] SSTAT2[0x0]
 Zeus SSTAT3[0x0] SIMODE0[0x0] SIMODE1[0xac] SXFRCTL0[0x80]
 Zeus DFCNTRL[0x38] DFSTATUS[0x0]
 Zeus STACK: 0x0 0x162 0x192 0x6e
 Zeus SCB count = 4
 Zeus Kernel NEXTQSCB = 2
 Zeus Card NEXTQSCB = 2
 Zeus QINFIFO entries:
 Zeus Waiting Queue entries:
 Zeus Disconnected Queue entries:
 Zeus QOUTFIFO entries:
 Zeus Sequencer Free SCB List: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
 Zeus Sequencer SCB Info:
 Zeus 0 SCB_CONTROL[0x0] SCB_SCSIID[0x57] SCB_LUN[0x0] SCB_TAG[0x3]
 Zeus 1 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
 Zeus 2 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
 Zeus 3 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
 Zeus 4 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
 Zeus 5 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
 Zeus 6 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
 Zeus 7 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
 Zeus 8 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
 Zeus 9 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
 Zeus 10 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
 Zeus 11 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
 Zeus 12 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
 Zeus 13 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
 Zeus 14 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
 Zeus 15 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
 Zeus Pending list:
 Zeus 3 SCB_CONTROL[0x0] SCB_SCSIID[0x57] SCB_LUN[0x0]
 Zeus Kernel Free SCB list: 1 0
 Zeus Untagged Q(5): 3
 Zeus DevQ(0:5:0): 0 waiting
 Zeus
 Zeus <<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>>
 Zeus scsi0:0:5:0: Device is active, asserting ATN
 Zeus (scsi0:A:5:0): Abort Message Sent
 Zeus Recovery code sleeping
 Zeus (scsi0:A:5:0): SCB 3 - Abort Completed.
 Zeus Recovery SCB completes
 Zeus Recovery code awake
 Zeus aic7xxx_abort returns 0x2002
 Zeus (scsi0:A:5): 10.000MB/s transfers (10.000MHz, offset 8)
 Zeus Vendor: PIONEER   Model: DVD-ROM DVD-303F  Rev: 2.00
 Zeus Type:   CD-ROM                             ANSI SCSI revision: 02
 Zeus sr0: scsi3-mmc drive: 0x/0x cd/rw xa/form2 cdda tray
 Zeus Attached scsi CD-ROM sr0 at scsi0, channel 0, id 5, lun 0
 Zeus Attached scsi generic sg0 at scsi0, channel 0, id 5, lun 0,  type 5


  ---------kernel 2.6.7 with Gibbs aic7xxx driver------------
 
 Zeus scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.3.9
 Zeus <Adaptec 2940 Ultra SCSI adapter>
 Zeus aic7880: Ultra Single Channel A, SCSI Id=7, 16/253 SCBs
 Zeus
 Zeus Vendor: PIONEER   Model: DVD-ROM DVD-303F  Rev: 2.00
 Zeus Type:   CD-ROM                             ANSI SCSI revision: 02
 Zeus sr0: scsi3-mmc drive: 0x/0x cd/rw xa/form2 cdda tray
 Zeus Attached scsi CD-ROM sr0 at scsi0, channel 0, id 5, lun 0
 Zeus Attached scsi generic sg0 at scsi0, channel 0, id 5, lun 0,  type 5

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2004-12-20 20:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-02 11:44 aic7xxx error Roland Kuhn
2001-10-02 11:45 ` Stephane Dudzinski
2001-10-02 12:07   ` Roland Kuhn
  -- strict thread matches above, loose matches on Subject: below --
2004-12-20 20:15 Ermanno Poggi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.