All of lore.kernel.org
 help / color / mirror / Atom feed
* scsi errors with dpt-i2o driver
@ 2005-12-22 14:43 Kenny Simpson
  2005-12-22 14:56 ` Arjan van de Ven
  0 siblings, 1 reply; 7+ messages in thread
From: Kenny Simpson @ 2005-12-22 14:43 UTC (permalink / raw)
  To: linux kernel

Hi,
  We have been experiencing long system pauses (~30 seconds), and think we have tracked it down to
a scsi issue. The syslog just after the pause has:
Dec 22 04:12:06 tux224 kernel: dpti0: Trying to Abort cmd=264682
Dec 22 04:12:06 tux224 kernel: dpti0: Abort cmd not supported
Dec 22 04:12:06 tux224 kernel: dpti0: Trying to Abort cmd=264683
Dec 22 04:12:06 tux224 kernel: dpti0: Abort cmd not supported
Dec 22 04:12:06 tux224 kernel: dpti0: Trying to Abort cmd=264684
Dec 22 04:12:06 tux224 kernel: dpti0: Abort cmd not supported
Dec 22 04:12:06 tux224 kernel: dpti0: Trying to reset device
Dec 22 04:12:06 tux224 kernel: dpti0: Device reset not supported
Dec 22 04:12:06 tux224 kernel: dpti0: Bus reset: SCSI Bus 0: tid: 9
Dec 22 04:12:06 tux224 kernel: dpti0: Bus reset success.

The previous time seen by the system (as reported by sar with a 1-second frequency), was 04:11:29.
These errors seem to happen only every few days, and we have not found a means to reproduce them
on demand.

Are there any suggestions about how to diagnose further?  What about trying the native i2o driver?

Details:
The machine is a dual Opteron rack-mount server.
kernel is 2.6.15-rc6 w/ preempt.
lspci:
0000:00:06.0 PCI bridge: Advanced Micro Devices [AMD] AMD-8111 PCI (rev 07)
0000:00:07.0 ISA bridge: Advanced Micro Devices [AMD] AMD-8111 LPC (rev 05)
0000:00:07.1 IDE interface: Advanced Micro Devices [AMD] AMD-8111 IDE (rev 03)
0000:00:07.2 SMBus: Advanced Micro Devices [AMD] AMD-8111 SMBus 2.0 (rev 02)
0000:00:07.3 Bridge: Advanced Micro Devices [AMD] AMD-8111 ACPI (rev 05)
0000:00:0a.0 PCI bridge: Advanced Micro Devices [AMD] AMD-8131 PCI-X Bridge (rev 12)
0000:00:0a.1 PIC: Advanced Micro Devices [AMD] AMD-8131 PCI-X APIC (rev 01)
0000:00:0b.0 PCI bridge: Advanced Micro Devices [AMD] AMD-8131 PCI-X Bridge (rev 12)
0000:00:0b.1 PIC: Advanced Micro Devices [AMD] AMD-8131 PCI-X APIC (rev 01)
0000:00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
0000:00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
0000:00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
0000:00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
0000:00:19.0 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
0000:00:19.1 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
0000:00:19.2 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
0000:00:19.3 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
0000:02:05.0 RAID bus controller: Adaptec (formerly DPT) SmartRAID V Controller (rev 01)
0000:02:09.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5704 Gigabit Ethernet (rev 03)
0000:02:09.1 Ethernet controller: Broadcom Corporation NetXtreme BCM5704 Gigabit Ethernet (rev 03)
0000:03:00.0 USB Controller: Advanced Micro Devices [AMD] AMD-8111 USB (rev 0b)
0000:03:00.1 USB Controller: Advanced Micro Devices [AMD] AMD-8111 USB (rev 0b)
0000:03:06.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27)

The scsi controller is model 2015s.  The disks are Seagate Cheetah Ultra 320 - model ST336607LC.

Other potentially interresting messages from dmesg:
[    1.490153] Loading Adaptec I2O RAID: Version 2.4 Build 5go
[    1.496872] Detecting Adaptec I2O RAID controllers...
[    1.502983] ACPI: PCI Interrupt 0000:02:05.0[A] -> GSI 26 (level, low) -> IRQ 169
[    1.512165] Adaptec I2O RAID controller 0 irq=169
[    1.517865]      BAR0 f8880000 - size= 100000
[    1.523127]      BAR1 f8a00000 - size= 1000000
[    3.391459] dpti: If you have a lot of devices this could take a few minutes.
[    3.400032] dpti0: Reading the hardware resource table.
[   13.298799] TID 008  Vendor: ADAPTEC      Device: AIC-7902     Rev: 00000001    
[   13.309206] TID 009  Vendor: ADAPTEC      Device: AIC-7902     Rev: 00000001    
[   13.324229] TID 523  Vendor: ADAPTEC R    Device: RAID-10      Rev: 3B05D       
[   13.337469] scsi0 : Vendor: Adaptec  Model: 2015S            FW:3B05
[   13.345860]   Vendor: ADAPTEC   Model: RAID-10           Rev: 3B05
[   13.355339]   Type:   Direct-Access                      ANSI SCSI revision: 02
[   13.365151] Adaptec aacraid driver (1.1-4 Dec 20 2005 09:00:40)
[   13.372343] megaraid cmm: 2.20.2.6 (Release Date: Mon Mar 7 00:01:03 EST 2005)
[   13.381055] megaraid: 2.20.4.6 (Release Date: Mon Mar 07 12:27:22 EST 2005)
[   13.389406] megasas: 00.00.02.00-rc4 Fri Sep 16 12:37:08 EDT 2005
[   13.396752] 3ware 9000 Storage Controller device driver for Linux v2.26.02.004.
[   13.413525] SCSI device sda: 143372288 512-byte hdwr sectors (73407 MB)
[   13.424515] SCSI device sda: drive cache: write back
[   13.432733] SCSI device sda: 143372288 512-byte hdwr sectors (73407 MB)
[   13.443708] SCSI device sda: drive cache: write back
[   13.449709]  sda: sda1 sda2 < sda5 sda6 sda7 sda8 >
[   13.505791] sd 0:0:0:0: Attached scsi disk sda


thanks,
-Kenny


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

* Re: scsi errors with dpt-i2o driver
  2005-12-22 14:43 scsi errors with dpt-i2o driver Kenny Simpson
@ 2005-12-22 14:56 ` Arjan van de Ven
  2005-12-22 20:03   ` Kenny Simpson
  2005-12-23 16:39   ` Miquel van Smoorenburg
  0 siblings, 2 replies; 7+ messages in thread
From: Arjan van de Ven @ 2005-12-22 14:56 UTC (permalink / raw)
  To: Kenny Simpson; +Cc: linux kernel


> Are there any suggestions about how to diagnose further?  What about trying the native i2o driver?

that one is highly preferred anyway nowadays...


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

* RE: scsi errors with dpt-i2o driver
@ 2005-12-22 16:31 Salyzyn, Mark
  2005-12-22 16:54 ` Kenny Simpson
  2005-12-22 17:04 ` Kenny Simpson
  0 siblings, 2 replies; 7+ messages in thread
From: Salyzyn, Mark @ 2005-12-22 16:31 UTC (permalink / raw)
  To: Kenny Simpson, linux kernel

These are issues being reported by the firmware in the adapter, looks
like you have a bad drive. Since the adapter 'hides' the physical
devices behind arrays. The array associated with id 9 is whining, but I
do not know which physical is being naughty.

A driver change will make no difference, use the management applications
to discover which target is misbehaving, probably would not hurt to
contact Adaptec technical support, especially if you have an
incompatible drive (often can be fixed by a firmware update to the
drive). They also can help you through the cookbook discovery of cable
and setting issues.

Sincerely -- Mark Salyzyn

> -----Original Message-----
> From: linux-kernel-owner@vger.kernel.org 
> [mailto:linux-kernel-owner@vger.kernel.org] On Behalf Of Kenny Simpson
> Sent: Thursday, December 22, 2005 9:44 AM
> To: linux kernel
> Subject: scsi errors with dpt-i2o driver
> 
> 
> Hi,
>   We have been experiencing long system pauses (~30 seconds), 
> and think we have tracked it down to
> a scsi issue. The syslog just after the pause has:
> Dec 22 04:12:06 tux224 kernel: dpti0: Trying to Abort cmd=264682
> Dec 22 04:12:06 tux224 kernel: dpti0: Abort cmd not supported
> Dec 22 04:12:06 tux224 kernel: dpti0: Trying to Abort cmd=264683
> Dec 22 04:12:06 tux224 kernel: dpti0: Abort cmd not supported
> Dec 22 04:12:06 tux224 kernel: dpti0: Trying to Abort cmd=264684
> Dec 22 04:12:06 tux224 kernel: dpti0: Abort cmd not supported
> Dec 22 04:12:06 tux224 kernel: dpti0: Trying to reset device
> Dec 22 04:12:06 tux224 kernel: dpti0: Device reset not supported
> Dec 22 04:12:06 tux224 kernel: dpti0: Bus reset: SCSI Bus 0: tid: 9
> Dec 22 04:12:06 tux224 kernel: dpti0: Bus reset success.

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

* RE: scsi errors with dpt-i2o driver
  2005-12-22 16:31 Salyzyn, Mark
@ 2005-12-22 16:54 ` Kenny Simpson
  2005-12-22 17:04 ` Kenny Simpson
  1 sibling, 0 replies; 7+ messages in thread
From: Kenny Simpson @ 2005-12-22 16:54 UTC (permalink / raw)
  To: Salyzyn, Mark, linux kernel

--- "Salyzyn, Mark" <mark_salyzyn@adaptec.com> wrote:

> These are issues being reported by the firmware in the adapter, looks
> like you have a bad drive. Since the adapter 'hides' the physical
> devices behind arrays. The array associated with id 9 is whining, but I
> do not know which physical is being naughty.
> 
> A driver change will make no difference, use the management applications
> to discover which target is misbehaving, probably would not hurt to
> contact Adaptec technical support, especially if you have an
> incompatible drive (often can be fixed by a firmware update to the
> drive). They also can help you through the cookbook discovery of cable
> and setting issues.
> 
> Sincerely -- Mark Salyzyn

Thanks for the reply, we will check the disks.  Why would a faulty disk hang the entire system for
such a long time?

-Kenny


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

* RE: scsi errors with dpt-i2o driver
  2005-12-22 16:31 Salyzyn, Mark
  2005-12-22 16:54 ` Kenny Simpson
@ 2005-12-22 17:04 ` Kenny Simpson
  1 sibling, 0 replies; 7+ messages in thread
From: Kenny Simpson @ 2005-12-22 17:04 UTC (permalink / raw)
  To: Salyzyn, Mark, linux kernel

--- "Salyzyn, Mark" <mark_salyzyn@adaptec.com> wrote:
> (often can be fixed by a firmware update to the drive)

Sir, I believe you have nailed it: http://www.seagate.com/support/disc/u320_firmware.html

Though, I am still troubled that a single unhappy drive can impact a system so severely -
especially since we pile them up for RAID thereby increasing the probability of a disk being
unhappy.

-Kenny




__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

* Re: scsi errors with dpt-i2o driver
  2005-12-22 14:56 ` Arjan van de Ven
@ 2005-12-22 20:03   ` Kenny Simpson
  2005-12-23 16:39   ` Miquel van Smoorenburg
  1 sibling, 0 replies; 7+ messages in thread
From: Kenny Simpson @ 2005-12-22 20:03 UTC (permalink / raw)
  To: Arjan van de Ven; +Cc: linux kernel

--- Arjan van de Ven <arjan@infradead.org> wrote:
> > Are there any suggestions about how to diagnose further?  What about trying the native i2o
> driver?
> 
> that one is highly preferred anyway nowadays...

Is there a more recent reference than http://i2o.shadowconnect.com/faq.php, or a mailing list for
i2o driver issues?  For example, our bonnie runs suggest that dpt_i2o is a quite bit faster at
sequential writes, and how do we get the firmware rev of the controller from the i2o subsystem?

-Kenny



	
		
__________________________________ 
Yahoo! for Good - Make a difference this year. 
http://brand.yahoo.com/cybergivingweek2005/

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

* Re: scsi errors with dpt-i2o driver
  2005-12-22 14:56 ` Arjan van de Ven
  2005-12-22 20:03   ` Kenny Simpson
@ 2005-12-23 16:39   ` Miquel van Smoorenburg
  1 sibling, 0 replies; 7+ messages in thread
From: Miquel van Smoorenburg @ 2005-12-23 16:39 UTC (permalink / raw)
  To: linux-kernel

In article <1135263384.2940.40.camel@laptopd505.fenrus.org>,
Arjan van de Ven  <arjan@infradead.org> wrote:
>
>> Are there any suggestions about how to diagnose further?  What about
>trying the native i2o driver?
>
>that one is highly preferred anyway nowadays...

Well in 64-bit mode it's still very very unstable at least with
the Adaptec dpt 2005/2010/2015 series adapters. Also it doesn't
support 32-bit legacy ioctls and the raidtools package doesn't
compile correctly on 64-bits (it compiles but doesn't work).

The 64-bit version of dpt_i2o that you can get from Adaptec on
request (unfortunately the 64 bit patches aren't in mainline (yet?))
works fine and is rock-stable.

Mike.
-- 
Freedom is no longer a problem.


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

end of thread, other threads:[~2005-12-23 16:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-22 14:43 scsi errors with dpt-i2o driver Kenny Simpson
2005-12-22 14:56 ` Arjan van de Ven
2005-12-22 20:03   ` Kenny Simpson
2005-12-23 16:39   ` Miquel van Smoorenburg
  -- strict thread matches above, loose matches on Subject: below --
2005-12-22 16:31 Salyzyn, Mark
2005-12-22 16:54 ` Kenny Simpson
2005-12-22 17:04 ` Kenny Simpson

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.