linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* /proc/scsi/aic7xxx/? considered harmful (2.4.19-pre9)
@ 2002-06-05 23:58 Neil Brown
  2002-06-06  2:54 ` Justin T. Gibbs
  0 siblings, 1 reply; 3+ messages in thread
From: Neil Brown @ 2002-06-05 23:58 UTC (permalink / raw)
  To: linux-scsi, linux-kernel


Hi,
 I have 3 NFS servers with ext3 on raid5 on scsi with assorted
aic7xxx scsi controllers, all running 2.4.19-pre9 (plus some ext3 and
raid and nfs patches) using the "new" aic7xxx drivers.

While trying to diagnose some problems I ran a little script which
extracts the "Commands Queued" value for each drive and prints out
differences every second, so I can watch traffic.

One our newer machine, which reports
Jun  3 17:33:21 eno kernel: scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.6
Jun  3 17:33:21 eno kernel:         <Adaptec aic7899 Ultra160 SCSI adapter>
Jun  3 17:33:21 eno kernel:         aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs
Jun  3 17:33:21 eno kernel: 
Jun  3 17:33:21 eno kernel: scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.6
Jun  3 17:33:21 eno kernel:         <Adaptec aic7899 Ultra160 SCSI adapter>
Jun  3 17:33:21 eno kernel:         aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
Jun  3 17:33:21 eno kernel: 
Jun  3 17:33:21 eno kernel: scsi2 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.6
Jun  3 17:33:21 eno kernel:         <Adaptec 29160B Ultra160 SCSI adapter>
Jun  3 17:33:21 eno kernel:         aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs

This works fine.

On an older machine, which reports

Jan  1 11:01:39 cage kernel: scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.6
Jan  1 11:01:39 cage kernel:         <Adaptec 3950B Ultra2 SCSI adapter>
Jan  1 11:01:39 cage kernel:         aic7896/97: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs
Jan  1 11:01:39 cage kernel: 
Jan  1 11:01:39 cage kernel: scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.6
Jan  1 11:01:39 cage kernel:         <Adaptec 3950B Ultra2 SCSI adapter>
Jan  1 11:01:39 cage kernel:         aic7896/97: Ultra2 Wide Channel B, SCSI Id=7, 32/253 SCBs
Jan  1 11:01:39 cage kernel: 


I get lots of errors:
Jun  6 09:38:01 cage kernel: scsi1: Signaled a Target Abort
Jun  6 09:38:02 cage kernel: scsi0: PCI error Interrupt at seqaddr = 0x8
Jun  6 09:38:02 cage kernel: scsi0: Signaled a Target Abort
Jun  6 09:38:02 cage kernel: scsi0: PCI error Interrupt at seqaddr = 0x9
Jun  6 09:38:02 cage kernel: scsi0: Signaled a Target Abort
Jun  6 09:38:02 cage kernel: scsi0: PCI error Interrupt at seqaddr = 0x9
Jun  6 09:38:02 cage kernel: scsi0: Signaled a Target Abort
Jun  6 09:38:02 cage kernel: scsi0: PCI error Interrupt at seqaddr = 0x8
Jun  6 09:38:02 cage kernel: scsi0: Signaled a Target Abort
Jun  6 09:38:02 cage kernel: scsi1: PCI error Interrupt at seqaddr = 0x8
Jun  6 09:38:02 cage kernel: scsi1: Signaled a Target Abort
Jun  6 09:38:02 cage kernel: scsi1: PCI error Interrupt at seqaddr = 0x9

but it seems to keep working..


On the last machine, which is similar to the second but only has one
even-older scsi card:

Jan  1 11:10:35 glass kernel: scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.6
Jan  1 11:10:35 glass kernel:         <Adaptec 2940 Ultra2 SCSI adapter>
Jan  1 11:10:35 glass kernel:         aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs
Jan  1 11:10:35 glass kernel: 

I get the above errors for about 10 seconds, and then the machine
freezes solid.


I guess I will re-write my script to use /proc/partitions to monitor
disc traffic.

NeilBrown

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

* Re: /proc/scsi/aic7xxx/? considered harmful (2.4.19-pre9)
  2002-06-05 23:58 /proc/scsi/aic7xxx/? considered harmful (2.4.19-pre9) Neil Brown
@ 2002-06-06  2:54 ` Justin T. Gibbs
  0 siblings, 0 replies; 3+ messages in thread
From: Justin T. Gibbs @ 2002-06-06  2:54 UTC (permalink / raw)
  To: Neil Brown; +Cc: linux-scsi, linux-kernel

>
>Hi,
> I have 3 NFS servers with ext3 on raid5 on scsi with assorted
>aic7xxx scsi controllers, all running 2.4.19-pre9 (plus some ext3 and
>raid and nfs patches) using the "new" aic7xxx drivers.

You need to use aic7xxx driver version 6.2.8 to avoid this problem.
Its been in Marcelo's tree for a bit, but I guess it missed pre9.

--
Justin

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

* Re: /proc/scsi/aic7xxx/? considered harmful (2.4.19-pre9)
@ 2002-06-06  3:09 Neil Brown
  0 siblings, 0 replies; 3+ messages in thread
From: Neil Brown @ 2002-06-06  3:09 UTC (permalink / raw)
  To: Justin T. Gibbs; +Cc: linux-scsi, linux-kernel

On Wednesday June 5, gibbs@scsiguy.com wrote:
> >
> >Hi,
> > I have 3 NFS servers with ext3 on raid5 on scsi with assorted
> >aic7xxx scsi controllers, all running 2.4.19-pre9 (plus some ext3 and
> >raid and nfs patches) using the "new" aic7xxx drivers.
> 
> You need to use aic7xxx driver version 6.2.8 to avoid this problem.
> Its been in Marcelo's tree for a bit, but I guess it missed pre9.

Thanks..  Looks like I have 6.2.6..
Actually on looking more closely it was -pre8, not -pre9 :-(

Anyway, I'm glad will be fixed in -final.  Thanks again,
NeilBrown

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

end of thread, other threads:[~2002-06-06  3:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-05 23:58 /proc/scsi/aic7xxx/? considered harmful (2.4.19-pre9) Neil Brown
2002-06-06  2:54 ` Justin T. Gibbs
2002-06-06  3:09 Neil Brown

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).