public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Mike Anderson <andmike@us.ibm.com>
To: James Bottomley <James.Bottomley@SteelEye.com>
Cc: linux-scsi <linux-scsi@vger.kernel.org>
Subject: Re: aic94xx panic on module insertion
Date: Mon, 10 Jul 2006 10:29:50 -0700	[thread overview]
Message-ID: <20060710172950.GE30179@us.ibm.com> (raw)
In-Reply-To: <1152541373.7275.11.camel@mulgrave.il.steeleye.com>

James Bottomley <James.Bottomley@SteelEye.com> wrote:
> aic94xx: escb_tasklet_complete: phy0: BYTES_DMAED
> aic94xx: SAS proto IDENTIFY:
> aic94xx: 00: 20 00 00 02
> aic94xx: 04: 00 00 00 00
> aic94xx: 08: 00 00 00 00
> aic94xx: 0c: 50 06 05 b0
> aic94xx: 10: 00 00 11 10
> aic94xx: 14: 07 00 00 00
> aic94xx: 18: 00 00 00 00
> aic94xx: escb_tasklet_complete: phy1: PRIMITIVE_RECVD
> sas: phy0 added to port0, phy_mask:0x1
> aic94xx: phy1: BROADCAST change received:256
> aic94xx: control_phy_tasklet_complete: phy2, lrate:0x9, proto:0xe
> sas: broadcast received: 9
> BUG: unable to handle kernel NULL pointer dereference at virtual address 00000214
>  printing eip:
> f88f14cd
> *pde = 00000000
> Oops: 0000 [#1]
> SMP 
> Modules linked in: aic94xx scsi_transport_sas_domain scsi_transport_sas uhci_hcd usbcore tg3 ext3 jbd mbcache sr_mod cdrom sd_mod aic79xx scsi_transport_spi scsi_mod
> CPU:    1
> EIP:    0060:[<f88f14cd>]    Not tainted VLI
> EFLAGS: 00010297   (2.6.18-rc1 #10) 
> EIP is at sas_discover_event+0x1d/0xa0 [scsi_transport_sas_domain]
> eax: 00000000   ebx: 00000000   ecx: c011de75   edx: 00000000
> esi: 00000001   edi: 00000044   ebp: f7019f18   esp: f7019efc
> ds: 007b   es: 007b   ss: 0068
> Process scsi_wq_2 (pid: 2256, ti=f7018000 task=f7052aa0 task.ti=f7018000)
> Stack: de7c0c04 00000009 f7019f18 c011e02b 00000001 de7c0c04 00000009 f7019f34 
>        f88f0e83 00000000 00000001 de7c0a04 de7c0a08 dff71118 f7019f68 c012ef4c 
>        de7c09d4 dff71160 00000001 dff71158 dff711a0 00000286 f88f0e10 de7c09d4 
> Call Trace:
>  [<f88f0e83>] sas_porte_broadcast_rcvd+0x73/0x80 [scsi_transport_sas_domain]
>  [<c012ef4c>] run_workqueue+0x7c/0x100
>  [<c012f1a5>] worker_thread+0x115/0x150
>  [<c0132a9d>] kthread+0xfd/0x110
>  [<c0100ea5>] kernel_thread_helper+0x5/0x10
> Code: 5e 5f 5d c3 8d 76 00 8d bc 27 00 00 00 00 55 89 e5 83 ec 1c 89 75 f8 8b 75 0c 89 5d f4 8b 5d 08 89 7d fc 83 fe 02 8d 7b 44 77 74 <8b> 83 14 02 00 00 8b 40 6c 89 45 ec 8d 04 76 c1 e0 04 8d 44 03 
> EIP: [<f88f14cd>] sas_discover_event+0x1d/0xa0 [scsi_transport_sas_domain] SS:ESP 0068:f7019efc
>  <5>aic94xx: escb_tasklet_complete: phy2: PRIMITIVE_RECVD
> 
> I think what happens is that the broadcast comes in before the aic94xx
> has allocated a port to the phy (so phy->port is null in
> sas_porte_boradcast_rcvd).
> 

Yes, since we have not formed a port yet on phy1 it would appear that we
could just drop this event if port is null as we are going to do discovery
post port forming the port anyway.


-andmike
--
Michael Anderson
andmike@us.ibm.com

  parent reply	other threads:[~2006-07-10 17:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-10 14:22 aic94xx panic on module insertion James Bottomley
2006-07-10 16:25 ` Douglas Gilbert
2006-07-10 16:40   ` James Bottomley
2006-07-10 17:08     ` Mike Anderson
2006-07-10 21:18       ` James Bottomley
2006-07-10 17:29 ` Mike Anderson [this message]
2006-07-10 21:07   ` James Bottomley
2006-07-11  4:52     ` Mike Anderson
  -- strict thread matches above, loose matches on Subject: below --
2006-07-11  8:05 Robert Tarte

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060710172950.GE30179@us.ibm.com \
    --to=andmike@us.ibm.com \
    --cc=James.Bottomley@SteelEye.com \
    --cc=linux-scsi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox