linux 2.4.8 vs 2.4.7 AHA2840A/42A "aic7xxx_abort return 8194"

Karl O . Pinc kop at meme.com
Tue Aug 14 15:29:06 PDT 2001


On 2001.08.14 17:07 Karl O . Pinc wrote:
Hi, I'm a newbie.  Spank me.  :-)  Please let me know what further info is
needed, etc.

I've got a scsi board labeled AHA2840A/42A that AFIK worked fine under
linux 2.0.34 for years.  My first question is this:

Is the AHA284xA supported?

The README.aic7xxx says that the AHA284x is supported, but makes no mention
of AHA284xA.  AFIK, the difference is that the 284x has jumpers, the 284xA
has dip switches.  The 284xA dip switches control: I/O port address, floppy
enable/disable, BIOS address, and BIOS enable/disable.  I recall the
jumpers on the 284x can at least also en/disable scsi target disconnect,
sync negoiation and probably some other stuff.  I _think_ all this is now
set in the card's bios cmos.

Assuming the card's supported, here's what's happening:

I'm re-incarnating the box and decided to load test it (copying large files
from drive to drive. 3 drives, 4 processes, file sizes of {2,3,5,7} *
10^7B, 64MB ram).  Running linux-2.4.7, I get a rare (every few hours)
"aic7xxx_abort return 8194", I've seen it while attempting to send ABORT to
a drive.  (Sorry, I'm running 2.4.7 on top of the old 2.0.34 system, just
to test, and syslogd seems to be down, so I don't have a written log to
work from here.  Better info collected below.)

I just switched to 2.4.8 and I get frequent (most of the time, there's no
disk activity while the driver issues errors) "aic7xxx_abort return 8194"
messages.  Mostly on ABORT but sometimes on TARGET_RESET.  There are so
many the driver goes on to do "Recovery SCB completes" type messages.

Where do I go from here?

(FYI, Starting about 12 hours from now, I won't have access to the hardware
for a few weeks.)

Here are details from /proc:

----after boot of 2.4.7----------
[root at arthur /root]# uname -a
Linux arthur.meme.com 2.4.7 #1 Mon Aug 6 11:30:42 CDT 2001 i486 unknown
[root at arthur /root]# cat /proc/scsi/aic7xxx/0 
Adaptec AIC7xxx driver version: 6.1.13
aic7770: Single Channel A, SCSI Id=7, 4/255 SCBs
Channel A Target 0 Negotiation Settings
	User: 10.000MB/s transfers (10.000MHz, offset 255)
	Goal: 10.000MB/s transfers (10.000MHz, offset 15)
	Curr: 10.000MB/s transfers (10.000MHz, offset 15)
	Channel A Target 0 Lun 0 Settings
		Commands Queued 4
		Commands Active 0
		Command Openings 253
		Max Tagged Openings 253
		Device Queue Frozen Count 0
Channel A Target 1 Negotiation Settings
	User: 10.000MB/s transfers (10.000MHz, offset 255)
Channel A Target 2 Negotiation Settings
	User: 10.000MB/s transfers (10.000MHz, offset 255)
Channel A Target 3 Negotiation Settings
	User: 10.000MB/s transfers (10.000MHz, offset 255)
Channel A Target 4 Negotiation Settings
	User: 10.000MB/s transfers (10.000MHz, offset 255)
	Goal: 3.300MB/s transfers
	Curr: 3.300MB/s transfers
	Channel A Target 4 Lun 0 Settings
		Commands Queued 1383
		Commands Active 1
		Command Openings 0
		Max Tagged Openings 0
		Device Queue Frozen Count 0
Channel A Target 5 Negotiation Settings
	User: 10.000MB/s transfers (10.000MHz, offset 255)
	Goal: 10.000MB/s transfers (10.000MHz, offset 15)
	Curr: 10.000MB/s transfers (10.000MHz, offset 15)
	Channel A Target 5 Lun 0 Settings
		Commands Queued 5
		Commands Active 0
		Command Openings 253
		Max Tagged Openings 253
		Device Queue Frozen Count 0
Channel A Target 6 Negotiation Settings
	User: 10.000MB/s transfers (10.000MHz, offset 255)
Channel A Target 7 Negotiation Settings
	User: 10.000MB/s transfers (10.000MHz, offset 255)
[root at arthur /root]# cat /proc/scsi/scsi
Attached devices: 
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: QUANTUM  Model: FIREBALL ST4300S Rev: 0F0D
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 04 Lun: 00
  Vendor: IMPRIMIS Model: 94601-15         Rev: 4202
  Type:   Direct-Access                    ANSI SCSI revision: 01 CCS
Host: scsi0 Channel: 00 Id: 05 Lun: 00
  Vendor: CONNER   Model: CFP1060S 1.05GB  Rev: 245F
  Type:   Direct-Access                    ANSI SCSI revision: 02


---------Begin lots-o-copy, console says:
(scsi:0:A:0:0): Locking max tag count at 8

After a half hour or so of copying, there's still no error and this is what
proc looks like:

[root at arthur /root]# cat /proc/scsi/aic7xxx/0 
Adaptec AIC7xxx driver version: 6.1.13
aic7770: Single Channel A, SCSI Id=7, 4/255 SCBs
Channel A Target 0 Negotiation Settings
	User: 10.000MB/s transfers (10.000MHz, offset 255)
	Goal: 10.000MB/s transfers (10.000MHz, offset 15)
	Curr: 10.000MB/s transfers (10.000MHz, offset 15)
	Channel A Target 0 Lun 0 Settings
		Commands Queued 56765
		Commands Active 0
		Command Openings 8
		Max Tagged Openings 8
		Device Queue Frozen Count 0
Channel A Target 1 Negotiation Settings
	User: 10.000MB/s transfers (10.000MHz, offset 255)
Channel A Target 2 Negotiation Settings
	User: 10.000MB/s transfers (10.000MHz, offset 255)
Channel A Target 3 Negotiation Settings
	User: 10.000MB/s transfers (10.000MHz, offset 255)
Channel A Target 4 Negotiation Settings
	User: 10.000MB/s transfers (10.000MHz, offset 255)
	Goal: 3.300MB/s transfers
	Curr: 3.300MB/s transfers
	Channel A Target 4 Lun 0 Settings
		Commands Queued 34178
		Commands Active 1
		Command Openings 0
		Max Tagged Openings 0
		Device Queue Frozen Count 0
Channel A Target 5 Negotiation Settings
	User: 10.000MB/s transfers (10.000MHz, offset 255)
	Goal: 10.000MB/s transfers (10.000MHz, offset 15)
	Curr: 10.000MB/s transfers (10.000MHz, offset 15)
	Channel A Target 5 Lun 0 Settings
		Commands Queued 36040
		Commands Active 2
		Command Openings 31
		Max Tagged Openings 253
		Device Queue Frozen Count 0
Channel A Target 6 Negotiation Settings
	User: 10.000MB/s transfers (10.000MHz, offset 255)
Channel A Target 7 Negotiation Settings
	User: 10.000MB/s transfers (10.000MHz, offset 255)

---------------Rebooting with 2.4.8, /proc is:


[root at arthur /root]# uname -a
Linux arthur.meme.com 2.4.8 #3 Tue Aug 14 14:06:17 CDT 2001 i486 unknown
[root at arthur /root]# cat /proc/scsi/aic7xxx/0 
Adaptec AIC7xxx driver version: 6.1.13
aic7770: Single Channel A, SCSI Id=7, 4/255 SCBs
Channel A Target 0 Negotiation Settings
	User: 10.000MB/s transfers (10.000MHz, offset 255)
	Goal: 10.000MB/s transfers (10.000MHz, offset 15)
	Curr: 10.000MB/s transfers (10.000MHz, offset 15)
	Channel A Target 0 Lun 0 Settings
		Commands Queued 25
		Commands Active 0
		Command Openings 253
		Max Tagged Openings 253
		Device Queue Frozen Count 0
Channel A Target 1 Negotiation Settings
	User: 10.000MB/s transfers (10.000MHz, offset 255)
Channel A Target 2 Negotiation Settings
	User: 10.000MB/s transfers (10.000MHz, offset 255)
Channel A Target 3 Negotiation Settings
	User: 10.000MB/s transfers (10.000MHz, offset 255)
Channel A Target 4 Negotiation Settings
	User: 10.000MB/s transfers (10.000MHz, offset 255)
	Goal: 3.300MB/s transfers
	Curr: 3.300MB/s transfers
	Channel A Target 4 Lun 0 Settings
		Commands Queued 1496
		Commands Active 0
		Command Openings 1
		Max Tagged Openings 0
		Device Queue Frozen Count 0
Channel A Target 5 Negotiation Settings
	User: 10.000MB/s transfers (10.000MHz, offset 255)
	Goal: 10.000MB/s transfers (10.000MHz, offset 15)
	Curr: 10.000MB/s transfers (10.000MHz, offset 15)
	Channel A Target 5 Lun 0 Settings
		Commands Queued 11
		Commands Active 0
		Command Openings 253
		Max Tagged Openings 253
		Device Queue Frozen Count 0
Channel A Target 6 Negotiation Settings
	User: 10.000MB/s transfers (10.000MHz, offset 255)
Channel A Target 7 Negotiation Settings
	User: 10.000MB/s transfers (10.000MHz, offset 255)

[root at arthur /root]# cat /proc/scsi/scsi
Attached devices: 
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: QUANTUM  Model: FIREBALL ST4300S Rev: 0F0D
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 04 Lun: 00
  Vendor: IMPRIMIS Model: 94601-15         Rev: 4202
  Type:   Direct-Access                    ANSI SCSI revision: 01 CCS
Host: scsi0 Channel: 00 Id: 05 Lun: 00
  Vendor: CONNER   Model: CFP1060S 1.05GB  Rev: 245F
  Type:   Direct-Access                    ANSI SCSI revision: 02



scsi0:0:0:0: Attempting to queue an ABORT message
scsi0:0:0:0: Command found on device queue
aic7xxx_abort_returns 8194

-(FWIW, I recall seeing that it was scsci id 5, not 0 that was causing the
messages under linux 2.4.7.)

-repeat about about 10 times then

scsi0:0:0:0: Attempting to queue a TARGET RESET message

-is the message instead of the "ABORT" line

-No disk activity occurs while all this is going on.

-Then, there's mixed in message about SCB recovery (Sorry, I'm copying off
the console as messages scroll by so they are not in the correct order.)

scsi0:A:0:0 Queuing a recovery SCB
Recovery code sleeping
Recovery SCB completes
Recovery code awake

scsi0:0:0: Abort Tag Message Sent
SCB7 - Abort Tag Completed.

------------- Here's what /proc says while all this is going on (still
2.4.8):


[root at arthur /root]# cat /proc/scsi/aic7xxx/0 
Adaptec AIC7xxx driver version: 6.1.13
aic7770: Single Channel A, SCSI Id=7, 4/255 SCBs
Channel A Target 0 Negotiation Settings
	User: 10.000MB/s transfers (10.000MHz, offset 255)
	Goal: 10.000MB/s transfers (10.000MHz, offset 15)
	Curr: 10.000MB/s transfers (10.000MHz, offset 15)
	Channel A Target 0 Lun 0 Settings
		Commands Queued 5258
		Commands Active 8
		Command Openings 0
		Max Tagged Openings 253
		Device Queue Frozen Count 0
Channel A Target 1 Negotiation Settings
	User: 10.000MB/s transfers (10.000MHz, offset 255)
Channel A Target 2 Negotiation Settings
	User: 10.000MB/s transfers (10.000MHz, offset 255)
Channel A Target 3 Negotiation Settings
	User: 10.000MB/s transfers (10.000MHz, offset 255)
Channel A Target 4 Negotiation Settings
	User: 10.000MB/s transfers (10.000MHz, offset 255)
	Goal: 3.300MB/s transfers
	Curr: 3.300MB/s transfers
	Channel A Target 4 Lun 0 Settings
		Commands Queued 4823
		Commands Active 0
		Command Openings 1
		Max Tagged Openings 0
		Device Queue Frozen Count 0
Channel A Target 5 Negotiation Settings
	User: 10.000MB/s transfers (10.000MHz, offset 255)
	Goal: 10.000MB/s transfers (10.000MHz, offset 15)
	Curr: 10.000MB/s transfers (10.000MHz, offset 15)
	Channel A Target 5 Lun 0 Settings
		Commands Queued 110
		Commands Active 0
		Command Openings 253
		Max Tagged Openings 253
		Device Queue Frozen Count 0
Channel A Target 6 Negotiation Settings
	User: 10.000MB/s transfers (10.000MHz, offset 255)
Channel A Target 7 Negotiation Settings
	User: 10.000MB/s transfers (10.000MHz, offset 255)

----and again, just to get another snapshot:


[root at arthur /root]# cat /proc/scsi/aic7xxx/0 
Adaptec AIC7xxx driver version: 6.1.13
aic7770: Single Channel A, SCSI Id=7, 4/255 SCBs
Channel A Target 0 Negotiation Settings
	User: 10.000MB/s transfers (10.000MHz, offset 255)
	Goal: 10.000MB/s transfers (10.000MHz, offset 15)
	Curr: 10.000MB/s transfers (10.000MHz, offset 15)
	Channel A Target 0 Lun 0 Settings
		Commands Queued 7608
		Commands Active 8
		Command Openings 0
		Max Tagged Openings 253
		Device Queue Frozen Count 0
Channel A Target 1 Negotiation Settings
	User: 10.000MB/s transfers (10.000MHz, offset 255)
Channel A Target 2 Negotiation Settings
	User: 10.000MB/s transfers (10.000MHz, offset 255)
Channel A Target 3 Negotiation Settings
	User: 10.000MB/s transfers (10.000MHz, offset 255)
Channel A Target 4 Negotiation Settings
	User: 10.000MB/s transfers (10.000MHz, offset 255)
	Goal: 3.300MB/s transfers
	Curr: 3.300MB/s transfers
	Channel A Target 4 Lun 0 Settings
		Commands Queued 7193
		Commands Active 1
		Command Openings 0
		Max Tagged Openings 0
		Device Queue Frozen Count 0
Channel A Target 5 Negotiation Settings
	User: 10.000MB/s transfers (10.000MHz, offset 255)
	Goal: 10.000MB/s transfers (10.000MHz, offset 15)
	Curr: 10.000MB/s transfers (10.000MHz, offset 15)
	Channel A Target 5 Lun 0 Settings
		Commands Queued 854
		Commands Active 0
		Command Openings 253
		Max Tagged Openings 253
		Device Queue Frozen Count 0
Channel A Target 6 Negotiation Settings
	User: 10.000MB/s transfers (10.000MHz, offset 255)
Channel A Target 7 Negotiation Settings
	User: 10.000MB/s transfers (10.000MHz, offset 255)


Thanks,

Karl <kop at meme.com>

To Unsubscribe: send mail to majordomo at FreeBSD.org
with "unsubscribe aic7xxx" in the body of the message




More information about the aic7xxx mailing list