public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* RE: Panic from mptspi_dv_renegotiate_work in 2.6.18-mm2
@ 2006-10-02 23:21 Moore, Eric
  2006-10-02 23:37 ` Andrew Morton
  0 siblings, 1 reply; 7+ messages in thread
From: Moore, Eric @ 2006-10-02 23:21 UTC (permalink / raw)
  To: Andrew Morton, Martin Bligh; +Cc: LKML, Andy Whitcroft, linux-scsi

On Monday, October 02, 2006 2:40 PM, Andrew Morton wrote: 

> 
> Yeah, Bryce@osdl is hitting this.  Apparently it can be worked around
> by compiling the driver as a module.
>

What I saw in Bryces trace was the driver was not receiving interrupts
for
the first command sent after interrutps were enabled.  This was a config
page
for spi port pages.  Since this command timed out, an internal timeout
handler was called,
and we issued an internal host reset.  The host reset called each
driver,
such as mptspi, mptfc, mptsas,  callback handers.  That ended with
as pacin in mptspi, due to we assume ioc->hd to be a valid pointer.  
We don't allocate ioc->hd to well after mpt_attach, which is where the
config
page that timed out.    We could prevent the panic in mptspi, but that 
doesn't fix the problem why we are not getting interrupts.   

I have a 2.6.18 gold kernel, and that works fine with modules.  
There are no changes in mpt stack since 2.6.18 that would effect
interrupts.  
Do you know of any changes in kernel effecting interrupts?   I suspect
that
modules versus linked drivers into kernel would matter, or would it?

I've been busy with SAS issues today, and not had time to replicat this.

Eric

^ permalink raw reply	[flat|nested] 7+ messages in thread
[parent not found: <45217232.2010805@google.com>]

end of thread, other threads:[~2006-10-03  1:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-02 23:21 Panic from mptspi_dv_renegotiate_work in 2.6.18-mm2 Moore, Eric
2006-10-02 23:37 ` Andrew Morton
2006-10-03  0:32   ` Jeff Garzik
2006-10-03  0:41     ` Andrew Morton
2006-10-03  0:51       ` Jeff Garzik
2006-10-03  1:35       ` Jeff Garzik
     [not found] <45217232.2010805@google.com>
2006-10-02 20:39 ` Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox